bugzilla-daemon at freedesktop.org
2013-Mar-29 21:23 UTC
[Nouveau] [Bug 62916] New: NVEnterTV fails on hybrid cards
https://bugs.freedesktop.org/show_bug.cgi?id=62916 Priority: medium Bug ID: 62916 Assignee: nouveau at lists.freedesktop.org Summary: NVEnterTV fails on hybrid cards QA Contact: xorg-team at lists.x.org Severity: critical Classification: Unclassified OS: Linux (All) Reporter: zeng.shixin at gmail.com Hardware: x86-64 (AMD64) Status: NEW Version: unspecified Component: Driver/nouveau Product: xorg Since on system with hybrid cards, the nvidia card might not be connecting to the screen, so Xf86SetDisiredMode could fail, which results in a fatal error for Xserver: [ 91825.257] (II) NOUVEAU(G0): NVEnterVT is called. [ 91825.258] Fatal server error: [ 91825.258] EnterVT failed for gpu screen 0 The following dirty hack fixes the problem. We should check for the connected screen before setting mode, but I don't know how to do that, since this is my first time to look at nouveau code. --- nv_driver-orig.c 2013-03-29 17:19:34.876953461 -0400 +++ nv_driver.c 2013-03-29 17:20:15.810287942 -0400 @@ -407,8 +407,7 @@ if (ret) ErrorF("Unable to get master: %s\n", strerror(errno)); - if (!xf86SetDesiredModes(pScrn)) - return FALSE; + xf86SetDesiredModes(pScrn); if (pNv->overlayAdaptor && pNv->Architecture != NV_ARCH_04) NV10WriteOverlayParameters(pScrn); -- You are receiving this mail because: You are the assignee for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/nouveau/attachments/20130329/d40f6251/attachment.html>
bugzilla-daemon at freedesktop.org
2013-Mar-30 17:28 UTC
[Nouveau] [Bug 62916] NVEnterVT fails with hybrid cards
https://bugs.freedesktop.org/show_bug.cgi?id=62916 zeng.shixin at gmail.com changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|NVEnterTV fails on hybrid |NVEnterVT fails with hybrid |cards |cards -- You are receiving this mail because: You are the assignee for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/nouveau/attachments/20130330/6e57c2b1/attachment.html>
bugzilla-daemon at freedesktop.org
2013-Apr-29 09:33 UTC
[Nouveau] [Bug 62916] NVEnterVT fails with hybrid cards
https://bugs.freedesktop.org/show_bug.cgi?id=62916 Maarten Lankhorst <m.b.lankhorst at gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Assignee|nouveau at lists.freedesktop.o |m.b.lankhorst at gmail.com |rg | --- Comment #1 from Maarten Lankhorst <m.b.lankhorst at gmail.com> --- Created attachment 78590 --> https://bugs.freedesktop.org/attachment.cgi?id=78590&action=edit [PATCH] hw/xfree86: Allow xf86SetDesiredModes to succeed if no crtc's are enabled. I just noticed the same problem with xserver 1.14, x1.13 worked fine. Hopefully attached patch fixes it for you too. -- You are receiving this mail because: You are the assignee for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/nouveau/attachments/20130429/c3d11ff3/attachment.html>