Re: Xvesa segfaults, Xnvidia says no cards found on a GeForce 4 Go
| Newsgroups | gmane.comp.freedesktop.xserver |
|---|---|
| Message-ID | <[email protected]> |
> Running /opt/pkgs/fdo/bin/Xnvidia from runlevel 3 directly or via GDM > fails with a "No matching card found!" message. This is because the default Xnvidia binary only checks for the PCI ID of a GeForce2. To fix this you have to do two things: 1) Find the PCI-ID of your card. You can do this by doing "cat /proc/bus/pci/ devices | grep 10de". You should see a number 10deXXX. 10de is the PCI ID for NVIDIA, and the 'XXX' is the PCI ID of your card. 2) Open up the file xserver/xserver/hw/kdrive/nvidia/nvidiastub.c in the FD.O source tree. Look for the call to 'LinuxFindPci'. The first parameter is 0x10de and the second is, IIRC, 0x0112. Replace the 0x0112 with 0x0XXX, where XXX is the number you found in step 1. On my machine, which also has a GeForce4Go, I had to use 0x0174 as the second parameter. After that, Xnvidia should work just fine --- at least, it does on my machine :)