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-24-2011, 08:08 PM   #1
malloc
Member
 
Registered: Jul 2010
Posts: 111

Rep: Reputation: 4
Slackware and Nvidia Optimus


I have an Asus X53SV which I think has the Nvidia Optimus graphics system, it has the Nvidia GT540M but also has the integrated Intel GPU.

There is no option to select which of the two graphics devices to use in the BIOS, thus I imagine this must be done somehow with software, e.g. using the so-called Bumblebee project?

Nevertheless, before I struggle to get the highly experimental Bumblebee project working on this system I have to at least get either of the graphics devices working -- i.e. assuming one of them is "enabled" by default. I suspect this is the integrated graphics system from searching on information for this issue.

However, I am unable to get anything beyond the VESA driver working. I've tried the proprietary nvidia driver, the nv driver and the intel driver, for all possible combinations for the two available PCI devices.

In some cases I get a black display, and in some configurations I just get the typical error "No screens found" -- this is probably due to an illegal combination though, such as trying to use the intel driver on the Nvidia (GT540M) device.

I simply cannot live with using just the VESA driver, it will only give me 1024x768, even if I attempt to force it up to 1366x768 it will not go beyond 1024x768.

The following graphics devices are present on the system (excerpt from lspci output):

Code:
00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09)
01:00.0 VGA compatible controller: nVidia Corporation Device 0df4 (rev a1)
Any ideas on how I can get at least the integrated GPU solution working properly?
 
Old 12-25-2011, 07:57 AM   #2
saxa
Senior Member
 
Registered: Aug 2004
Location: Nova Gorica, Salvador
Distribution: Slackware
Posts: 1,213

Rep: Reputation: 297Reputation: 297Reputation: 297
I have a GT520 and it does not work with 13.37. I read somewhere that it needs a nouveau driver. On their freedesktop.org sit you can check the work for this cards, but they recomend a kernel 3.1.

http://nouveau.freedesktop.org/wiki/CodeNames#NVC0

rgds
Saxa
 
Old 12-25-2011, 09:02 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 would disable agpgart in the kernel and install the latest nvidia drivers. The hardest thing to do would be to try to make only the Intel card work, IMO. At least on my ASUS netbook it was easy to get the nvidia card working this way.
 
Old 12-25-2011, 11:12 AM   #4
malloc
Member
 
Registered: Jul 2010
Posts: 111

Original Poster
Rep: Reputation: 4
The correct solution to just get the Intel graphics system to work is to compile the kernel with KMS.

However, this makes the display go black during booting, and it will only turn on again when X performs the graphics initialization it does. I.e. using runlevel 3 will leave the user with a completely black display, using runlevel 4 will keep the display black for roughly half of the boot process, and then turn it on once X starts.

I don't know why the display is blank/blank, it does not seem to be an issue with the backlight turned off -- I have taken a torch to the display and tried looking at it from different angles to determine if the display is on, but the backlight is off. The display itself seems to be turned off.

I think I've spent at least 10 maybe 12 hours trying to get it working now. If anyone knows why this happens please tell me.
 
Old 12-25-2011, 12:45 PM   #5
imprazaguy
LQ Newbie
 
Registered: Sep 2009
Distribution: Slackware64 13.37
Posts: 4

Rep: Reputation: 7
I also have both intel and nvidia card on my laptop. I don't use proprietary drivers.
In my case, if nouveau loads before i915, it causes black screen.
So my solution is to blacklist nouveau driver.

Hope this works for you.
 
Old 12-25-2011, 02:19 PM   #6
malloc
Member
 
Registered: Jul 2010
Posts: 111

Original Poster
Rep: Reputation: 4
Quote:
Originally Posted by imprazaguy View Post
I also have both intel and nvidia card on my laptop. I don't use proprietary drivers.
In my case, if nouveau loads before i915, it causes black screen.
So my solution is to blacklist nouveau driver.

Hope this works for you.
Thanks, but this does not work in my case. I already have the nouveau driver blacklisted.
 
