Skip to contentSkip to conversation

New: [KMS] Black screen with KMS enabled

Bug 22179 [email protected] 3 participants 22 messages Jun 9, 2009 – Jul 31, 2009 3 messages not in the archive

lore
Share & tools
lore
#0 lore raw

http://bugs.freedesktop.org/show_bug.cgi?id=22179

Summary: [KMS] Black screen with KMS enabled
Product: xorg
Version: git
Platform: x86 (IA32)
OS/Version: Linux (All)
Status: NEW
Severity: normal
Priority: medium
Component: Driver/nouveau
AssignedTo: [email protected]
ReportedBy: randrik-JGs/[email protected]
QAContact: [email protected]

I have this hardware in AGP slot:

01:00.0 VGA compatible controller: nVidia Corporation NV44A [GeForce 6200] (rev a1) (prog-if 00 [VGA controller])
Subsystem: ASUSTeK Computer Inc. Device 81e1
Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 16 Memory at d6000000 (32-bit, non-prefetchable) [size=16M] Memory at c0000000 (32-bit, prefetchable) [size=256M] Memory at d5000000 (32-bit, non-prefetchable) [size=16M] Expansion ROM at d7ee0000 [disabled] [size=128K]
Capabilities: [60] Power Management version 2
Capabilities: [44] AGP version 3.0
Kernel driver in use: nouveau
Kernel modules: nvidiafb

Tried to use in-kernel DRM from
http://cgit.freedesktop.org/nouveau/linux-2.6/log/?h=newttm-devel, comments between 59a3759d0fe8d969888c741bb33f4946e4d3750d and c05c0840514599d229e6719d42a2f4e6e0e8ea1e were extracted as patch, and this patch applied to 2.6.30-rc8-git4 (due to unrelated XFS bug in earlier 2.6.30-rc7 kernel)

Resulted kernel boots fine, and nouveau DRM works in two-minute testing, but KMS (modeset=1 as module parameter) gives me black screen. No, this time, i verified that fbcon was loaded.

Also, DRM thee from
http://cgit.freedesktop.org/~jinghua/drm/log/?h=modesetting-gem works fine in KMS mode with my current hardware (I need to correct screen resolution, X seems to be started in doublescan mode, but after this X works ok)

Logs will follow ....

Signature · 3 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#2 lore raw

[Bug 22179] [KMS] Black screen with KMS enabled

In reply to a message not in the archive

http://bugs.freedesktop.org/show_bug.cgi?id=22179

