[solved] System is running without video hardware acceleration but not when I use linux mint portable

Forum rules
Before you post please read this
Post Reply
marcelVrind
Level 1
Level 1
Posts: 3
Joined: Sun Apr 26, 2020 4:08 pm

[solved] System is running without video hardware acceleration but not when I use linux mint portable

Post by marcelVrind »

Hello,

I've got a Lenovo ideapad 320-17AST laptop
and I installed Linux Mint on a usb stick to try it out.
After using and testing linux, I was happy enough to install it next to my Windows installation.

The problem I'm having is that I get the following message.

System is running without video hardware acceleration.
It seems the amdgpu is not loaded, so I can also not use the HDMI-port

This message is there only when I use the version installed on the computer, not when I start from my USB Stick.

I tried to find similair case in this form and with google, but I cant find any.
What I did do is on the running laptop en the portable usb stick give the following commands.

Code: Select all

inxi -SMCGx
lspci -nnk | grep -EA3 "3D|VGA" 
ls /lib/modprobe.d/
mokutil --sb-state
dpkg -l | grep -i amdg
cat /var/log/Xorg.0.log | nc termbin.com 9999
See the 2 attachments for the full comparison


The only difference I saw was with the mokutil --sb-state command
output on the laptop

Code: Select all

marcel@Laptop-L:~$ mokutil --sb-state
SecureBoot disabled
Platform is in Setup Mode
and output on the USB-Stick

Code: Select all

marcel@portable:~$ mokutil --sb-state
EFI variables are not supported on this system
SecureBoot disabled
Platform is in Setup Mode

vs
EFI variables are not supported on this system

And inxi -SMCGx
output laptop

Code: Select all

marcel@Laptop-L:~$ inxi -SMCGx
Graphics:
  Device-1: AMD Stoney [Radeon R2/R3/R4/R5 Graphics] vendor: Lenovo 
  driver: N/A bus ID: 00:01.0 
  Display: x11 server: X.Org 1.20.5 driver: ati,vesa 
  unloaded: modesetting,radeon resolution: 1600x900~N/A 
  OpenGL: renderer: llvmpipe (LLVM 9.0 128 bits) v: 3.3 Mesa 19.2.8 
  direct render: Yes 

Code: Select all

marcel@portable:~$ inxi -SMCGx
Graphics:  Device-1: Advanced Micro Devices [AMD/ATI] Stoney [Radeon R2/R3/R4/R5 Graphics] vendor: Lenovo driver: amdgpu 
           v: kernel bus ID: 00:01.0 
           Display: x11 server: X.Org 1.20.5 driver: amdgpu,ati unloaded: fbdev,modesetting,vesa 
           resolution: 1600x900~60Hz, 1920x1080~60Hz 
           OpenGL: renderer: AMD STONEY (DRM 3.33.0 5.3.0-40-generic LLVM 9.0.0) v: 4.5 Mesa 19.2.8 direct render: Yes 

Code: Select all

marcel@portable:~$ cat /var/log/Xorg.0.log | nc termbin.com 9999
https://termbin.com/jqj1

cat /var/log/Xorg.0.log | nc termbin.com 9999
https://termbin.com/n37b
output on laptop

Code: Select all

marcel@Laptop-L:~$ dmesg | grep -i "error\|warn\|fail\|amdgpu\|microcode"
[    0.242677] tsc: Marking TSC unstable due to check_tsc_sync_source failed
[    1.162235] tpm_crb: probe of MSFT0101:00 failed with error -16
[    1.246503] RAS: Correctable Errors collector initialized.
[    1.247347] microcode: CPU0: patch_level=0x06006705
[    1.248308] microcode: CPU1: patch_level=0x06006705
[    1.252333] microcode: Microcode Update Driver: v2.2.
[    1.455259] ACPI Warning: SystemIO range 0x0000000000000B00-0x0000000000000B08 conflicts with OpRegion 0x0000000000000B00-0x0000000000000B0F (\_SB.PCI0.SMB.SMB0) (20190703/utaddress-213)
[    1.513481] [drm:amdgpu_init [amdgpu]] *ERROR* VGACON disables amdgpu kernel modesetting.
[    4.566749] EXT4-fs (sda6): re-mounted. Opts: errors=remount-ro
[    5.304521] [drm:amdgpu_init [amdgpu]] *ERROR* VGACON disables amdgpu kernel modesetting.
[    5.481818] bluetooth hci0: Direct firmware load for rtl_bt/rtl8821a_config.bin failed with error -2
output on USB-stick

Code: Select all

