You are not logged in.

#1 2025-07-18 17:58:55

PhilSzczeblinski
Member
Registered: 2025-07-18
Posts: 29

I have a problem with my gpu and arch linux

I was trying to make my pc work lately but finally when I installed arch linux it narrowed the problem down for me. There was some issue with my gpu and there was this line of code saying "amdgpu 0000:08:00.0: probe with driver amdgpu failed with error -22" when I saw that I started searching on google to see if someone already had the same problem as me but unfortunately I couldn't really find any post about it. The pc works because I used nomodeset but I'd rather not use it all the time. It normally boots up everything works if I don't use nomodeset but it doesn't output any video. This same problem was with other oses that I tried which were windows 10/11, linux mint and ubuntu. I also wanted to mention that the error message only showed up in the arch linux install medium. So if anyone could help me I'd be grateful.

Offline

#2 2025-07-18 18:56:37

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,214

Re: I have a problem with my gpu and arch linux

Please don't paraphrase, https://bbs.archlinux.org/viewtopic.php?id=57855
Please post your complete system journal for the boot:

sudo journalctl -b | curl -F 'file=@-' 0x0.st

("…-b -1 …" if you have to reboot w/ nomodeset and cannot get the journal of the bogus boot otherwise. Do NOT reboot w/ the power button but frenetically press ctrl+alt+del or use the https://wiki.archlinux.org/title/Keyboa … el_(SysRq) - nb. you'll have to explicitly enable that w/ a kernel parameter.)

Offline

#3 2025-07-18 21:13:49

PhilSzczeblinski
Member
Registered: 2025-07-18
Posts: 29

Re: I have a problem with my gpu and arch linux

Yeah I knew about that but I didnt know how to really explain it in a way I could but anyways

kwin_wayland_drm: Failed to create framebuffer: Invalid argument

this line is all over the system journal but unfortunately i cant right now so ill give some more information tomorrow

Offline

#4 2025-07-18 21:14:27

PhilSzczeblinski
Member
Registered: 2025-07-18
Posts: 29

Re: I have a problem with my gpu and arch linux

and also how do i do the grey bar

Offline

#5 2025-07-18 21:17:40

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,214

Re: I have a problem with my gpu and arch linux

"grey bar"?
I suppose you're looking for https://bbs.archlinux.org/help.php#bbcode ?

Offline

#6 2025-07-18 21:31:42

cryptearth
Member
Registered: 2024-02-03
Posts: 2,105

Re: I have a problem with my gpu and arch linux

what exact GPU do you use? I smell some 10+ year old arse ATI card

Online

#7 2025-07-19 07:17:24

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,214

Re: I have a problem with my gpu and arch linux

Based on what provided information?
The -22 error is typically (and from the OP also in this case) just the result of nomodeset and I highly assume that's also how we end up w/ "kwin_wayland_drm: Failed to create framebuffer"

Offline

#8 2025-07-20 12:10:50

PhilSzczeblinski
Member
Registered: 2025-07-18
Posts: 29

Re: I have a problem with my gpu and arch linux

cryptearth wrote:

what exact GPU do you use? I smell some 10+ year old arse ATI card

I wanted to buy myself an rx 580 but ended up with an rx 480

Offline

#9 2025-07-20 12:15:03

PhilSzczeblinski
Member
Registered: 2025-07-18
Posts: 29

Re: I have a problem with my gpu and arch linux

seth wrote:

Please don't paraphrase, https://bbs.archlinux.org/viewtopic.php?id=57855
Please post your complete system journal for the boot:

sudo journalctl -b | curl -F 'file=@-' 0x0.st

("…-b -1 …" if you have to reboot w/ nomodeset and cannot get the journal of the bogus boot otherwise. Do NOT reboot w/ the power button but frenetically press ctrl+alt+del or use the https://wiki.archlinux.org/title/Keyboa … el_(SysRq) - nb. you'll have to explicitly enable that w/ a kernel parameter.)

Sorry for not posting for a while but I'll finally send some information http://0x0.st/8dkG.txt I didn't really see anything wrong but at the same time I didn't see anything so I hope this narrows it down

Offline

#10 2025-07-20 12:30:59

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,214

Re: I have a problem with my gpu and arch linux

Jul 20 14:04:17 archlinux kernel: Command line: BOOT_IMAGE=/vmlinuz-linux-lts root=UUID=6a21e3e3-eb94-4b09-a274-2682b5d25577 rw loglevel=3 quiet nomodeset
Jul 20 14:04:34 archlinux kwin_wayland[753]: kwin_wayland_drm: Could not find edid for connector DrmConnector(id=36, gpu="/dev/dri/card0", name="Unknown-1", connection="Connected", countMode=1)
Jul 20 14:04:34 archlinux kwin_wayland[753]: kwin_core: Failed to open drm node: ""
Jul 20 14:04:34 archlinux kwin_wayland[753]: kwin_scene_opengl: couldn't find dev node for drm device
Jul 20 14:04:34 archlinux kwin_wayland[753]: kwin_scene_opengl: No render nodes have been found, falling back to primary node
Jul 20 14:04:35 archlinux kwin_wayland[753]: kwin_wayland_drm: Failed to create framebuffer: Invalid argument

is just because of nomodeset.

seth wrote:

("…-b -1 …" if you have to reboot w/ nomodeset and cannot get the journal of the bogus boot otherwise. Do NOT reboot w/ the power button but frenetically press ctrl+alt+del or use the https://wiki.archlinux.org/title/Keyboa … el_(SysRq) - nb. you'll have to explicitly enable that w/ a kernel parameter.)

Ftr:

Jul 20 14:04:17 archlinux kernel: pci 0000:08:00.0: [1002:67df] type 00 class 0x030000 PCIe Legacy Endpoint

https://linux-hardware.org/?id=pci:1002-67df-1da2-e353
Polaris 20, ~8 years old

Offline

#11 2025-07-20 13:41:06

PhilSzczeblinski
Member
Registered: 2025-07-18
Posts: 29

Re: I have a problem with my gpu and arch linux

but I tried oses that support this gpu and it still doesnt work including windows 10 and 11 so this must be a different problem

Last edited by PhilSzczeblinski (2025-07-20 13:41:32)

Offline

#12 2025-07-20 13:43:25

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,214

Re: I have a problem with my gpu and arch linux

I've no idea what you're trying to say, but your objective rn is to provide a journal from a boot WITHOUT "nomodeset"

Offline

#13 2025-07-20 13:44:39

PhilSzczeblinski
Member
Registered: 2025-07-18
Posts: 29

Re: I have a problem with my gpu and arch linux

oh alright

Last edited by PhilSzczeblinski (2025-07-20 13:45:31)

Offline

#14 2025-07-20 14:48:12

PhilSzczeblinski
Member
Registered: 2025-07-18
Posts: 29

Re: I have a problem with my gpu and arch linux

I'm sorry for taking so long but here it is http://0x0.st/8dn4.txt

Offline

#15 2025-07-20 15:05:03

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,214

Re: I have a problem with my gpu and arch linux

Jul 20 16:17:44 archlinux kernel: amdgpu 0000:08:00.0: [drm] Cannot find any crtc or sizes
…
Jul 20 16:17:44 archlinux systemd[1]: Finished Remount Root and Kernel File Systems.
Jul 20 16:17:44 archlinux systemd-journald[385]: Time spent on flushing to /var/log/journal/d1a3966c2bec48378a20d87c3a71dad8 is 22.217ms for 1031 entries.

Looks like amdgpu thinks no output is connected, add "nvidia_drm.modeset=1" to the kernel parameters (to block the simplydumb device, it does not matter that you don't have an nvidia GPU) and test the behavior w/ the non-lts kernel.
But also the journal ends early. Do NOT reboot w/ the power button!

Offline

#16 2025-07-20 15:12:43

PhilSzczeblinski
Member
Registered: 2025-07-18
Posts: 29

Re: I have a problem with my gpu and arch linux

I think the journal ends early because I turned it of (via SysRq) to fast and I'll inform you when it'll work or not

Offline

#17 2025-07-20 15:27:29

LinuxLover471
Member
From: Asia, India
Registered: 2025-02-23
Posts: 172

Re: I have a problem with my gpu and arch linux

Also inxi is a good tool to send info about your hardware and most configuration. NB that I use a GT 740 Zebronics

I also have a similar issue in which when I boot anything related to arch it will give a blank screen. This doesn't happen in let's say debian based distros.

It had turned out to be a driver issue with nouveau and I had to extract the EDID of my monitor, switching to the proprietary driver had workaround it but I actually managed to solve it in this post.


--- asyync1024

Offline

#18 2025-07-20 15:28:49

PhilSzczeblinski
Member
Registered: 2025-07-18
Posts: 29

Re: I have a problem with my gpu and arch linux

Unfortunately it doesn't work and I tried with the linux kernel and the linux-lts one so this is the lts one http://0x0.st/8d5z.txt and this is the linux one http://0x0.st/8d5-.txt

Offline

#19 2025-07-20 15:38:13

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,214

Re: I have a problem with my gpu and arch linux

What happens when you remove the kms hook from your mkinitcpio.conf (and also don't add amdgpu explicitly)
What kind of monitor do you have attached there? Does it help to physically re-attach it during the boot?

Offline

#20 2025-07-20 15:41:17

PhilSzczeblinski
Member
Registered: 2025-07-18
Posts: 29

Re: I have a problem with my gpu and arch linux

I'm gonna inform you about the first question in a second but the monitor I have is an acer K272HL and i'll try reattaching

Offline

#21 2025-07-20 15:54:04

PhilSzczeblinski
Member
Registered: 2025-07-18
Posts: 29

Re: I have a problem with my gpu and arch linux

Fortunately it started to show a bit of the boot screen but after a few seconds it stops showing I also tried reattaching and it didn't work. http://0x0.st/8d5m.txt this is the lts one http://0x0.st/8d5a.txt and this is the linux one. I also tried deleting the "nvidia_drm.modeset=1" thing. This is the lts one without it http://0x0.st/8d5B.txt and this the linux one without out http://0x0.st/8d5M.txt. I wish you the best of luck figuring out the problem because I have absolutely no idea whats happening here.

Offline

#22 2025-07-20 19:16:43

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,214

Re: I have a problem with my gpu and arch linux

You see some output in the beginning before KMS activates (now late) - during this time the system essentially runs "nomodeset".
It's possible to forcefully enable outputs, https://www.kernel.org/doc/Documentation/fb/modedb.rst - can you ssh into the system? Or do you have a second monitor?

Offline

#23 2025-07-21 09:19:17

PhilSzczeblinski
Member
Registered: 2025-07-18
Posts: 29

Re: I have a problem with my gpu and arch linux

I can ssh into the system and I also have a second monitor but don't use it also wanted to mention that I cannot plug in two monitors at once because I dont have a displayport cable

Last edited by PhilSzczeblinski (2025-07-21 09:50:03)

Offline

#24 2025-07-21 13:32:55

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,214

Re: I have a problem with my gpu and arch linux

It's more about testing the behavior of the other monitor (alone) than a dualhead setup.
From the ssh, can you run and post

for OUT in /sys/class/drm/card*; do echo $OUT; edid-decode $OUT/edid; echo "================="; done

You'll need https://archlinux.org/packages/extra/x86_64/v4l-utils/

Offline

#25 2025-07-21 14:01:36

PhilSzczeblinski
Member
Registered: 2025-07-18
Posts: 29

Re: I have a problem with my gpu and arch linux

This is what it outputted
/sys/class/drm/card0
/sys/class/drm/card0/edid: No such file or directory
=================
/sys/class/drm/card0-Unknown-1
EDID of '/sys/class/drm/card0-Unknown-1/edid' was empty.
=================

Last edited by PhilSzczeblinski (2025-07-21 14:20:13)

Offline

Board footer

Powered by FluxBB