Solve boot problems with AMD and NVIDIA graphics cards

Questions about Grub, UEFI,the liveCD and the installer
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
User avatar
xenopeek
Level 25
Level 25
Posts: 29459
Joined: Wed Jul 06, 2011 3:58 am

Solve boot problems with AMD and NVIDIA graphics cards

Post by xenopeek »

If you have an AMD or NVIDIA graphics card, you may not be able to boot successfully from the Linux Mint installation DVD or USB stick. Or you may have been able to boot successfully and install Linux Mint, but it won't boot successfully after installation.

The common solution for both problems is to tell the Linux kernel to temporarily use an older method to talk to your graphics card, and after you have successfully installed Linux Mint to install a different driver for your graphics card. The steps for this are described below, including screenshots. You can click the screenshots to zoom in, if needed.

If you can't boot successfully from the Linux Mint installation DVD or USB stick.
  1. At the 10 second countdown screen during boot, press a key.
    Image
  2. You will be shown a small menu. Using the cursor keys of your keyboard highlight the second entry in the menu ("Start in compatibility mode"), and press enter to continue. Note that you can also do an integrity check of the installation image here (if you suspect your DVD wasn't burned correctly or damaged), and a test of your machine's memory.
    Image
  3. If you followed these steps, but you are still unable to boot successfully, please make a new topic for that and ask for help.
If you can't boot successfully after installing Linux Mint.
  1. During boot hold down the left shift key to get the GRUB boot menu to show.
    Image
  2. Press the 'e' key to edit the boot parameters. Using the cursor keys of your keyboard scroll down to the line that starts with "linux" (red box in the screenshot) and go to the end of that line (red arrow in the screenshot).
    Image
  3. Add the boot parameters "nomodeset xforcevesa" (without the quotes, see red box in the screenshot). As you type, it will wrap to the next line on the screen and show a backslash character at the end of the previous line. That's fine. Press Ctrl+X or F10 to continue to boot.
    Image
  4. If you followed these steps, but you are still unable to boot successfully, please make a new topic for that and ask for help.
  5. After successfully booting:
    - for Linux Mint 13 and earlier, open the Additional Drivers program from the menu;
    - for Linux Mint 14 open the Software Sources program from the menu, then go to the Additional Drivers tab there.
    - for Linux Mint 15 open the Driver Manager program from the menu (see: http://www.linuxmint.com/rel_olivia_wha ... intdrivers).
    See what graphics card drivers are available for you (my graphics card doesn't need additional drivers, so I can't show any in the screenshot). If you are sure of the one you should install go ahead. But if you need further help with this, please make a new topic in the Graphics Cards & Monitors forum and include the output of the command "inxi -SGx" run from the terminal.
    Image
    Note that if you have a NVIDIA Optimus graphics card (Intel IGP + NVIDIA GPU), you need Bumblebee. That goes beyond the scope of this topic, but see here: https://wiki.ubuntu.com/Bumblebee. If you have a AMD Hybrid graphics card (Intel IGP + AMD GPU), I don't know the right steps except switch either the one or the other off (in the BIOS to "on-board IGP only" for Intel or "discrete mode" for AMD). For more help if you have multiple graphics cards, please make a new topic in the Graphics Cards & Monitors forum.
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Image
stelil

Re: Solve boot problems with AMD and NVIDIA graphics cards

Post by stelil »

Just in case this helps someone from spending the hours I did looking around.. I have the issue where the Mint 14 live CD worked, install went OK but then on booting to HDD there was no grub menu and just a black screen and blinking cursor. Convinced it would be a graphics card thing I played around with editing grub with replacement to "no splash" but no joy.

Then I found an old post about mint 11 (I am trying to install mint 14) and xenopeek suggested boot-repair.

Original Post was
http://forum.linuxmint.com/viewtopic.php?f=46&t=86258

And the solution that worked for me and got me into Mint 14 was to boot to a live CD, the run

sudo add-apt-repository ppa:yannubuntu/boot-repair && sudo apt-get update
sudo apt-get install -y boot-repair && boot-repair
sudo boot-repair


I just accepted the defaults when running the utility, it seemed to know exactly where my HDD was and fixed the grub on that /dev/sda.

I'm so happy
Servicetech
Level 1
Level 1
Posts: 22
Joined: Sun Jun 05, 2011 10:05 pm

Re: Solve boot problems with AMD and NVIDIA graphics cards

Post by Servicetech »

This guide so needs to be put up top. Just what I needed to get my system running, I would have never figured it out on my own.
osprey

Re: Solve boot problems with AMD and NVIDIA graphics cards

Post by osprey »

In my case, my LM14 install went fine, but when actually using my system I would get frequent and highly annoying X-server crashes. Most people reading this might immediately realize that the problem was not loading the NVidia drivers. But it took me a little while. As soon as I found the 'Additional Drivers' tool, and installed the NVidia drivers, my problems disappeared. (Actually it also seems like my system speeded up a bit, and the graphics are much more crisp, even at the same display resolution as before). I suspect there are a lot of less experienced LM users out there who might not realize the importance of installing these drivers (and how simple it is). Or maybe I'm the only one. Seems like this should be mentioned in the LM User's Guide.

osprey
happyminty

Re: Solve boot problems with AMD and NVIDIA graphics cards

Post by happyminty »

Please visit my topic, i got a similar problem. Im in dire need of help!

http://forums.linuxmint.com/viewtopic.php?f=46&t=123930
celliott

Re: Solve boot problems with AMD and NVIDIA graphics cards

Post by celliott »

osprey wrote:In my case, my LM14 install went fine, but when actually using my system I would get frequent and highly annoying X-server crashes. Most people reading this might immediately realize that the problem was not loading the NVidia drivers. But it took me a little while. As soon as I found the 'Additional Drivers' tool, and installed the NVidia drivers, my problems disappeared. (Actually it also seems like my system speeded up a bit, and the graphics are much more crisp, even at the same display resolution as before). I suspect there are a lot of less experienced LM users out there who might not realize the importance of installing these drivers (and how simple it is). Or maybe I'm the only one. Seems like this should be mentioned in the LM User's Guide.

osprey
How did you load these drivers? I have dual NVidia's and I think they're what's causing my issue. Please help?
turnbub

Re: Solve boot problems with AMD and NVIDIA graphics cards

Post by turnbub »

Trouble booting after a fresh install, when you have a VAC with a NVIDIA chipset - the explanation above adding "nomodeset xforcevesa" to the GRUB menu WORKED FOR ME - thank you !!
kneops

Re: Solve boot problems with AMD and NVIDIA graphics cards

Post by kneops »

I had the same problem, but strangely enough only with the Cinnamon version. The live cd workend perfectly, but after installing only black and blank. The Mate version went better although the thumbs on the desktop flickered sometimes, but that has gone. Strange that there apparently is a difference between the two live CD's.

I printed the directions above for the next time ;).
AbeFreeman

Re: Solve boot problems with AMD and NVIDIA graphics cards

Post by AbeFreeman »

Mint 13 (Maya) just gave me a blue "Failed to start X server (your graphical interface)..." screen, but then I found your tutorial and thought this would fix the problem, since I have a Nvidia graphics card. I followed your instructions and, YAY, got the startup screen. Then I went into the "Additional Drivers", picked the recommended Nvidia driver, and installed it. When I restarted the computer, though, it was back to the "Failed to start X server..." screen (just bigger this time). Once again tried to restart and edit Grub as per your instructions, but just keep getting the blue "Failed... " screen. Since it's an older computer, (HP Pavilion dv9000) I thought I'd try an older Mint version. I'm still running Mint10 on my old Dell Inspiron, so I tried that. It installed no problem, but mint update gives me all kinds of "Failed to fetch http://archive/ubuntu... etc." messages, and I am unable to install the driver for my broadcom wireless card (= no wireless -- that's not good). It seems from the forums that this is due to Mint10 being discontinued. So now I'm stuck. I don't want to throw away the computer, and I DON'T want to use Windows (been there, done that). Any suggestions?
User avatar
catweazel
Level 19
Level 19
Posts: 9763
Joined: Fri Oct 12, 2012 9:44 pm
Location: Australian Antarctic Territory

Re: Solve boot problems with AMD and NVIDIA graphics cards

Post by catweazel »

Experience has taught me that the xorg and proprietary drivers from AMD do not play nice together. I always end up with two panels, then three after a reboot, then four...

After much head-banging into the brick wall of my windowless cell in the asylum, I always purge the xorg drivers first:

Code: Select all

$ sudo apt-get remove --purge xserver-xorg-video-ati xserver-xorg-video-radeon
$ sudo reboot
$ sudo apt-get update
$ sudo apt-get install fglrx-amdcccle-updates
$ sudo aticonfig --initial
$ sudo reboot
Problem solved. I've never had any trouble after installing the AMD proprietary drivers using that method.
"There is, ultimately, only one truth -- cogito, ergo sum -- everything else is an assumption." - Me, my swansong.
Direneeds

Re: Solve boot problems with AMD and NVIDIA graphics cards

Post by Direneeds »

Thank you much. This solved my problem.
FreedomOfTheOpenCode

Re: Solve boot problems with AMD and NVIDIA graphics cards

Post by FreedomOfTheOpenCode »

osprey wrote:In my case, my LM14 install went fine, but when actually using my system I would get frequent and highly annoying X-server crashes.
Me too. I only had problems after I made LM14 64-bit (Cinnamon) boot into a command shell*. I thought the problem was with the X server and had no idea that it had anything to do with the video driver. I discovered the Additional Drivers tab by chance, and when I installed the Nvidia binary driver from here my X server problem suddenly vanished!

*Ironically, one of the reasons I wanted to do this was to install the official driver from the Nvidia site.
2chunky

Re: Solve boot problems with AMD and NVIDIA graphics cards

Post by 2chunky »

Ok, liveboot with nvidia gtx 550 ti graphics card
1. hit spacebar after bios screen to boot into grub display
2. hit tab to display a command line (displays live boot path)
3. backspace over the two dashes at the end of the command line
4. as above add nomodeset xforcevesa
5. press enter
this will get you a 800x600 screen
kiwi

Re: Solve boot problems with AMD and NVIDIA graphics cards

Post by kiwi »

Thanks for these posts. I would add a couple of points (I run multiple screens on nvidia cards).

1. Once you are running after forcing the nomodeset boot then the approach I found the easiest approach to getting the Nvidia drivers working was to: a) open Synaptic and remove the nouveau drivers, b) close synaptic which probably isn't necessary, c) open synaptic again and install the Nvidia drivers and settings items (I use 3.10). Then and only then, restart, after which all should work with the Nvidia drivers running. d) Now configure your desktop with the Nvidia X Server Settings manager.

2. After this worked I was still getting infrequent screen freezes where the mouse would still work but I would (sometimes gradually) lose control of my windows and finally have to exit hard. There are lots of forum posts but I finally found an Ubuntu solution which I refer to in this link http://forums.linuxmint.com/viewtopic.php?f=49&t=129864. All then worked well until I installed a new CPU / mother board after which I added the extra blacklist items described in that post.
User avatar
catweazel
Level 19
Level 19
Posts: 9763
Joined: Fri Oct 12, 2012 9:44 pm
Location: Australian Antarctic Territory

Re: Solve boot problems with AMD and NVIDIA graphics cards

Post by catweazel »

kiwi wrote:which probably isn't necessary
None of that is necessary, A stock standard:

Code: Select all

sudo apt-get install nvidia-current-updates
does the kernel nomodeset and all the required blacklisting.
"There is, ultimately, only one truth -- cogito, ergo sum -- everything else is an assumption." - Me, my swansong.
Heliotropic

Re: Solve boot problems with AMD and NVIDIA graphics cards

Post by Heliotropic »

I've just added Mint 13 to my HDD next to Mint 14. Mint 14 keeps logging out randomly despite trying all the 'fixes'.

Any hoo - Mint 13 usb install. I had to use the nomodeset xforcevesa to get to a working gui. I installed the nvidia drivers and purged nouveou then rebooted......... But the same issue occured. Sot in the CLI I used nano to bring up the xorg.conf and entered "Nvidia" where it said "vesa" and saved it.

It now boots to the GUI login and all seems well at this point. I hope so any way. I have gone off Ubuntu a bit. I just don't like the new GUI. I have tried mint on and off for a few yearsand if mint 13 doesn't muck me about I will be a long term user.

It seems an age since I first installed Ubuntu Hardy Heron. System is updating as we speak so fingers crossed.......... Mint is a very nice loking and functional bit of kit.

Helio
Heliotropic

Re: Solve boot problems with AMD and NVIDIA graphics cards

Post by Heliotropic »

Oh bugger! I killed mint 13, having ugraded cinnamon, it started the logout stupidity. So I tried to update the nvidia drivers as per a possible cure. I'll reinstall 13 tomorrow and suffer 14 for now :(
EmadSmart

Re: Solve boot problems with AMD and NVIDIA graphics cards

Post by EmadSmart »

i have posted my problem here is here anyone who can help me?

http://forums.linuxmint.com/viewtopic.php?f=46&t=134223
turnbub

Re: Solve boot problems with AMD and NVIDIA graphics cards

Post by turnbub »

I had forgotten about the problems with my NVIDIA graphics card ....... I will try all this on my next attempt (SOON) am downloading version 15 now.
Many thanks, will report back soon, Bobby T.
turnbub

Re: Solve boot problems with AMD and NVIDIA graphics cards

Post by turnbub »

How I solved this (not really my sol'n....):-
I won't say this is the best way, but it worked for me :-

I REMOVED my NVIDIA graphics card, plugged my monitor into the MotherBoard.

I then loaded Linux Mint 15, AND THEN I got the NVIDIA drivers thus ..... thanks to nice people on the CHAT room:-

Then open a TERMINAL (that little black window we all love) and key this in:-

sudo apt-get install nvidia-current nvidia-settings && sudo nvidia-xconfig

This will take a few moments to run, then SHUT DOWN, re-install the NVIDIA card, plug the monitor back into it, and re-boot.
Locked

Return to “Installation & Boot”