LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   /testing libdrm and xf86 nouveau drivers in Slackware 14.0 (http://www.linuxquestions.org/questions/slackware-14/testing-libdrm-and-xf86-nouveau-drivers-in-slackware-14-0-a-4175431118/)

H_TeXMeX_H 10-08-2012 09:08 AM

/testing libdrm and xf86 nouveau drivers in Slackware 14.0
 
I have tried upgrading libdrm and xf86-nouveau in 14.0 to the ones in testing, but this causes lots of CPU usage in games and they run much more slowly than with the default drivers.

The problem I have identified is mesa. After recompiling a git version of mesa, everything works great again. The problem is the stable version of mesa will not compile.

Oh well, I guess something has to be from git currently, either nouveau or mesa.

Didier Spaier 10-08-2012 09:40 AM

Quote:

+--------------------------+
Sat Sep 22 00:34:26 UTC 2012
I'll go along with the last minute request to provide the released stable
version of xf86-video-nouveau. The reason that we hadn't done this is that
the stable version of Mesa won't compile with this version of libdrm.
But,
since xf86-video-nouveau compiles fine with this libdrm and the Mesa we're
already shipping, it seems reasonable to provide them here in /testing.
Thanks to Didier Spaier.
testing/packages/libdrm-2.4.39-i486-1.txz: Added.
testing/packages/xf86-video-nouveau-1.0.2-i486-1.txz: Added.
Please do not sue me though, using packages in /testing is not mandatory ;)

GazL 10-08-2012 09:55 AM

Now you have it all working, is there any noticeable difference from the stock non-testing versions, that would actually make the exercise worthwhile?

H_TeXMeX_H 10-08-2012 11:38 AM

Quote:

Originally Posted by Didier Spaier (Post 4800233)
Please do not sue me though, using packages in /testing is not mandatory ;)

Yes, I remember this from the changelog, but I just wanted to say that maybe mesa from git should also be in testing, otherwise you'll get high CPU usage and laggy games.

Quote:

Originally Posted by GazL (Post 4800249)
Now you have it all working, is there any noticeable difference from the stock non-testing versions, that would actually make the exercise worthwhile?

Well, it's not really worth it. I mostly installed it in an attempt to diagnose hard lockups of unknown origin that seem to affect my computer since 13.37. I suspect the mobo right now, but I have to try to eliminate nouveau as the cause.

Didier Spaier 10-08-2012 11:51 AM

Quote:

Originally Posted by H_TeXMeX_H (Post 4800358)
Yes, I remember this from the changelog, but I just wanted to say that maybe mesa from git should also be in testing, otherwise you'll get high CPU usage and laggy games.

And/or I would suggest including in /testing a script to grab mesa's source from git and make a source package of it, similarly as /testing/source/xf86-video-nouveau/get-xf86-video-nouveau.sh in Slackware 13.37.

H_TeXMeX_H 10-08-2012 12:58 PM

Quote:

Originally Posted by Didier Spaier (Post 4800379)
And/or I would suggest including in /testing a script to grab mesa's source from git and make a source package of it, similarly as /testing/source/xf86-video-nouveau/get-xf86-video-nouveau.sh in Slackware 13.37.

Yes, that should work too. However, after using mesa from git for a while, I must say that some pulls don't compile :( Well, in such a case, just wait a day and try again.

Didier Spaier 10-08-2012 05:59 PM

Silly me!
 
:doh: I remember now that get-mesa.sh is already included in /source/x/mesa of both Slackware 13.37 and Slackware 14...

H_TeXMeX_H 10-09-2012 08:57 AM

Mesa 9.0 just came out and it works fine. Maybe it will go in testing.

el chapulín 10-09-2012 09:10 AM

I'm always interested in the FOSS drivers, but compiling mesa is an experience I don't care to repeat, so I'll just stick with the blob for now...
Quote:

Originally Posted by H_TeXMeX_H (Post 4800358)
I mostly installed it in an attempt to diagnose hard lockups of unknown origin that seem to affect my computer since 13.37. I suspect the mobo right now, but I have to try to eliminate nouveau as the cause.

If you get hard lockups which don't respond to magic key strokes, then I would suspect hardware/cooling problems. I had to clean my CPU fan out because of this, but the cooling fan isn't good enough and my motherboard is also dying of "capacitor 'itis"...

H_TeXMeX_H 10-09-2012 10:13 AM

If it does it again I will clean the case out and change the thermal paste.

folkenfanel 10-10-2012 11:59 AM

I successfully compiled mesa yesterday, nouveau is the problem
 
Mesa 8.0.4. I took out nouveau from the SlackBuild and it compiles just fine, so it is about nouveau. Basically Mesa 8.0.4 expects include files taken out of recent libdrm releases after 2.4.33.

I'll take a look at Mesa 9.0.

Didier Spaier 10-10-2012 01:18 PM

I will try to compile mesa-9.0 against libdrm-2.4.39, maybe later tonight.

@H_TexMeX_H: did you do just that or did you compile it against libdrm-2.4.33?

H_TeXMeX_H 10-10-2012 01:43 PM

I compiled against libdrm-2.4.39 from testing.

wildwizard 10-11-2012 05:26 AM

Gotcha for the upgrade to Mesa, they split libGLU out into it's own package.

ftp://ftp.freedesktop.org/pub/mesa/glu/

H_TeXMeX_H 10-11-2012 06:13 AM

Thanks, I was wondering where it went.


All times are GMT -5. The time now is 09:56 PM.