Skip to contentSkip to conversation

New: No video output after loading nouveau module

Bug 121481 [email protected] 1 participant 11 messages Jul 5, 2016 – Jul 8, 2016

lore
Share & tools
lore
#0 lore raw

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

            Bug ID: 121481
           Summary: No video output after loading nouveau module
           Product: Drivers
           Version: 2.5
    Kernel Version: 4.7-rc6
          Hardware: x86-64
                OS: Linux
              Tree: Mainline
            Status: NEW
          Severity: normal
          Priority: P1
         Component: Video(DRI - non Intel)
          Assignee: [email protected]
          Reporter: [email protected]
        Regression: No

Created attachment 222091
--> https://bugzilla.kernel.org/attachment.cgi?id=222091&action=edit
dmesg for just modprobe nouveau

OS: Arch Linux
Video adapter: GeForce GTX 780 Ti

Since 4.7 loading nouveau module results in black screen, but when I load nouveau module with parameter debug=trace the issue does not appear, screen successfully switches to correct resolution and Xorg can be successfully started.

I did following:
- after OS booting I issued command "modprobe nouveau", in this case execution of the command took about 44 seconds;
- when "modprobe nouveau" returned control to shell I blindly issued command "startx" on terminal in VT;
- after that machine was rebooted with "reboot"

- after reboot I issued command "modprobe nouveau debug=trace", it took about 11 seconds to finish;
- after that I issued "startx" and Xorg started sucessfully.

If I compile nouveau module in kernel then I lose video output right after kernel loads if I don't pass nouveau.debug=trace parameter.

Signature · 6 lines
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 121481] No video output after loading nouveau module

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

Dmitrii Tcvetkov <[email protected]> changed:

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

--- Comment #1 from Dmitrii Tcvetkov <[email protected]> --- Created attachment 222101
--> https://bugzilla.kernel.org/attachment.cgi?id=222101&action=edit
Xorg.0.log for modprobe nouveau

Signature · 6 lines
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 121481] No video output after loading nouveau module

In reply to [email protected]

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

--- Comment #2 from Dmitrii Tcvetkov <[email protected]> --- Created attachment 222111
--> https://bugzilla.kernel.org/attachment.cgi?id=222111&action=edit
dmesg for modprobe nouveau debug=trace

Signature · 6 lines
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 121481] No video output after loading nouveau module

In reply to [email protected]

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

--- Comment #3 from Dmitrii Tcvetkov <[email protected]> --- Created attachment 222121
--> https://bugzilla.kernel.org/attachment.cgi?id=222121&action=edit
Xorg.0.log for modprobe nouveau debug=trace

Signature · 6 lines
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 121481] No video output after loading nouveau module

In reply to [email protected]

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

--- Comment #4 from Dmitrii Tcvetkov <[email protected]> --- Created attachment 222131
--> https://bugzilla.kernel.org/attachment.cgi?id=222131&action=edit
lspci

Signature · 6 lines
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
#5 lore raw

[Bug 121481] No video output after loading nouveau module

In reply to [email protected]

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

Ilia Mirkin <[email protected]> changed:

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

--- Comment #5 from Ilia Mirkin <[email protected]> --- Did this ever work for you?

Looks like DP link training fails. If it worked before, I would suspect commit a8953c52b95167b5d21a66f0859751570271d834 .

Signature · 6 lines
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
#6 lore raw

[Bug 121481] No video output after loading nouveau module

In reply to [email protected]

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

Dmitrii Tcvetkov <[email protected]> changed:

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

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

--- Comment #6 from Dmitrii Tcvetkov <[email protected]> --- It works good on kernel 4.6.3 and earlier, problem is since 4.7. I just tried to find conditions of the bug.

I reverted patch "0006-drm-nouveau-disp-sor-gf119-both-links-use-the-same-training register" from commit a8953c52b95167b5d21a66f0859751570271d834 and nouveau loads about 1 second, screen does not become black. System behaves like on 4.6 kernel.

Unfortunately I can't fully understand impact of this reversion on different video adapters. Can you send it to dri-devel mailing list?

Signature · 6 lines
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
#7 lore raw

[Bug 121481] No video output after loading nouveau module

In reply to [email protected]

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

--- Comment #7 from Dmitrii Tcvetkov <[email protected]> --- Created attachment 222141
--> https://bugzilla.kernel.org/attachment.cgi?id=222141&action=edit
dmesg with reverted 6th patch from a8953c52b95167b5d21a66f0859751570271d834

Signature · 6 lines
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
#8 lore raw

[Bug 121481] No video output after loading nouveau module

In reply to [email protected]

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

--- Comment #8 from Ilia Mirkin <[email protected]> --- Ben has a better fix here:

https://github.com/skeggsb/linux/commit/217215041b9285af2193a755b56a8f3ed408bfe2

Signature · 6 lines
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
#9 lore raw

[Bug 121481] No video output after loading nouveau module

In reply to [email protected]

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

Dmitrii Tcvetkov <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------
Resolution|CODE_FIX |PATCH_ALREADY_AVAILABLE

--- Comment #9 from Dmitrii Tcvetkov <[email protected]> --- Thank you, that fix helped.

Signature · 6 lines
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
#10 lore raw

[Bug 121481] No video output after loading nouveau module

In reply to [email protected]

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

Dmitrii Tcvetkov <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |CLOSED

--- Comment #10 from Dmitrii Tcvetkov <[email protected]> --- commit 1d110cf5d307bd52e826a2ceaa7daab83be61b7a
Merge: cc23c61 39c8859
Author: Linus Torvalds <[email protected]>
Date: Fri Jul 8 08:55:27 2016 -0700

Signature · 6 lines
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