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 - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 12-26-2011, 10:19 PM   #1
malloc
Member
 
Registered: Jul 2010
Posts: 111

Rep: Reputation: 4
Nvidia Optimus revisited


I have a laptop with Nvidia Optimus (Asus X53SV), one Intel integrated graphics system and one Nvidia GT540M.

I have figured out how to successfully only use the Intel device, now I would like to determine how to use only the Nvidia device.

Even with the latest kernel (3.1.6) and the latest NVIDIA drivers, I get "(EE) No devices detected" from X when I attempt to start. I get the same error when I try the nouveau driver instead; only I get also "(EE) [drm] failed to open device" prior to the other error when I try the nouveau driver.

What can I do to make this work? I don't want to worry about switching between these two devices such as the experimental Bumblebee, VGA switcheroo and Asus switch thing should do, I just want to use the Nvidia device in X. How can I do that?
 
Old 12-27-2011, 12:48 AM   #2
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,097

Rep: Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174
If you cannot set the nvidia card as the primary device in the bios (some models, actually a few, has this option), you simply can't now.
The only option for using the nvidia card seems to be this (not tried it myself, has I haven't such hardware)

https://github.com/jgeboski/Bumblebee-SlackBuilds

but if your platform (optimus) doesn't let you use the nvidia chip normally, I think you have to blame only nvidia (and maybe seek assistance there - EDIT: nvnews forum seems to be offline ATM).

That's why I spent lotta time in finding myself a new notebook without optimus (but now it's profit time! )

Last edited by ponce; 12-27-2011 at 01:00 AM.
 
Old 12-27-2011, 08:36 AM   #3
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
I don't know if it is always possible (because other people say it doesn't work), but if you disable agpgart and all the intel i### drivers and install the nvidia drivers it should work. I think the main reason why it doesn't work is because of conflicts between the two drivers (nvidia vs intel). If you completely remove and disable one, the other should work, or at least I don't see any reason why it shouldn't. Nvidia might not support optimus, i.e. the system of changing GPUs at will, but it should still work with the card. My eeepc works this way, I disabled all intel drivers and installed the nivdia drivers and it works. It may not work for every laptop tho, but I would still try it.
 
Old 12-27-2011, 08:57 AM   #4
adamk75
Senior Member
 
Registered: May 2006
Posts: 3,091

Rep: Reputation: 399Reputation: 399Reputation: 399Reputation: 399
H_TeXMeX_H, it definitely does not work with every laptop. In fact, I'd say that yours is likely an exception. Are you sure your eeepc even comes with Optimus and not some other multi-GPU technology?

With Optimus, the nvidia GPU is designed to send the output over the PCIe bus to the framebuffer of the integrated GPU since the display is hardwired to that GPU. Simply installing the nvidia drivers and not having any Intel drivers loaded should not be enough to make this happen.
 
Old 12-27-2011, 09:35 AM   #5
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
Quote:
Originally Posted by adamk75 View Post
H_TeXMeX_H, it definitely does not work with every laptop. In fact, I'd say that yours is likely an exception. Are you sure your eeepc even comes with Optimus and not some other multi-GPU technology?

With Optimus, the nvidia GPU is designed to send the output over the PCIe bus to the framebuffer of the integrated GPU since the display is hardwired to that GPU. Simply installing the nvidia drivers and not having any Intel drivers loaded should not be enough to make this happen.
Yeah it does have optimus, search this page for it, it is on there:
http://www.asus.com/Eee/Eee_PC/Eee_P...specifications

I didn't know about optimus when I bought it, but it seems to work with just the nvidia drivers and no intel drivers. It says it needs Window$ Premium for optimus to work, but it comes with Window$ starter and it says optimus doesn't work. Either way I have slackware installed on two of the ones I bought and it works.

If this doesn't work for other laptops then the only option is bumblebee/ironhide.
 
Old 12-27-2011, 10:04 AM   #6
cascade9
Senior Member
 
