Bug 30653 - Issues with amdgpu on Thinkpad E14 G4
Summary: Issues with amdgpu on Thinkpad E14 G4
Status: RESOLVED WORKSFORME
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 8
Hardware: x86_64 Linux
Priority: Normal major
Target Milestone: ---
Assignee: Mageia Bug Squad
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-07-19 09:01 CEST by Christian Müller
Modified: 2022-07-23 18:49 CEST (History)
1 user (show)

See Also:
Source RPM:
CVE:
Status comment:


Attachments

Description Christian Müller 2022-07-19 09:01:39 CEST
Description of problem:

On Thinkpad E14 G4 neither external Monitor on HDMI nor screen rotation are working.

Version-Release number of selected component (if applicable):

mga8-64 fully updated

How reproducible:

Attach Monitor to hdmi: Screen gets mirrored, but is not shown and cannot be configured via plasma control center. When trying to change settings in plasma control center (e.g. rotate) there is only an error message 'output cannot be saved because of an error' (translated from german). While doing all this Xorg.0.log gets flooded with:

[   830.555] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument


lspci | grep VGA:

04:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Barcelo (rev c2)


Output of /proc/cpuinfo:


processor       : 0
vendor_id       : AuthenticAMD
cpu family      : 25
model           : 80
model name      : AMD Ryzen 5 5625U with Radeon Graphics
stepping        : 0
microcode       : 0xa50000c
cpu MHz         : 1600.000
cache size      : 512 KB
physical id     : 0
siblings        : 12
core id         : 0
cpu cores       : 6
apicid          : 0
initial apicid  : 0
fpu             : yes
fpu_exception   : yes
cpuid level     : 16
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm constant_tsc rep_good nopl nonstop_tsc cpuid extd_apicid aperfmperf rapl pni pclmulqdq monitor ssse3 fma cx16 sse4_1 sse4_2 movbe popcnt aes xsave avx f16c rdrand lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs skinit wdt tce topoext perfctr_core perfctr_nb bpext perfctr_llc mwaitx cpb cat_l3 cdp_l3 hw_pstate ssbd mba ibrs ibpb stibp vmmcall fsgsbase bmi1 avx2 smep bmi2 erms invpcid cqm rdt_a rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves cqm_llc cqm_occup_llc cqm_mbm_total cqm_mbm_local clzero irperf xsaveerptr rdpru wbnoinvd arat npt lbrv svm_lock nrip_save tsc_scale vmcb_clean flushbyasid decodeassists pausefilter pfthreshold avic v_vmsave_vmload vgif v_spec_ctrl umip pku ospke vaes vpclmulqdq rdpid overflow_recov succor smca fsrm
bugs            : sysret_ss_attrs spectre_v1 spectre_v2 spec_store_bypass
bogomips        : 4591.31
TLB size        : 2560 4K pages
clflush size    : 64
cache_alignment : 64
address sizes   : 48 bits physical, 48 bits virtual
power management: ts ttp tm hwpstate cpb eff_freq_ro [13] [14]
Comment 1 Lewis Smith 2022-07-20 22:12:30 CEST
Thank you for the report.

To summarise your hardware, please post the output of:
 $ inxi -MSGxx

You talk of Plasma. Is what you are trying to do possible with Mageia Control Centre-Hardware-Configure Graphics ?

Are you able to try the first problem "Attach Monitor to hdmi: Screen gets mirrored, but is not shown" [incidentally, I do not understand what you mean] with a different desktop? That is, do you think your graphics problems are down to Mageia generally, or Plasma?

CC: (none) => lewyssmith

Comment 2 Christian Müller 2022-07-23 11:32:07 CEST
sorry, I found the problem. X was using fbdev instead of amdgpu. After switching to amdgpu all works fine.
I think that's a problem of the old kernel the installer uses. It left me stranded with no X after reboot. After updating the system X worked, but still used fbdev, which I didn't notice.
Comment 3 sturmvogel 2022-07-23 18:49:31 CEST
Support for AMD Ryzen CPU/GPU series got added in later kernel versions (later than the one on release media).

To prevent such problems it is recommended to setup online medias in the first installer steps, so that the latest available drivers/kernels/firmeware gets pulled.

Unsure about the status, but i would set it to WORKSFORME.

Status: NEW => RESOLVED
Resolution: (none) => WORKSFORME


Note You need to log in before you can comment on or make changes to this bug.