New: Screen turns black during boot after driver tries to set mode on NV50
https://bugs.freedesktop.org/show_bug.cgi?id=55412
Priority: medium
Bug ID: 55412
Assignee: [email protected]
Summary: Screen turns black during boot after driver tries to
set mode on NV50
QA Contact: [email protected]
Severity: normal
Classification: Unclassified
OS: Linux (All)
Reporter: [email protected]
Hardware: x86-64 (AMD64)
Status: NEW
Version: git
Component: Driver/nouveau
Product: xorg
Created attachment 67816
--> https://bugs.freedesktop.org/attachment.cgi?id=67816&action=edit
kernel log without flags
The following commit on current nouveau git master breaks setting a valid resolution at boot and results in a black screen.
commit 97d6852410a83e413d85649cb2cc10e17d6ee2ab
Author: Ben Skeggs <[email protected]> Date: Thu Jul 26 08:51:21 2012 +1000
drm/nouveau/acpi: move definitions out of nouveau_drv.h
An interesting thing about this bug is that it can be avoided with adding the kernel flag nouveau.reg_debug=0x600. With this flag a wrong resolution is set at boot and the screen does not turn black. The X Server cannot start anyway.
My native resolution is 1366x768. GRUB_GFXMODE is 1360x768x32, since the greater resolution is not listed in grub's vbeinfo.
nouveau and blob run X with 1366x768.
I will attach a log with and without the flag at commit 97d6852410a83e413d85649cb2cc10e17d6ee2ab.
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
Nouveau mailing list [email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau
A message that is not in the archive (sent off-list or not yet received): bug-55412-8800-V0hAGp6uBxMKqLRl/[email protected]/
[Bug 55412] Screen turns black during boot after driver tries to set mode on NV50
https://bugs.freedesktop.org/show_bug.cgi?id=55412
--- Comment #1 from Lubosz Sarnecki <[email protected]> --- Created attachment 67817
--> https://bugs.freedesktop.org/attachment.cgi?id=67817&action=edit
kernel log with nouveau.reg_debug=0x600
Booted with the flag nouveau.reg_debug=0x600.
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
Nouveau mailing list [email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau
[Bug 55412] Screen turns black during boot after driver tries to set mode on NV50
In reply to a message not in the archivehttps://bugs.freedesktop.org/show_bug.cgi?id=55412
--- Comment #2 from Lubosz Sarnecki <[email protected]> --- I guess this can be closed, since it does not occur on Linux 3.6.6, which is more recent than the mentioned git version.
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
Nouveau mailing list [email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau
[Bug 55412] Screen turns black during boot after driver tries to set mode on NV50
In reply to a message not in the archivehttps://bugs.freedesktop.org/show_bug.cgi?id=55412
--- Comment #3 from Emil Velikov <[email protected]> --- Hi Lubosz
The commit mentioned was part of the big nouveau rework, that landed in the 3.7 kernel tree. Note that the commit has been rebased thus I cannot check why exactly it's causing issues with your system
From what I can see is
* With the offending commit, nouveau fails to detect any CRTC (outputs) connected, thus the issue
* With the commit and "nouveau.reg_debug=0x600" nouveau complains "nouveau: 0x600' invalid for parameter reg_debug" and does not load (at least not mentioned in the log)
Can you try the latest nouveau git or linux 3.7 to establish it this regression has been fixed or not
Thanks
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
Nouveau mailing list [email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau
[Bug 55412] Screen turns black during boot after driver tries to set mode on NV50
In reply to a message not in the archivehttps://bugs.freedesktop.org/show_bug.cgi?id=55412
--- Comment #4 from [email protected] --- Very easy to see what regressed, though..
upstream commit that made it to mainline is c0077061e7ea, with this:
if (nv_encoder->dcb->lvdsconf.use_acpi_for_edid) {
- if (!nouveau_acpi_edid(dev, connector)) {
+ if (!(nv_connector->edid = nouveau_acpi_edid(dev, connector))) {
status = connector_status_connected;
goto out;
}Which looks fine, but is inversion of logic. First it returned 0 on success, now it returns NULL on failure.. Fix would presumably be one line only:
- if (!(nv_connector->edid = nouveau_acpi_edid(dev, connector))) {
+ if ((nv_connector->edid = nouveau_acpi_edid(dev, connector))) {
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
Nouveau mailing list [email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau
[Bug 55412] Screen turns black during boot after driver tries to set mode on NV50
In reply to a message not in the archivehttps://bugs.freedesktop.org/show_bug.cgi?id=55412
Maarten Lankhorst <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
Assignee|[email protected] |[email protected]
|rg |--- Comment #5 from Maarten Lankhorst <[email protected]> ---
http://lists.freedesktop.org/archives/dri-devel/2012-November/030048.html
Patch sent.
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
Nouveau mailing list [email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau