View previous topic :: View next topic |
Author |
Message |
widremann Veteran
Joined: 14 Mar 2005 Posts: 1314
|
Posted: Sun May 15, 2005 4:15 pm Post subject: More 3dfx/tdfx DRI problems |
|
|
I have googled, I have searched the forums and although I have found answers, none of them have helped. One of them made the problem worse.
So I emerged glide-v3 and that actually increased glxgears performance by a factor of 3, but DRI is still not enabled. So then I found a thread that said to get the glide binaries from some site. So I did that and followed the directions. Now, when I start the X server, I get these messages:
Code: | FATAL: Module tdfx not found.
[drm] failed to load kernel module "tdfx"
(EE) TDFX(0): [dri] DRIScreenInit failed, disabling DRI. |
Well, I did not do anything other than switch the glide libraries around, so I can't understand why it all the sudden can't find a kernel module. Just to be sure, I recompiled the kernel with tdfx as a module rather than being part of the kernel. No change. And of course there is that line saying that DRIScreenInit failed, which I also got with the Gentoo glide-v3 libraries. Here is the Xorg.0.log lines right before the failure to do DRIScreenInit:
Code: | drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is -1, (Unknown error 999)
drmOpenDevice: open result is -1, (Unknown error 999)
drmOpenDevice: Open failed
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is -1, (Unknown error 999)
drmOpenDevice: open result is -1, (Unknown error 999)
drmOpenDevice: Open failed |
And sure enough, there is no /dev/dri/card0. So maybe this is a udev problem, but how would I go about fixing it? |
|
Back to top |
|
|
frostschutz Advocate
Joined: 22 Feb 2005 Posts: 2977 Location: Germany
|
Posted: Sun May 15, 2005 8:48 pm Post subject: |
|
|
I doubt it is an udev issue. My oldest Gentoo machine (PII-233) has a 3dfx Voodoo Banshee card. Xorg is fine with DRI and udev gives me a /dev/dri/card0 device like it should. And I haven't messed with udev's configuration files at all. Machine was updated some weeks ago (I don't do this every day, because compiling takes so damn long on that machine), it's running a 2.6.11 kernel now.
As for configuration, I don't remember what I did in detail to make it work. make.conf has a VIDEO_CARDS="3dfx" setting and 3dfx useflag set. Kernel has DRM and 3dfx as modules. glide-v3 is emerged.
The only trouble I have with this card is that text console somehow gets corrupted... green blinking D's all over the place.
Xorg.conf looks like this:
Code: | Section "Module"
Load "dbe"
SubSection "extmod"
Option "omit xfree86-dga"
EndSubSection
Load "type1"
Load "freetype"
Load "glx"
Load "dri"
EndSection
Section "dri"
Mode 0666
EndSection
...
Section "Device"
Identifier "Grafikkarte"
Driver "tdfx"
Option "EnablePageFlip" "True"
EndSection
Section "Screen"
Identifier "Screen 1"
Device "Grafikkarte"
Monitor "Monitor"
DefaultDepth 16
Subsection "Display"
Depth 16
Modes "1024x768" "800x600" "640x480"
ViewPort 0 0
EndSubsection
EndSection |
|
|
Back to top |
|
|
widremann Veteran
Joined: 14 Mar 2005 Posts: 1314
|
Posted: Sun May 15, 2005 11:12 pm Post subject: |
|
|
What does your devfsd.conf look like?
Maybe I need to reemerge a bunch of stuff with VIDEO_CARDS="3dfx". Still, it seems like the system is set up to deal with it, there is just some setting loose somewhere cause DRIScreenInit to fail or whatever.
frostschutz wrote: | I doubt it is an udev issue. My oldest Gentoo machine (PII-233) has a 3dfx Voodoo Banshee card. Xorg is fine with DRI and udev gives me a /dev/dri/card0 device like it should. And I haven't messed with udev's configuration files at all. Machine was updated some weeks ago (I don't do this every day, because compiling takes so damn long on that machine), it's running a 2.6.11 kernel now.
As for configuration, I don't remember what I did in detail to make it work. make.conf has a VIDEO_CARDS="3dfx" setting and 3dfx useflag set. Kernel has DRM and 3dfx as modules. glide-v3 is emerged.
The only trouble I have with this card is that text console somehow gets corrupted... green blinking D's all over the place.
Xorg.conf looks like this:
Code: | Section "Module"
Load "dbe"
SubSection "extmod"
Option "omit xfree86-dga"
EndSubSection
Load "type1"
Load "freetype"
Load "glx"
Load "dri"
EndSection
Section "dri"
Mode 0666
EndSection
...
Section "Device"
Identifier "Grafikkarte"
Driver "tdfx"
Option "EnablePageFlip" "True"
EndSection
Section "Screen"
Identifier "Screen 1"
Device "Grafikkarte"
Monitor "Monitor"
DefaultDepth 16
Subsection "Display"
Depth 16
Modes "1024x768" "800x600" "640x480"
ViewPort 0 0
EndSubsection
EndSection |
|
|
|
Back to top |
|
|
frostschutz Advocate
Joined: 22 Feb 2005 Posts: 2977 Location: Germany
|
Posted: Mon May 16, 2005 1:05 am Post subject: |
|
|
widremann wrote: | What does your devfsd.conf look like? |
I'm not using devfs. Only udev, which has it's config files in /etc/udev/. Or is udev actually using the devfsd.conf, too? In either case, I haven't edited any of these config files, so they are the versions provided as-is by Gentoo's portage system. There's only a handful of files I edited (make.conf, rc.config, xorg.conf...), all others get overwritten without mercy with every etc-update.
So I doubt it makes sense for me to post the files here... |
|
Back to top |
|
|
codergeek42 Bodhisattva
Joined: 05 Apr 2004 Posts: 5142 Location: Anaheim, CA (USA)
|
Posted: Mon May 16, 2005 1:51 am Post subject: |
|
|
Be sure to enable the 3dfx direct rendering manager in your kernel configuration. _________________ ~~ Peter: Programmer, Mathematician, STEM & Free Software Advocate, Enlightened Agent, Transhumanist, Fedora contributor
Who am I? :: EFF & FSF |
|
Back to top |
|
|
widremann Veteran
Joined: 14 Mar 2005 Posts: 1314
|
Posted: Mon May 16, 2005 2:05 am Post subject: |
|
|
codergeek42 wrote: | Be sure to enable the 3dfx direct rendering manager in your kernel configuration. |
Yep, I missed enabling DRM for Voodoo3, even though I had that graphics card driver enabled elsewhere. I'm recompiling the kernel and testing now. |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|