DebianThis forum is for the discussion of Debian 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.
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.
Hi, there. I just recently upgraded to Xorg 7 and, like so many others, am finding the transition a bit rocky. So here's the story.
I've upgraded to Xorg 7, nvidia-glx=1.0.8762-2, nvidia-kernel-source=1.0.8762-2, and nvidia-kernel-common=20051028+1. I ran "m-a a-i -f nvidia" to install the nVidia drivers the "Debian way" (which I would prefer to use over the official vendor installer). I am using a custom-compiled Linux kernel 2.6.14.6 and the nVidia drivers seemed to compile and work with it quite nicely. The xorg.conf does not have any mention of the dri or GLcore modules; it does use glx. Also, to enable direct rendering and avoid Debian bug #208198, I relinked the libraries in /usr/X11R6/lib (see http://wiki.debian.org/NvidiaGraphic...59ba3d657faeb).
Despite all of this, glxgears is producing a framerate between 300 and 600 FPS and Cedega tests for both OpenGL Direct Rendering and 3D Acceleration fail. Before I upgraded to Xorg 7, my framerate was in the range of 11,000 FPS.
Does anyone have any suggestions? The following console sessions may be useful.
Code:
zpalmer@nestor:~$ glxinfo | egrep '(vendor|version|client|server|render)'
direct rendering: Yes
server glx vendor string: NVIDIA Corporation
server glx version string: 1.4
server glx extensions:
client glx vendor string: NVIDIA Corporation
client glx version string: 1.4
client glx extensions:
GLX version: 1.3
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: GeForce 6800 GS/PCI/SSE2
OpenGL version string: 2.0.2 NVIDIA 87.62
GL_NVX_conditional_render, GL_SGIS_generate_mipmap, GL_SGIS_texture_lod,
glu version: 1.3
Code:
zpalmer@nestor:~$ grep "WW" /var/log/Xorg.0.log
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(WW) The directory "/usr/share/fonts/X11/misc" does not exist.
(WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
(WW) The directory "/usr/X11R6/lib/X11/fonts/cyrillic" does not exist.
(WW) The directory "/usr/share/fonts/X11/100dpi/" does not exist.
(WW) The directory "/usr/share/fonts/X11/75dpi/" does not exist.
(WW) The directory "/usr/share/fonts/X11/100dpi" does not exist.
(WW) The directory "/usr/share/fonts/X11/75dpi" does not exist.
(WW) The directory "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType" does not exist.
(WW) NVIDIA(0): Option "UseFBDev" is not used
Code:
zpalmer@nestor:~$ cat /etc/X11/xorg.conf
# /etc/X11/xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the /etc/X11/xorg.conf manual page.
# (Type "man /etc/X11/xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
# sudo dpkg-reconfigure -phigh xserver-xorg
Section "Files"
FontPath "/usr/share/fonts/X11/misc"
FontPath "/usr/X11R6/lib/X11/fonts/misc"
FontPath "/usr/share/fonts/X11/cyrillic"
FontPath "/usr/X11R6/lib/X11/fonts/cyrillic"
FontPath "/usr/share/fonts/X11/100dpi/:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
FontPath "/usr/share/fonts/X11/75dpi/:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
FontPath "/usr/share/fonts/X11/Type1"
FontPath "/usr/X11R6/lib/X11/fonts/Type1"
FontPath "/usr/share/fonts/X11/100dpi"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi"
FontPath "/usr/share/fonts/X11/75dpi"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi"
# path to defoma fonts
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection
Section "Module"
Load "bitmap"
Load "dbe"
Load "ddc"
Load "extmod"
Load "freetype"
Load "glx"
Load "int10"
Load "record"
Load "type1"
Load "vbe"
EndSection
Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc104"
Option "XkbLayout" "us"
EndSection
Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ExplorerPS/2"
Option "Emulate3Buttons" "true"
EndSection
Section "Device"
Identifier "Generic Video Card"
Driver "nvidia"
Option "UseFBDev" "true"
EndSection
Section "Monitor"
Identifier "Generic Monitor"
Option "DPMS"
HorizSync 30-65
VertRefresh 50-75
EndSection
Section "Screen"
Identifier "Default Screen"
Device "Generic Video Card"
Monitor "Generic Monitor"
DefaultDepth 24
SubSection "Display"
Depth 1
Modes "1280x1024" "1152x864" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 4
Modes "1280x1024" "1152x864" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 8
Modes "1280x1024" "1152x864" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 15
Modes "1280x1024" "1152x864" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 16
Modes "1280x1024" "1152x864" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "1280x1024" "1152x864" "1024x768" "800x600" "640x480"
EndSubSection
EndSection
Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
EndSection
Section "DRI"
Mode 0666
EndSection
Any help is much appreciated. Thanks for your time!
Hi, there. I just recently upgraded to Xorg 7 and, like so many others, am finding the transition a bit rocky. So here's the story.
I've upgraded to Xorg 7, nvidia-glx=1.0.8762-2, nvidia-kernel-source=1.0.8762-2, and nvidia-kernel-common=20051028+1. I ran "m-a a-i -f nvidia" to install the nVidia drivers the "Debian way" (which I would prefer to use over the official vendor installer). I am using a custom-compiled Linux kernel 2.6.14.6 and the nVidia drivers seemed to compile and work with it quite nicely. The xorg.conf does not have any mention of the dri or GLcore modules; it does use glx. Also, to enable direct rendering and avoid Debian bug #208198, I relinked the libraries in /usr/X11R6/lib (see http://wiki.debian.org/NvidiaGraphic...59ba3d657faeb).
Despite all of this, glxgears is producing a framerate between 300 and 600 FPS and Cedega tests for both OpenGL Direct Rendering and 3D Acceleration fail. Before I upgraded to Xorg 7, my framerate was in the range of 11,000 FPS.
Does anyone have any suggestions? The following console sessions may be useful.
Code:
zpalmer@nestor:~$ glxinfo | egrep '(vendor|version|client|server|render)'
direct rendering: Yes
server glx vendor string: NVIDIA Corporation
server glx version string: 1.4
server glx extensions:
client glx vendor string: NVIDIA Corporation
client glx version string: 1.4
client glx extensions:
GLX version: 1.3
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: GeForce 6800 GS/PCI/SSE2
OpenGL version string: 2.0.2 NVIDIA 87.62
GL_NVX_conditional_render, GL_SGIS_generate_mipmap, GL_SGIS_texture_lod,
glu version: 1.3
Code:
zpalmer@nestor:~$ grep "WW" /var/log/Xorg.0.log
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(WW) The directory "/usr/share/fonts/X11/misc" does not exist.
(WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
(WW) The directory "/usr/X11R6/lib/X11/fonts/cyrillic" does not exist.
(WW) The directory "/usr/share/fonts/X11/100dpi/" does not exist.
(WW) The directory "/usr/share/fonts/X11/75dpi/" does not exist.
(WW) The directory "/usr/share/fonts/X11/100dpi" does not exist.
(WW) The directory "/usr/share/fonts/X11/75dpi" does not exist.
(WW) The directory "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType" does not exist.
(WW) NVIDIA(0): Option "UseFBDev" is not used
Code:
zpalmer@nestor:~$ cat /etc/X11/xorg.conf
# /etc/X11/xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the /etc/X11/xorg.conf manual page.
# (Type "man /etc/X11/xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
# sudo dpkg-reconfigure -phigh xserver-xorg
Section "Files"
FontPath "/usr/share/fonts/X11/misc"
FontPath "/usr/X11R6/lib/X11/fonts/misc"
FontPath "/usr/share/fonts/X11/cyrillic"
FontPath "/usr/X11R6/lib/X11/fonts/cyrillic"
FontPath "/usr/share/fonts/X11/100dpi/:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
FontPath "/usr/share/fonts/X11/75dpi/:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
FontPath "/usr/share/fonts/X11/Type1"
FontPath "/usr/X11R6/lib/X11/fonts/Type1"
FontPath "/usr/share/fonts/X11/100dpi"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi"
FontPath "/usr/share/fonts/X11/75dpi"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi"
# path to defoma fonts
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection
Section "Module"
Load "bitmap"
Load "dbe"
Load "ddc"
Load "extmod"
Load "freetype"
Load "glx"
Load "int10"
Load "record"
Load "type1"
Load "vbe"
EndSection
Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc104"
Option "XkbLayout" "us"
EndSection
Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ExplorerPS/2"
Option "Emulate3Buttons" "true"
EndSection
Section "Device"
Identifier "Generic Video Card"
Driver "nvidia"
Option "UseFBDev" "true"
EndSection
Section "Monitor"
Identifier "Generic Monitor"
Option "DPMS"
HorizSync 30-65
VertRefresh 50-75
EndSection
Section "Screen"
Identifier "Default Screen"
Device "Generic Video Card"
Monitor "Generic Monitor"
DefaultDepth 24
SubSection "Display"
Depth 1
Modes "1280x1024" "1152x864" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 4
Modes "1280x1024" "1152x864" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 8
Modes "1280x1024" "1152x864" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 15
Modes "1280x1024" "1152x864" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 16
Modes "1280x1024" "1152x864" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "1280x1024" "1152x864" "1024x768" "800x600" "640x480"
EndSubSection
EndSection
Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
EndSection
Section "DRI"
Mode 0666
EndSection
Any help is much appreciated. Thanks for your time!
I am not sure if rocky motion is sufficient to judge that you do not have 3-D acceleration, but the line direct rendering: Yes generally means that 3D acceleration is enabled. Try installing planet-racer and see if the mouse is dragging while clicking on any options.
Well, installing PP Racer is not necessary, since I installed it long, long ago. Racer shows an FPS of ~130 with no performance problems. I still can't beat "Tux the Winter Sportsman", though.
I am led to believe that I do not have 3D acceleration because of two things:
1) My roommate's computer, running Debian Etch with Xorg 6.9 (whereas I have Xorg 7.0) is handling 3D just fine. We have the same card and same motherboard. He gets about 11k FPS out of glxgears. I'm getting less than 1k.
2) Cedega was running CounterStrike before in Direct3D mode. It was all happy and good; the game ran smoothly and without difficulty. Now, CounterStrike refuses to run in anything but Software mode. Cedega's tests claim that it has no 3D acceleration, so I'm disposed to believe it.
It's possible that there's something else wrong and that, deep down in there, 3D is actually working. However, to my knowledge, all "direct rendering: yes" means is that applications don't have to go through X libraries to draw on the screen, not necessarily that I have any kind of assistance from my GPU in rendering a 3D environment.
Thanks for the suggestion, though. I'll keep digging and post here if I find anything.
Update: I removed the Debian nVidia packages from my machine and installed the nVidia drivers using the official installer. Essentially, I did apt-get remove on all things prefixed with "nvidia-", then apt-get install xserver-xorg-dev (to fix the common path problem with current nVidia driver installers), and then I ran the official nVidia installer binary.
OpenGL works now, but Cedega still complains I have no 3D acceleration. I have no real way to verify whether or not this is true, but CS is playable for the time being. Does anyone have any suggestions as to how I test Cedega's claim?
Update: I tried removing three kinds of framebuffer support from my kernel which may conflict with nVidia drivers. No success. I also removed the DRI section from my xorg.conf; still no luck.
Right now, I'm trying to collect a little information on why there is a difference between the Debian way and the official vendor installer. I did a diff on some of my root directories and I got this:
The following files are present when the Debian way is used but NOT when the official vendor installer is used:
Can anyone make sense of what this means? I'm a relative newbie (8 months of using Debian as my desktop - Win2K before that), so I'm really not familiar enough to understand what I need to fix here or even what of those two lists are important. Note that the same xorg.conf was used in both cases...
EDIT:
Another thing did just occur to me. The official nVidia driver asked me something along the lines of "would you like to install nVidia's OpenGL 32-bit compatibility libraries?" I'm running a 64-bit AMD system... is there some additional package I need to download and install to get my 32-bit packages to properly run OpenGL/3D?
Try editing your Xorg.config file to the following:
Drivers Section
Replace "nv" with "nvidia"
Modules Section
Remove or comment out lines including "dri" and "GLCore"
Ensure there is a line with Load "glx"
Installing drivers is one of the reasons I run Kanotix(Debian Sid) rather than vanilla Debian.
All it takes to install drivers is to run a simple script.
Nvidia graphic cards driver installation:
su
init 3
update-scripts-kanotix.sh
install-nvidia-debian.sh
Thanks for the suggestions. Actually, the end of my OP lists (admittedly in a bit of an odd, verbose way) my xorg.conf. Load "glx" is present, Load "GLCore" and Load "dri" have been removed, and I am indeed using the "nvidia" driver.
I've personally had this and that unpleasant experience with Sid before, so while I have the unstable sources in my sources.list, I keep to Etch unless I have a good reason not to do so (i.e., there are no testing nVidia driver packages).
Update: I've migrated to a Debian stock kernel (2.6.17-2-amd64) and am still using the vendor nVidia installer package. Both Cedega and glxgears still suggest to me that there is no change... so it's not likely to be my kernel config.
A friend of mine has a nearly identical machine and his box is running 32-bit 3D just fine. The only difference between our machines is the amount and speed of RAM, the speed of the CPU, and the fact that I have a hardware muxing sound card. *shrugs*
I will continue to delve into his machine to determine the difference between them, but I am not hopeful.
Update: I've migrated to a Debian stock kernel (2.6.17-2-amd64) and am still using the vendor nVidia installer package. Both Cedega and glxgears still suggest to me that there is no change... so it's not likely to be my kernel config.
A friend of mine has a nearly identical machine and his box is running 32-bit 3D just fine. The only difference between our machines is the amount and speed of RAM, the speed of the CPU, and the fact that I have a hardware muxing sound card. *shrugs*
I will continue to delve into his machine to determine the difference between them, but I am not hopeful.
Hi i'm not sure why you changed your kernel back to the stock but never mind, I recommend before you run the nvidia drivers renaming you nvidia config file to something like xorg.conf-backup and then executing the latest NVIDIA driver from the NVIDIA site let the driver auto config your xorg.conf then hopefully 3D should work
Well, I finally got sick of messing with it and blasted my root. A fresh install (AMD64 Sarge, later upgraded to most recent Etch) with a fresh chroot followed by a vendor nVidia drivers installation fixed it. Cedega lights up all green now.
Not sure what was wrong; I probably messed up some link or another a while ago in my previous efforts to fix this problem. Now everything dances. Problem pseudo-solved. Thanks for the replies, everyone!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.