--- Comment #1 from Andrew Randrianasulu <randrik-JGs/[email protected]> 2009-06-09 11:53:02 PST --- Created an attachment (id=26593)
--> (http://bugs.freedesktop.org/attachment.cgi?id=26593)
X.org log

Signature · 3 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#3 lore raw

[Bug 22179] [KMS] Black screen with KMS enabled

In reply to a message not in the archive

http://bugs.freedesktop.org/show_bug.cgi?id=22179

--- Comment #2 from Andrew Randrianasulu <randrik-JGs/[email protected]> 2009-06-09 11:53:46 PST --- Created an attachment (id=26594)
--> (http://bugs.freedesktop.org/attachment.cgi?id=26594)
/var/log/debug

Signature · 3 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#4 lore raw

[Bug 22179] [KMS] Black screen with KMS enabled

In reply to a message not in the archive

http://bugs.freedesktop.org/show_bug.cgi?id=22179

--- Comment #3 from Andrew Randrianasulu <randrik-JGs/[email protected]> 2009-06-09 11:54:49 PST --- Created an attachment (id=26595)
--> (http://bugs.freedesktop.org/attachment.cgi?id=26595)
/var/log/messages

Signature · 3 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#5 lore raw

[Bug 22179] [KMS] Black screen with KMS enabled

In reply to a message not in the archive

http://bugs.freedesktop.org/show_bug.cgi?id=22179

--- Comment #4 from Andrew Randrianasulu <randrik-JGs/[email protected]> 2009-06-09 11:55:30 PST --- Created an attachment (id=26596)
--> (http://bugs.freedesktop.org/attachment.cgi?id=26596)
/var/log/syslog

Signature · 3 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#6 lore raw

[Bug 22179] [KMS] Black screen with KMS enabled

In reply to a message not in the archive

http://bugs.freedesktop.org/show_bug.cgi?id=22179

--- Comment #5 from Andrew Randrianasulu <randrik-JGs/[email protected]> 2009-06-09 11:58:12 PST --- Connecting monitor (CRT Samsung SyncMaster 550b) to DVI-A-0 (VGA-to-DVI
adapter) changes nothing (still black screen, even after blind startx). But DRM
and X prints correct connector in use.

Signature · 3 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#7 lore raw

[Bug 22179] [KMS] Black screen with KMS enabled, nv44

In reply to a message not in the archive

http://bugs.freedesktop.org/show_bug.cgi?id=22179

Andrew Randrianasulu <randrik-JGs/[email protected]> changed:

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

            Summary|[KMS] Black screen with KMS |[KMS] Black screen with KMS
                   |enabled                     |enabled, nv44
Signature · 3 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#8 lore raw

[Bug 22179] [KMS] Black screen with KMS enabled, nv44

In reply to a message not in the archive

http://bugs.freedesktop.org/show_bug.cgi?id=22179

--- Comment #6 from Andrew Randrianasulu <randrik-JGs/[email protected]> 2009-06-09 12:04:07 PST --- Created an attachment (id=26597)
--> (http://bugs.freedesktop.org/attachment.cgi?id=26597)
Current X.org log, with user mode-setting

Using DRM from freedesktop.org git master, up to

3d4bfe8c893d016ef43d1ebf28e4607aa1f540a4

Author: Ben Skeggs <[email protected]>
Date:   Wed Jun 3 13:54:43 2009 +1000

nouveau: 0.0.14 + extend bo interface to support subrange mapping

Normal map() should operate as before, and map_range()/map_flush() should give correct results but lacking any performance difference from map().

Xserver and input drivers were updated recently,
X now at git master

commit 2a035600e603117a4dbe668cad50bae2a5609094

Author: Peter Hutterer <[email protected]>
Date:   Tue Jun 9 10:14:18 2009 +1000
    require inputproto 1.9.99.11

and xf86-video-nouveau at git master

commit 6ee453381f00063522187939cb54ab9447b73ec7

Author: Ben Skeggs <[email protected]>
Date:   Thu Jun 4 14:43:54 2009 +1000

xv: fix some issues with driver pixmaps

Signature · 3 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#9 lore raw

[Bug 22179] [KMS] Black screen with KMS enabled, nv44

In reply to a message not in the archive

http://bugs.freedesktop.org/show_bug.cgi?id=22179

--- Comment #7 from Andrew Randrianasulu <randrik-JGs/[email protected]> 2009-06-09 12:05:02 PST --- Created an attachment (id=26598)
--> (http://bugs.freedesktop.org/attachment.cgi?id=26598)
xorg.conf

Signature · 3 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#10 lore raw

[Bug 22179] [KMS] Black screen with KMS enabled, nv44

In reply to a message not in the archive

http://bugs.freedesktop.org/show_bug.cgi?id=22179

--- Comment #8 from Andrew Randrianasulu <randrik-JGs/[email protected]> 2009-06-09 12:10:12 PST --- in my first post (between 59a3759d0fe8d969888c741bb33f4946e4d3750d and c05c0840514599d229e6719d42a2f4e6e0e8ea1e) "comments" = "commits" (sorry)

Signature · 3 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#11 lore raw

[Bug 22179] [KMS] Black screen with KMS enabled, nv44

In reply to a message not in the archive

http://bugs.freedesktop.org/show_bug.cgi?id=22179

Sergei Trofimovich <[email protected]> changed:

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

--- Comment #9 from Sergei Trofimovich <[email protected]> 2009-07-06 05:36:40 PST ---

Quoted 2 lines

Kernel driver in use: nouveau
Kernel modules: nvidiafb

Do you have both nvidiafb and nouveau drivers built? It would worth to try to disable all FB drivers (nvidiafb, rivafb etc.).

Signature · 3 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#12 lore raw

[Bug 22179] [KMS] Black screen with KMS enabled, nv44

In reply to a message not in the archive

http://bugs.freedesktop.org/show_bug.cgi?id=22179

Renato Caldas <[email protected]> changed:

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

--- Comment #10 from Renato Caldas <[email protected]> 2009-07-07 13:52:46 PST --- I can confirm this. I don't have any fb driver enabled.

Signature · 3 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#13 lore raw

[Bug 22179] [KMS] Black screen with KMS enabled, nv44

In reply to a message not in the archive

http://bugs.freedesktop.org/show_bug.cgi?id=22179

Francesco Marella <[email protected]> changed:

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

--- Comment #11 from Francesco Marella <[email protected]> 2009-07-11 10:35:58 PST --- same here.
On my laptop, backlight is on but screen is completely black.

So I connected a 17'' Philips external monitor via VGA, [booted with drm.debug=1]
now laptop panel displays the correct output and KMS works fine. External monitor displays a cloned screen but actual image is a black screen with oblique dashed lines and cursor.

VT switching froze laptop panel output that slowly turns white.

Signature · 3 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#14 lore raw

[Bug 22179] [KMS] Black screen with KMS enabled, nv44

In reply to a message not in the archive

http://bugs.freedesktop.org/show_bug.cgi?id=22179

--- Comment #12 from Francesco Marella <[email protected]> 2009-07-11 10:40:28 PST --- Created an attachment (id=27598)
--> (http://bugs.freedesktop.org/attachment.cgi?id=27598)
nouveau xorg

Signature · 3 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#15 lore raw

[Bug 22179] [KMS] Black screen with KMS enabled, nv44

In reply to a message not in the archive

http://bugs.freedesktop.org/show_bug.cgi?id=22179

--- Comment #13 from Francesco Marella <[email protected]> 2009-07-12 00:19:03 PST --- Created an attachment (id=27604)
--> (http://bugs.freedesktop.org/attachment.cgi?id=27604)
kernel log

Signature · 3 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#16 lore raw

[Bug 22179] [KMS] Black screen with KMS enabled, nv44

In reply to a message not in the archive

http://bugs.freedesktop.org/show_bug.cgi?id=22179

--- Comment #14 from Francesco Marella <[email protected]> 2009-07-12 00:21:10 PST --- Created an attachment (id=27605)
--> (http://bugs.freedesktop.org/attachment.cgi?id=27605)
xorg configuration file

Signature · 3 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#17 lore raw

[Bug 22179] [KMS] Black screen with KMS enabled, nv44

In reply to a message not in the archive

http://bugs.freedesktop.org/show_bug.cgi?id=22179

--- Comment #15 from Francesco Marella <[email protected]> 2009-07-12 02:45:32 PST --- (In reply to comment #11)

Quoted 3 lines

VT switching froze laptop panel output that slowly turns white.

modprobe fbcon fixed vt switching.
ps. my card is identified as NV46.

Signature · 3 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#18 lore raw

[Bug 22179] [KMS] Black screen with KMS enabled, nv44

In reply to a message not in the archive

http://bugs.freedesktop.org/show_bug.cgi?id=22179

--- Comment #16 from Renato Caldas <[email protected]> 2009-07-21 03:54:26 PST --- *** Bug 22867 has been marked as a duplicate of this bug. ***

Signature · 3 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#19 lore raw

[Bug 22179] [KMS] Black screen with KMS enabled, nv44

In reply to a message not in the archive

http://bugs.freedesktop.org/show_bug.cgi?id=22179

Andrew Randrianasulu <randrik-JGs/[email protected]> changed:

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

             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #17 from Andrew Randrianasulu <randrik-JGs/[email protected]> 2009-07-29 08:10:46 PST --- fixed in kernel code:

http://cgit.freedesktop.org/nouveau/linux-2.6/
commit 08ac20e576b8585808a0c5f4a894555224f9b2bf

drm/nv40: fix kms on any card we decide is "NV44"...

Thanks a lot!

Signature · 3 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#21 lore raw

nv50: laptop screen goes from black to white

In reply to a message not in the archive

I have same issue with GF 8600M GS (G86) on my laptop - black screen with KMS enabled, sometimes with colorful lines, somteimes slowly turns to white. When i connect external LCD monitor, there is pretty image on it, all works, but laptop internal screen still not work. Fixed by adding uscript_lvds=1 to kernel command line. And now i have problems only with EXAPixmaps option - few 2D corruptions and lockups about 15-20 seconds.
P.S. Thank you all! It's greatest work!
-------------------------------------
Dmitriy Vasin
Gigzbyte Security Group

#23 lore raw

Re: nv50: laptop screen goes from black to white

In reply to a message not in the archive
Quoted 7 lines · On Thu, 2009-07-30 at 12:32 +0400, provider.spb-JGs/[email protected]…

I have same issue with GF 8600M GS (G86) on my laptop - black screen with KMS enabled, sometimes with colorful lines, somteimes slowly turns to white. When i connect external LCD monitor, there is pretty image on it, all works, but laptop internal screen still not work. Fixed by adding uscript_lvds=1 to kernel command line. And now i have problems only with EXAPixmaps option - few 2D corruptions and lockups about 15-20 seconds.

Hey, thanks for the report.

There were some fixes today that may help with some of the driver pixmaps corruption, but there's likely more issues there to resolve.

For your panel issue, I'm still not sure exactly how NVIDIA decide which set of scripts to run. I'd be very interested in seeing the output of "dmesg" with nouveau running on that machine, hopefully with enough data we'll be able to track this down soon.

Thanks!
Ben.

Quoted 9 lines

P.S. Thank you all! It's greatest work!
-------------------------------------
Dmitriy Vasin
Gigzbyte Security Group

_______________________________________________
Nouveau mailing list [email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau

#24 lore raw

[Bug 22179] [KMS] Black screen with KMS enabled, nv44

In reply to a message not in the archive

http://bugs.freedesktop.org/show_bug.cgi?id=22179

--- Comment #18 from Sergei Trofimovich <[email protected]> 2009-07-31 00:42:56 PST --- (In reply to comment #17)

Quoted 9 lines

fixed in kernel code:

http://cgit.freedesktop.org/nouveau/linux-2.6/
commit 08ac20e576b8585808a0c5f4a894555224f9b2bf

drm/nv40: fix kms on any card we decide is "NV44"...

Thanks a lot!

Same for me. Now FB works properly \o/

Signature · 3 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.