LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 12-03-2011, 01:39 AM   #1
jiecenzhao
LQ Newbie
 
Registered: May 2011
Posts: 13

Rep: Reputation: 0
Nvidia Optimus Xorg -configure fatal error


Hi all,

I've been trying for the past few hours to get Xorg -configure to work in my Dell XPS L401x (Optimus w/ Intel HD graphics and the NVIDIA 420m).

I've blacklisted nouveau, and uninstalled it from Fedora 16 64 bit. I've also disabled the discreet card using acpi_call, and can verify it with lspci | grep vga.

However, Xorg -configure still results in "Number of created screens does not match number of detected devices." I've searched online to no avail.

Here is the Xorg.1.log : http://pastebin.com/AVASTQ5P


Any help or direction is greatly appreciated!

-scen
 
Old 12-03-2011, 04:37 AM   #2
corp769
LQ Guru
 
Registered: Apr 2005
Location: /dev/null
Posts: 5,818

Rep: Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007
Are you trying to use Bumblebee? I have the Alienware M14x, with the nVidia GT 555M with 3 GB of RAM, and I have successfully got it to work; I have a thread of a how-to in order to get it work, maybe try checking it out to see how I did it? Sorry to say, but the Bumblebee project is your best route to go, since Optimus is NOT natively supported within linux.

Cheers,

Josh
 
Old 12-03-2011, 12:43 PM   #3
jiecenzhao
LQ Newbie
 
Registered: May 2011
Posts: 13

Original Poster
Rep: Reputation: 0
I've been using Ironhide, but I'll try to find your thread.
 
Old 12-03-2011, 01:00 PM   #4
corp769
LQ Guru
 
Registered: Apr 2005
Location: /dev/null
Posts: 5,818

Rep: Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007
Ahh ok. Bumblebee seems to be more actively developed on, and besides, ironhide seems to be more of an Ubuntu-made version. How have you installed and configured it?
 
Old 12-03-2011, 01:08 PM   #5
jiecenzhao
LQ Newbie
 
Registered: May 2011
Posts: 13

Original Poster
Rep: Reputation: 0
Sorry for the confusion, I was on Ubuntu 11 before this, but got tired of Unity. I'm now using Fedora 16 + dwm.

One question: How will installing bumblebee stop the error I've mentioned above from happening?
 
Old 12-03-2011, 01:20 PM   #6
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 recommend you disable intel graphics and agpgart in the kernel, delete xorg.conf, and install the nvidia drivers and have it make a minimal config.
 
Old 12-03-2011, 01:38 PM   #7
corp769
LQ Guru
 
Registered: Apr 2005
Location: /dev/null
Posts: 5,818

Rep: Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007
Just like texmex said, you need to delete your xorg.conf, since this will cause many conflicts. Honestly, you don't need to fully disable anything hardware wise, but you will need to rmmod nvidiafb and nouveau, and install the proprietary nvidia drivers. After that, install bumblebee, and manually call optirun to run whatever program you need using the nvidia chipset. As I have stated before, optimus is not supported natively under linux. By default, my system is not using any xorg configuration files. After I run up the bumblebee service, bumblebee itself runs a new xorg.conf under X, so I can run optirun without any errors being generated.
 
Old 12-03-2011, 01:44 PM   #8
jiecenzhao
LQ Newbie
 
Registered: May 2011
Posts: 13

Original Poster
Rep: Reputation: 0
The thing is, I'm using an external monitor. (hooked up to the mini display port out from the laptop, which is connected to the IGP, as opposed to the HDMI-out) I'm trying to get it to remember to turn off and disable the internal monitor. It doesn't remember my settings after reboot, and the login screen *always* displays using the internal screen as a primary monitor.

I can disable the internal monitor manually using xrandr --output "LVDS1" --off

EDIT:

Just found this excellent article (http://www.jejik.com/articles/2008/1..._debian_lenny/)

But it doesn't not explain how to disable the internal display during the login screen.

Last edited by jiecenzhao; 12-03-2011 at 01:46 PM.
 
Old 12-03-2011, 02:26 PM   #9
jiecenzhao
LQ Newbie
 
Registered: May 2011
Posts: 13

Original Poster
Rep: Reputation: 0
Thanks for your help guys, but I fixed it myself (I think)

Since I still have GNOME on my computer (haven't bothered uninstalling it), I just added xrandr --output "LVDS1" --off to /etc/gdm/Init/Default file.
 
Old 12-03-2011, 02:50 PM   #10
corp769
LQ Guru
 
Registered: Apr 2005
Location: /dev/null
Posts: 5,818

Rep: Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007
Ahh ok. So then is everything good then?
 
Old 12-03-2011, 03:29 PM   #11
jiecenzhao
LQ Newbie
 
Registered: May 2011
Posts: 13

Original Poster
Rep: Reputation: 0
Yep
 
  


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 On
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
Fatal server error: Cannot run in Framebuffer mode - Xorg? alexdagr8est Linux - Newbie 1 12-14-2010 02:07 AM
[SOLVED] php5 ./configure error: (FILENAME=- FNR=27) fatal error: internal error richinsc Linux - Software 2 07-08-2010 09:20 AM
Xorg - fatal server error satimis Linux From Scratch 7 08-20-2005 08:17 PM
Fatal xorg error? Eklipz Linux - Newbie 6 01-29-2005 06:15 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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