You are not logged in.

#1 2022-03-02 14:22:19

mabalenk
Member
Registered: 2017-04-28
Posts: 36

[SOLVED] Unable to configure graphics with AMD Ryzen 7 5700G

Dear all,

I need help configuring graphics (Xorg, Plasma) with a built-in Radeon Graphics please. I was going by the book:

lspci -v | grep -A1 -e VGA -e 3D
[AMD/ATI] Cezanne (rev c8) (prog-if 00 [VGA controller])

I installed the AMDGPU drivers with:

pacman -S xf86-video-amdgpu mesa

I generated an Xorg configuration file with:

Xorg :0 -configure

The Xorg log file contains an error:

/var/log/Xorg.0.log
(EE) AMDGPU(1): [drm] Failed to open DRM device for pci:0000:06:00.1: Invalid argument

I'm a little bit lost here and don't know how to debug this issue. Would you please direct me? Thank you!

Last edited by mabalenk (2022-03-02 16:48:30)

Offline

#2 2022-03-02 14:35:49

frostschutz
Member
Registered: 2013-11-15
Posts: 1,637

Re: [SOLVED] Unable to configure graphics with AMD Ryzen 7 5700G

Xorg -configure might not be what you want. Check out /etc/X11 xorg.conf xorg.conf.d/* what that did.

Is the amdgpu module loaded at all? dmesg | grep amdgpu?

Offline

#3 2022-03-02 14:45:34

Slithery
Administrator
From: Norfolk, UK
Registered: 2013-12-01
Posts: 5,776

Re: [SOLVED] Unable to configure graphics with AMD Ryzen 7 5700G

Remove the xorg.conf file that you generated and try again without it.
It shouldn't be necessary and the automatic config usually breaks things.

Xorg wiki page wrote:

Note: Arch supplies default configuration files in /usr/share/X11/xorg.conf.d/, and no extra configuration is necessary for most setups.


No, it didn't "fix" anything. It just shifted the brokeness one space to the right. - jasonwryan
Closing -- for deletion; Banning -- for muppetry. - jasonwryan

aur - dotfiles

Offline

#4 2022-03-02 14:49:51

mabalenk
Member
Registered: 2017-04-28
Posts: 36

Re: [SOLVED] Unable to configure graphics with AMD Ryzen 7 5700G

Dear all,

Thank you for your suggestions. The amdgpu module seems to be loaded:

dmesg | grep amdgpu
[drm] Initialized amdgpu 3.44.0 20150101 for 0000:06:00.0 on minor 0

I'm not sure for what to check in /etc/X11/xorg.conf.d/. Currently the directory is empty.

Offline

#5 2022-03-02 15:07:58

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,104

Re: [SOLVED] Unable to configure graphics with AMD Ryzen 7 5700G

It's probably a file in /etc/X11/xorg.conf. In any case remove it and try again, should it still not work post the full Xorg log.

Offline

#6 2022-03-02 16:28:17

mabalenk
Member
Registered: 2017-04-28
Posts: 36

Re: [SOLVED] Unable to configure graphics with AMD Ryzen 7 5700G

There was nothing in the /etc/X11/xorg.conf either. I think I made a simple mistake of not installing all of the required Xorg packages. After I install 'xorg-init' and 'xterm' I'm able to start the X server with 'startx'. It opens three terminal windows. This is an achievement already!

Now to launch KDE Plasma at boot time I installed the 'plasma' package group and the 'sddm' package. After enabling the SDDM service with 'sudo systemctl enable sddm' and restarting I can login to Plasma! Hurrah! Thank you very much for all your help!

Offline

#7 2022-03-02 16:44:14

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,104

Re: [SOLVED] Unable to configure graphics with AMD Ryzen 7 5700G

What's also possible if it "suddenly" works is that you are seeing issues with the early KMS loading race, should this randomly return from boot to boot try setting that up: https://wiki.archlinux.org/title/Kernel … _KMS_start

In any case please mark this as [SOLVED] by editing the title in your first post.

Offline

Board footer

Powered by FluxBB