0

I was running Kali Linux for a while, but since that started to crash on me after every update, a student told me to switch to the more stable Ubuntu distro.

In the past I was very pleased with the ease of installation of this distro, but the installation process on my laptop is a joke.

I am not getting it to work as it should. I must launch the installer with the nomodeset kernel argument or I won't get the installer displayed. When ran without the kernel argument, it starts waiting for 'a start job is running for detect the available gpus and deal with any system changes' which goes on for an unlimited amount of time. After a minute or three it stops, does something and quits working.

When the installation is complete, the system reboots, with the nomodeset argument still in place on the new grub loader. The resolution is very bad (as expected) and when I try to install the NVIDIA graphics driver, it doesn't work. When I remove the nomodeset kernel argument from the grub entry, the system doesn't go to the desktop. It shows my desktop wallpaper and mouse that I can move.

After removing the NVIDIA graphic drivers and still boot without the nomodeset kernel argument, I am greeted with a resolution that fits the screen.

Everything looks good, but when I try to do any power related physical things (shutting down, rebooting, force rebooting) it doesn't do that. It freezes the screen. I can reboot the pc with the ALT + SYSRQ and REIB combination, but that doesn't solve the issue.

The strange thing is, that my Windows installation doesn't shutdown/reboot/sleep as well.

Windows was working! I've also defaulted my bios, didn't solve any problems.

When reinstalling Ubuntu without installing any NVIDIA graphic drivers and removing the nomodeset (and quiet splash) kernel argument, Ubuntu launches and I am able to login. The screen resolution is right, but when trying to shutdown or reboot, the system still freezes on the desktop. CTRL + ALT + F1~6 or CTRL + ALT + DEL is doing nothing. ALT + SYSRQ and REIB does work.

I removed the nomodeset and $vt_handoff (and quiet splash) kernel argument and the system boots up. Shutting down or rebooting freezes the computer on the desktop. Same as above goes for the 'system keyboard command'. Rebooting Ubuntu before logging in also freezes.

When booting into Windows with the new untouched version of the grub bootloader, after a full shutdown, boots up and shutsdown. When I reboot ubuntu and pick Windows at the grub menu, Windows doesn't start.

TL;DR

nomodeset removed:

  • Ubuntu boots, logs in and does all it's things, but freezes on shutdown or reboot. When rebooting Ubuntu with the SYSRQ key combo's, Windows can't boot after ubuntu has booted and the system hasn't been fully off.

With nomodeset:

  • Ubuntu boots, logs in and does all it things (in poor resolution), even shutsdown and reboots. Windows can boot after ubuntu has booted and the system hasn't been fully off.

Here are the specs of my Laptop:

  • 1920x1080p
  • NVIDIA GTX 950M
  • i7 6700HQ
  • 256 SSD A previously working
  • Kali installation that didn't had all the issues Ubuntu now has.

I have reinstalled Ubuntu a total of 10 times now.

https://www.asus.com/nl/Laptops/VivoBook-Pro-N752VX/specifications/

7
  • You need to install Nvidia drivers, then remove nomodeset which only purpose is to not load any driver that doesn't support your graphics, so you can install drivers that do support it.
    – user692175
    Sep 27, 2017 at 17:45
  • So a little recap: reinstall Ubuntu, boot with the nomodeset, install the Nvidia drivers and reboot without the nomodeset? I'll try it, but I think it won't shutdown and reboot then.
    – tim687
    Sep 28, 2017 at 5:32
  • I haven't reinstalled Ubuntu but I did install the drivers from the NVIDIA website and then removed the nomodeset. It's not working, I can login, but only my wallpaper is shown. The mouse goes away this time.
    – tim687
    Sep 28, 2017 at 9:59
  • Oh dear, spoon feeding is in order. In Ubuntu you don't need - and is generally a bad idea - to install the Nvidia binary. Also not an easy task as you know by now. In Ubuntu just open Additional Drivers, select and apply the recommended driver (highest version number in your case. for the GTX950M). Now, press CTRL+ALT+F1, login and run the installer again with the --uninstall argument in order to uninstall it. Then, use nomodeset again and proceed with the aforementioned recommended method.
    – user692175
    Sep 28, 2017 at 10:07
  • I got Ubuntu booted at native resolution with the nouveau driver, it won't shutdown however. I've finally found the solution I think.
    – tim687
    Sep 28, 2017 at 14:58

2 Answers 2

0

I've finally found my solution.

Reinstall Ubuntu, just to be sure.

Boot with the nomodeset parameter. Then the system should boot with the nouveau drivers at NATIVE resolution. Make sure to disable Secure Boot at installation, that was the only thing I did different the last installation. (I disabled it in the bios a long time ago) Then go to the Additional Drivers page, select the NVIDIA Graphics Drivers, install them AND DON'T REBOOT. When the installation completes, press CTRL + ALT + F1, login and run nvidia-xconfig as root to complete the installation.

The last line should say something like X11 configuration file created at /etc/X11/X11.conf

Then reboot (and make sure you boot without the nomodeset parameter) and your NVIDIA driver installation should work.

EDIT:

It broke again, no startup log or something.

0

TL;DR: try disabling secure boot and ACPI completely. It helped me to install the ubuntu on my ASUS N752VX.

First, invoke the BIOS setup menu and set Boot/Launch SCM to Enabled and Security/Secure Boot Control to Disabled.

Next, when you just boot from live image to pseudo-text menu where you are offered to run live version/perform the install/check memory/etc, press "F6 Other Options" and choose "acpi=off", then choose "Install Ubuntu" in menu and do whatever needed (BTW, I also use proprietary nVidia drivers you've mentioned).

After the install completes and you have your drivers installed, do sudo vi /etc/default/grub, change GRUB_CMDLINE_LIUX= from "acpi=off" to empty value and do sudo update-grub.

And one more thing. When you reboot, sometimes ubuntu may stuck on boot with a black screen without reaction even on REISUB. Sometimes this happens 2-3 times in a row. Be patient, and do another reboot.

That's my story with 17.04 on ASUS N752VX.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .