New: Kernel 4.13+ nouveau breaks screen output
https://bugs.freedesktop.org/show_bug.cgi?id=103421
Bug ID: 103421
Summary: Kernel 4.13+ nouveau breaks screen output
Product: xorg
Version: unspecified
Hardware: Other
OS: All
Status: NEW
Severity: normal
Priority: medium
Component: Driver/nouveau
Assignee: [email protected]
Reporter: kbaikov-IBi9RG/[email protected]
QA Contact: [email protected]
Created attachment 135010
--> https://bugs.freedesktop.org/attachment.cgi?id=135010&action=edit
kernel log
There is a regression with my
02:00.0 VGA compatible controller [0300]: NVIDIA Corporation GF119 [NVS 310] [10de:107d] (rev a1)
where I would not get any graphics output anymore with Linux kernel 4.13.x, not even (framebuffer) text consoles.
There is a NULL pointer dereference around nvkm_dp_train_drive visible in dmesg (attached)
and looking at the nouveau.ko disassembly, the faulting instruction was a call to a variable address e.g. from drivers/gpu/drm/nouveau/nvkm/engine/disp/dp.c:
ior->func->dp.drive(ior, i, ocfg.pc, ocfg.dc,
ocfg.pe, ocfg.tx_pu);which was introduced in commit af85389c614ae
so maybe you have a hint at what might be wrong or how to further debug this problem...
With 4.12.8, there was a different NULL pointer deref but some working graphics.
I also tried 4.14-rc3 or such but that still had broken graphics.
Thanks in advance for any help
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
Nouveau mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/nouveau
[Bug 103421] Kernel 4.13+ nouveau breaks screen output
In reply to a message not in the archivehttps://bugs.freedesktop.org/show_bug.cgi?id=103421
Andrey Mazo <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]
--- Comment #1 from Andrey Mazo <[email protected]> --- I'm seeing the same problem on 4.13.11.
I have the same video card:
03:00.0 VGA compatible controller [0300]: NVIDIA Corporation GF119 [NVS 310] [10de:107d] (rev a1)
And a NULL pointer dereference:
[ 2.354551] nouveau 0000:03:00.0: DRM: allocated 1920x1080 fb: 0x60000, bo ffffa3167a6b2000 [ 2.455441] BUG: unable to handle kernel NULL pointer dereference at (null) [ 2.455444] IP: (null) [ 2.455445] PGD 0 [ 2.455446] P4D 0
[ 2.455448] Oops: 0010 [#1] SMP [ 2.455449] Modules linked in: ... [ 2.455471] Call Trace: [ 2.455476] ? nvkm_dp_train_drive+0x1e8/0x2d0 [ 2.455479] nvkm_dp_acquire+0x8eb/0xcd0 [ 2.455482] nv50_disp_super_2_2+0x6b/0x430 [ 2.455486] ? nvkm_devinit_pll_set+0xa/0x10 [ 2.455487] gf119_disp_super+0x1ac/0x2f0 [ 2.455492] process_one_work+0x193/0x430 [ 2.455493] ? process_one_work+0x136/0x430 [ 2.455495] worker_thread+0x49/0x450 [ 2.455499] kthread+0x109/0x140 [ 2.455500] ? create_worker+0x1a0/0x1a0 [ 2.455502] ? kthread_create_on_node+0x40/0x40 [ 2.455509] ret_from_fork+0x27/0x40 [ 2.455510] Code: Bad RIP value. [ 2.455514] RIP: (null) RSP: ffffbeed062afc10 [ 2.455514] CR2: 0000000000000000 [ 2.455517] ---[ end trace 85d5c96bafea0973 ]---
Please, see the full kernel.log attached.
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
Nouveau mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/nouveau
[Bug 103421] Kernel 4.13+ nouveau breaks screen output
In reply to a message not in the archivehttps://bugs.freedesktop.org/show_bug.cgi?id=103421
--- Comment #2 from Andrey Mazo <[email protected]> --- Created attachment 135364
--> https://bugs.freedesktop.org/attachment.cgi?id=135364&action=edit
kernel log
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
Nouveau mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/nouveau
[Bug 103421] Kernel 4.13+ nouveau breaks screen output
In reply to a message not in the archivehttps://bugs.freedesktop.org/show_bug.cgi?id=103421
--- Comment #3 from m-mickan-cl+VPiYnx/[email protected] --- I think I have the same issue with the mobile version of that card:
01:00.0 VGA compatible controller: NVIDIA Corporation GF119M [Quadro NVS 4200M] (rev a1)
It is an optimus setup, so the nvidia card is only used when I plug in a monitor into the DisplayPort.
I compiled the kernel with commit af85389c614ae04970c0eea7a5c50fb889c8a480 and its parent.
With the parent, there were no error messages from the kernel, but the output was static and full of glitches. With the mentioned commit, there were error messages from the kernel and no output at all.
I attached the kernel log (with kernel version 4.13.11) and the dmesg output after plugging in a monitor into the Displayport (kernel compiled from commit af85389c614ae).
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
Nouveau mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/nouveau
[Bug 103421] Kernel 4.13+ nouveau breaks screen output
In reply to a message not in the archivehttps://bugs.freedesktop.org/show_bug.cgi?id=103421
--- Comment #4 from m-mickan-cl+VPiYnx/[email protected] --- Created attachment 135374
--> https://bugs.freedesktop.org/attachment.cgi?id=135374&action=edit
kernel log
4.13.11
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
Nouveau mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/nouveau
[Bug 103421] Kernel 4.13+ nouveau breaks screen output
In reply to a message not in the archivehttps://bugs.freedesktop.org/show_bug.cgi?id=103421
--- Comment #5 from m-mickan-cl+VPiYnx/[email protected] --- Created attachment 135375
--> https://bugs.freedesktop.org/attachment.cgi?id=135375&action=edit
dmesg after plugging monitor in
Commit: af85389c614ae04970c0eea7a5c50fb889c8a480
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
Nouveau mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/nouveau
[Bug 103421] Kernel 4.13+ nouveau breaks screen output
In reply to a message not in the archivehttps://bugs.freedesktop.org/show_bug.cgi?id=103421
--- Comment #6 from Rob Clark <[email protected]> --- This patch should fix the issue:
https://patchwork.freedesktop.org/patch/196301/
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
Nouveau mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/nouveau
[Bug 103421] Kernel 4.13+ nouveau breaks screen output
In reply to a message not in the archivehttps://bugs.freedesktop.org/show_bug.cgi?id=103421
--- Comment #7 from kbaikov-IBi9RG/[email protected] --- I can confirm that this patch fixes the issue:
https://patchwork.freedesktop.org/patch/196301/
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
Nouveau mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/nouveau
[Bug 103421] Kernel 4.13+ nouveau breaks screen output
In reply to a message not in the archivehttps://bugs.freedesktop.org/show_bug.cgi?id=103421
--- Comment #8 from Nikita <[email protected]> --- I tested this patch and I can confirm that it fixed the issue.
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
Nouveau mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/nouveau
[Bug 103421] Kernel 4.13+ nouveau breaks screen output
In reply to a message not in the archivehttps://bugs.freedesktop.org/show_bug.cgi?id=103421
Sven Joachim <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED--- Comment #9 from Sven Joachim <[email protected]> --- The patch in Comment 6 has been in Linus' tree since 4.15-rc8, and I have just requested that it should be applied to 4.14 as well.
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
Nouveau mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/nouveau