marcel@portable:~$ dmesg | grep -i "error\|warn\|fail\|amdgpu\|microcode"
[    0.239260] tsc: Marking TSC unstable due to check_tsc_sync_source failed
[    1.196765] tpm_crb: probe of MSFT0101:00 failed with error -16
[    1.240185] RAS: Correctable Errors collector initialized.
[    1.240219] microcode: CPU0: patch_level=0x06006705
[    1.240227] microcode: CPU1: patch_level=0x06006705
[    1.240260] microcode: Microcode Update Driver: v2.2.
[    1.454003] ACPI Warning: SystemIO range 0x0000000000000B00-0x0000000000000B08 conflicts with OpRegion 0x0000000000000B00-0x0000000000000B0F (\_SB.PCI0.SMB.SMB0) (20190703/utaddress-213)
[    1.517700] [drm] amdgpu kernel modesetting enabled.
[    1.517885] amdgpu 0000:00:01.0: remove_conflicting_pci_framebuffers: bar 0: 0xe0000000 -> 0xefffffff
[    1.517887] amdgpu 0000:00:01.0: remove_conflicting_pci_framebuffers: bar 2: 0xf0000000 -> 0xf07fffff
[    1.517888] amdgpu 0000:00:01.0: remove_conflicting_pci_framebuffers: bar 5: 0xf0d00000 -> 0xf0d3ffff
[    1.517891] fb0: switching to amdgpudrmfb from VESA VGA
[    1.517955] amdgpu 0000:00:01.0: vgaarb: deactivate vga console
[    1.519584] amdgpu 0000:00:01.0: kfd not supported on this ASIC
[    1.531678] amdgpu 0000:00:01.0: VRAM: 512M 0x000000F400000000 - 0x000000F41FFFFFFF (512M used)
[    1.531679] amdgpu 0000:00:01.0: GART: 1024M 0x000000FF00000000 - 0x000000FF3FFFFFFF
[    1.531814] [drm] amdgpu: 512M of VRAM memory ready
[    1.531817] [drm] amdgpu: 3072M of GTT memory ready.
[    1.533336] amdgpu: [powerplay] hwmgr_sw_init smu backed is smu8_smu
[    1.739381] fbcon: amdgpudrmfb (fb0) is primary device
[    1.739385] amdgpu 0000:00:01.0: fb0: amdgpudrmfb frame buffer device
[    1.770861] [drm] Initialized amdgpu 3.33.0 20150101 for 0000:00:01.0 on minor 0
[    5.552058] EXT4-fs (sdb2): re-mounted. Opts: errors=remount-ro
[    7.513544] bluetooth hci0: Direct firmware load for rtl_bt/rtl8821a_config.bin failed with error -2
[    8.848324] 8812au: module verification failed: signature and/or required key missing - tainting kernel
Could it the problem be that I on the laptop first load the win2grub.
Or is there something else I need to look for.
Thanks if you can help me a step forward.
By the way i installed linux a few times on the laptop, because I first thought it has something to do with the install option i choice
Attachments
Portable Usb stick System is running without video hardware acceleration.txt
running on USB-stick
(4.2 KiB) Downloaded 11 times
Laptop System is running without video hardware acceleration.txt
running HDD laptop
(3.14 KiB) Downloaded 16 times
Last edited by marcelVrind on Mon Apr 27, 2020 1:25 pm, edited 1 time in total.
User avatar
smurphos
Level 18
Level 18
Posts: 8188
Joined: Fri Sep 05, 2014 12:18 am
Location: Irish Brit in Portugal
Contact:

Re: System is running without video hardware acceleration but not when I use linux mint portable

Post by smurphos »

The obvious difference between the two is the stick is running on an older kernel - 5.3.0-40-generic. The laptop is running on 5.3.0-46-generic. So first port of call on the laptop would be to install 5.3.0-40-generic (Update Manager > View > Kernels) and then boot to it via Grub Advanced options and see if that makes any difference.
For custom Nemo actions, useful scripts for the Cinnamon desktop, and Cinnamox themes visit my Github pages.
marcelVrind
Level 1
Level 1
Posts: 3
Joined: Sun Apr 26, 2020 4:08 pm

Re: System is running without video hardware acceleration but not when I use linux mint portable

Post by marcelVrind »

Thanks for you reaction, but I managed to fix it.

The problem was win2grub.
The starting parameters where not good
User avatar
roblm
Level 14
Level 14
Posts: 5404
Joined: Sun Feb 24, 2013 2:41 pm

Re: System is running without video hardware acceleration but not when I use linux mint portable

Post by roblm »

I was just going to post this reply after you responded to smurphos.

The Xorg.0.log from the actual installation shows the parameter nomodeset is enabled, which is preventing the amdgpu driver from loading, but you already figured that out.
marcelVrind
Level 1
Level 1
Posts: 3
Joined: Sun Apr 26, 2020 4:08 pm

Re: [solved] System is running without video hardware acceleration but not when I use linux mint portable

Post by marcelVrind »

Thanks for your reply.
But indeed that was the issue, funny is that i updated the grub2win and added another linux mint entry.
With this new entry my problem was gone, comparing the 2 entries I saw that that was the reason indeed.
So i deleted the nomodeset.
Not that I found that in any logging
Post Reply

Return to “Graphics Cards & Monitors”