Linux - DesktopThis forum is for the discussion of all Linux Software used in a desktop context.
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.
I am unable to get direct rendering to work with a Quadro FX 540 card and iH252 monitor. I use Ubuntu 12.04 and XFCE with lightdm.
I disabled my other monitor because I found something in a log file indicating that it was incapable of direct rendering, so I only have the one monitor to worry about.
I found this post about enabling DRI, but that didn't help.
I also added my user to the "use video devices" group, which I read was causing someone a problem, but that didn't help.
Here is my xorg.conf (generated by the nvidia tool, except for the dri stuff that I added):
I set the LIBGL_DEBUG environment variable, but there was no difference in output.
Also, just a note on my nvidia driver version, I was having serious problems with freezing because of video problems, so I downgraded the Nvidia drivers from the default 295.40 to 295.33, which seems to have solved that problem.
Please post what exactly you have done to downgrade the driver (and also a reason why you have downgraded instead of upgrading to the latest version).
I was on the latest version, 295.40, because that is what Ubuntu packages, but I was having overflow problems that caused everything to freeze and forced a reboot. I'm sorry I don't have the link now, but I read that this was a known issue with that version of the proprietary drivers and it was recommended to downgrade to 295.33.
As for exactly what I did to downgrade...It wasn't a smooth process, even after 10 years of using Linux I still don't understand X or kernel modules well. I uninstalled the 295.40 drivers, then I had to blacklist nouveau and boot into text mode. From there I just ran the install script from Nvidia's site. (That makes it sound simple; in fact there were a lot of false starts and mistakes along the way.)
I'd remove your xorg, purge the nvidia drivers, then try the newer drivers. Probably 302.11 beta drivers from xorg-edgers rather than a manual install.
Quote:
Originally Posted by dcroxton
I disabled my other monitor because I found something in a log file indicating that it was incapable of direct rendering, so I only have the one monitor to worry about.
*blinks* Monitors dont do direct rendering, its the GPU. AFAIK the chip in the FX540 supports dual monitor direct rendering just fine...
The nvidia driver setup program commented out the Load "dri" line.
Just for curiousity sake, what does the command
Code:
cat /var/log/Xorg.0.log|grep dri
return for you?
Code:
[ 30.682] (WW) Hotplugging is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
[ 30.682] X.Org XInput driver : 16.0
[ 30.683] (II) "dri" will be loaded by default.
[ 30.683] (II) "dri2" will be loaded by default.
[ 30.747] (II) LoadModule: "dri"
[ 30.747] (II) Loading /usr/lib/xorg/modules/extensions/libdri.so
[ 30.747] (II) Module dri: vendor="X.Org Foundation"
[ 30.747] (II) LoadModule: "dri2"
[ 30.748] (II) Loading /usr/lib/xorg/modules/extensions/libdri2.so
[ 30.748] (II) Module dri2: vendor="X.Org Foundation"
[ 30.748] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
[ 30.750] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
[ 32.634] (II) Loading sub module "dri2"
[ 32.634] (II) LoadModule: "dri2"
[ 32.634] (II) Loading /usr/lib/xorg/modules/extensions/libdri2.so
[ 32.634] (II) Module dri2: vendor="X.Org Foundation"
[ 32.634] (II) NVIDIA(0): [DRI2] VDPAU driver: nvidia
[ 32.677] ABI class: X.Org XInput driver, version 16.0
[ 32.677] (II) Using input driver 'evdev' for 'Power Button'
[ 32.678] (II) Using input driver 'evdev' for 'Power Button'
[ 32.679] (II) Using input driver 'evdev' for 'Logitech USB Receiver'
[ 32.680] (II) No input driver specified, ignoring this device.
[ 32.680] (II) Using input driver 'evdev' for 'HID 0b38:0010'
[ 32.681] (II) Using input driver 'evdev' for 'HID 0b38:0010'
[ 32.682] (II) Using input driver 'evdev' for 'HP 3-MegaPixel Webcam GX607AA'
[ 32.683] (II) No input driver specified, ignoring this device.
[ 32.683] (II) No input driver specified, ignoring this device.
[ 32.683] (II) No input driver specified, ignoring this device.
[ 32.683] (II) No input driver specified, ignoring this device.
[ 32.684] (II) No input driver specified, ignoring this device.
You guys are awesome! I upgraded to the 295.53 driver and direct rendering was immediately on. The output of glxgears was the same, but I can definitely tell a difference in rendering speed, not to mention less CPU usage.
In re the second monitor, it is entirely possible that I misunderstood something. I'm sure I read something like that -- and I had the same reaction, that I didn't think the monitor would make a difference -- but I probably didn't understand it properly. I turned it back on and it works fine.
In re the MESA GL drivers, I get the following output when running that command:
Keep in mind that I had reinstalled the nvidia driver in the meantime, and in fact now that I check it, the client glx vendor string now says "NVIDIA Corporation". I did get an error during the build process: "unable to restore symbolic link /usr/lib/i386-linux-gnu/mesa/libGL.so.1 -> libGL.so.1.2 (File exists)" but I'm assuming that doesn't matter at this point.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.