LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
LinkBack Search this Thread
Old 04-07-2013, 09:37 PM   #1
shakira19
Member
 
Registered: Sep 2012
Posts: 34

Rep: Reputation: Disabled
ubuntu graphic card error


Hello,

when booting with ubuntu 12.04, I sometimes get a huge error that prevents me from getting to the log in screen. The error window I get is this one (though the image isn't mine, I'm not running a VM: http://i.imgur.com/QaP9d.png).
I think this is due to my graphic card (nvidia 680 gtx). I have the recommended (proprietary) driver.
The log files can be found here http://speedy.sh/nvNuB/failsafeX-backup.tar.gz.

Can you help me figure out what's wrong please ?
 
Old 04-08-2013, 12:15 AM   #2
GlennsPref
Senior Member
 
Registered: Apr 2004
Location: Brisbane, Australia
Distribution: Mageia Studio-13.37 Kubuntu.
Posts: 3,325
Blog Entries: 33

Rep: Reputation: 199Reputation: 199
Hi, the open source nvidia module is loaded early in the start process.

You may have to blacklist it and edit (/etc/X11/xorg.conf)then reboot before you can get it to not load before X

/etc/modprobe.d/blacklist-mga.conf
Code:
blacklist nouveau
check video module is loaded and or reinstall the package.
 
Old 04-09-2013, 01:11 AM   #3
shakira19
Member
 
Registered: Sep 2012
Posts: 34

Original Poster
Rep: Reputation: Disabled
Thanks for your answer.
I'm sorry I really don't understand what you're talking about, I'm new to linux and I have no idea what you're talking about.
Could you give further details, in precise steps, as to what I am supposed to attempt, and the possible associated risks ?

Thank you.
 
Old 04-09-2013, 08:01 AM   #4
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Hanover, Germany
Distribution: Slackware
Posts: 14,868
Blog Entries: 2

Rep: Reputation: 3804Reputation: 3804Reputation: 3804Reputation: 3804Reputation: 3804Reputation: 3804Reputation: 3804Reputation: 3804Reputation: 3804Reputation: 3804Reputation: 3804
What GlennsPref is trying to explain is that your system is for whatever reason configured to use two drivers for the videocard at the same time (the proprietary driver and the free driver), which, as you can see, will lead to problems. The solution is to prevent the free driver from loading. To do that create a new file blacklist-nouveau.conf in the directory /etc/modprobe.d (or use an already existing blacklist file, as suggested by GlennsPref) and add the line
Code:
blacklist nouveau
to it. Since you need root privileges to access that directory the easiest way for Ubuntu would be to open a terminal and start the texteditor with
Code:
sudo gedit /etc/modprobe.d/blacklist-nouveau.conf
Feel free to substitute gedit in that command with your favorite text editor, if you want. Save that file, then make sure that you have a valid xorg.conf file, this can easily be done with the command
Code:
sudo nvidia-xconfig
If you now restart the system your problems should be solved.
 
1 members found this post helpful.
Old 04-09-2013, 04:10 PM   #5
shakira19
Member
 
Registered: Sep 2012
Posts: 34

Original Poster
Rep: Reputation: Disabled
Ok thanks for this explanation, it was easier to understand.
So I did just that, and I added the line
blacklist nouveau
to the file /etc/modprobe.d/blacklist-nouveau.conf, which I had to create.
I then wrote 'sudo nvidia-xconfig'. It said that no previous configuration was found, and thus a new one had to be created.
Then I rebooted.

But the problem is still there.

After rebooting once again, I was able to go straight to the login screen.
But this was already the case before the above-mentioned manipulation, my problem was that *only sometimes* did I have problems booting. Given your explanations, this randomness could be due to the fact that one driver is picked up over the other in some cases, making it impossible to boot.

So what else can I do from here ?

Thanks
 
Old 04-09-2013, 06:00 PM   #6
GlennsPref
Senior Member
 
Registered: Apr 2004
Location: Brisbane, Australia
Distribution: Mageia Studio-13.37 Kubuntu.
Posts: 3,325
Blog Entries: 33

Rep: Reputation: 199Reputation: 199
Hi, It's seems strange,

but I generally have to reboot twice too,

and when I get the login screen I find I need to once again confirm that the nouveau driver is not loaded and that xorg.conf has not been reconfigured by an auto script someplace (dri/drm/dkms).

I think you'll find this the last hurdle.

run
Code:
sudo nvidia-xconfig
again,

or edit the file manually,

vi /etc/X11/xorg.conf

find the listing for nouveau and edit it to say nv or nvidia as you have been trying.

Now startx, you should be off the loop.

p.s. thankyou to Tobi for explaining what I neglected.

Last edited by GlennsPref; 04-09-2013 at 06:01 PM. Reason: thankyou to Tobi
 
Old 04-17-2013, 02:50 PM   #7
shakira19
Member
 
Registered: Sep 2012
Posts: 34

Original Poster
Rep: Reputation: Disabled
so... sorry for the delay, I don't restart the computer often, specially because I'm afraid it will stop working one day due to this issue...

in any case, the problem is still there. Here are the new logs: http://speedy.sh/HH8YK/failsafeX-bac...0417214340.tar
 
Old 04-17-2013, 05:38 PM   #8
GlennsPref
Senior Member
 
Registered: Apr 2004
Location: Brisbane, Australia
Distribution: Mageia Studio-13.37 Kubuntu.
Posts: 3,325
Blog Entries: 33

Rep: Reputation: 199Reputation: 199
hi, can't extract archive.
 
Old 04-17-2013, 05:53 PM   #9
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Hanover, Germany
Distribution: Slackware
Posts: 14,868
Blog Entries: 2

Rep: Reputation: 3804Reputation: 3804Reputation: 3804Reputation: 3804Reputation: 3804Reputation: 3804Reputation: 3804Reputation: 3804Reputation: 3804Reputation: 3804Reputation: 3804
The problem in this case is not that the free driver is loaded, as it seemed to be the problem before, but that the proprietary driver module could not be found. Do you have made any changes to the system before this happened?
 
Old 04-17-2013, 11:26 PM   #10
shakira19
Member
 
Registered: Sep 2012
Posts: 34

Original Poster
Rep: Reputation: Disabled
GlennsPref: I think tobiSGD was able to do so, so please try again.
tobiSGD: No, not that I'm aware of. I recall having this problem on a fresh ubuntu installation.
 
Old 04-18-2013, 03:55 AM   #11
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Hanover, Germany
Distribution: Slackware
Posts: 14,868
Blog Entries: 2

Rep: Reputation: 3804Reputation: 3804Reputation: 3804Reputation: 3804Reputation: 3804Reputation: 3804Reputation: 3804Reputation: 3804Reputation: 3804Reputation: 3804Reputation: 3804
That is weird, sometimes the computer is finding the nvidia driver, sometimes it is not. Honestly, I have no clue what could cause such a behavior.
 
Old 04-18-2013, 06:03 PM   #12
GlennsPref
Senior Member
 
Registered: Apr 2004
Location: Brisbane, Australia
Distribution: Mageia Studio-13.37 Kubuntu.
Posts: 3,325
Blog Entries: 33

Rep: Reputation: 199Reputation: 199
I tried to dl and open with ark 3 separate times, says unrecognised ....

Too much trouble to fix blindfolded. I have most of the standard extractors, tar gzip bzip2.

wanna post the info in code tags instead?
 
Old 04-18-2013, 06:25 PM   #13
GlennsPref
Senior Member
 
Registered: Apr 2004
Location: Brisbane, Australia
Distribution: Mageia Studio-13.37 Kubuntu.
Posts: 3,325
Blog Entries: 33

Rep: Reputation: 199Reputation: 199
do you have "nokmsboot" on your kernel boot cli?
 
Old 04-18-2013, 06:41 PM   #14
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Hanover, Germany
Distribution: Slackware
Posts: 14,868
Blog Entries: 2

Rep: Reputation: 3804Reputation: 3804Reputation: 3804Reputation: 3804Reputation: 3804Reputation: 3804Reputation: 3804Reputation: 3804Reputation: 3804Reputation: 3804Reputation: 3804
I have just used tar to extract the archive, but anyways, I have re-packaged the log-files, you can download them here: http://slackeeevps.no-ip.org/public/...-shakira19.tar

Last edited by TobiSGD; 04-18-2013 at 07:26 PM.
 
Old 04-18-2013, 06:58 PM   #15
GlennsPref
Senior Member
 
Registered: Apr 2004
Location: Brisbane, Australia
Distribution: Mageia Studio-13.37 Kubuntu.
Posts: 3,325
Blog Entries: 33

Rep: Reputation: 199Reputation: 199
Thank you, that worked. (???)
have you tried kernel cli param,
Code:
video=vesa
reading.....
 
  


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
Ubuntu 10.10 on Vostro 3300 - graphic card not recognised. dardamavet Linux - Laptop and Netbook 2 04-25-2011 08:59 AM
Ubuntu 9.04 - Nvidia Graphic card Dreamer801 Linux - Newbie 3 06-28-2009 10:22 AM
Bash Command for graphic card (Ubuntu) Mate de Vita Linux - Newbie 2 09-21-2008 07:24 AM
ati graphic card with ubuntu ultimate gamers in2media Ubuntu 1 04-20-2008 11:51 PM
s3 64mp2 pci graphic card detection error D3javu Linux - Hardware 0 02-15-2006 01:37 AM


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

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