LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

View Poll Results: Which NVIDIA driver do you use, Nouveau or the porprietary blob?
Nouveau 27 20.00%
Proprietary blob 108 80.00%
Voters: 135. You may not vote on this poll

Reply
 
LinkBack Search this Thread
Old 10-08-2012, 06:13 PM   #76
dugan
Senior Member
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 4,238

Rep: Reputation: 1299Reputation: 1299Reputation: 1299Reputation: 1299Reputation: 1299Reputation: 1299Reputation: 1299Reputation: 1299Reputation: 1299

Is anyone else having trouble building the nvidia-driver SlackBuild on Slackware 14.0 multilib? It worked fine before I installed the multilib packages. Now, however, it fails with the following error.

Yes, I'm using the SlackBuild to build version 304.51.

Code:
CC           mkprecompiled.c
   LINK         _out/Linux_x86_64/mkprecompiled
   STRIP        _out/Linux_x86_64/mkprecompiled
   HOST_CC      makeself-help-script.c
   HOST_CC      common-utils/common-utils.c
   HOST_CC      common-utils/nvgetopt.c
   HOST_LINK    _out/Linux_x86_64/makeself-help-script
_out/Linux_x86_64/makeself-help-script --advanced-options-args-only >> _out/Linux_x86_64/makeself-help-script.sh
_out/Linux_x86_64/makeself-help-script --help-args-only >> _out/Linux_x86_64/makeself-help-script.sh
chmod u+x _out/Linux_x86_64/makeself-help-script.sh
   HOST_CC      gen-manpage-opts.c
   HOST_CC      common-utils/gen-manpage-opts-helper.c
   HOST_LINK    _out/Linux_x86_64/gen-manpage-opts
   M4           nvidia-installer.1.m4
/tmp/SBo/NVIDIA-Linux-x86_64-304.51
rm -f libXNVCtrl.a *.o
cc -O2 -fPIC -fPIC   -c -o NVCtrl.o NVCtrl.c
ar rv libXNVCtrl.a NVCtrl.o
ar: creating libXNVCtrl.a
a - NVCtrl.o
ranlib libXNVCtrl.a
rm NVCtrl.o
make[1]: Entering directory `/tmp/SBo/nvidia-settings-304.51/src'
   CC           command-line.c
In file included from command-line.c:32:0:
glxinfo.h:23:20: fatal error: GL/glx.h: No such file or directory
compilation terminated.
make[1]: *** [_out/Linux_x86_64/command-line.o] Error 1
make[1]: Leaving directory `/tmp/SBo/nvidia-settings-304.51/src'
make: *** [all] Error 2
EDIT: It's the same problem reported in this thread:

http://www.linuxquestions.org/questi...pkg-4175430166

EDIT 2: Apparently, the procedure is:

Code:
nvidia-switch --remove
Then rebuild both nvidia-kernel and nvidia-driver.

Last edited by dugan; 10-08-2012 at 06:47 PM.
 
Old 10-09-2012, 12:10 PM   #77
joghi
LQ Newbie
 
Registered: Jun 2011
Distribution: Slackware 14.0 Slackware64 14.0
Posts: 19

Rep: Reputation: Disabled
Hello,

I dind't try the slackbuilds yet, I used the NVIDIA-installer. But I had some problems with said version of the NVIDIA-driver in slackware64 14.0 multilib: Good old neverwinternights client (32 bit) yielded a segfault. It works perfect with the latest driver from the 295 series. The 32 bit version of driver 304.51 works too.
 
Old 10-09-2012, 02:37 PM   #78
ReaperX7
Senior Member
 
Registered: Jul 2011
Distribution: LFS-SVN, Slackware-14.1, PCBSD-10.0
Posts: 2,424
Blog Entries: 14

Rep: Reputation: 588Reputation: 588Reputation: 588Reputation: 588Reputation: 588Reputation: 588
I used the SlackBuild for a non-multilib 64-bit only system and it worked for me.

I recommend using the SlackBuild rather than using the Nvidia-Installer.
 
Old 10-09-2012, 03:32 PM   #79
onebuck
Moderator
 
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: SlackwareŽ
Posts: 10,886
Blog Entries: 1

Rep: Reputation: 1307Reputation: 1307Reputation: 1307Reputation: 1307Reputation: 1307Reputation: 1307Reputation: 1307Reputation: 1307Reputation: 1307Reputation: 1307
Member Response

Hi,

If you happen to have 'optimus' then I suggest that you look at: https://github.com/jgeboski/Bumblebee-SlackBuilds/tree/
Code:
From READMEThis set of SlackBuilds should get Bumblebee up and running on a
Slackware based NVIDIA Optimus setup.

