LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
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


Reply
  Search this Thread
Old 12-03-2014, 09:10 PM   #1
Holering
Member
 
Registered: Feb 2010
Distribution: Slackware - Gentoo - Debian
Posts: 197

Rep: Reputation: 22
Nouveau really slow with choppiness


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?

Help is appreciated!

Last edited by Holering; 12-07-2014 at 06:11 PM.
 
Old 12-04-2014, 05:52 AM   #2
manu-tm
Member
 
Registered: May 2008
Location: France
Distribution: Ubuntu, Debian
Posts: 343

Rep: Reputation: 43
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.

Last edited by manu-tm; 12-04-2014 at 06:20 PM.
 
2 members found this post helpful.
Old 12-05-2014, 06:17 PM   #3
Holering
Member
 
Registered: Feb 2010
Distribution: Slackware - Gentoo - Debian
Posts: 197

Original Poster
Rep: Reputation: 22
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.
 
Old 12-05-2014, 09:39 PM   #4
manu-tm
Member
 
Registered: May 2008
Location: France
Distribution: Ubuntu, Debian
Posts: 343

Rep: Reputation: 43
I don't know if it will work for you, but I just found this:
https://bbs.archlinux.org/viewtopic.php?pid=1366585
So I added myself to the video group and it fixed the problem.
 
1 members found this post helpful.
Old 12-05-2014, 09:58 PM   #5
Holering
Member
 
Registered: Feb 2010
Distribution: Slackware - Gentoo - Debian
Posts: 197

Original Poster
Rep: Reputation: 22
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.
 
Old 12-07-2014, 12:44 AM   #6
Holering
Member
 
Registered: Feb 2010
Distribution: Slackware - Gentoo - Debian
Posts: 197

Original Poster
Rep: Reputation: 22
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).
 
Old 12-07-2014, 09:09 AM   #7
manu-tm
Member
 
Registered: May 2008
Location: France
Distribution: Ubuntu, Debian
Posts: 343

Rep: Reputation: 43
You should definitely not get 100% CPU usage with your nvidia card, and you should not see 'GL_RENDERER = Gallium'. Maybe it's a mesa bug.
 
1 members found this post helpful.
Old 12-07-2014, 06:17 PM   #8
Holering
Member
 
Registered: Feb 2010
Distribution: Slackware - Gentoo - Debian
Posts: 197

Original Poster
Rep: Reputation: 22
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.
 
Old 02-18-2015, 12:42 PM   #9
manu-tm
Member
 
Registered: May 2008
Location: France
Distribution: Ubuntu, Debian
Posts: 343

Rep: Reputation: 43
Late update:

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:

http://www.linuxquestions.org/questi...tu-4175534407/

http://nouveau.freedesktop.org/wiki/

Last edited by manu-tm; 02-18-2015 at 04:56 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
No direct rendering (DRI) with Catalyst / fglrx on 14.1 dokkalf Slackware 18 11-29-2013 11:50 PM
Direct Rendering for ATI card with Tungsten Graphics Mesa driver Vetruvet Linux - Laptop and Netbook 28 05-21-2008 05:00 PM
Ubuntu and DRI --> Direct rendering: no Enigx Linux - Newbie 11 12-01-2006 08:44 PM
Solving the Direct Rendering issue (DRI). kbutcher5 Linux - Desktop 2 11-09-2006 06:04 PM
XFree86 DRI : glxinfo -> Direct rendering : No Muzzy Linux - Hardware 20 05-24-2004 07:03 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 11:28 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration