Dual Boot Linux Mint Cinnamon/Windows 10 black screen upon logo

Questions about Grub, UEFI,the liveCD and the installer
Forum rules
Before you post please read how to get help
Post Reply
rashid
Level 1
Level 1
Posts: 3
Joined: Thu Jun 25, 2020 5:36 pm

Dual Boot Linux Mint Cinnamon/Windows 10 black screen upon logo

Post by rashid »

Hi Linux Mint community,

I just did a fresh dual boot installation of Linux Mint Cinnamon 19.3 Tricia on a new laptop a few days ago. Everything has been working fine as I expected. I have been running Linux Mint (Sonya and Sylvia) on my older laptops and workstations since 2017. However, one minor problem I have been encountering in this new installation is that it freezes on a black screen after the washing machine logo appears. My initial solution was to do a force shutdown and boot the computer on recovery mode. Afterwards, I reboot from recovery mode, then do a normal boot. Sometimes it goes back to booting normally, sometimes it doesn't, and I have to redo the force shutdown, booting in recovery mode, and rebooting from there. I also noticed that this problem always happens in the morning whenever I turn on the computer after hours of being turned off. It doesn't happen midday whenever I reboot or switch OSs, when I've been using the computer for hours already. It boots really fast actually whenever this problem doesn't happen.

The laptop has quad-core AMD Ryzen 5, 8GB RAM, 256GB SSD, 1TB HDD, and a GeForce 1650 GPU. Here is the result of inxi -Fxxxz:

Code: Select all

System:    Host: rodion Kernel: 5.4.0-39-generic x86_64 bits: 64 compiler: gcc v: 7.5.0 Desktop: Cinnamon 4.4.8 
           wm: muffin 4.4.2 dm: LightDM 1.26.0 Distro: Linux Mint 19.3 Tricia base: Ubuntu 18.04 bionic 
Machine:   Type: Laptop System: Acer product: Nitro AN515-43 v: V1.08 serial: <filter> 
           Mobo: PK model: Octavia_PKS v: V1.08 serial: <filter> UEFI: Insyde v: 1.08 date: 12/24/2019 
Battery:   ID-1: BAT1 charge: 11.9 Wh condition: 58.2/57.5 Wh (101%) volts: 14.7/15.4 
           model: LG 0x41,0x50,0x31,0x38,0x45,0x38,0x008B type: Li-ion serial: <filter> status: Discharging 
CPU:       Topology: Quad Core model: AMD Ryzen 5 3550H with Radeon Vega Mobile Gfx bits: 64 type: MT MCP arch: Zen rev: 1 
           L2 cache: 2048 KiB 
           flags: lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm bogomips: 33538 
           Speed: 1227 MHz min/max: 1400/2100 MHz boost: enabled Core speeds (MHz): 1: 1311 2: 1234 3: 1338 4: 1226 5: 1223 
           6: 1225 7: 1222 8: 1222 
Graphics:  Device-1: NVIDIA vendor: Acer Incorporated ALI driver: nvidia v: 440.100 bus ID: 01:00.0 chip ID: 10de:1f91 
           Device-2: Advanced Micro Devices [AMD/ATI] Picasso vendor: Acer Incorporated ALI driver: N/A bus ID: 05:00.0 
           chip ID: 1002:15d8 
           Display: x11 server: X.Org 1.20.8 driver: ati,fbdev unloaded: modesetting,nvidia,radeon,vesa alternate: nouveau 
           resolution: 1920x1080~77Hz 
           OpenGL: renderer: llvmpipe (LLVM 9.0 128 bits) v: 3.3 Mesa 19.2.8 compat-v: 3.1 direct render: Yes 
Audio:     Device-1: Advanced Micro Devices [AMD/ATI] vendor: Acer Incorporated ALI driver: snd_hda_intel v: kernel 
           bus ID: 05:00.1 chip ID: 1002:15de 
           Device-2: Advanced Micro Devices [AMD] vendor: Acer Incorporated ALI driver: snd_hda_intel v: kernel 
           bus ID: 05:00.6 chip ID: 1022:15e3 
           Sound Server: ALSA v: k5.4.0-39-generic 
Network:   Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet vendor: Acer Incorporated ALI driver: r8169 
           v: kernel port: 2000 bus ID: 03:00.0 chip ID: 10ec:8168 
           IF: enp3s0 state: down mac: <filter> 
           Device-2: Qualcomm Atheros QCA6174 802.11ac Wireless Network Adapter vendor: Lite-On driver: ath10k_pci v: kernel 
           port: 2000 bus ID: 04:00.0 chip ID: 168c:003e 
           IF: wlp4s0 state: up mac: <filter> 
Drives:    Local Storage: total: 1.14 TiB used: 50.61 GiB (4.3%) 
           ID-1: /dev/nvme0n1 model: HFM256GDJTNG-8310A size: 238.47 GiB speed: 15.8 Gb/s lanes: 2 serial: <filter> 
           rev: 80002C00 scheme: GPT 
           ID-2: /dev/sda vendor: Toshiba model: HDWL110 size: 931.51 GiB speed: 6.0 Gb/s rotation: 5400 rpm serial: <filter> 
           rev: 0A scheme: MBR 
Partition: ID-1: / size: 176.94 GiB used: 20.35 GiB (11.5%) fs: ext4 dev: /dev/nvme0n1p5 
           ID-2: /home size: 762.88 GiB used: 30.20 GiB (4.0%) fs: ext4 dev: /dev/sda4 
           ID-3: swap-1 size: 7.45 GiB used: 0 KiB (0.0%) fs: swap dev: /dev/sda2 
Sensors:   System Temperatures: cpu: 49.5 C mobo: N/A 
           Fan Speeds (RPM): N/A 
Info:      Processes: 237 Uptime: 24m Memory: 5.81 GiB used: 2.01 GiB (34.7%) Init: systemd v: 237 runlevel: 5 Compilers: 
           gcc: 7.5.0 alt: 7 Shell: bash v: 4.4.20 running in: terminator inxi: 3.0.32 
I recognize that this problem seems to be prevalent as I have seen posts in multiple forums (including this one) with a similar but slightly different problem (i.e., some see only a blinking cursor, some see the black screen after logging in). Here are the proposed solutions I have tried but didn't work:
  1. Uninstalled and reinstalled the NVIDIA drivers by running the following code. This installs the version 450.36.

    Code: Select all

    sudo apt-get purge nvidia*
    sudo ubuntu-drivers install
    
  2. Tried each recommended NVIDIA driver in the Driver Manager.
  3. Downloaded an NVIDIA driver (440.100) from the website and installed it. I tried this because from what I've read in the forums, this is mainly a problem of an incompatible NVIDIA driver. So I searched for GeForce 1650-compatible drivers on their website, and it says that the 450.36 support for GeForce 1650 is still on beta, and that the latest compatible version is 440.100 (which is not among the recommended drivers in Driver Manager at the time). What I did here was:
    1. blacklisted nouveau in /etc/modprobe.d/blacklist.conf
    2. disabled X server with

      Code: Select all

      sudo service lightdm stop
    3. installed the driver with

      Code: Select all

      sudo bash NVIDIA-Linux-x86_64-440.100.run
      sudo nvidia-xconfig
    Sidenote: This seemed to exacerbate my problem, because after I did this I couldn't even access the login screen even in recovery mode, but I could access tty. I fixed it by deleting the files that nvidia created in /etc/X11/
  4. I read in another post that this might be a kernel problem, so I tried installing an older kernel (4.15) in Update Manager.
Right now, I am writing this post while the computer is running on recovery mode after I reinstalled kernel 5.4. I apologize for the long post. I just wanted to provide as much information as possible and show the fact that I actually tried to solve it on my own first. I am now in desperate need for help, and I am worried that eventually my computer will break because of the number of times I have to do a force shutdown just to get to the login screen.

