LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 10-08-2012, 08:08 AM   #1
H_TeXMeX_H
Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269
/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.
 
Old 10-08-2012, 08:40 AM   #2
Didier Spaier
Senior Member
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slackware{,64}-{14.1,current} on a Lenovo Thinkpad T61 6457-4XG
Posts: 4,235

Rep: Reputation: 1040Reputation: 1040Reputation: 1040Reputation: 1040Reputation: 1040Reputation: 1040Reputation: 1040Reputation: 1040
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
 
Old 10-08-2012, 08:55 AM   #3
GazL
Senior Member
 
Registered: May 2008
Posts: 3,392

Rep: Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917
Now you have it all working, is there any noticeable difference from the stock non-testing versions, that would actually make the exercise worthwhile?
 
Old 10-08-2012, 10:38 AM   #4
H_TeXMeX_H
Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Original Poster
Rep: Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269
Quote:
Originally Posted by Didier Spaier View Post
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 View Post
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.
 
Old 10-08-2012, 10:51 AM   #5
Didier Spaier
Senior Member
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slackware{,64}-{14.1,current} on a Lenovo Thinkpad T61 6457-4XG
Posts: 4,235

Rep: Reputation: 1040Reputation: 1040Reputation: 1040Reputation: 1040Reputation: 1040Reputation: 1040Reputation: 1040Reputation: 1040
Quote:
Originally Posted by H_TeXMeX_H View Post
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.
 
Old 10-08-2012, 11:58 AM   #6
H_TeXMeX_H
Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Original Poster
Rep: Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269
Quote:
Originally Posted by Didier Spaier View Post
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.
 
Old 10-08-2012, 04:59 PM   #7
Didier Spaier
Senior Member
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slackware{,64}-{14.1,current} on a Lenovo Thinkpad T61 6457-4XG
Posts: 4,235

Rep: Reputation: 1040Reputation: 1040Reputation: 1040Reputation: 1040Reputation: 1040Reputation: 1040Reputation: 1040Reputation: 1040
Silly me!

I remember now that get-mesa.sh is already included in /source/x/mesa of both Slackware 13.37 and Slackware 14...
 
Old 10-09-2012, 07:57 AM   #8
H_TeXMeX_H
Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Original Poster
Rep: Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269
Mesa 9.0 just came out and it works fine. Maybe it will go in testing.
 
Old 10-09-2012, 08:10 AM   #9
el chapulín
Member
 
Registered: Sep 2012
Posts: 75

Rep: Reputation: 19
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 View Post
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"...
 
Old 10-09-2012, 09:13 AM   #10
H_TeXMeX_H
Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Original Poster
Rep: Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269
If it does it again I will clean the case out and change the thermal paste.
 
Old 10-10-2012, 10:59 AM   #11
folkenfanel
Member
 
Registered: Sep 2004
Location: formerly Fanelia and Zaibach
Distribution: Slackware-current with KDE 4.8.5
Posts: 303

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

Last edited by folkenfanel; 10-10-2012 at 11:01 AM. Reason: version
 
Old 10-10-2012, 12:18 PM   #12
Didier Spaier
Senior Member
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slackware{,64}-{14.1,current} on a Lenovo Thinkpad T61 6457-4XG
Posts: 4,235

Rep: Reputation: 1040Reputation: 1040Reputation: 1040Reputation: 1040Reputation: 1040Reputation: 1040Reputation: 1040Reputation: 1040
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?
 
Old 10-10-2012, 12:43 PM   #13
H_TeXMeX_H
Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Original Poster
Rep: Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269
I compiled against libdrm-2.4.39 from testing.
 
Old 10-11-2012, 04:26 AM   #14
wildwizard
Member
 
Registered: Apr 2009
Location: Oz
Distribution: slackware64-14.0
Posts: 755

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

ftp://ftp.freedesktop.org/pub/mesa/glu/
 
1 members found this post helpful.
Old 10-11-2012, 05:13 AM   #15
H_TeXMeX_H
Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Original Poster
Rep: Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269
Thanks, I was wondering where it went.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
xf86-video-nouveau as a tarball: will it be included in Slackware 14? Didier Spaier Slackware 13 09-29-2012 04:30 AM
Slackware 14 RC5 KMS xf86-video-ati libdrm testing tuxbg Slackware 6 09-28-2012 03:57 PM
LXer: Testing Out The Major Nouveau libdrm Rewrite LXer Syndicated Linux News 0 04-21-2012 08:20 PM
xf86-video-nouveau on Slackware sahko Slackware 0 08-06-2009 10:29 AM
ATI XF86 4.4 Drivers? Zero-0-Effect Linux - General 0 05-26-2004 12:19 PM


All times are GMT -5. The time now is 03:10 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration