Ubuntu – Ubuntu 18.04 does not boot after installing WineHQ and Lutris

bootpower-managementwine

enter image description here

[edited for claryfing some details]

I installed Lutris (utility for running games designed for windows) and Winehq (required for it) and after reboot the system got stuck in "record successful boot for GRUB" (see image)

When I boot, I see the GRUB menu for choosing Ubuntu / Ubuntu recovery mode / Windows / etc. Then if leave the normal startup begin, the system gets stuck as above, but if I enter in the recovery mode and request to keep normal startup (without actually doing anything else) then the system boots apparently fine, apart from some details that do not work properly (I had to change the scale of the display, and the laptop does no longer suspend when closing the lid, in addition some of the Fn keys like brightness do not work anymore — BTW it is a Thinkpad X1 carbon 5th gen).
I tried to fix packages via dpkg in the recovery mode it but does not help.

Now the question is what did I broke when installing winehq/wine/lutris. I had to enable i386 architecture and add several repositories, which I already deleted (anything related with i386/wine/winehq/lutris…)

It seems that Lutris/wine has messed up some graphics driver or power manager or whatever, but I do not find similar problems reported. Has anyone any idea of what has been broken and how can I fix it?

Best Answer

I had similar problem after trying to install wine. I removed and reinstalled wine but didn't change anything. Using nomodeset stopped brightness control from working. I was able to fix it finally.

Boot with nomodeset and open Terminal. Then run these commands:

sudo apt-get install --reinstall xserver-xorg
sudo add-apt-repository ppa:oibaf/graphics-drivers
sudo apt upgrade
sudo gedit /etc/default/grub

Remove nomodeset from grub and save.

sudo update-grub
sudo reboot

That's all. Everything should be fine after this.

Related Question