All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bug 74903] New: TV Load not detected in X
@ 2014-02-12 20:15 bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
       [not found] ` <bug-74903-8800-V0hAGp6uBxMKqLRl/0Ahz6D7qz1kEfGD2LY78lusg7I@public.gmane.org/>
  0 siblings, 1 reply; 9+ messages in thread
From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ @ 2014-02-12 20:15 UTC (permalink / raw)
  To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW


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

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

          Priority: medium
            Bug ID: 74903
          Assignee: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
           Summary: TV Load not detected in X
        QA Contact: xorg-team-go0+a7rfsptAfugRpC6u6w@public.gmane.org
          Severity: major
    Classification: Unclassified
                OS: Linux (All)
          Reporter: alexandre.nunes-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
          Hardware: x86 (IA32)
            Status: NEW
           Version: unspecified
         Component: Driver/nouveau
           Product: xorg

Created attachment 93957
  --> https://bugs.freedesktop.org/attachment.cgi?id=93957&action=edit
Xorg.0.log

I have an ancient computer with a FX 5200 card which is played to an old TV via
composite output. It has been working for ages, until I upgraded the system
(debian) and now when I start X, the tv image goes off.

This setup is using KMS, and IIRC newer kernels had the same problem on module
load. I downgraded the kernel to 3.11.2 and now the framebuffer is working 
fine again (with at least 3.11.6 and newer kernels it's a no-go). But when
starting X, the image is gone and the log tells:

[   164.729] (==) NOUVEAU(0): Swap limit set to 2 [Max allowed 2]
[   164.783] (II) NOUVEAU(0): Output VGA-1 has no monitor section
[   164.843] (II) NOUVEAU(0): Output DVI-I-1 has no monitor section
[   164.896] (II) NOUVEAU(0): Output TV-1 has no monitor section
[   164.950] (II) NOUVEAU(0): EDID for output VGA-1
[   165.003] (II) NOUVEAU(0): EDID for output DVI-I-1
[   165.056] (II) NOUVEAU(0): EDID for output TV-1
[   165.056] (II) NOUVEAU(0): Output VGA-1 disconnected
[   165.056] (II) NOUVEAU(0): Output DVI-I-1 disconnected
[   165.056] (II) NOUVEAU(0): Output TV-1 disconnected
[   165.056] (WW) NOUVEAU(0): No outputs definitely connected, trying again...
[   165.056] (II) NOUVEAU(0): Output VGA-1 disconnected
[   165.056] (II) NOUVEAU(0): Output DVI-I-1 disconnected
[   165.056] (II) NOUVEAU(0): Output TV-1 disconnected
[   165.057] (WW) NOUVEAU(0): Unable to find connected outputs - setting
1024x768 initial framebuffer

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 3610 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] 9+ messages in thread

* [Bug 74903] TV Load not detected in X
       [not found] ` <bug-74903-8800-V0hAGp6uBxMKqLRl/0Ahz6D7qz1kEfGD2LY78lusg7I@public.gmane.org/>
@ 2014-02-12 20:16   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
  2014-02-12 20:26   ` [Bug 74903] [NV34] " bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
                     ` (6 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ @ 2014-02-12 20:16 UTC (permalink / raw)
  To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW


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

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

--- Comment #1 from Alexandre <alexandre.nunes-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> ---
Created attachment 93958
  --> https://bugs.freedesktop.org/attachment.cgi?id=93958&action=edit
Full dmesg

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1136 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] 9+ messages in thread

* [Bug 74903] [NV34] TV Load not detected in X
       [not found] ` <bug-74903-8800-V0hAGp6uBxMKqLRl/0Ahz6D7qz1kEfGD2LY78lusg7I@public.gmane.org/>
  2014-02-12 20:16   ` [Bug 74903] " bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
@ 2014-02-12 20:26   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
  2014-02-12 22:20   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
                     ` (5 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ @ 2014-02-12 20:26 UTC (permalink / raw)
  To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW


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

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

Ilia Mirkin <imirkin-FrUbXkNCsVf2fBVCVOL8/A@public.gmane.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|TV Load not detected in X   |[NV34] TV Load not detected
                   |                            |in X

--- Comment #2 from Ilia Mirkin <imirkin-FrUbXkNCsVf2fBVCVOL8/A@public.gmane.org> ---
What happens if you're in X (with the image off) and then try to switch back to
the console? Does it come on, or is it off forever?

I don't see any relevant changes between 3.11.2 and 3.11.6... would be very
interesitng to know what causes the additional regression -- it should be a
pretty fast bisect, if you're up for it.

What kernel were you using before the upgrade? I'm guessing "ancient" (like
pre-3.7)?

It would also be interesting to see a dmesg from semi-working boot (i.e.
3.11.2) and X loading, with "nouveau.debug=debug drm.debug=0xe" options added
to the kernel cmdline.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 2316 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] 9+ messages in thread

* [Bug 74903] [NV34] TV Load not detected in X
       [not found] ` <bug-74903-8800-V0hAGp6uBxMKqLRl/0Ahz6D7qz1kEfGD2LY78lusg7I@public.gmane.org/>
  2014-02-12 20:16   ` [Bug 74903] " bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
  2014-02-12 20:26   ` [Bug 74903] [NV34] " bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
