All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bug 40502] New: Ability to assign arbitrary CRTC to an output is broken
@ 2011-08-31  1:13 bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
       [not found] ` <bug-40502-8800-V0hAGp6uBxMKqLRl/0Ahz6D7qz1kEfGD2LY78lusg7I@public.gmane.org/>
  0 siblings, 1 reply; 3+ messages in thread
From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ @ 2011-08-31  1:13 UTC (permalink / raw)
  To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW

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

           Summary: Ability to assign arbitrary CRTC to an output is
                    broken
           Product: xorg
           Version: git
          Platform: x86-64 (AMD64)
        OS/Version: Linux (All)
            Status: NEW
          Severity: minor
          Priority: medium
         Component: Driver/nouveau
        AssignedTo: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
        ReportedBy: maximlevitsky-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
         QAContact: xorg-team-go0+a7rfsptAfugRpC6u6w@public.gmane.org


I am assigning that bug to nouveau DDX, although I really won't be surprised if
that is xserver or even kernel driver bug.

I have two CRTCs (CRTC0 and CRTC1) (most modern cards have such number)

I would like to assign CRTC1 to laptop screen, so I do this:

xrandr --output LVDS-1 --auto --crtc 1

Screen does blink however doing 'xrandr --verbose' still tells me that LVDS-1
uses CRTC0.
I can repeat that command again and again.
If I enable kernel modesetting debug, I notice that LVDS-1 is connected once to
CRTC0 and once to CRTC1 (on each invocation of 'xrandr' they change places),
and it does succedd, leading me to beliving that on kernel level everything is
fine.
However on higher level something is really broken, as xrand insists that
LVDS-1 connected to CRTC0, not to mention that such toggle of CRTCs shouln't
take place as I told explicitly I want to use crtc1.

This is preparation of hunt for bug that causes external connected monitor to
go dark after suspend and resume cycle sometimes, then if I disconnect it, even
nastier problem happends, the notebook screen goes dark as well, a thing that
makes me suspect that one of CRTCs goes tits up.
So I need a ability to control which CRTC is used.


I am using very recent versions (from git actually) of everything related to
GFX stack, although not everything is up to date, like for example xrand
library.

I think I will be able to handle that bug on my own, although if you have seen
anything related, or maybe even fact that this is known, please tell me.

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

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

* [Bug 40502] Ability to assign arbitrary CRTC to an output is broken
       [not found] ` <bug-40502-8800-V0hAGp6uBxMKqLRl/0Ahz6D7qz1kEfGD2LY78lusg7I@public.gmane.org/>
@ 2011-10-08  9:46   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
  2011-10-08  9:47   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
  1 sibling, 0 replies; 3+ messages in thread
From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ @ 2011-10-08  9:46 UTC (permalink / raw)
  To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW

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

--- Comment #1 from maximlevitsky-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org 2011-10-08 02:46:42 PDT ---
So, I understand now what is going on.
Its actually a feature, very unusual and strange one.

When I execute:
'xrandr --output LVDS-1 --auto --crtc 1'

System does switch LVDS to CRTC1, however, xrandr also marks said CRTC as
primary, which brings it to first position of crtc list in
XRRGetScreenResources.
and therefore on next invocation xrandr insists that output is once again
connected to CRTC 0, which is technicaly true, but its different '0'.

Also except reporting actual atom values, there is no way for xrandr to undo
this feature which granted is to support backward compatability with older (and
current?) desktops.

Yet, at least xrandr could sort the crtc list and assuming that atom values for
each crtc don't change (and they seem not) it'll fix this problem.

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

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

* [Bug 40502] Ability to assign arbitrary CRTC to an output is broken
       [not found] ` <bug-40502-8800-V0hAGp6uBxMKqLRl/0Ahz6D7qz1kEfGD2LY78lusg7I@public.gmane.org/>
  2011-10-08  9:46   ` [Bug 40502] " bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
@ 2011-10-08  9:47   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
  1 sibling, 0 replies; 3+ messages in thread
From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ @ 2011-10-08  9:47 UTC (permalink / raw)
  To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW

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

maximlevitsky-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|Driver/nouveau              |DDX/xorg
         AssignedTo|nouveau-PD4FTy7X32lNgt0PjOBp93rCq3LdnpKM@public.gmane.org |xorg-team-go0+a7rfsptAfugRpC6u6w@public.gmane.org
                   |rg                          |
                 CC|                            |maximlevitsky-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org

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

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

end of thread, other threads:[~2011-10-08  9:47 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-08-31  1:13 [Bug 40502] New: Ability to assign arbitrary CRTC to an output is broken bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
     [not found] ` <bug-40502-8800-V0hAGp6uBxMKqLRl/0Ahz6D7qz1kEfGD2LY78lusg7I@public.gmane.org/>
2011-10-08  9:46   ` [Bug 40502] " bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2011-10-08  9:47   ` 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.