Linux - HardwareThis 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.
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.
Slackware 64 14.1. I compiled and upgraded Mesa to 10.3.0 and now I have horrible performance. CPU usage sky rockets to %100 and framerates are terrible with GZdoom. Really slow with other opengl applications. It's as if I'm using the LLVM pipe software backend but this doesn't appear true.
'glxinfo | grep direct' shows I have direct rendering on, and 'glxgears -info' shows I'm using nouveau glx:
Code:
bash-4.2# glxgears -info
Running synchronized to the vertical refresh. The framerate should be
approximately the same as the monitor refresh rate.
GL_RENDERER = Gallium 0.4 on NV36
GL_VERSION = 1.5 Mesa 10.3.0
GL_VENDOR = nouveau
Code:
bash-4.2# glxinfo | grep direct
direct rendering: Yes
I'm using nouveau with a Geforce FX 5700. I tried an ATI card with the radeon driver and I also get the same result (100% CPU usage and bad FPS).
I'm guessing I need to recompile certain libraries against Mesa? Or something else I need to recompile?
AFAIK, "GL_RENDERER = Gallium 0.4 ..." means software rendering, whereas you should have something like "GL_RENDERER = Mesa DRI ...". So, you're indeed using the LLVM pipe software backend.
I had a similar problem some times ago every time I was booting with a new external monitor plugged in. The issue is not fixed yet, and I have to unplug the monitor before boot and plug it in after I'm logged in, which is somewhat annoying. So it would be interesting if someone know how to fix that. I guess it probably relates to a wrong detection of the hardware.
I swapped my 5700 for Nvidia 8400gs. The performance increased greatly! But, I still have %100 CPU usage and performance is still much slower compared to Nvidia's proprietary driver. I'm hoping there are settings for Nouveau to change this. My 5700 should be performing faster than 8400gs in GZdoom but it is much slower with nouveau (like mentioned in first post it's like software rendering). Nouveau also doesn't accept custom modelines and goes by edid; Nvidia's driver doesn't have this problem for me.
Is there a deliberate setting causing such horrible performance with Nouveau? I checked /var/log/Xorg.0.log and it shows direct rendering enabled (both 5700 and 8400gs). I never had this problem when I had my r300 with radeon driver in Slackware 13.37.
My user is in the video group. I also tried as root but same result. Also, 'glxgears -info' shows gallium software if I have software rendering, but it says "Gallium 0.4 on NV36". Is there two different hardware drivers for nouveau (dri and/or gallium)? My Xorg.0.log shows swrast if I get software rendering, but this is not the case.
Okay I switched to nvidia's proprietary driver and I can confirm I get %100 CPU usage with it too. I guess this is normal. It is really fast in comparison to nouveau however.
Gzdoom gives me about 100-200+FPS in 1280x960 with Nvidia's proprietary driver, but nouveau usually 15-40FPS. I have hardware rendering working with nouveau. Both 8400GS and FX 5700 are slower with nouveau, but 5700 is unusually slower (like software rendering) despite using 'GL_RENDERER = Gallium 0.4 on NV36' (this says software when not hardware on my end).
Is there a settings list for noveau? I can't seem to find one. I want to try and tweak settings so I can at least get playable FPS with GZdoom, and not have Steam complain about outdated Nvidia drivers.
I've made totally wrong (and therefore misleading) assumptions about "gallium" meaning software rendering, whereas it was "llvmpipe". I think it's worth mentioning to avoid to add confusion.
Also, in case you haven't solved the problem yet, this might be of interest:
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.