[Hardware] [SOLVED] AMD Ryzen 7 6800H GPU can't change resolution in Debian 11.5

Need help with peripherals or devices?
Post Reply
Message
Author
dannychen
Posts: 18
Joined: 2022-11-15 00:45
Has thanked: 1 time

[Hardware] [SOLVED] AMD Ryzen 7 6800H GPU can't change resolution in Debian 11.5

#1 Post by dannychen »

Hi All,

I just bought a new laptop with the ADM Ryzen R7 6800H CPU.
There's an integrated gpu card in this CPU.
Please see below AMD site link for CPU,GPU detail:
https://www.amd.com/en/products/apu/amd-ryzen-7-6800h

Issue:
I installed Debian 11.5 in this new laptop.
However, I can't utilize xrandr to change resolution.
It's stick to 2560x1600@93.00.

Maybe it's a new CPU,Debian 11.5 doesn't support well?

Appreciate your help.

inxi -v2

System: Host: code01 Kernel: 5.19.0-0.deb11.2-amd64 x86_64 bits: 64 Desktop: Xfce 4.16.0

Distro: Debian GNU/Linux 11 (bullseye)

Machine: Type: Laptop System: MECHREVO product: Code01 Ver2.0 v: 1 serial: <superuser required>

Mobo: MECHREVO model: Code01 Ver2.0 serial: <superuser required> UEFI: INSYDE v: 0016.007.04 date: 09/29/2022

CPU: Info: 8-Core AMD Ryzen 7 6800H with Radeon Graphics [MT MCP] speed: 1600 MHz min/max: 1600/3200 MHz

Graphics: Device-1: Advanced Micro Devices [AMD/ATI] driver: N/A

Device-2: IMC Networks XHC Camera type: USB driver: uvcvideo

Display: x11 server: X.Org 1.20.11 driver: loaded: ati,vesa unloaded: fbdev,modesetting,radeon

resolution: 2560x1600~93Hz

OpenGL: renderer: llvmpipe (LLVM 11.0.1 256 bits) v: 4.5 Mesa 20.3.5

xrandr
xrandr: Failed to get size of gamma for output default
Screen 0: minimum 2560 x 1600, current 2560 x 1600, maximum 2560 x 1600
default connected 2560x1600+0+0 0mm x 0mm
2560x1600 93.00*
Last edited by dannychen on 2022-11-15 11:52, edited 1 time in total.

User avatar
FreewheelinFrank
Global Moderator
Global Moderator
Posts: 2168
Joined: 2010-06-07 16:59
Has thanked: 40 times
Been thanked: 233 times

Re: [Hardware] AMD Ryzen 7 6800H GPU can't change resolution in Debian 11.5

#2 Post by FreewheelinFrank »

Code: Select all

 xrandr: Failed to get size of gamma for output default

Code: Select all

driver: loaded: ati,vesa unloaded: fbdev,modesetting,radeon
I think you need to get radeon loaded and not vesa.

Please post output of

Code: Select all

# dmesg | grep 'firmware\|amdgpu'

Dai_trying
Posts: 1107
Joined: 2016-01-07 12:25
Has thanked: 7 times
Been thanked: 18 times

Re: [Hardware] AMD Ryzen 7 6800H GPU can't change resolution in Debian 11.5

#3 Post by Dai_trying »

Fwiw when I got my last laptop (Ryzen 9 5900hx) I had to use Testing (Bookworm) in order to get everything working properly, I would imagine it would most likely be your best course of action too, but with the (obvious?) warning that it is TESTING and may cause issues that you will need to spend some time diagnosing/fixing/reporting. Although with that said I have found no issues so far and it has been around 6 months or so, but ymmv.

I would also imagine that using backports for kernel and graphics packages might also do the trick but at the time it didn't have a new enough kernel for me so I went straight to testing.

dannychen
Posts: 18
Joined: 2022-11-15 00:45
Has thanked: 1 time

Re: [Hardware] AMD Ryzen 7 6800H GPU can't change resolution in Debian 11.5

#4 Post by dannychen »

Hi Frank,
Thanks for your reply.

Dmesg log:

Code: Select all