Registered: Mar 2011
Location: Brisneyland
Distribution: Debian, aptosid
Posts: 3,753

Rep: Reputation: 935Reputation: 935Reputation: 935Reputation: 935Reputation: 935Reputation: 935Reputation: 935Reputation: 935
@ adamk75- H_TeXMeX_H has an Eee PC 1015PN, which says it has optimus. However, it comes with windows 7 starter, which does not support optimus. IMO the asus engineers made it into some odd switchable graphics version of optimus for the standard windows 7 starter edition Eee PC 1015PN.

*edit-

Quote:
Looks like I’ve forgotten one small detail on the newly shipping ASUS Eee PC 1015PN – Nvidia Optimus is only for Windows 7 Home Premium and the 1015PN comes with Windows 7 Starter, so no Optimus. You’ll notice that disclaimer mentioned on the 1015PN product page at ASUS. Blogeee, via a person who’s already bought one, has discovered in its place is ASUS GraphicsSwitch – an app for manually switching between the Nvidia ION GPU and integrated GMA 3150 graphics. Ok, that’s better than nothing right? Well like dual graphic notebooks of yesteryear, this feature requires a reboot to actually switch graphic gears. Makes me wonder how is Optimus is being disabled.. is it done through hardware or software?
http://www.netbooknews.com/11207/asu...itch-graphics/

Last edited by cascade9; 12-27-2011 at 10:07 AM.
 
1 members found this post helpful.
Old 12-27-2011, 10:42 AM   #7
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
I see, well then these types of laptops have a higher chance of actually working. So, if it lists optimus as only working with Window$ premium, then there's a good chance it will work with Linux.
 
Old 12-28-2011, 02:12 PM   #8
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
There are some slackbuilds available for bumblebee, maybe try them:
http://www.linuxquestions.org/questi...ptimus-920930/
 
Old 12-28-2011, 02:20 PM   #9
jimmy_page_89
Member
 
Registered: Sep 2010
Location: Turin (Italy)
Distribution: Slackware 14.2
Posts: 51

Rep: Reputation: 4
You have to see what's the address of your nvidia card.
See your lspci (and post it here)
Then edit your /etc/bumblebee/xorg.conf.nvidia and add
Code:
BusID "PCI:xxxxxx"
where xxxxxx it the address (it is like 01:00.0)
 
Old 12-28-2011, 02:26 PM   #10
cascade9
Senior Member
 
Registered: Mar 2011
Location: Brisneyland
Distribution: Debian, aptosid
Posts: 3,753

Rep: Reputation: 935Reputation: 935Reputation: 935Reputation: 935Reputation: 935Reputation: 935Reputation: 935Reputation: 935
Quote:
Originally Posted by H_TeXMeX_H View Post
I see, well then these types of laptops have a higher chance of actually working. So, if it lists optimus as only working with Window$ premium, then there's a good chance it will work with Linux.
Being totally non-standard, there is no way of know if a laptop (or desktop even) that comes with windows starter and says 'optimus' will work the way your EEE PC does.

Its probably not incorrect, but non-standard can be a right pain in the butt. With bumblebee (etc) working fairly well now, I'd guess that it would be risker than the standard optimus setups...since its non standard, you never really know what odd tricks the engineers have pulled to make it work.
 
  


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
[SOLVED] Slackware and Nvidia Optimus malloc Slackware 10 02-12-2012 06:44 AM
NVIDIA GeForce GT 540M graphics & NVIDIA Optimus Technology rabizadeh_ehsan Linux - Hardware 5 10-21-2011 07:39 AM
nVidia Optimus observation and questions moonwalker Linux - Laptop and Netbook 10 10-04-2011 04:33 AM
nvidia optimus problem amalgamas Linux - Hardware 20 09-02-2011 10:40 AM
Nvidia Optimus Samsung RF711 tikcop1 Slackware 10 04-28-2011 12:37 PM

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

All times are GMT -5. The time now is 06:20 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