Skip to contentSkip to conversation

New: kernel NULL pointer dereference, black screen when using two graphics cards

Bug 212137 [email protected] 1 participant 5 messages Mar 8, 2021 – Mar 18, 2021

lore
Share & tools
lore
#0 lore raw

https://bugzilla.kernel.org/show_bug.cgi?id=212137

Bug ID: 212137
Summary: kernel NULL pointer dereference, black screen when
using two graphics cards
Product: Drivers
Version: 2.5
Kernel Version: 5.11
Hardware: x86-64
OS: Linux
Tree: Mainline
Status: NEW
Severity: high
Priority: P1
Component: Video(DRI - non Intel)
Assignee: [email protected]
Reporter: [email protected]
Regression: No

Created attachment 295741
--> https://bugzilla.kernel.org/attachment.cgi?id=295741&action=edit
lspci -vvv

On linux v5.11 and above (up to 5.11.4) I cannot longer boot the system (GNOME/Wayland) using two graphics cards. It gets stuck with black screen with no response to keyboard/mouse.

In systemd journal there are some messages about kernel bug:

Mar 08 11:54:05 homeserver kernel: BUG: kernel NULL pointer dereference,
address: 0000000000000008
Mar 08 11:54:05 homeserver kernel: #PF: supervisor read access in kernel mode
Mar 08 11:54:05 homeserver kernel: #PF: error_code(0x0000) - not-present page
Mar 08 11:54:05 homeserver kernel: PGD 0 P4D 0
Mar 08 11:54:05 homeserver kernel: Oops: 0000 [#1] PREEMPT SMP NOPTI
Mar 08 11:54:05 homeserver kernel: CPU: 6 PID: 608 Comm: gnome-shell Tainted: G
OE 5.11.4-arch1-1 #1
Mar 08 11:54:05 homeserver kernel: Hardware name: Gigabyte Technology Co., Ltd.
A320M-S2H/A320M-S2H-CF, BIOS F2 11/03/2020
Mar 08 11:54:05 homeserver kernel: RIP:
0010:drm_gem_handle_create_tail+0xcb/0x190 [drm]
Mar 08 11:54:05 homeserver kernel: Code: 00 48 89 df e8 c6 20 59 f4 45 85 e4 78
77 48 8d 5d 18 4c 89 ee 48 89 df e8 42 fe 00 00 89 c2 85 c0 75 3e 48 8b 85 40
01 00 00 <48> 8b 40 08 48 85 c0 74 0f 4c 89 ee 48 89 ef e8 81 8b 91 f4 85 c0
Mar 08 11:54:05 homeserver kernel: RSP: 0018:ffffb7a7c16bfd30 EFLAGS: 00010246
Mar 08 11:54:05 homeserver kernel: RAX: 0000000000000000 RBX: ffffa0eabe065090

RCX: 0000000000000001

Everything works perfectly fine using current LTS v5.10.21.
I am using Radeon RX 470 as a primary card, and the older ATI FirePro 2270 as a secondary one in order to provide two extra monitor outputs.

I've attached my lspci output as well as full systemd log.

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
#1 lore raw

[Bug 212137] kernel NULL pointer dereference, black screen when using two graphics cards

https://bugzilla.kernel.org/show_bug.cgi?id=212137

--- Comment #1 from Dennis Foster ([email protected]) --- Created attachment 295743
--> https://bugzilla.kernel.org/attachment.cgi?id=295743&action=edit
systemd journal

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
#2 lore raw

[Bug 212137] kernel NULL pointer dereference, black screen when using two graphics cards

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=212137

Alex Deucher ([email protected]) changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]

--- Comment #2 from Alex Deucher ([email protected]) --- Likely the same issue as this:
https://www.spinics.net/lists/amd-gfx/msg59207.html

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
#3 lore raw

[Bug 212137] kernel NULL pointer dereference, black screen when using two graphics cards

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=212137

--- Comment #3 from Alex Deucher ([email protected]) --- Should be fixed with this patch:
https://patchwork.freedesktop.org/patch/423250/

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
#4 lore raw

[Bug 212137] kernel NULL pointer dereference, black screen when using two graphics cards

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=212137

Dennis Foster ([email protected]) changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |RESOLVED
         Resolution|---                         |CODE_FIX

--- Comment #4 from Dennis Foster ([email protected]) --- I can confirm now that the issue is fixed in recent 5.11.7 kernel.

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