[    0.077130] Spectre V2 : Enabling Restricted Speculation for firmware calls
[    1.948420] [drm:amdgpu_pci_probe [amdgpu]] *ERROR* amdgpu requires firmware installed
[    2.339058] platform regulatory.0: firmware: direct-loading firmware regulatory.db
[    2.339191] platform regulatory.0: firmware: direct-loading firmware regulatory.db.p7s
[    2.599501] bluetooth hci0: firmware: direct-loading firmware mediatek/BT_RAM_CODE_MT7961_1_2_hdr.bin
[    2.611933] mt7921e 0000:03:00.0: firmware: direct-loading firmware mediatek/WIFI_MT7961_patch_mcu_1_2_hdr.bin
[    2.687361] r8169 0000:02:00.0: Direct firmware load for rtl_nic/rtl8125b-2.fw failed with error -2
[    2.687362] r8169 0000:02:00.0: Unable to load firmware rtl_nic/rtl8125b-2.fw (-2)
[    2.869149] mt7921e 0000:03:00.0: firmware: direct-loading firmware mediatek/WIFI_RAM_CODE_MT7961_1.bin

User avatar
sunrat
Administrator
Administrator
Posts: 6742
Joined: 2006-08-29 09:12
Location: Melbourne, Australia
Has thanked: 122 times
Been thanked: 540 times

Re: [Hardware] AMD Ryzen 7 6800H GPU can't change resolution in Debian 11.5

#5 Post by sunrat »

You need to install firmware-amd-graphics and firmware-realtek. Probably amd-microcode as well.
That should satisfy your firmware errors but no guarantee it will fix everything for such new hardware which is more recent than Debian Bullseye.
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ”
Remember to BACKUP!

dannychen
Posts: 18
Joined: 2022-11-15 00:45
Has thanked: 1 time

Re: [Hardware] AMD Ryzen 7 6800H GPU can't change resolution in Debian 11.5

#6 Post by dannychen »

I just updated to the Bookworm ,it seems still can't change the resolution.
And I installed the firmware-realtek. The realtek error was fixed.

lsb_release -a

Code: Select all

No LSB modules are available.
Distributor ID:	Debian
Description:	Debian GNU/Linux bookworm/sid
Release:	n/a
Codename:	bookworm
dmesg | grep 'firmware \|admgpu'

Code: Select all

[    0.082880] Spectre V2 : Enabling Restricted Speculation for firmware calls
[    1.978587] [drm:amdgpu_pci_probe [amdgpu]] *ERROR* amdgpu requires firmware installed
[    2.592457] platform regulatory.0: firmware: direct-loading firmware regulatory.db
[    2.592958] platform regulatory.0: firmware: direct-loading firmware regulatory.db.p7s
[    2.818023] bluetooth hci0: firmware: direct-loading firmware mediatek/BT_RAM_CODE_MT7961_1_2_hdr.bin
[    2.834627] mt7921e 0000:03:00.0: firmware: direct-loading firmware mediatek/WIFI_MT7961_patch_mcu_1_2_hdr.bin
[    2.845957] mt7921e 0000:03:00.0: firmware: direct-loading firmware mediatek/WIFI_RAM_CODE_MT7961_1.bin
[    4.439610] r8169 0000:02:00.0: firmware: direct-loading firmware rtl_nic/rtl8125b-2.fw

dannychen
Posts: 18
Joined: 2022-11-15 00:45
Has thanked: 1 time

Re: [Hardware] [SOLVED][Hardware] AMD Ryzen 7 6800H GPU can't change resolution in Debian 11.5

#7 Post by dannychen »

Issue solved as below steps:
1, Upgraded to the Bookworm.
2, Installed the firmware-amd-graphics.

Noted, can't work even install the firmware-amd-graphics in the 11.5.

Thanks all for your kindly help.

User avatar
sunrat
Administrator
Administrator
Posts: 6742
Joined: 2006-08-29 09:12
Location: Melbourne, Australia
Has thanked: 122 times
Been thanked: 540 times

Re: [Hardware] [SOLVED][Hardware] AMD Ryzen 7 6800H GPU can't change resolution in Debian 11.5

#8 Post by sunrat »

As we suspected, your hardware is too new for Bullseye. Bookworm is not really considered an upgrade as it is designated Testing, a development version. It will have more bugs than Stable and may break occasionally. Don't forget to update/upgrade it regularly, at least once a week. Don't allow the upgrade if it proposes to remove many essential packages, just wait and try another day.
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ”
Remember to BACKUP!

Post Reply