@ 2014-02-12 22:20   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
  2014-02-12 22:31   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
                     ` (4 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ @ 2014-02-12 22:20 UTC (permalink / raw)
  To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW


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

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

--- Comment #3 from Alexandre <alexandre.nunes-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> ---
(In reply to comment #2)
> What happens if you're in X (with the image off) and then try to switch back
> to the console? Does it come on, or is it off forever?

It's off forever. But I can't even reproduce this anymore, please keep reading.
> 
> I don't see any relevant changes between 3.11.2 and 3.11.6... would be very
> interesitng to know what causes the additional regression -- it should be a
> pretty fast bisect, if you're up for it.

In fact, it's worse: It seems intermitent. I can only get there about 1 in 3
attempts if I cold boot (w kernel 3.11.2, I suspect newer kernels could be the
same thing) (i.e. turn the power off and on again), but never if I just reboot
after getting the "blue screen" from tv.

But here is the strange thing: I tested on another tv and it's ok. Since this
problematic tv only hits this bug on KMS (intermitent)/xserver w/
nouveau(always happens as far as I've observed), but not on console or vesa fb,
I suspect it could be related to load detection. 

I tried booting with param video=TV1:e as (poorly) documented way to force tv
on. dmesg log and X log now plays nice as if the tv was indeed connected,
however, I can't see anything past kms trigger.

Is there a way to truly override load detection? As I said, the other tv is
just fine, the dmesg shows tv connected.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 2370 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] 9+ messages in thread

* [Bug 74903] [NV34] TV Load not detected in X
       [not found] ` <bug-74903-8800-V0hAGp6uBxMKqLRl/0Ahz6D7qz1kEfGD2LY78lusg7I@public.gmane.org/>
                     ` (2 preceding siblings ...)
  2014-02-12 22:20   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
@ 2014-02-12 22:31   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
  2014-02-13 16:25   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
                     ` (3 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ @ 2014-02-12 22:31 UTC (permalink / raw)
  To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW


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

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

--- Comment #4 from Ilia Mirkin <imirkin-FrUbXkNCsVf2fBVCVOL8/A@public.gmane.org> ---
(In reply to comment #3)
> I tried booting with param video=TV1:e as (poorly) documented way to force

I think you want TV-1:e.

> tv on. dmesg log and X log now plays nice as if the tv was indeed connected,
> however, I can't see anything past kms trigger.
> 
> Is there a way to truly override load detection? As I said, the other tv is
> just fine, the dmesg shows tv connected.

There's a nouveau.tv_disable which is listed as "Disable TV-out detection". I
kind of assume it just ignores the outputs entirely, but who knows. You may
want to peruse drivers/gpu/drm/nouveau/dispnv04/tvnv17.c:nv17_tv_detect

It has special exceptions for a couple of cards with quirks. There's a way to
return a "status unknown" -- try that?

But it's a little odd that it worked fine before -- what was the "before"
kernel?

FTR, S-video worked fine on my NV44 last I checked (~kernel 3.11 or so).

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1953 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] 9+ messages in thread

* [Bug 74903] [NV34] TV Load not detected in X
       [not found] ` <bug-74903-8800-V0hAGp6uBxMKqLRl/0Ahz6D7qz1kEfGD2LY78lusg7I@public.gmane.org/>
                     ` (3 preceding siblings ...)
  2014-02-12 22:31   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
@ 2014-02-13 16:25   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
  2014-02-13 16:27   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
                     ` (2 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ @ 2014-02-13 16:25 UTC (permalink / raw)
  To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW


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

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

--- Comment #5 from Alexandre <alexandre.nunes-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> ---
(In reply to comment #4)
> (In reply to comment #3)
> > I tried booting with param video=TV1:e as (poorly) documented way to force
> 
> I think you want TV-1:e.
> 

Sorry for the typo, I was using that. As I said, it makes drm/x sees the
display as existant, but with no video output. Perhaps there could be some
hooking between this higher layer and lower ones (eg. nv17_tv_detect) in order
to maintain coherence. I say that because even tought this option didn't help,
after your suggestion, I was able to hack into nv17_tv_detect making it return
connector_status_connected whenever it would return disconnected/unknown, and
it's working (for me™). 


> There's a nouveau.tv_disable which is listed as "Disable TV-out detection".
> I kind of assume it just ignores the outputs entirely, but who knows. You
> may want to peruse drivers/gpu/drm/nouveau/dispnv04/tvnv17.c:nv17_tv_detect
> 
> It has special exceptions for a couple of cards with quirks. There's a way
> to return a "status unknown" -- try that?
> 

Returning connector_status_unknown wasn't enough, but connected did the trick.

> But it's a little odd that it worked fine before -- what was the "before"
> kernel?


I'm not sure anymore, but it wasn't so ancient. 3.8.x perhaps. I'll leave the
(dirty, bad mannered) patch attached just in case someone else as lazy as me
happens to find this report. 

The patch doens't fix the issue, only works around it.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 2657 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] 9+ messages in thread

* [Bug 74903] [NV34] TV Load not detected in X
       [not found] ` <bug-74903-8800-V0hAGp6uBxMKqLRl/0Ahz6D7qz1kEfGD2LY78lusg7I@public.gmane.org/>
                     ` (4 preceding siblings ...)
  2014-02-13 16:25   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
@ 2014-02-13 16:27   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
  2014-02-16  6:21   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
  2017-06-30 14:01   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
  7 siblings, 0 replies; 9+ messages in thread
From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ @ 2014-02-13 16:27 UTC (permalink / raw)
  To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW


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

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

--- Comment #6 from Alexandre <alexandre.nunes-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> ---
Created attachment 94012
  --> https://bugs.freedesktop.org/attachment.cgi?id=94012&action=edit
dirty work-around that forces the tv output as enabled

this was against vanilla kernel 3.13.2

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1406 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] 9+ messages in thread

* [Bug 74903] [NV34] TV Load not detected in X
       [not found] ` <bug-74903-8800-V0hAGp6uBxMKqLRl/0Ahz6D7qz1kEfGD2LY78lusg7I@public.gmane.org/>
                     ` (5 preceding siblings ...)
  2014-02-13 16:27   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
@ 2014-02-16  6:21   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
  2017-06-30 14:01   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
  7 siblings, 0 replies; 9+ messages in thread
From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ @ 2014-02-16  6:21 UTC (permalink / raw)
  To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW


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

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

--- Comment #7 from Ilia Mirkin <imirkin-FrUbXkNCsVf2fBVCVOL8/A@public.gmane.org> ---
(In reply to comment #5)
> (In reply to comment #4)
> > But it's a little odd that it worked fine before -- what was the "before"
> > kernel?
> 
> I'm not sure anymore, but it wasn't so ancient. 3.8.x perhaps. I'll leave
> the (dirty, bad mannered) patch attached just in case someone else as lazy
> as me happens to find this report. 

Would you be willing to

(a) Verify whether 3.8.x was indeed good? There aren't a whole lot of changes
to the nv17 tv file since 3.8...
(b) Do a bisect between the good version and 3.13 (restricted to
drivers/gpu/drm/nouveau, so shouldn't be _too_ bad, but maybe like 10 steps).

Happy to provide help with the bisect if you're not sure how to do it.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1757 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] 9+ messages in thread

* [Bug 74903] [NV34] TV Load not detected in X
       [not found] ` <bug-74903-8800-V0hAGp6uBxMKqLRl/0Ahz6D7qz1kEfGD2LY78lusg7I@public.gmane.org/>
                     ` (6 preceding siblings ...)
  2014-02-16  6:21   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
@ 2017-06-30 14:01   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
  7 siblings, 0 replies; 9+ messages in thread
From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ @ 2017-06-30 14:01 UTC (permalink / raw)
  To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW


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

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

Alexandre <alexandre.nunes-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |WONTFIX

--- Comment #8 from Alexandre <alexandre.nunes-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> ---
I'm taking this bug report away since I don't even have access to that system
anymore.

-- 
You are receiving this mail because:
You are the assignee for the bug.

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

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

_______________________________________________
Nouveau mailing list
Nouveau@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/nouveau

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

end of thread, other threads:[~2017-06-30 14:01 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-02-12 20:15 [Bug 74903] New: TV Load not detected in X bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
     [not found] ` <bug-74903-8800-V0hAGp6uBxMKqLRl/0Ahz6D7qz1kEfGD2LY78lusg7I@public.gmane.org/>
2014-02-12 20:16   ` [Bug 74903] " bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2014-02-12 20:26   ` [Bug 74903] [NV34] " bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2014-02-12 22:20   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2014-02-12 22:31   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2014-02-13 16:25   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2014-02-13 16:27   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2014-02-16  6:21   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2017-06-30 14:01   ` 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.