All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bug 62916] New: NVEnterTV fails on hybrid cards
@ 2013-03-29 21:23 bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
       [not found] ` <bug-62916-8800-V0hAGp6uBxMKqLRl/0Ahz6D7qz1kEfGD2LY78lusg7I@public.gmane.org/>
  0 siblings, 1 reply; 3+ messages in thread
From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ @ 2013-03-29 21:23 UTC (permalink / raw)
  To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW


[-- Attachment #1.1: Type: text/plain, Size: 1611 bytes --]

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

          Priority: medium
            Bug ID: 62916
          Assignee: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
           Summary: NVEnterTV fails on hybrid cards
        QA Contact: xorg-team-go0+a7rfsptAfugRpC6u6w@public.gmane.org
          Severity: critical
    Classification: Unclassified
                OS: Linux (All)
          Reporter: zeng.shixin-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
          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.

[-- Attachment #1.2: Type: text/html, Size: 2924 bytes --]

[-- Attachment #2: Type: text/plain, Size: 181 bytes --]

_______________________________________________
Nouveau mailing list
Nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
http://lists.freedesktop.org/mailman/listinfo/nouveau

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug 62916] NVEnterVT fails with hybrid cards
       [not found] ` <bug-62916-8800-V0hAGp6uBxMKqLRl/0Ahz6D7qz1kEfGD2LY78lusg7I@public.gmane.org/>
@ 2013-03-30 17:28   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
  2013-04-29  9:33   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
  1 sibling, 0 replies; 3+ messages in thread
From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ @ 2013-03-30 17:28 UTC (permalink / raw)
  To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW


[-- Attachment #1.1: Type: text/plain, Size: 454 bytes --]

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

zeng.shixin-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org 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.

[-- Attachment #1.2: Type: text/html, Size: 1045 bytes --]

[-- Attachment #2: Type: text/plain, Size: 181 bytes --]

_______________________________________________
Nouveau mailing list
Nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
http://lists.freedesktop.org/mailman/listinfo/nouveau

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug 62916] NVEnterVT fails with hybrid cards
       [not found] ` <bug-62916-8800-V0hAGp6uBxMKqLRl/0Ahz6D7qz1kEfGD2LY78lusg7I@public.gmane.org/>
  2013-03-30 17:28   ` [Bug 62916] NVEnterVT fails with " bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
@ 2013-04-29  9:33   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
  1 sibling, 0 replies; 3+ messages in thread
From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ @ 2013-04-29  9:33 UTC (permalink / raw)
  To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW


[-- Attachment #1.1: Type: text/plain, Size: 981 bytes --]

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

Maarten Lankhorst <m.b.lankhorst-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
           Assignee|nouveau-PD4FTy7X32lNgt0PjOBp93rCq3LdnpKM@public.gmane.org |m.b.lankhorst-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
                   |rg                          |

--- Comment #1 from Maarten Lankhorst <m.b.lankhorst-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> ---
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.

[-- Attachment #1.2: Type: text/html, Size: 2577 bytes --]

[-- Attachment #2: Type: text/plain, Size: 181 bytes --]

_______________________________________________
Nouveau mailing list
Nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
http://lists.freedesktop.org/mailman/listinfo/nouveau

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-04-29  9:33 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-03-29 21:23 [Bug 62916] New: NVEnterTV fails on hybrid cards bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
     [not found] ` <bug-62916-8800-V0hAGp6uBxMKqLRl/0Ahz6D7qz1kEfGD2LY78lusg7I@public.gmane.org/>
2013-03-30 17:28   ` [Bug 62916] NVEnterVT fails with " bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2013-04-29  9:33   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.