vgaarb overrides boot device unexpectedly with Intel and discrete AMDGPU
https://bugzilla.kernel.org/show_bug.cgi?id=211189
Bjorn Helgaas ([email protected]) changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected], | |[email protected], | |[email protected] Component|PCI |Video(DRI - non Intel) Assignee|[email protected] |drivers_video-dri@kernel-bu |l.org |gs.osdl.org
--- Comment #1 from Bjorn Helgaas ([email protected]) --- Reassigning to video/DRI since I don't think this is a PCI problem. If the integrated GPU (00:02.0) is set to the default in firmware setup, this:
pci 0000:01:00.0: BAR 0: assigned to efifb
makes me wonder if this is a firmware issue.
Signature · 8 lines
You may reply to this email to add a comment. You are receiving this mail because: You are watching the assignee of the bug. _______________________________________________ dri-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugzilla.kernel.org/show_bug.cgi?id=211189
Alex Deucher ([email protected]) changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]
--- Comment #2 from Alex Deucher ([email protected]) --- Please attach your dmesg output. I agree this looks like an sbios issue since the the efifb is apparently bound to the radeon chip.
Signature · 8 lines
You may reply to this email to add a comment. You are receiving this mail because: You are watching the assignee of the bug. _______________________________________________ dri-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugzilla.kernel.org/show_bug.cgi?id=211189
--- Comment #3 from Dominik Mierzejewski ([email protected]) --- Created attachment 294673
--> https://bugzilla.kernel.org/attachment.cgi?id=294673&action=edit
dmesg from kernel 5.10.7
Thanks for your analysis. Full dmesg attached.
Signature · 8 lines
You may reply to this email to add a comment. You are receiving this mail because: You are watching the assignee of the bug. _______________________________________________ dri-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugzilla.kernel.org/show_bug.cgi?id=211189
Dominik Mierzejewski ([email protected]) changed:
What |Removed |Added
----------------------------------------------------------------------------
Tree|Mainline |Fedora
Signature · 8 lines
You may reply to this email to add a comment. You are receiving this mail because: You are watching the assignee of the bug. _______________________________________________ dri-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugzilla.kernel.org/show_bug.cgi?id=211189
Eduardo Medina ([email protected]) changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]
--- Comment #4 from Eduardo Medina ([email protected]) --- Created attachment 303560
--> https://bugzilla.kernel.org/attachment.cgi?id=303560&action=edit
dmesg from Intel Alder Lake + Radeon RX 580
Hi. Is there any progress? I get this when I run the "switcherooctl list" command on my Intel Alder Lake system with a RX 580 GPU.
Device: 0
Name: Advanced Micro Devices, Inc. [AMD®/ATI] Ellesmere [Radeon RX
470/480/570/570X/580/580X/590] (Nitro+ Radeon RX 570/580/590)
Default: yes
Environment: DRI_PRIME=pci-0000_01_00_0
Device: 1
Name: Intel Corporation AlderLake-S GT1
Default: no
Environment: DRI_PRIME=pci-0000_00_02_0
Signature · 4 lines
You may reply to this email to add a comment. You are receiving this mail because: You are watching the assignee of the bug.
https://bugzilla.kernel.org/show_bug.cgi?id=211189
--- Comment #5 from Alex Deucher ([email protected]) --- What GPU does the sbios use for boot messages before you boot the OS?
Signature · 4 lines
You may reply to this email to add a comment. You are receiving this mail because: You are watching the assignee of the bug.
https://bugzilla.kernel.org/show_bug.cgi?id=211189
--- Comment #6 from Eduardo Medina ([email protected]) --- How I do to check that? I force the use of the iGPU from the motherboard, but even with that the system identifies the dedicated card as the iGPU and vice versa.
Signature · 4 lines
You may reply to this email to add a comment. You are receiving this mail because: You are watching the assignee of the bug.
https://bugzilla.kernel.org/show_bug.cgi?id=211189
--- Comment #7 from Alex Deucher ([email protected]) --- (In reply to Eduardo Medina from comment #6)
Quoted 3 lines
How I do to check that? I force the use of the iGPU from the motherboard, but even with that the system identifies the dedicated card as the iGPU and vice versa.
When you boot the system, before the OS loads, what GPU displays the sbios splash screen? If it's always the dGPU, regardless of what you set in the sbios, it sounds like the sbios is broken and just always sets the dGPU as default. The Linux kernel looks at what the pre-OS environment left when the kernel loads.
Signature · 4 lines
You may reply to this email to add a comment. You are receiving this mail because: You are watching the assignee of the bug.
https://bugzilla.kernel.org/show_bug.cgi?id=211189
--- Comment #8 from Eduardo Medina ([email protected]) --- Well, I'm a stupid person.
When I boot the computer, the splash screen always looks like if it's broken. But I put the HDMI output on the motherboard and now the cards are well identified.
Now the color looks a ugly, but switcherooctl list shows the GPUs in order.
Sorry to waste your time.
Signature · 4 lines
You may reply to this email to add a comment. You are receiving this mail because: You are watching the assignee of the bug.
https://bugzilla.kernel.org/show_bug.cgi?id=211189
--- Comment #9 from Alex Deucher ([email protected]) --- No worries. Can you close this ticket?
Signature · 4 lines
You may reply to this email to add a comment. You are receiving this mail because: You are watching the assignee of the bug.
https://bugzilla.kernel.org/show_bug.cgi?id=211189
--- Comment #10 from Eduardo Medina ([email protected]) --- No, I can't. Sorry again.
Signature · 4 lines
You may reply to this email to add a comment. You are receiving this mail because: You are watching the assignee of the bug.
https://bugzilla.kernel.org/show_bug.cgi?id=211189
Mario Limonciello (AMD) ([email protected]) changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |[email protected]
Resolution|--- |CODE_FIXSignature · 4 lines
You may reply to this email to add a comment. You are receiving this mail because: You are watching the assignee of the bug.
https://bugzilla.kernel.org/show_bug.cgi?id=211189
Mario Limonciello (AMD) ([email protected]) changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|CODE_FIX |UNREPRODUCIBLE
Signature · 4 lines
You may reply to this email to add a comment. You are receiving this mail because: You are watching the assignee of the bug.