Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux? |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
03-25-2006, 11:16 PM
|
#1
|
Member
Registered: Aug 2004
Distribution: deb lenny 2.6.21-amd64
Posts: 320
Rep:
|
nv fx5200 pci glxgears problems
I finally got my video card working and am using the generic drivers, since I was never able to build the kernel interface for the latest drivers for some reason... I'm still not sure.
Glxgears is running waaay slower than I'd expect and I keep getting this "fatal IO error 104", which I've read is the result of a problem in hw.
Code:
$ glxgears
Xlib: extension "XFree86-DRI" missing on display ":0.0".
324 frames in 5.0 seconds = 64.800 FPS
280 frames in 5.0 seconds = 56.000 FPS
280 frames in 6.0 seconds = 46.667 FPS
280 frames in 5.0 seconds = 56.000 FPS
280 frames in 6.0 seconds = 46.667 FPS
XIO: fatal IO error 104 (Connection reset by peer) on X server ":0.0"
after 3201 requests (30 known processed) with 0 events remaining.
Code:
$ glxinfo
name of display: :0.0
Xlib: extension "XFree86-DRI" missing on display ":0.0".
display: :0 screen: 0
direct rendering: No
server glx vendor string: SGI
server glx version string: 1.2
server glx extensions:
GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context
client glx vendor string: SGI
client glx version string: 1.2
client glx extensions:
GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context
GLX extensions:
GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context
OpenGL vendor string: Mesa project: www.mesa3d.org
OpenGL renderer string: Mesa GLX Indirect
OpenGL version string: 1.3 Mesa 4.0.4
OpenGL extensions:
GL_ARB_imaging, GL_ARB_multitexture, GL_ARB_texture_border_clamp,
GL_ARB_texture_cube_map, GL_ARB_texture_env_add,
GL_ARB_texture_env_combine, GL_ARB_texture_env_dot3,
GL_ARB_transpose_matrix, GL_EXT_abgr, GL_EXT_blend_color,
GL_EXT_blend_minmax, GL_EXT_blend_subtract, GL_EXT_texture_env_add,
GL_EXT_texture_env_combine, GL_EXT_texture_env_dot3,
GL_EXT_texture_lod_bias
glu version: 1.3
glu extensions:
GLU_EXT_nurbs_tessellator, GLU_EXT_object_space_tess
Here is my XF86Config-4 file:
Code:
Section "Files"
FontPath "unix/:7100" # local font server
# if the local font server has problems, we can fall back on these
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/CID"
FontPath "/usr/share/fonts/truetype"
FontPath "/usr/local/share/fonts/truetype"
FontPath "/usr/lib/X11/fonts/CID"
FontPath "/usr/lib/X11/fonts/Speedo"
FontPath "/usr/lib/X11/fonts/misc"
FontPath "/usr/lib/X11/fonts/cyrillic"
FontPath "/usr/lib/X11/fonts/100dpi/:unscaled"
FontPath "/usr/lib/X11/fonts/75dpi/:unscaled"
FontPath "/usr/lib/X11/fonts/Type1"
FontPath "/usr/lib/X11/fonts/CID"
FontPath "/usr/lib/X11/fonts/Speedo"
FontPath "/usr/lib/X11/fonts/100dpi"
FontPath "/usr/lib/X11/fonts/75dpi"
EndSection
Section "Module"
# Load "GLcore"
Load "bitmap"
Load "dbe"
Load "ddc"
# Load "dri"
Load "extmod"
Load "freetype"
Load "glx"
Load "int10"
Load "record"
Load "speedo"
Load "type1"
Load "vbe"
EndSection
Section "InputDevice"
Identifier "Generic Keyboard"
Driver "keyboard"
Option "CoreKeyboard"
Option "XkbRules" "xfree86"
Option "XkbModel" "pc104"
Option "XkbLayout" "us"
EndSection
Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/psaux"
Option "Protocol" "ImPS/2"
Option "Emulate3Buttons" "true"
Option "ZAxisMapping" "4 5"
EndSection
Section "InputDevice"
Identifier "Generic Mouse"
Driver "mouse"
Option "SendCoreEvents" "true"
Option "Device" "/dev/input/mice"
Option "Protocol" "ImPS/2"
Option "Emulate3Buttons" "true"
Option "ZAxisMapping" "4 5"
EndSection
Section "Device"
# Identifier "Intel Corporation 82810 CGC [Chipset Graphics Controller]"
# Driver "i810"
Identifier "FX5200"
Driver "nv"
EndSection
Section "Monitor"
Identifier "Dell P1110"
HorizSync 30-121
VertRefresh 48-160
Option "DPMS"
EndSection
Section "Screen"
Identifier "Default Screen"
# Device "Intel Corporation 82810 CGC [Chipset Graphics Controller]"
Device "FX5200"
Monitor "Dell P1110"
DefaultDepth 24
# SubSection "Display"
# Depth 1
# Modes "1600x1200" "1280x1024" "1280x960" "1152x864"
# EndSubSection
# SubSection "Display"
# Depth 4
# Modes "1600x1200" "1280x1024" "1280x960" "1152x864"
# EndSubSection
# SubSection "Display"
# Depth 8
# Modes "1600x1200" "1280x1024" "1280x960" "1152x864"
# EndSubSection
# SubSection "Display"
# Depth 15
# Modes "1600x1200" "1280x1024" "1280x960" "1152x864"
# EndSubSection
# SubSection "Display"
# Depth 16
# Modes "1600x1200" "1280x1024" "1280x960" "1152x864"
# EndSubSection
SubSection "Display"
Depth 24
Modes "2560x1600" "1920x1200" "1680x1050" "1600x1200" "1280x1024" "1280x960" "1152x864"
EndSubSection
# SubSection "Display"
# Depth 32
# Modes "2560x1600" "1920x1200" "1680x1050" "1600x1200" "1280x1024" "1280x960" "1152x864"
# EndSubSection
EndSection
Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
InputDevice "Generic Mouse"
EndSection
Section "DRI"
Mode 0666
EndSection
Specs:
Celeron A 733MHz
Nvidia FX5200 PCI
319MB PC133 RAM
Thanks
edit: Screen res is 1600x1200.
|
|
|
03-26-2006, 12:13 AM
|
#2
|
Member
Registered: Jul 2004
Location: Moriarty, NM, USA about 100 yards form Rattle Snake Coutry
Distribution: Slackware , Ubuntu
Posts: 269
Rep:
|
The "nv" drivers offer NO 3d support, so what you are getting is software acceleration.
Quote:
$ glxinfo
name of display: :0.0
Xlib: extension "XFree86-DRI" missing on display ":0.0".
display: :0 screen: 0
direct rendering: No
|
Must read as the following for 3d acceleration
Quote:
glxinfo
name of display: :0.0
display: :0 screen: 0
direct rendering: Yes
server glx vendor string: NVIDIA Corporation
|
To have proper 3d acceleration you need to install the proprietary Nvidia drivers.
|
|
|
03-26-2006, 02:25 AM
|
#3
|
Member
Registered: Aug 2004
Distribution: deb lenny 2.6.21-amd64
Posts: 320
Original Poster
Rep:
|
Thanks for your quick reply.
Would someone be willing to help me install the latest drivers..? I've posted my question to NVNews but no one's replied for 3 days.
Nvidia-installer successfully installs the kernel module, but then it encounters an error:
Code:
ERROR: Unable to load the kernel module 'nvidia.ko'. This is most likely
because the kernel module was built using the wrong kernel source files.
Please make sure you have installed the kernel source files for your
kernel and that they are properly configured; on Red Hat Linux systems,
for example, be sure you have the 'kernel-source' RPM installed. If you
know the correct kernel source files are installed, you may specify the
kernel source path with the '--kernel-source-path' command line option.
-> Kernel module load error: ./usr/src/nv/nvidia.ko: couldn't find the kernel
version the module was compiled for
-> Kernel messages:
PCI: Sharing IRQ 9 with 00:1f.3
PCI: Sharing IRQ 9 with 00:1f.5
NVRM: loading NVIDIA Linux x86 NVIDIA Kernel Module 1.0-7174 Tue Mar 22
06:44:39 PST 2005
Linux Tulip driver version 0.9.15-pre12 (Aug 9, 2002)
PCI: Found IRQ 9 for device 00:1f.5
PCI: Sharing IRQ 9 with 00:1f.3
PCI: Sharing IRQ 9 with 01:0d.0
PCI: Setting latency timer of device 00:1f.5 to 64
intel8x0_measure_ac97_clock: measured 42000 usecs
intel8x0: clocking to 48000
uhci.c: USB Universal Host Controller Interface driver v1.1
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
shpchp: acpi_shpchprm:get_device PCI ROOT HID fail=0x1001
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
pciehp: acpi_pciehprm:get_device PCI ROOT HID fail=0x1001
hw_random: misc device register failed
parport0: PC-style at 0x378 [PCSPP,TRISTATE]
lp0: using parport0 (polling).
ppdev: user-space parallel port driver
ppdev0: registered pardevice
ppdev0: unregistered pardevice
ppdev1: claim the port first
ppdev2: claim the port first
apm: BIOS version 1.2 Flags 0x03 (Driver version 1.16)
i810_rng hardware driver 0.9.8 loaded
|
|
|
03-26-2006, 10:50 AM
|
#4
|
Member
Registered: Jul 2004
Location: Moriarty, NM, USA about 100 yards form Rattle Snake Coutry
Distribution: Slackware , Ubuntu
Posts: 269
Rep:
|
Looks like the installer is complaining that the kernel sources do not match the kernel currently running.
At CLI enter "uname -r" will give you the kernel that is currently running.
Then look in /usr/src/ you should see linux-???????
Make sure that it matches your running kernel and you have a link to the folder like the example below:
Quote:
keith@slack:~$ uname -r
2.6.15.4
keith@slack:~$ ls -l /usr/src/
lrwxrwxrwx 1 root root 14 2006-02-21 21:27 linux -> linux-2.6.15.4/
drwxrwxrwx 20 root root 4096 2006-02-21 21:54 linux-2.6.15.4/
|
If it does not match you will need to install the correct kernel sources and link to "linux"
ie: ln -s /user/src/linux-????? /usr/src/linux
The nvidia module needs to be compiled against the running kernel's sources.
|
|
|
03-26-2006, 04:24 PM
|
#5
|
Member
Registered: Aug 2004
Distribution: deb lenny 2.6.21-amd64
Posts: 320
Original Poster
Rep:
|
My kernel is 2.4.27-2 and the kernel sources is 2.4.27-12, which I installed with apt-get. Does the number following the hyphen matter or not? This is something I've never been sure of. I never linked it to linux so I was just using the --kernel-source-path instead.
Thanks
|
|
|
03-26-2006, 06:26 PM
|
#6
|
Member
Registered: Jul 2004
Location: Moriarty, NM, USA about 100 yards form Rattle Snake Coutry
Distribution: Slackware , Ubuntu
Posts: 269
Rep:
|
The number after the hyphen is the Debian specific patch level and yes it does matter.
They need to be the same.
|
|
|
03-26-2006, 11:20 PM
|
#7
|
Member
Registered: Aug 2004
Distribution: deb lenny 2.6.21-amd64
Posts: 320
Original Poster
Rep:
|
Debian's packages site only has kernel-source 2.4.27-12. It has a kernel-image package with the correct kernel version, but this isn't what I want.
I can't even find it here.
Last edited by verbose; 03-26-2006 at 11:24 PM.
|
|
|
03-27-2006, 06:55 AM
|
#8
|
Member
Registered: Jul 2004
Location: Moriarty, NM, USA about 100 yards form Rattle Snake Coutry
Distribution: Slackware , Ubuntu
Posts: 269
Rep:
|
from Debian---->"Package: kernel-image-2.4.27-2-386 (2.4.27-10sarge1)"
Linky-------------> http://packages.debian.org/stable/ba...e-2.4.27-2-386
So assuming I am reading that correctly 2.4.27-2-386 = 2.4.27-10sarge1
Hope that helps
|
|
|
03-27-2006, 08:52 AM
|
#9
|
Member
Registered: Aug 2004
Distribution: deb lenny 2.6.21-amd64
Posts: 320
Original Poster
Rep:
|
Yes, you are correct.
Unfortunately, for etch they only have kernel-source-2.4.27-12.
|
|
|
All times are GMT -5. The time now is 06:26 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|