You are not logged in.

#1 2023-09-04 22:58:33

jlindgren
Member
Registered: 2011-02-27
Posts: 260

AMD GPU is now /dev/dri/card1 rather than /dev/dri/card0

In kernel 6.4.8.arch1-1, the CONFIG_SYSFB_SIMPLEFB option was set to "y" (it was unset in previous kernels). A side effect of this change seems to be that the integrated AMD GPU in my laptop is now named /dev/dri/card1 rather than /dev/dri/card0 as it was previously. (Now /dev/dri/card0 does not exist.)

Was the change intended? For a system with a single GPU, it was nice for it to be reliably named /dev/dri/card0 (for example, systemd units could use Requires/After=dev-dri-card0.device to prevent being started too soon).

I found one other mention of this issue on a linux.org forum (without the root cause identified):
https://www.linux.org/threads/video-car … rd0.46280/

Offline

#2 2023-09-05 02:26:31

ImmortAlex
Member
Registered: 2023-06-14
Posts: 34

Re: AMD GPU is now /dev/dri/card1 rather than /dev/dri/card0

I faced the same issue. Workaround is to add kernel parameter "initcall_blacklist=simpledrm_platform_driver_init". The only drawback I see is longer black screen on boot.

Offline

#3 2023-09-07 02:31:10

jlindgren
Member
Registered: 2011-02-27
Posts: 260

Re: AMD GPU is now /dev/dri/card1 rather than /dev/dri/card0

I've just removed the Requires/After lines from the systemd service file for the time being. The service (display manager) seems to start late enough anyway.

Offline

Board footer

Powered by FluxBB