User avatar
erginemr
Level 4
Level 4
Posts: 315
Joined: Thu Jun 11, 2020 11:19 pm
Location: Istanbul, TR

Re: Dual Boot Linux Mint Cinnamon/Windows 10 black screen upon logo

Post by erginemr »

rashid wrote:
Thu Jun 25, 2020 6:47 pm
...after the washing machine logo appears...
Haha, funny one, that. :)
I am worried that eventually my computer will break because of the number of times I have to do a force shutdown just to get to the login screen.
You are right, this may cause your hard-disk to malfunction.

Before delving into dmesg boot logs, can you please disable "fast boot" from within Windows and then try to boot a few times both Windows and Linux? "Fast boot" technology (semi-hibernation) is known to cause such problems and given that you are experiencing the boot crash intermittently, it may be the reason.
Free as in free speech...

rashid
Level 1
Level 1
Posts: 3
Joined: Thu Jun 25, 2020 5:36 pm

Re: Dual Boot Linux Mint Cinnamon/Windows 10 black screen upon logo

Post by rashid »

Hi erginemr. Thank you for your reply!

This is found as a checkbox in the control panel under "Choose what the power button does", right? I just checked, and it is already turned off. I must have found it somewhere as a solution and tried turning Fast Boot/Startup off. It must have slipped my mind.

Now that I'm remembering the things I did on Windows side as well, when I just finished installing LM (I hadn't experienced the issue yet), I was reading an article about "What to do after installing Linux Mint". One of its suggestions was to optimize the SSD, which is linked to another article. The latter article was suggesting that I do NOT defrag my SSD. I think I read somewhere also that WIndows has a feature defrags automatically, so I went and disabled that in Defragment and Optimize Drives. Then I noticed in the GUI that on some of the partitions it shows "Needs optimization". So I clicked on Optimize Drive. Then iirc, I started experiencing the black screen when I rebooted to Linux afterwards. Is that possibly the source of the problem? I just now realize that "optimize" and "defrag" are the same thing, and I basically just did what I've been told not to do.

Can you expound on the dmesg boot logs? I haven't heard about them before.

User avatar
erginemr
Level 4
Level 4
Posts: 315
Joined: Thu Jun 11, 2020 11:19 pm
Location: Istanbul, TR

Re: Dual Boot Linux Mint Cinnamon/Windows 10 black screen upon logo

Post by erginemr »

rashid wrote:
Sat Jun 27, 2020 9:34 am
Can you expound on the dmesg boot logs? I haven't heard about them before.
It is the boot log which also keeps the error and warning messages. Could be helpful for identifying problems:

Code: Select all

dmesg | grep -i "error\|warn\|fail"
Free as in free speech...

rashid
Level 1
Level 1
Posts: 3
Joined: Thu Jun 25, 2020 5:36 pm

Re: Dual Boot Linux Mint Cinnamon/Windows 10 black screen upon logo

Post by rashid »

Hi,

So it happened again, and I had to do the force shutdown and recovery mode boot again. Here is the result of dmesg | grep -i "error\|warn\|fail"

Code: Select all

[    0.466417] pci 0000:01:00.0: BAR 6: failed to assign [mem size 0x00080000 pref]
[    1.293088] RAS: Correctable Errors collector initialized.
[    1.343811] Error adding keys to platform keyring UEFI:db
[    1.347484] Error adding keys to platform keyring UEFI:db
[    1.642055] [drm:amdgpu_init [amdgpu]] *ERROR* VGACON disables amdgpu kernel modesetting.
[    5.072521] EXT4-fs (nvme0n1p5): re-mounted. Opts: errors=remount-ro
[    5.444499] [drm:amdgpu_init [amdgpu]] *ERROR* VGACON disables amdgpu kernel modesetting.
[   19.536641] ACPI Warning: \_SB.PCI0.GPP0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20190816/nsarguments-66)

Post Reply

Return to “Installation & Boot”