You are not logged in.

#1 2023-08-11 06:33:58

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

[SOLVED] Only one graphic card, but card1 not card0

I have pretty usual desktop system: i5-11400F and single AMD RX 5700 XT, so that AMD card is the only one graphic card on board.
It always was /sys/class/drm/card0, but once upon a time it became card1.
Is it normal situation?
Some software like PowerUPP fails when card is not card0...

Last edited by ImmortAlex (2023-08-25 16:19:26)

Offline

#2 2023-08-11 10:33:39

Lone_Wolf
Forum Moderator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 12,018

Re: [SOLVED] Only one graphic card, but card1 not card0

https://ark.intel.com/content/www/us/en/ark/products/212271/intel-core-i511400f-processor-12m-cache-up-to-4-40-ghz.html wrote:

Advanced Technologies

    Intel® Gaussian & Neural Accelerator

I do remember seeing articles about a new addition to the kernel specifically for such devices.

The output of

$ ls -l /dev/dri/by-path/
$ lspci -k

Should help to verify which device card0 & card1 correspond to .

Last edited by Lone_Wolf (2023-08-11 10:34:20)


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#3 2023-08-11 11:15:37

seth
Member
Registered: 2012-09-03
Posts: 52,282

Re: [SOLVED] Only one graphic card, but card1 not card0

Or the simpledrm/fb device?
Do you have a journal for the concerned boot?

Offline

#4 2023-08-11 16:14:48

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

Re: [SOLVED] Only one graphic card, but card1 not card0

ls -l /dev/dri/by-path/

output:

lrwxrwxrwx 1 root root  8 aug 10 16:06 pci-0000:03:00.0-card -> ../card1
lrwxrwxrwx 1 root root 13 aug 10 16:06 pci-0000:03:00.0-render -> ../renderD128
lspci -k

Shows too much. What exactly should I pay attention to?


Or the simpledrm/fb device?

[    0.518450] [drm] Initialized simpledrm 1.0.0 20200625 for simple-framebuffer.0 on minor 0
[    0.518956] simple-framebuffer simple-framebuffer.0: [drm] fb0: simpledrmdrmfb frame buffer device

Is this what you're talking about?

Offline

#5 2023-08-11 18:22:34

seth
Member
Registered: 2012-09-03
Posts: 52,282

Re: [SOLVED] Only one graphic card, but card1 not card0

Yes.

Shows too much.

No, doesn't. Post the entire output but more importantly the journal.

(lspci -k; sudo journalctl -b) | curl -F 'file=@-' 0x0.st

Offline

#6 2023-08-18 10:21:40

0xDkXy
Member
Registered: 2023-08-18
Posts: 1

Re: [SOLVED] Only one graphic card, but card1 not card0

Have you solved this problem? I meet the same problem today after I just unloaded my graphics card. But after reinstalling the card driver it fixed. Hope that will help you.

Offline

#7 2023-08-25 05:09:57

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

Re: [SOLVED] Only one graphic card, but card1 not card0

Sorry for delay, I got unexpected holidays...
https://0x0.st/H9jA.txt
Log just after reboot and logging to gnome.

Offline

#8 2023-08-25 06:46:31

seth
Member
Registered: 2012-09-03
Posts: 52,282

Re: [SOLVED] Only one graphic card, but card1 not card0

авг 25 12:07:41 homepilot kernel: [drm] Initialized simpledrm 1.0.0 20200625 for simple-framebuffer.0 on minor 0
авг 25 12:07:41 homepilot kernel: fbcon: Deferring console take-over
авг 25 12:07:41 homepilot kernel: simple-framebuffer simple-framebuffer.0: [drm] fb0: simpledrmdrmfb frame buffer device

And there's our little PoS.

amdgpu seems to load late, so try to move it  into the initramfs (kms hook or explicit entry in the MODULES array)

Offline

#9 2023-08-25 08:55:16

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

Re: [SOLVED] Only one graphic card, but card1 not card0

seth wrote:
авг 25 12:07:41 homepilot kernel: [drm] Initialized simpledrm 1.0.0 20200625 for simple-framebuffer.0 on minor 0
авг 25 12:07:41 homepilot kernel: fbcon: Deferring console take-over
авг 25 12:07:41 homepilot kernel: simple-framebuffer simple-framebuffer.0: [drm] fb0: simpledrmdrmfb frame buffer device

And there's our little PoS.

amdgpu seems to load late, so try to move it  into the initramfs (kms hook or explicit entry in the MODULES array)

No, that didn't help at all. simpledrm still loads first.
In any case, it's good that I did it: font setting in /etc/vconsole.conf is not lost now smile I've been reading about early KMS for a long time, but never found the time to do it.

Offline

#10 2023-08-25 11:56:38

seth
Member
Registered: 2012-09-03
Posts: 52,282

Re: [SOLVED] Only one graphic card, but card1 not card0

Add "initcall_blacklist=simpledrm_platform_driver_init" to the kernel parameters.

Offline

#11 2023-08-25 16:07:49

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

Re: [SOLVED] Only one graphic card, but card1 not card0

Yes, it works!
And I found, that simpledrm was enabled in 6.4.8 kernel...

Offline

#12 2023-08-25 16:12:14

seth
Member
Registered: 2012-09-03
Posts: 52,282

Re: [SOLVED] Only one graphic card, but card1 not card0

So here's a brief intro to that thing:
https://www.phoronix.com/news/Linux-5.1 … l-DRM-Misc

I'd say it won't go away, so get used to the second card and file bugs against "Some software like PowerUPP"

Please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.

Offline

#13 2023-08-25 16:19:11

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

Re: [SOLVED] Only one graphic card, but card1 not card0

seth wrote:

I'd say it won't go away, so get used to the second card and file bugs against "Some software like PowerUPP"

Bug was sended already to developer of PowerUPP.
Thanks a lot for help!

Offline

Board footer

Powered by FluxBB