Old 12-26-2011, 05:50 PM   #7
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
Nvidia Optimus is not really supported at this time on any level because the hardware relies on a software muxer to control both cards independently which does not exist yet on Linux, using an Nvidia Optimus powered laptop for Linux is actually still ill-advised, but if you wish to brave a non-working or half-working system, go for it.

You can try BlackListing both the nouveau and i915 drivers to get the Nvidia proprietary driver working. However, the Nvidia proprietary driver is currently the only known module to work with this graphics solution.

Using Kernel 3.1.x is highly advised, as is using the latest libdrm build, and the latest Mesa driver (if you stick to nouveau). Be warned that you will only be able to use one graphics card with this with the other card disabled (the other graphics card will still be powered so you will have a reduced battery life). The i915 driver in most cases will require being blacklisted and you may have to load the nouveau (or nvidia) kernel module at boot time using initrd to have a runlevel 3 sequence.

Last edited by ReaperX7; 12-26-2011 at 05:51 PM.
 
Old 12-26-2011, 09:36 PM   #8
malloc
Member
 
Registered: Jul 2010
Posts: 111

Original Poster
Rep: Reputation: 4
Quote:
Originally Posted by ReaperX7 View Post
Nvidia Optimus is not really supported at this time on any level because the hardware relies on a software muxer to control both cards independently which does not exist yet on Linux, using an Nvidia Optimus powered laptop for Linux is actually still ill-advised, but if you wish to brave a non-working or half-working system, go for it.

You can try BlackListing both the nouveau and i915 drivers to get the Nvidia proprietary driver working. However, the Nvidia proprietary driver is currently the only known module to work with this graphics solution.

Using Kernel 3.1.x is highly advised, as is using the latest libdrm build, and the latest Mesa driver (if you stick to nouveau). Be warned that you will only be able to use one graphics card with this with the other card disabled (the other graphics card will still be powered so you will have a reduced battery life). The i915 driver in most cases will require being blacklisted and you may have to load the nouveau (or nvidia) kernel module at boot time using initrd to have a runlevel 3 sequence.
Thanks for the tip, I didn't think of just trying to blacklist the i915.

This actually resolved this problem:

Quote:
Originally Posted by malloc
The correct solution to just get the Intel graphics system to work is to compile the kernel with KMS.

However, this makes the display go black during booting, and it will only turn on again when X performs the graphics initialization it does. I.e. using runlevel 3 will leave the user with a completely black display, using runlevel 4 will keep the display black for roughly half of the boot process, and then turn it on once X starts.
Now the display does not go black during booting, which is what I wanted. However, the i915 is still loaded by X when it starts -- despite having it blacklisted.
 
Old 02-02-2012, 12:58 PM   #9
teox99
LQ Newbie
 
Registered: Feb 2009
Posts: 8

Rep: Reputation: 3
Bumblebee 3.0 new packages for slackware 13.37 64 bit
http://www.teoxonline.com/appunti.php?id=25
 
Old 02-12-2012, 12:32 AM   #10
ensa
LQ Newbie
 
Registered: Aug 2006
Posts: 12

Rep: Reputation: 0
edit - moved my related question about this..

Quote:
Originally Posted by teox99 View Post
Bumblebee 3.0 new packages for slackware 13.37 64 bit
http://www.teoxonline.com/appunti.php?id=25

to a new thread here:

http://www.linuxquestions.org/questi...53#post4600253

as this thread is marked solved.....



Last edited by ensa; 02-12-2012 at 01:14 AM.
 
Old 02-12-2012, 06:44 AM   #11
audriusk
Member
 
Registered: Mar 2011
Location: Klaipėda, Lithuania
Distribution: Slackware
Posts: 360

Rep: Reputation: 199Reputation: 199
Quote:
Originally Posted by teox99 View Post
Bumblebee 3.0 new packages for slackware 13.37 64 bit
http://www.teoxonline.com/appunti.php?id=25
http://slackbuilds.org/faq/#package_repos
 
  


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
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
LXer: nVidia - There is No Optimus Support for Linux LXer Syndicated Linux News 0 09-25-2010 12:12 PM

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

All times are GMT -5. The time now is 01:22 AM.

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