Bug 749504 - colord (GNOME-color-manager) don't see TV
Summary: colord (GNOME-color-manager) don't see TV
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Fedora
Classification: Fedora
Component: colord
Version: 16
Hardware: x86_64
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Richard Hughes
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: Desktop
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-10-27 09:55 UTC by Martin Sjöstrand
Modified: 2011-11-15 12:14 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2011-11-15 12:14:09 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
Log from the gnome-settings-daemon (30.27 KB, application/octet-stream)
2011-11-01 20:12 UTC, Martin Sjöstrand
no flags Details

Description Martin Sjöstrand 2011-10-27 09:55:02 UTC
Description of problem:
In F15 my TV (connected with a composite cable) showed up in GNOME-color-manager, and I was able to add a profile to it. In F16, the TV does not show. And I have tried colord from the commandline, but it does not show there either. And i'm not able to add it either.

Version-Release number of selected component (if applicable):
colord-0.1.12-1.fc16.x86_64

How reproducible:

Always
Steps to Reproduce:
1.Open up GNOME-color-manager
2.
3.
  
Actual results:
No TV

Expected results:
TV

Additional info:
Using the Nouveau-driver, on a GE6200-card

Comment 1 Richard Hughes 2011-10-28 09:23:30 UTC
What does 'xrandr' output? How is the TV connected?

Comment 2 Martin Sjöstrand 2011-10-28 10:57:15 UTC
This is the output from xrandr:

Screen 0: minimum 320 x 200, current 1920 x 1080, maximum 4096 x 4096
VGA-1 disconnected (normal left inverted right x axis y axis)
DVI-I-1 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 477mm x 268mm
   1920x1080      60.0*+
   1680x1050      60.0  
   1600x900       60.0  
   1280x1024      75.0     60.0  
   1280x960       60.0  
   1152x864       75.0  
   1280x720       60.0  
   1152x720       60.0  
   1024x768       75.1     60.0  
   832x624        74.6  
   800x600        75.0     60.3  
   640x480        75.0     60.0  
   720x400        70.1  
TV-1 connected (normal left inverted right x axis y axis)
   720x576        50.0 +
   1024x768       50.0  
   800x600        50.0  
   720x480        50.0  
   640x480        50.0  
   400x300       100.0  
   320x240       100.0  
   320x200       100.0  


The TV is connected with a composite-cable (the one with the yellow male, really don't know the word in english) to the TV-out contact.

Comment 3 Richard Hughes 2011-10-31 11:05:45 UTC
(In reply to comment #2)
> This is the output from xrandr:
> TV-1 connected (normal left inverted right x axis y axis)
>    720x576        50.0 +

Hmm, so connected.

> The TV is connected with a composite-cable (the one with the yellow male,
> really don't know the word in english) to the TV-out contact.

It's called "composite" I think. Anyway, can you please do:

killall gnome-settings-daemon
(wait 1 second)
killall gnome-settings-daemon
(press alt-f4 when the fail-whale appears)
/usr/libexec/gnome-settings-daemon --debug

...and then attach the complete log please. Thanks.

Comment 4 Martin Sjöstrand 2011-10-31 20:10:16 UTC
Where do I find the log after running /usr/libexec/gnome-settings-daemon --debug or is it possible to do something like "/usr/libexec/gnome-settings-daemon --debug > log"?

Comment 5 Martin Sjöstrand 2011-11-01 20:12:43 UTC
Created attachment 531190 [details]
Log from the gnome-settings-daemon

Comment 6 Richard Hughes 2011-11-02 12:09:07 UTC
Hmm, this shows:

> (gnome-settings-daemon:2302): color-plugin-DEBUG: output xrandr-G2420HDBL-41B10283SL00 added
> (gnome-settings-daemon:2302): GLib-CRITICAL **: g_variant_new_string: assertion `string != NULL' failed
> (gnome-settings-daemon:2302): color-plugin-WARNING **: failed to get edid: unable to get EDID for output

So something about the TV isn't filled in which causes the colord client call to assert. Can you attach the output of "colormgr get-devices" when the TV is plugged in and switched on please. Thanks.

Comment 7 Martin Sjöstrand 2011-11-02 13:03:53 UTC
The output:

Object Path: /org/freedesktop/ColorManager/devices/cups_Deskjet_F4100_series
Owner:	root
Created:	1320238906451839
Modified:	1320238906451839
Typ:	printer
Model:	HP Deskjet f4100 Series
Leverantör:	Hewlett Packard
Serial:	usb://HP/Deskjet%20F4100%20series?serial=CN87N7W1BD04TJ
Format:	ColorSpace.MediaType.
Scope:	temp
Colorspace:	rgb
Device ID:	cups-Deskjet-F4100-series
Profile 1:	/org/freedesktop/ColorManager/profiles/Deskjet_F4100_series_RGB__
Profile 2:	/org/freedesktop/ColorManager/profiles/Deskjet_F4100_series_Gray__
Metadata:	CMS=colord
Object Path: /org/freedesktop/ColorManager/devices/cups_HL2030
Owner:	root
Created:	1320238906469129
Modified:	1320238906469129
Typ:	printer
Model:	HL2030
Leverantör:	Brother
Serial:	usb://Brother/HL-2030%20series
Format:	ColorSpace..Resolution
Scope:	temp
Colorspace:	gray
Device ID:	cups-HL2030
Profile 1:	/org/freedesktop/ColorManager/profiles/HL2030_Gray__
Metadata:	CMS=colord
Object Path: /org/freedesktop/ColorManager/devices/xrandr_G2420HDBL_41B10283SL00
Owner:	martin
Created:	1320238921610442
Modified:	1320238921610442
Typ:	display
Model:	G2420HDBL
Leverantör:	[Invalid UTF-8]
Serial:	41B10283SL00
Scope:	temp
Colorspace:	rgb
Device ID:	xrandr-G2420HDBL-41B10283SL00
Profile 1:	/org/freedesktop/ColorManager/profiles/icc_292f6e854f7f99925347ee803ac0bd08_martin
Profile 2:	/org/freedesktop/ColorManager/profiles/icc_0c029786fa51a3178c6cdc79d8d26717_martin
Metadata:	XRANDR_name=DVI-I-1

The TV does not show up it seems...

Comment 8 Richard Hughes 2011-11-02 16:53:06 UTC
I think I've worked out what's going on:

commit b1b01a4987850eb0ffe8ae153906dbad9ba1c282
Author: Richard Hughes <richard>
Date:   Wed Nov 2 16:49:07 2011 +0000

    color: Set model and vendor to 'unknown' if not specified or unavailable
    
    If the user has connected a device without the ability to get the EDID (e.g.
    composite TV connection) then don't show a critical warning and fail to add
    the device.
    
    Resolves https://bugzilla.redhat.com/show_bug.cgi?id=749504

Is there any way you can test gnome-settings-daemon in jhbuild? I think it's pretty safe to include in gnome-3-2 but I'd appreciate some testing first.

Comment 9 Martin Sjöstrand 2011-11-04 10:07:24 UTC
I have installed jhbuild, but didn't get it to work. And I feel I don't have the time at the moment to put myself into it. Sorry

Comment 10 Richard Hughes 2011-11-15 12:14:09 UTC
I've now pushed this into stable gnome-3-2. I'll be fixed on the next upstream gnome-settings-daemon release. Thanks.


Note You need to log in before you can comment on or make changes to this bug.