LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 02-06-2016, 05:34 PM   #16
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,661

Rep: Reputation: Disabled

Optimus can be used without bumblebee. Arch wiki and Gentoo wiki can help.
 
Old 02-06-2016, 05:37 PM   #17
xflow7
Member
 
Registered: May 2004
Distribution: Slackware
Posts: 215

Rep: Reputation: 45
Quote:
Originally Posted by Emerson View Post
Optimus can be used without bumblebee. Arch wiki and Gentoo wiki can help.
In many cases yes. But I believe it's not the case for the W550s. I messed around a long while trying to get the NVIDIA driver to work on its own with no success. Then I came across something that led me to believe what I posted above. I can't find it at the moment, but I'm quite sure that's what I learned.

Dave
 
Old 02-06-2016, 06:45 PM   #18
statguy
Member
 
Registered: Sep 2004
Location: Ontario, Canada
Distribution: Slackware 14.2, current
Posts: 416

Original Poster
Rep: Reputation: 36
So if I read this right, with bumblebee you pick and choose which programs will use the technology and which ones don't. Also, I noticed that the most recent version of bumblebee is 2013. It still works with current drivers?

The issue I'm facing is some sluggishness in the desktop. For example, rendering on firefox is slow as is scrolling a page.

Is it possible that the nouveau driver is getting in the way? I believe there is an extra package to help with blacklisting that. Is it possible that if nouveau is silenced that performance will improve?
 
Old 02-06-2016, 09:04 PM   #19
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
I totally missed that this was an Optimus setup. xflow7 is correct in that you will likely need to set up bumblebee to get it to work properly. However, there is a slight chance you are able to set a specific card as the primary card in the BIOS.

To get an Optimus setup to work, have a look at the Slackware docs page on bumblebee.

http://docs.slackware.com/howtos:har...nvidia_optimus
 
Old 02-07-2016, 07:33 AM   #20
xflow7
Member
 
Registered: May 2004
Distribution: Slackware
Posts: 215

Rep: Reputation: 45
Quote:
Originally Posted by statguy View Post
So if I read this right, with bumblebee you pick and choose which programs will use the technology and which ones don't.
That's right. Although I think in principle you can use primusrun (the 'run this on NVIDIA' command) to launch the Xserver so that everything is run through the NVIDIA card.

Quote:
Also, I noticed that the most recent version of bumblebee is 2013. It still works with current drivers?
It seems to work here. I used the scripts/versions/instructions from here: https://github.com/WhiteWolf1776/Bumblebee-SlackBuilds. These seem to work fine. The one issue I've had (which I haven't tried to confirm on the latest stack) is that anything running with bumblebee fails to come back from suspend properly. That hasn't been a big deal as I've mainly used bumblebee for some Steam games that don't render correctly using the Intel driver. But if that issue still comes up, it might be a big impact for running e.g. firefox under it.

Quote:
The issue I'm facing is some sluggishness in the desktop. For example, rendering on firefox is slow as is scrolling a page.
What DE are you using? I haven't had any issues with KDE using the intel driver, but in XFCE scrolling in firefox and other things is quite slow. I think I recall from a year or two ago (on a different computer) there being a setting in XFCE that helped alot, but I don't recall what it was. If you're using XFCE, I would suggest first trying another WM/DE and see if you find the same problem.

Quote:
Is it possible that the nouveau driver is getting in the way? I believe there is an extra package to help with blacklisting that. Is it possible that if nouveau is silenced that performance will improve?
I doubt it, but it's worth trying if nothing else works. Honestly, the Intel GPU on these machines is actually quite good. I get better performance in glxgears (FPS-wise) using the intel driver than running through NVIDIA using bumblebee. The main benefit of the NVIDIA card is certified drivers for 3D engineering applications.

Try a different DE/WM if you haven't already before going through the trouble of getting Optimus up and running.

Dave
 
Old 02-07-2016, 07:34 AM   #21
xflow7
Member
 
Registered: May 2004
Distribution: Slackware
Posts: 215

Rep: Reputation: 45
Quote:
Originally Posted by bassmadrigal View Post
I totally missed that this was an Optimus setup. xflow7 is correct in that you will likely need to set up bumblebee to get it to work properly. However, there is a slight chance you are able to set a specific card as the primary card in the BIOS.

To get an Optimus setup to work, have a look at the Slackware docs page on bumblebee.

http://docs.slackware.com/howtos:har...nvidia_optimus
Yeah, unfortunately there's no such option in the W550s BIOS which is the trouble.

Dave
 
Old 02-07-2016, 12:10 PM   #22
statguy
Member
 
Registered: Sep 2004
Location: Ontario, Canada
Distribution: Slackware 14.2, current
Posts: 416

Original Poster
Rep: Reputation: 36
Quote:
Originally Posted by xflow7 View Post
That's right. Although I think in principle you can use primusrun (the 'run this on NVIDIA' command) to launch the Xserver so that everything is run through the NVIDIA card.


It seems to work here. I used the scripts/versions/instructions from here: https://github.com/WhiteWolf1776/Bumblebee-SlackBuilds. These seem to work fine. The one issue I've had (which I haven't tried to confirm on the latest stack) is that anything running with bumblebee fails to come back from suspend properly. That hasn't been a big deal as I've mainly used bumblebee for some Steam games that don't render correctly using the Intel driver. But if that issue still comes up, it might be a big impact for running e.g. firefox under it.
Dumb question. How would I start Xserver under bumblebee? I guess that if programs running under bumblebee don't return from suspend, that would also be the case if I started X running through NVIDIA?