Slackware Docs:
  A wiki page on the Slackware docs has been put to gether by another
  slacker, TommyC. I recommend you follow the wiki page for a more
  in-depth guide.
  http://docs.slackware.com/howtos:har...nvidia_optimus

HowTo:
  If you have never used a SlackBuild before, please refer to the HowTo
  on SlackBuilds.org: http://slackbuilds.org/howto/

Note:
  Several of these SlackBuilds support a COMPAT32 option which
  allows 32-bit binaries to be build and packaged.  This does
  require that the system is multilibbed, otherwise the
  SlackBuilds will fail.

For more information on multilibbing visit AlienBOB's wiki:
  http://alien.slackbook.org/dokuwiki/...kware:multilib

1.  Download the sources:
     $ ./download.sh

2.  Create group: bumblebee:
     # groupadd bumblebee

    Add users to the group:
     # usermod -G bumblebee -a USERNAME

    Note: you will need to re-login as the user for this to take effect

3.  Build and install: libjpeg-turbo

    If the system is x86_64 based, 32-bit compatible binaries and
    libraries can be installed via:

     # COMPAT32=yes ./libjpeg-turbo.SlackBuild

4.  Build and install: VirtualGL

    If the system is x86_64 based, 32-bit compatible binaries and
    libraries can be installed via:

     # COMPAT32=yes ./VirtualGL.SlackBuild

5.  Build and install: nvidia-bumblebee (Optional, if using nouveau)

    If the system is x86_64 based, 32-bit compatible binaries and
    libraries can be installed via:

     # COMPAT32=yes ./nvidia-bumblebee.SlackBuild

6.  Build and install: nvidia-kernel (Optional, if using nouveau)

7.  Build and install: bbswitch (Optional)

    This in an optional requirement.  If you do not need power management or
    the ability to turn off the nVidia chip, you can skip this.

8.  Build and install: libbsd

9.  Build and install: bumblebeed

10. Run the rc.bumblebee script:
     # chmod +x /etc/rc.d/rc.bumblebeed
     # /etc/rc.d/rc.bumblebeed start

    If you'd like to have bumblebee autostart with the system, you'll need
    to add the following lines to: /etc/rc.d/rc.local:

    if [ -x /etc/rc.d/rc.bumblebeed ]; then
      /etc/rc.d/rc.bumblebeed start
    fi

    You can also go a step further by having bumblebeed start with your
    system by adding the following lines to: /etc/rc.d/rc.local_shutdown:

    if [ -x /etc/rc.d/rc.bumblebeed ]; then
      /etc/rc.d/rc.bumblebeed stop
    fi

    Now an application can run with optirun:
     $ optirun glxgears
I built this about three weeks ago with no issues. Not to sure that I will upgrade at this time
 
Old 10-10-2012, 05:22 AM   #80
jtsn
Member
 
Registered: Sep 2011
Location: Europe
Distribution: Slackware
Posts: 691

Rep: Reputation: 276Reputation: 276Reputation: 276
Quote:
Originally Posted by ponce View Post
FYI, the "smurf effect" on youtube is fixed with the release of libvdpau-0.5.
But not in Opera, because it searches for "libflashplayer" in "/proc/self/cmdline".

The bug should be fixed where it actually is: in the flash player binary.
 
Old 10-15-2012, 12:01 AM   #81
kingbeowulf
Member
 
Registered: Oct 2003
Location: WA
Distribution: Slackware64 14.1, Slackware 14.1
Posts: 498

Rep: Reputation: 136Reputation: 136
Dugan,
You could also email the slackbuild maintainer (me). In all the 14.0 RC excitement there were a few "typos" that showed up when installing/updating 304.xx and for the nvidia security bug from earlier version. Also, Upstream no longer advises stomping on the Mesa headers. But, if you don't correctly restore Mesa, THEN remove the old nvidia SBo package, THEN run the new SBo scripts, the wrong non-Mesa headers might still be still present. Anyway, from this point you should be ok for future upgrades without needing 'nvidia-switch --remove' and bug reports are welcome.

Speaking of bug reports: I travel quite a bit for work so beside posting here you might also consider dropping me an email (see .info) or on the SBo mailing list. I don't always have access to LQ (ie web) so may not notice people are having difficulties for many days.

Also, for bleeding edge: https://git.gitorious.org/kingbeowul...lackbuilds.git
Branch 'master' is what is planned for SBo and might be a bit 'newer'
Branch '14.0' is WIP
 
1 members found this post helpful.
Old 10-20-2012, 02:20 PM   #82
ljb643
Member
 
Registered: Nov 2003
Posts: 253

Rep: Reputation: Disabled
Something weird I haven't seen in this thread, or anywhere else: I have to use the proprietary NVIDIA driver, rather than the new nouveau driver (or older "nv" driver). With either nv or nouveau, when power management puts my monitor to sleep, it will not wake up using the keyboard or mouse. The only way to wake it up is to turn the monitor off and back on (pressing the monitor's "menu" button works too). This is really strange, and was one of the main reasons I switched to the NVIDIA driver. I assume the problem is just some odd quirk between my video card (ASUS GeForce 7300GT) and monitor (HP S2331), which started when I switched from using the VGA to the DVI port. Using the NVIDIA driver fixed it (as well as other things).
 
Old 10-24-2012, 08:32 AM   #83
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware & Slackware64 14.1
Posts: 6,702
Blog Entries: 51

Rep: Reputation: 1243Reputation: 1243Reputation: 1243Reputation: 1243Reputation: 1243Reputation: 1243Reputation: 1243Reputation: 1243Reputation: 1243
The blue people/libvdpau problem has been fixed with the latest beta driver (310.14) from NVidia (fingers crossed). I've tried it on a few YouTube music videos with hardware acceleration enabled and it seems OK.

http://www.geforce.com/drivers/results/50148

Praise "Bob"!
 
Old 10-24-2012, 09:06 AM   #84
GazL
Senior Member
 
Registered: May 2008
Posts: 3,231

Rep: Reputation: 828Reputation: 828Reputation: 828Reputation: 828Reputation: 828Reputation: 828Reputation: 828
I noticed that recently (not sure if it was 304.51* that introduced this) but the nvidia driver seems to take a long time (a second or two) to restore the X11 desktop after exiting a fullscreen SDL based application. I hadn't noticed this behaviour on older drivers, and it doesn't happen with nouveau. Any one else seen this?

(* there were some SDL changes listed in 304.37 release notes, so they may be the trigger).

Last edited by GazL; 10-24-2012 at 09:10 AM.
 
Old 10-24-2012, 09:17 AM   #85
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware & Slackware64 14.1
Posts: 6,702
Blog Entries: 51

Rep: Reputation: 1243Reputation: 1243Reputation: 1243Reputation: 1243Reputation: 1243Reputation: 1243Reputation: 1243Reputation: 1243Reputation: 1243
I might be mistaken (happens too often ), but I think I saw blue people with 304.51 and 304.60. Dunno...
 
Old 10-25-2012, 12:58 AM   #86
kingbeowulf
Member
 
Registered: Oct 2003
Location: WA
Distribution: Slackware64 14.1, Slackware 14.1
Posts: 498

Rep: Reputation: 136Reputation: 136
actually, the accellerated blue man group effect appears to be gone with nvidia-304.51 and libvdpau-0.5 under Slackware64 14.0 Firefox 16.0.1 and flash-11.2.202.238, for the vids I checked on youtube and tekzilla. Ok, I only checked 3 vids (480, 720, 1080) but thats a good enough trend for me.

I'll submit to SBo anon; but if you are anxious, the current libvdpau slackbuild works.
 
Old 10-25-2012, 07:28 AM   #87
jtsn
Member
 
Registered: Sep 2011
Location: Europe
Distribution: Slackware
Posts: 691

Rep: Reputation: 276Reputation: 276Reputation: 276
Quote:
Originally Posted by brianL View Post
The blue people/libvdpau problem has been fixed with the latest beta driver (310.14) from NVidia (fingers crossed). I've tried it on a few YouTube music videos with hardware acceleration enabled and it seems OK.
This is not a bugfix, it is a workaround and works only in specific browsers (like Firefox). The workaround also breaks any accelerated Flash version, which doesn't have this bug (like 10.3). It will break also, if Adobe finally fixes this bug in 11.2.
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Nouveau Driver Still Tries To Compete With NVIDIA LXer Syndicated Linux News 1 06-18-2012 01:12 PM
[SOLVED] Troubles with nouveau NVIDIA driver on 13.37 Skaperen Slackware 4 07-28-2011 09:12 AM
LXer: Nouveau Driver Power Management Against The NVIDIA Blob LXer Syndicated Linux News 0 07-06-2011 01:50 PM
nvidia proprietary driver, nvidia-settings and how to configure panning bluebox Linux - Hardware 1 03-11-2011 03:21 PM
Fedora 12 - Nouveau + Nvidia Driver Solution JoshGriffin Fedora 19 05-21-2010 08:29 AM


All times are GMT -5. The time now is 01:44 PM.

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