Skip to contentSkip to conversation

New: modesetting on NV86: text mode goes blank, machine freeze on gdm stop

Bug 16792 [email protected] 1 participant 15 messages Jul 21, 2008 – Aug 13, 2013 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

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

Summary: modesetting on NV86: text mode goes blank, machine
freeze on gdm stop
Product: xorg
Version: git
Platform: Other
OS/Version: All
Status: NEW
Severity: normal
Priority: medium
Component: Driver/nouveau
AssignedTo: [email protected]
ReportedBy: [email protected]
QAContact: [email protected]

Created an attachment (id=17791)
--> (http://bugs.freedesktop.org/attachment.cgi?id=17791)
X log of gdm session

modesetting on NV86: text mode goes blank, machine freeze on gdm stop

using branches nouveau/master, mesa/drm/modestting-101 and nouveau/mesa/gallium-0.1.

I reboot in single user mode, modprobe "drm debug=1" and "nouveau modeset=1".

At this moment, the screen turns blacks but the machine does not freeze. From a SSH, I can start gdm and it seems to work, though the screen is still black.

When trying to stop gdm, the machine is freezing.

After X start I had many of these lines:

Jul 21 15:48:36 xiong kernel: [  605.062180] [drm] PGRAPH_ERROR - nSource:
PROTECTION_ERROR, nStatus:
Jul 21 15:48:36 xiong kernel: [  605.062APH_ERROR - Ch 2/0 Class 0x502d Mthd

0x08dc APH_ERROR - Ch 2/0 Class 0x502d Mthd 0x08dc Data 0x00000000:0x00000000

(Yeah, I was told not to use the debug option, I typed too fast.)

Adding logs as usual.

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 16792] modesetting on NV86: text mode goes blank, machine freeze on gdm stop

In reply to a message not in the archive

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

--- Comment #1 from Hervé Cauwelier <[email protected]> 2008-07-21 07:26:01 PST --- My mistake, the PGRAPH errors occur even without using the modeset.

Signature · 7 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- 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
#3 lore raw

[Bug 16792] modesetting on NV86: text mode goes blank, machine freeze on gdm stop

In reply to a message not in the archive

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

--- Comment #2 from Hervé Cauwelier <[email protected]> 2008-07-21 07:29:04 PST --- Created an attachment (id=17792)
--> (http://bugs.freedesktop.org/attachment.cgi?id=17792)
syslog

Signature · 7 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- 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
#4 lore raw

[Bug 16792] modesetting on NV86: text mode goes blank, machine freeze on gdm stop

In reply to a message not in the archive

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

--- Comment #3 from Hervé Cauwelier <[email protected]> 2008-07-21 11:42:45 PST --- Created an attachment (id=17804)
--> (http://bugs.freedesktop.org/attachment.cgi?id=17804)
my NV86 bios image

Signature · 7 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- 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
#5 lore raw

[Bug 16792] modesetting on NV86: text mode goes blank, machine freeze on gdm stop

In reply to a message not in the archive

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

--- Comment #4 from Hervé Cauwelier <[email protected]> 2008-07-21 12:21:34 PST --- Created an attachment (id=17806)
--> (http://bugs.freedesktop.org/attachment.cgi?id=17806)
a clean syslog with head 625923eb73801659d239aa22f8a46d5cc2460277, trying at the end to reinsert the module without modeset

Signature · 7 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- 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
#6 lore raw

[Bug 16792] modesetting on NV86: text mode goes blank, machine freeze on gdm stop

In reply to a message not in the archive

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

--- Comment #5 from Hervé Cauwelier <[email protected]> 2008-07-27 13:06:10 PST --- Created an attachment (id=17918)
--> (http://bugs.freedesktop.org/attachment.cgi?id=17918)
X log ending with "Failed to allocate memory for framebuffer!"

Update: I cannot start X with the nouveau/drm/modesetting-101 branch.

After nouveau is complaining about the LVDS revision table not being currently supported, it fails in allocating memory for the framebuffer.

After I come back to the master branch, I have to shut down the computer for a minute before I can start X again.

This is still my 8400M GS, and the nouveau checkout fetched and rebased regularly.

Signature · 7 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- 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
#7 lore raw

[Bug 16792] modesetting on NV86: text mode goes blank, machine freeze on gdm stop

In reply to a message not in the archive

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

--- Comment #6 from Ben Skeggs <[email protected]> 2009-03-12 17:38:06 PST --- Hows things now?

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 16792] modesetting on NV86: text mode goes blank, machine freeze on gdm stop

In reply to a message not in the archive

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

--- Comment #7 from Hervé Cauwelier <[email protected]> 2009-03-13 04:56:23 PST --- I haven't tried since then.

I have a 2.6.28 kernel and the master branch of nouveau. Is a special branch of drm needed? Or a flag at the kernel boot or in xorg.conf?

Signature · 7 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- 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
#9 lore raw

[Bug 16792] modesetting on NV86: text mode goes blank, machine freeze on gdm stop

In reply to a message not in the archive

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

--- Comment #8 from Ben Skeggs <[email protected]> 2009-03-13 15:55:46 PST --- (In reply to comment #7)

Quoted 4 lines

I haven't tried since then.

I have a 2.6.28 kernel and the master branch of nouveau. Is a special branch of drm needed? Or a flag at the kernel boot or in xorg.conf?

You need to use the modesetting-gem branch of drm git still. Just load the nouveau module with modeset=1. Nothing is required on the 2D driver side, it'll detect if kms is in use and act accordingly.

Quoted 1 line
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 16792] modesetting on NV86: cannot allocate framebuffer

In reply to a message not in the archive

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

Hervé Cauwelier <[email protected]> changed:

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

            Summary|modesetting on NV86: text   |modesetting on NV86: cannot
                   |mode goes blank, machine    |allocate framebuffer
                   |freeze on gdm stop          |

--- Comment #9 from Hervé Cauwelier <[email protected]> 2009-03-18 15:50:41 PST --- I installed nouveau master, drm modesetting-gem and rebooted.

I modprobed drm, then nouveau with "modeset=1", the screen went black, like when X start, then the console came back but at panel native resolution.

I then started GDM but X gave the error I attach.

I then tried to remove the nouveau module but it said it was busy, though "lsmod" told no other module was using it.

I forgot to save "dmesg" before reboot. It contained many information about the DRM. Do you need it?

Signature · 7 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- 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
#11 lore raw

[Bug 16792] modesetting on NV86: cannot allocate framebuffer

In reply to a message not in the archive

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

Hervé Cauwelier <[email protected]> changed:

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

  Attachment #17791|0                           |1
        is obsolete|                            |
  Attachment #17792|0                           |1
        is obsolete|                            |
  Attachment #17806|0                           |1
        is obsolete|                            |
  Attachment #17918|0                           |1
        is obsolete|                            |

--- Comment #10 from Hervé Cauwelier <[email protected]> 2009-03-18 15:53:18 PST --- Created an attachment (id=24017)
--> (http://bugs.freedesktop.org/attachment.cgi?id=24017)
X with nouveau modeset and drm modesetting-gem

Signature · 7 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- 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
#12 lore raw

[Bug 16792] modesetting on NV86: cannot allocate framebuffer

In reply to a message not in the archive

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

--- Comment #11 from Ben Skeggs <[email protected]> 2009-03-18 22:26:58 PST --- (In reply to comment #9)

Quoted 4 lines

I installed nouveau master, drm modesetting-gem and rebooted.

I modprobed drm, then nouveau with "modeset=1", the screen went black, like when X start, then the console came back but at panel native resolution.

Cool, that sounds about right :)

Quoted 2 lines

I then started GDM but X gave the error I attach.

Hmm, the dmesg log would be very useful here (bonus points for loading drm with "modprobe drm debug=1").

Quoted 3 lines

I then tried to remove the nouveau module but it said it was busy, though "lsmod" told no other module was using it.

That's normal, the console is being controlled by nouveau.ko. You can unload the module first if you "echo 0 > /sys/class/vtconsole/vtcon<n>/bind" first. What exactly <n> is probably depends on your system, it's 1 for me. Also, once you do that, you won't have a visible console. Nouveau can't switch back to the original resolution yet..

Quoted 3 lines

I forgot to save "dmesg" before reboot. It contained many information about the DRM. Do you need it?

It would be very useful :)

Quoted 1 line
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 16792] modesetting on NV86: cannot allocate framebuffer

In reply to a message not in the archive

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

--- Comment #12 from Hervé Cauwelier <[email protected]> 2009-03-19 02:25:53 PST --- Created an attachment (id=24036)
--> (http://bugs.freedesktop.org/attachment.cgi?id=24036)
dmesg with debug=1

Signature · 7 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- 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
#14 lore raw

[Bug 16792] modesetting on NV86: cannot allocate framebuffer

In reply to a message not in the archive

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

Hervé Cauwelier <[email protected]> changed:

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

  Attachment #24017|0                           |1

is obsolete| |

--- Comment #13 from Hervé Cauwelier <[email protected]> 2009-03-19 02:28:09 PST --- Created an attachment (id=24037)
--> (http://bugs.freedesktop.org/attachment.cgi?id=24037)
X log after drm debug=1

I've updated to commit 47c68ee6e4c180c18b8d58c74f12c8f90af9da3d and tested with drm debug=1.

X behave the same than yesterday.

Great news though that the modesetting is behaving as expected, even just on the console.

Signature · 7 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- 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
#15 lore raw

[Bug 16792] modesetting on NV86: cannot allocate framebuffer

In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=16792

Martin Peres <[email protected]> changed:

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

             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #14 from Martin Peres <[email protected]> --- Someone forgot to close this bug.

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