Quote:
What DE are you using? I haven't had any issues with KDE using the intel driver, but in XFCE scrolling in firefox and other things is quite slow. I think I recall from a year or two ago (on a different computer) there being a setting in XFCE that helped alot, but I don't recall what it was. If you're using XFCE, I would suggest first trying another WM/DE and see if you find the same problem.
I'm running KDE.


Quote:
I doubt it, but it's worth trying if nothing else works. Honestly, the Intel GPU on these machines is actually quite good. I get better performance in glxgears (FPS-wise) using the intel driver than running through NVIDIA using bumblebee. The main benefit of the NVIDIA card is certified drivers for 3D engineering applications.

Try a different DE/WM if you haven't already before going through the trouble of getting Optimus up and running.

Dave
I thought blacklisting nouveau would probably not matter, although if I go with the proprietary driver, I should probably blacklist nouveau since I have read that the two don't play well together.

Thanks for your advice so far. It's all been very helpful.

Last edited by statguy; 02-07-2016 at 12:12 PM.
 
Old 02-07-2016, 02:13 PM   #23
xflow7
Member
 
Registered: May 2004
Distribution: Slackware
Posts: 215

Rep: Reputation: 45
Quote:
Originally Posted by statguy View Post
Dumb question. How would I start Xserver under bumblebee?
Not a dumb question; I'm not sure myself, but I think I have read of people doing that. If I had to hazard a guess, I'd suggest trying
Code:
primusrun startx
if coming from runlevel 3, or editing /etc/rc.d/rc.4 to add primusrun before the call to kdm if coming from runlevel 4.

but I've never tried this.

Quote:
I guess that if programs running under bumblebee don't return from suspend, that would also be the case if I started X running through NVIDIA?
That would be my assumption, too. But again, I've not actually tried this.

Quote:

I thought blacklisting nouveau would probably not matter, although if I go with the proprietary driver, I should probably blacklist nouveau since I have read that the two don't play well together.
Yeah, you will have to do that when you use the NVIDIA driver (the NVIDIA kernel module won't load otherwise). The bumblebee setup process linked above has a step to blacklist nouveau as I recall.

Quote:
Thanks for your advice so far. It's all been very helpful.
No problem. It's nice to feel like a source on a forum where I usually feel like a sink.

Dave
 
Old 02-07-2016, 02:19 PM   #24
xflow7
Member
 
Registered: May 2004
Distribution: Slackware
Posts: 215

Rep: Reputation: 45
By the way, one other thing you might try is to force X to use SNA acceleration rather than UXA acceleration. I happened to be reminded about this from another post earlier today. I just tried it and it seems to have sorted out the slow scrolling I was seeing in XFCE.

Create /etc/X11/xorg.conf.d/20-intel.conf with:

Code:
Section "Device"
	Identifier "Intel Graphics"
	Driver "intel"
	Option "AccelMethod" "SNA"
EndSection
 
1 members found this post helpful.
Old 02-07-2016, 04:06 PM   #25
statguy
Member
 
Registered: Sep 2004
Location: Ontario, Canada
Distribution: Slackware 14.2, current
Posts: 416

Original Poster
Rep: Reputation: 36
Quote:
Originally Posted by xflow7 View Post
By the way, one other thing you might try is to force X to use SNA acceleration rather than UXA acceleration. I happened to be reminded about this from another post earlier today. I just tried it and it seems to have sorted out the slow scrolling I was seeing in XFCE.

Create /etc/X11/xorg.conf.d/20-intel.conf with:

Code:
Section "Device"
	Identifier "Intel Graphics"
	Driver "intel"
	Option "AccelMethod" "SNA"
EndSection
Wow! That made a HUGE difference. I love a simple solution. Thanks!
 
Old 02-08-2016, 03:00 AM   #26
slackartist
Member
 
Registered: Oct 2015
Location: Where the buffalo's roam
Distribution: Slackware Current Multilib
Posts: 161
Blog Entries: 20

Rep: Reputation: 26
the nvidia drivers work really good real recent upgrade more than amd for now.


only downside is not getting hdmi sound without X

And I will be trying to uninstall the drivers but maybe just try to reinstall / just to be safe.

All in all positive experience . It seems even easier on arch linux very snap installation they have. But I like the native client install there is a feel to using it.
 
Old 02-08-2016, 05:26 AM   #27
ReaperX7
LQ Guru
 
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,558
Blog Entries: 15

Rep: Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097
When you uninstall use the nvidia-switch script to reset Mesa back as the OpenGL drivers or you might get errors.

I think you can use the HDMI audio via ALSA's driver stack but it requires extensive setup in asound.conf or Pulse's control panel.
 
  


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
Looking for a lightweight distro with proprietary Nvidia drivers alarazr Linux - Newbie 5 08-20-2012 07:27 AM
Xrandr with proprietary NVidia drivers ordealbyfire83 Linux - Hardware 5 09-28-2010 05:36 AM
possible to have two proprietary nvidia drivers installed? zuzoa Linux - Software 1 05-13-2010 03:17 PM
Need help with Nvidia proprietary drivers Dugon143 Linux - Hardware 8 10-30-2007 02:05 PM
Proprietary nvidia drivers vs. generic intel sound and ethernet drivers vharishankar Linux - Hardware 2 02-22-2005 05:32 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 03:59 PM.

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