All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bug 83226] New: Allow use of ColorRange and ColorSpace in xorg.conf.d files
@ 2014-08-29  7:27 bugzilla-daemon
  2015-02-21 22:54 ` [Bug 83226] " bugzilla-daemon
                   ` (35 more replies)
  0 siblings, 36 replies; 37+ messages in thread
From: bugzilla-daemon @ 2014-08-29  7:27 UTC (permalink / raw)
  To: dri-devel


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

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

          Priority: medium
            Bug ID: 83226
          Assignee: dri-devel@lists.freedesktop.org
           Summary: Allow use of ColorRange and ColorSpace in xorg.conf.d
                    files
          Severity: enhancement
    Classification: Unclassified
                OS: Linux (All)
          Reporter: john.ettedgui@gmail.com
          Hardware: All
            Status: NEW
           Version: unspecified
         Component: Drivers/Gallium/radeonsi
           Product: Mesa

Hello,

This a feature request, I hope it is the right place.

As my main computer is connected to an HD-TV that only supports limited range
of colors, I would like to be able to use limited range with radeon(si) but it
is not yet available unlike for Intel or Nvidia.
For now I'm able to set media players to limited range, but I would like to be
able to do it at the system level.

Being able to switch the color space would also be nice.

Thanks!

-- 
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: 159 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

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

* [Bug 83226] Allow use of ColorRange and ColorSpace in xorg.conf.d files
  2014-08-29  7:27 [Bug 83226] New: Allow use of ColorRange and ColorSpace in xorg.conf.d files bugzilla-daemon
@ 2015-02-21 22:54 ` bugzilla-daemon
  2015-02-22  7:10 ` bugzilla-daemon
                   ` (34 subsequent siblings)
  35 siblings, 0 replies; 37+ messages in thread
From: bugzilla-daemon @ 2015-02-21 22:54 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #1 from 1337rz@gmail.com ---
I have the same request- there's potential for lots of colour range issues when
juggling different systems, drivers, and displays, and this setting is
important to ensure correct colours.

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

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

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

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

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

* [Bug 83226] Allow use of ColorRange and ColorSpace in xorg.conf.d files
  2014-08-29  7:27 [Bug 83226] New: Allow use of ColorRange and ColorSpace in xorg.conf.d files bugzilla-daemon
  2015-02-21 22:54 ` [Bug 83226] " bugzilla-daemon
@ 2015-02-22  7:10 ` bugzilla-daemon
  2015-02-23 16:17 ` bugzilla-daemon
                   ` (33 subsequent siblings)
  35 siblings, 0 replies; 37+ messages in thread
From: bugzilla-daemon @ 2015-02-22  7:10 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #2 from John <john.ettedgui@gmail.com> ---
Is using the generic modesetting ddx a better plan for this?

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

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

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

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

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

* [Bug 83226] Allow use of ColorRange and ColorSpace in xorg.conf.d files
  2014-08-29  7:27 [Bug 83226] New: Allow use of ColorRange and ColorSpace in xorg.conf.d files bugzilla-daemon
  2015-02-21 22:54 ` [Bug 83226] " bugzilla-daemon
  2015-02-22  7:10 ` bugzilla-daemon
@ 2015-02-23 16:17 ` bugzilla-daemon
  2015-02-23 16:17 ` bugzilla-daemon
                   ` (32 subsequent siblings)
  35 siblings, 0 replies; 37+ messages in thread
From: bugzilla-daemon @ 2015-02-23 16:17 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #3 from Alex Deucher <alexdeucher@gmail.com> ---
Created attachment 113757
  --> https://bugs.freedesktop.org/attachment.cgi?id=113757&action=edit
patch 1/2

These two patches implement support for this on DCE5+ hardware via the
output_csc property.

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

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

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

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

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

* [Bug 83226] Allow use of ColorRange and ColorSpace in xorg.conf.d files
  2014-08-29  7:27 [Bug 83226] New: Allow use of ColorRange and ColorSpace in xorg.conf.d files bugzilla-daemon
                   ` (2 preceding siblings ...)
  2015-02-23 16:17 ` bugzilla-daemon
@ 2015-02-23 16:17 ` bugzilla-daemon
  2015-02-23 20:53 ` bugzilla-daemon
                   ` (31 subsequent siblings)
  35 siblings, 0 replies; 37+ messages in thread
From: bugzilla-daemon @ 2015-02-23 16:17 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #4 from Alex Deucher <alexdeucher@gmail.com> ---
Created attachment 113758
  --> https://bugs.freedesktop.org/attachment.cgi?id=113758&action=edit
patch 2/2

Please apply both patches.

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

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

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

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

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

* [Bug 83226] Allow use of ColorRange and ColorSpace in xorg.conf.d files
  2014-08-29  7:27 [Bug 83226] New: Allow use of ColorRange and ColorSpace in xorg.conf.d files bugzilla-daemon
                   ` (3 preceding siblings ...)
  2015-02-23 16:17 ` bugzilla-daemon
@ 2015-02-23 20:53 ` bugzilla-daemon
  2015-02-23 20:56 ` bugzilla-daemon
                   ` (30 subsequent siblings)
  35 siblings, 0 replies; 37+ messages in thread
From: bugzilla-daemon @ 2015-02-23 20:53 UTC (permalink / raw)
  To: dri-devel


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

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

Andy Furniss <adf.lists@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |adf.lists@gmail.com

--- Comment #5 from Andy Furniss <adf.lists@gmail.com> ---
I see these are in your tree now - a question: what does tvrgb do?

By which I mean does it just "tell" the TV via hdmi info that the signal is
limited or does it do more eg. scale so it really is limited between 16 & 235?

It's a bit hard to tell by testing as it could just be the way my TV behaves -
it looks scaled judging by how much I have to alter black level but IIRC the
HDMI/CEA specs say that all but 0 and 255 are still legal in limited range to
allow for sub/super that occurs "naturally" in video and sub in a pluge for
proper black level setup.

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

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

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

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

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

* [Bug 83226] Allow use of ColorRange and ColorSpace in xorg.conf.d files
  2014-08-29  7:27 [Bug 83226] New: Allow use of ColorRange and ColorSpace in xorg.conf.d files bugzilla-daemon
                   ` (4 preceding siblings ...)
  2015-02-23 20:53 ` bugzilla-daemon
@ 2015-02-23 20:56 ` bugzilla-daemon
  2015-02-23 21:45 ` bugzilla-daemon
                   ` (29 subsequent siblings)
  35 siblings, 0 replies; 37+ messages in thread
From: bugzilla-daemon @ 2015-02-23 20:56 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #6 from Alex Deucher <alexdeucher@gmail.com> ---
(In reply to Andy Furniss from comment #5)
> I see these are in your tree now - a question: what does tvrgb do?
> 
> By which I mean does it just "tell" the TV via hdmi info that the signal is
> limited or does it do more eg. scale so it really is limited between 16 &
> 235?

The latter.

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

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

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

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

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

* [Bug 83226] Allow use of ColorRange and ColorSpace in xorg.conf.d files
  2014-08-29  7:27 [Bug 83226] New: Allow use of ColorRange and ColorSpace in xorg.conf.d files bugzilla-daemon
                   ` (5 preceding siblings ...)
  2015-02-23 20:56 ` bugzilla-daemon
@ 2015-02-23 21:45 ` bugzilla-daemon
  2015-02-23 22:19 ` bugzilla-daemon
                   ` (28 subsequent siblings)
  35 siblings, 0 replies; 37+ messages in thread
From: bugzilla-daemon @ 2015-02-23 21:45 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #7 from Andy Furniss <adf.lists@gmail.com> ---
(In reply to Alex Deucher from comment #6)
> (In reply to Andy Furniss from comment #5)
> > I see these are in your tree now - a question: what does tvrgb do?
> > 
> > By which I mean does it just "tell" the TV via hdmi info that the signal is
> > limited or does it do more eg. scale so it really is limited between 16 &
> > 235?
> 
> The latter.

OK, thanks, so it doesn't signal just scales - which makes me wonder if TVs
would behave differently if it did - but then I don't know if the normal case
actually signals full range - and if it doesn't what TVs assume by default.

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

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

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

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

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

* [Bug 83226] Allow use of ColorRange and ColorSpace in xorg.conf.d files
  2014-08-29  7:27 [Bug 83226] New: Allow use of ColorRange and ColorSpace in xorg.conf.d files bugzilla-daemon
                   ` (6 preceding siblings ...)
  2015-02-23 21:45 ` bugzilla-daemon
@ 2015-02-23 22:19 ` bugzilla-daemon
  2015-02-24  0:12 ` bugzilla-daemon
                   ` (27 subsequent siblings)
  35 siblings, 0 replies; 37+ messages in thread
From: bugzilla-daemon @ 2015-02-23 22:19 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #8 from Alex Deucher <alexdeucher@gmail.com> ---
Created attachment 113778
  --> https://bugs.freedesktop.org/attachment.cgi?id=113778&action=edit
set quantization_range in AVI infoframe if the monitor supports selectable
range

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

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

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

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

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

* [Bug 83226] Allow use of ColorRange and ColorSpace in xorg.conf.d files
  2014-08-29  7:27 [Bug 83226] New: Allow use of ColorRange and ColorSpace in xorg.conf.d files bugzilla-daemon
                   ` (7 preceding siblings ...)
  2015-02-23 22:19 ` bugzilla-daemon
@ 2015-02-24  0:12 ` bugzilla-daemon
  2015-02-24  2:32 ` bugzilla-daemon
                   ` (26 subsequent siblings)
  35 siblings, 0 replies; 37+ messages in thread
From: bugzilla-daemon @ 2015-02-24  0:12 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #9 from Andy Furniss <adf.lists@gmail.com> ---
(In reply to Alex Deucher from comment #8)
> Created attachment 113778 [details] [review]
> set quantization_range in AVI infoframe if the monitor supports selectable
> range

Thanks, testing = doesn't make any difference for me, but looking I am not sure
if my TV supports/advertises it, edid-decode doesn't show it, I'll try more
tomorrow.

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

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

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

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

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

* [Bug 83226] Allow use of ColorRange and ColorSpace in xorg.conf.d files
  2014-08-29  7:27 [Bug 83226] New: Allow use of ColorRange and ColorSpace in xorg.conf.d files bugzilla-daemon
                   ` (8 preceding siblings ...)
  2015-02-24  0:12 ` bugzilla-daemon
@ 2015-02-24  2:32 ` bugzilla-daemon
  2015-02-24  7:26 ` bugzilla-daemon
                   ` (25 subsequent siblings)
  35 siblings, 0 replies; 37+ messages in thread
From: bugzilla-daemon @ 2015-02-24  2:32 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #10 from John <john.ettedgui@gmail.com> ---
I've applied the patches but I am not sure how to enable anything.
Since it's a drm patch, am I suppose to enable that the same way I do for audio
and dpm?
If so, I haven't tried, but I don't see anything in modinfo for csc.

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

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

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

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

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

* [Bug 83226] Allow use of ColorRange and ColorSpace in xorg.conf.d files
  2014-08-29  7:27 [Bug 83226] New: Allow use of ColorRange and ColorSpace in xorg.conf.d files bugzilla-daemon
                   ` (9 preceding siblings ...)
  2015-02-24  2:32 ` bugzilla-daemon
@ 2015-02-24  7:26 ` bugzilla-daemon
  2015-02-24 10:15 ` bugzilla-daemon
                   ` (24 subsequent siblings)
  35 siblings, 0 replies; 37+ messages in thread
From: bugzilla-daemon @ 2015-02-24  7:26 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #11 from Peter Frühberger <fritsch@xbmc.org> ---
@AndyFurniss: Use some test patterns, like:
https://dl.dropboxusercontent.com/u/55728161/fullrgb-video.mp4 or
https://dl.dropboxusercontent.com/u/55728161/graustufen-rgb-0-bis-10_172435.png
or https://dl.dropboxusercontent.com/u/55728161/fullrgb_test.jpg

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

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

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

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

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

* [Bug 83226] Allow use of ColorRange and ColorSpace in xorg.conf.d files
  2014-08-29  7:27 [Bug 83226] New: Allow use of ColorRange and ColorSpace in xorg.conf.d files bugzilla-daemon
                   ` (10 preceding siblings ...)
  2015-02-24  7:26 ` bugzilla-daemon
@ 2015-02-24 10:15 ` bugzilla-daemon
  2015-02-24 11:40 ` bugzilla-daemon
                   ` (23 subsequent siblings)
  35 siblings, 0 replies; 37+ messages in thread
From: bugzilla-daemon @ 2015-02-24 10:15 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #12 from Andy Furniss <adf.lists@gmail.com> ---
(In reply to John from comment #10)
> I've applied the patches but I am not sure how to enable anything.
> Since it's a drm patch, am I suppose to enable that the same way I do for
> audio and dpm?
> If so, I haven't tried, but I don't see anything in modinfo for csc.

xrandr --verbose will show you the options/output name and the current setting.

to change do something like -

xrandr --output HDMI-0 --set output_csc tvrgb

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

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

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

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

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

* [Bug 83226] Allow use of ColorRange and ColorSpace in xorg.conf.d files
  2014-08-29  7:27 [Bug 83226] New: Allow use of ColorRange and ColorSpace in xorg.conf.d files bugzilla-daemon
                   ` (11 preceding siblings ...)
  2015-02-24 10:15 ` bugzilla-daemon
@ 2015-02-24 11:40 ` bugzilla-daemon
  2015-02-24 12:23 ` bugzilla-daemon
                   ` (22 subsequent siblings)
  35 siblings, 0 replies; 37+ messages in thread
From: bugzilla-daemon @ 2015-02-24 11:40 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #13 from Andy Furniss <adf.lists@gmail.com> ---
(In reply to Andy Furniss from comment #9)
> (In reply to Alex Deucher from comment #8)
> > Created attachment 113778 [details] [review] [review]
> > set quantization_range in AVI infoframe if the monitor supports selectable
> > range
> 
> Thanks, testing = doesn't make any difference for me, but looking I am not
> sure if my TV supports/advertises it, edid-decode doesn't show it, I'll try
> more tomorrow.

I added a couple of DRM_ERROR... lines to see if I passed
if(drm_rgb_quant_range_selectable and I don't.

But even if I did I don't think that patch will work as I only get one message
at the start - I would have expected that flipping between tvrgb and bypass
(which works OK) would have generated more, but it doesn't.

Added complication - I am testing on your drm-next-4.1-wip (yesterdays so patch
applied by hand), which has issues for me as reported elsewhere (as expected
due to these I don't even get the debug line until I take a second strike at
xrandr)

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

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

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

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

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

* [Bug 83226] Allow use of ColorRange and ColorSpace in xorg.conf.d files
  2014-08-29  7:27 [Bug 83226] New: Allow use of ColorRange and ColorSpace in xorg.conf.d files bugzilla-daemon
                   ` (12 preceding siblings ...)
  2015-02-24 11:40 ` bugzilla-daemon
@ 2015-02-24 12:23 ` bugzilla-daemon
  2015-02-24 14:36 ` bugzilla-daemon
                   ` (21 subsequent siblings)
  35 siblings, 0 replies; 37+ messages in thread
From: bugzilla-daemon @ 2015-02-24 12:23 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #14 from Andy Furniss <adf.lists@gmail.com> ---
(In reply to Peter Frühberger from comment #11)
> @AndyFurniss: Use some test patterns, like:
> https://dl.dropboxusercontent.com/u/55728161/fullrgb-video.mp4 or
> https://dl.dropboxusercontent.com/u/55728161/graustufen-rgb-0-bis-10_172435.
> png or https://dl.dropboxusercontent.com/u/55728161/fullrgb_test.jpg

Thanks, it's always nice to have more tests - I was already using ones I got
via you(r forum) + the original W6RZ with player set to not stretch.

I have wondered in the past why anyone needs limited range from an HTPC POV. I
am sure there must be a reason, but as it seems that intel (from memory - was
really testing something else) and now AMD are scaling I can't think why, given
the specs don't really seem to require a scale.

It seems with a 2010 Panasonic plasma I am not going to be able to test fully
as it looks like it doesn't advertise the right things (If the function
actually got called I would have forced it to see). I guess the tv thinks it's
getting limited anyway (but still displays 0-255). Added complication being it
has many modes and lots of settings within each, so maybe in eg. game it
expects different from others.

I usually run it in thx and it looks good for real vid, but not so good for a
ramp - game is better for a ramp - I can tell that tvrgb scales using that.

>From previous testing I know that it subsamples every mode to 422 yuv.

I wonder if TVs that do accept the full/limited info frame tweak their faux
EOTF gamma curves or something.

Whatever, for me it seems using passthrough will be best - if I use limited I
would have to stretch the vid to 0-255 then it would get scaled back and I
would have to set TV by eye - I guess I could avoid yuv - rgb stretch and setup
round that but it still gets scaled.

Using passthrough I can stretch/not stretch as I wish and with the latter I
don't get any scale - I can set black level in TV so 16 is "right" and get to
see highlights in the vid rather than have them clipped/scaled.

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

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

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

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

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

* [Bug 83226] Allow use of ColorRange and ColorSpace in xorg.conf.d files
  2014-08-29  7:27 [Bug 83226] New: Allow use of ColorRange and ColorSpace in xorg.conf.d files bugzilla-daemon
                   ` (13 preceding siblings ...)
  2015-02-24 12:23 ` bugzilla-daemon
@ 2015-02-24 14:36 ` bugzilla-daemon
  2015-02-24 22:38 ` bugzilla-daemon
                   ` (20 subsequent siblings)
  35 siblings, 0 replies; 37+ messages in thread
From: bugzilla-daemon @ 2015-02-24 14:36 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #15 from Alex Deucher <alexdeucher@gmail.com> ---
(In reply to Andy Furniss from comment #13)
> 
> I added a couple of DRM_ERROR... lines to see if I passed
> if(drm_rgb_quant_range_selectable and I don't.
> 
> But even if I did I don't think that patch will work as I only get one
> message at the start - I would have expected that flipping between tvrgb and
> bypass (which works OK) would have generated more, but it doesn't.

Changing the AVI infoframe requires a full modeset, changing the output_csc
does not.  The AVI infoframe change only takes affect when you force a full
modeset (e.g., switch modes with xrandr).  It's trivial to change the code to
force a full modeset rather than just updating the output_csc state when you
update the property, but I left them decoupled now for testing.

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

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

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

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

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

* [Bug 83226] Allow use of ColorRange and ColorSpace in xorg.conf.d files
  2014-08-29  7:27 [Bug 83226] New: Allow use of ColorRange and ColorSpace in xorg.conf.d files bugzilla-daemon
                   ` (14 preceding siblings ...)
  2015-02-24 14:36 ` bugzilla-daemon
@ 2015-02-24 22:38 ` bugzilla-daemon
  2015-02-25 10:00 ` bugzilla-daemon
                   ` (19 subsequent siblings)
  35 siblings, 0 replies; 37+ messages in thread
From: bugzilla-daemon @ 2015-02-24 22:38 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #16 from John <john.ettedgui@gmail.com> ---
(In reply to Andy Furniss from comment #12)
> xrandr --verbose will show you the options/output name and the current
> setting.
> 
> to change do something like -
> 
> xrandr --output HDMI-0 --set output_csc tvrgb

Oh xrandr, I hadn't used that in years.
That worked thanks!


As for the patch themselves, I'll have to do more testing but so far I think it
works. Thanks Alex!

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

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

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

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

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

* [Bug 83226] Allow use of ColorRange and ColorSpace in xorg.conf.d files
  2014-08-29  7:27 [Bug 83226] New: Allow use of ColorRange and ColorSpace in xorg.conf.d files bugzilla-daemon
                   ` (15 preceding siblings ...)
  2015-02-24 22:38 ` bugzilla-daemon
@ 2015-02-25 10:00 ` bugzilla-daemon
  2015-02-25 15:04 ` bugzilla-daemon
                   ` (18 subsequent siblings)
  35 siblings, 0 replies; 37+ messages in thread
From: bugzilla-daemon @ 2015-02-25 10:00 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #17 from John <john.ettedgui@gmail.com> ---
I'm not sure if it is because of these patches, or 4.0-rc1 (I moved the 2 of
them together), but now when my screen goes off (energy saving stuff), I lose
the hdmi audio, but when I move the mouse the screen is back but not the audio.
Switching it back on with xrandr works though.

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

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

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

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

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

* [Bug 83226] Allow use of ColorRange and ColorSpace in xorg.conf.d files
  2014-08-29  7:27 [Bug 83226] New: Allow use of ColorRange and ColorSpace in xorg.conf.d files bugzilla-daemon
                   ` (16 preceding siblings ...)
  2015-02-25 10:00 ` bugzilla-daemon
@ 2015-02-25 15:04 ` bugzilla-daemon
  2015-02-26 15:03 ` bugzilla-daemon
                   ` (17 subsequent siblings)
  35 siblings, 0 replies; 37+ messages in thread
From: bugzilla-daemon @ 2015-02-25 15:04 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #18 from Alex Deucher <alexdeucher@gmail.com> ---
(In reply to John from comment #17)
> I'm not sure if it is because of these patches, or 4.0-rc1 (I moved the 2 of
> them together), but now when my screen goes off (energy saving stuff), I
> lose the hdmi audio, but when I move the mouse the screen is back but not
> the audio.
> Switching it back on with xrandr works though.

Not likely related.  Please file a separate bug for that.

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

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

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

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

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

* [Bug 83226] Allow use of ColorRange and ColorSpace in xorg.conf.d files
  2014-08-29  7:27 [Bug 83226] New: Allow use of ColorRange and ColorSpace in xorg.conf.d files bugzilla-daemon
                   ` (17 preceding siblings ...)
  2015-02-25 15:04 ` bugzilla-daemon
@ 2015-02-26 15:03 ` bugzilla-daemon
  2015-02-26 15:25 ` bugzilla-daemon
                   ` (16 subsequent siblings)
  35 siblings, 0 replies; 37+ messages in thread
From: bugzilla-daemon @ 2015-02-26 15:03 UTC (permalink / raw)
  To: dri-devel


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

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

Alex Deucher <alexdeucher@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |friedrich.timo@gmail.com

--- Comment #19 from Alex Deucher <alexdeucher@gmail.com> ---
*** Bug 87591 has been marked as a duplicate of this bug. ***

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

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

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

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

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

* [Bug 83226] Allow use of ColorRange and ColorSpace in xorg.conf.d files
  2014-08-29  7:27 [Bug 83226] New: Allow use of ColorRange and ColorSpace in xorg.conf.d files bugzilla-daemon
                   ` (18 preceding siblings ...)
  2015-02-26 15:03 ` bugzilla-daemon
@ 2015-02-26 15:25 ` bugzilla-daemon
  2015-02-26 15:31 ` bugzilla-daemon
                   ` (15 subsequent siblings)
  35 siblings, 0 replies; 37+ messages in thread
From: bugzilla-daemon @ 2015-02-26 15:25 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #20 from Pitscho <friedrich.timo@gmail.com> ---
I've read a lot about tvrgb here, what is about YCbCr. My Tv for example
produces a better picture with this space compared to limited RGB.

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

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

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

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

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

* [Bug 83226] Allow use of ColorRange and ColorSpace in xorg.conf.d files
  2014-08-29  7:27 [Bug 83226] New: Allow use of ColorRange and ColorSpace in xorg.conf.d files bugzilla-daemon
                   ` (19 preceding siblings ...)
  2015-02-26 15:25 ` bugzilla-daemon
@ 2015-02-26 15:31 ` bugzilla-daemon
  2015-03-27 13:08 ` bugzilla-daemon
                   ` (14 subsequent siblings)
  35 siblings, 0 replies; 37+ messages in thread
From: bugzilla-daemon @ 2015-02-26 15:31 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #21 from Alex Deucher <alexdeucher@gmail.com> ---
(In reply to Pitscho from comment #20)
> I've read a lot about tvrgb here, what is about YCbCr. My Tv for example
> produces a better picture with this space compared to limited RGB.

YUV output is not supported yet.

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

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

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

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

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

* [Bug 83226] Allow use of ColorRange and ColorSpace in xorg.conf.d files
  2014-08-29  7:27 [Bug 83226] New: Allow use of ColorRange and ColorSpace in xorg.conf.d files bugzilla-daemon
                   ` (20 preceding siblings ...)
  2015-02-26 15:31 ` bugzilla-daemon
@ 2015-03-27 13:08 ` bugzilla-daemon
  2015-03-27 13:29 ` bugzilla-daemon
                   ` (13 subsequent siblings)
  35 siblings, 0 replies; 37+ messages in thread
From: bugzilla-daemon @ 2015-03-27 13:08 UTC (permalink / raw)
  To: dri-devel


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

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

freddyescobar@hotmail.fr changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |freddyescobar@hotmail.fr

--- Comment #22 from freddyescobar@hotmail.fr ---
Hi,

I applied the two patches to mainline kernel 3.19.3, with the 3 patches for
Ubuntu (i run linux mint 17.1).
But i can't see the property "output_csc" in xrandr.

What's wrong ?

Thanks, and sorry for my english.

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

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

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

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

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

* [Bug 83226] Allow use of ColorRange and ColorSpace in xorg.conf.d files
  2014-08-29  7:27 [Bug 83226] New: Allow use of ColorRange and ColorSpace in xorg.conf.d files bugzilla-daemon
                   ` (21 preceding siblings ...)
  2015-03-27 13:08 ` bugzilla-daemon
@ 2015-03-27 13:29 ` bugzilla-daemon
  2015-05-02  3:04 ` bugzilla-daemon
                   ` (12 subsequent siblings)
  35 siblings, 0 replies; 37+ messages in thread
From: bugzilla-daemon @ 2015-03-27 13:29 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #23 from freddyescobar@hotmail.fr ---
I think it's because i have a HD5770 with DCE4 display core.

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

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

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

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

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

* [Bug 83226] Allow use of ColorRange and ColorSpace in xorg.conf.d files
  2014-08-29  7:27 [Bug 83226] New: Allow use of ColorRange and ColorSpace in xorg.conf.d files bugzilla-daemon
                   ` (22 preceding siblings ...)
  2015-03-27 13:29 ` bugzilla-daemon
@ 2015-05-02  3:04 ` bugzilla-daemon
  2015-08-19  7:07 ` bugzilla-daemon
                   ` (11 subsequent siblings)
  35 siblings, 0 replies; 37+ messages in thread
From: bugzilla-daemon @ 2015-05-02  3:04 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #24 from rteklits <robert.teklits@gmail.com> ---
I compiled this into kernel 4.0.1 on arch linux.  I have an APU with an R7
graphics chip.  All went well and after rebooting I was able to switch
output_csc to tvrgb.  I tested it with a few different pictures and the black
levels seem to be true.  I only eyeballed it though.  It looks dramatically
better on my tv.  I've been using catalyst proprietary drivers for their
support of limited RGB, but the catalyst GL isn't always friendly to gaming
through Steam.  This solves the problem, so many many thanks!

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

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

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

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

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

* [Bug 83226] Allow use of ColorRange and ColorSpace in xorg.conf.d files
  2014-08-29  7:27 [Bug 83226] New: Allow use of ColorRange and ColorSpace in xorg.conf.d files bugzilla-daemon
                   ` (23 preceding siblings ...)
  2015-05-02  3:04 ` bugzilla-daemon
@ 2015-08-19  7:07 ` bugzilla-daemon
  2015-08-19 13:32 ` bugzilla-daemon
                   ` (10 subsequent siblings)
  35 siblings, 0 replies; 37+ messages in thread
From: bugzilla-daemon @ 2015-08-19  7:07 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #25 from Pitscho <friedrich.timo@gmail.com> ---
Hi Alex Deucher,

I have just read that you alone added over 400k lines of code to kernel 4.1
regarding amd stuff. That reminded me of the limitedRGB stuff.

When will the limitedRGB patch be part of the radeon driver? As far as I
understand, right now, only the patch exist, which I would have to compile
myself.

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

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

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

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

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

* [Bug 83226] Allow use of ColorRange and ColorSpace in xorg.conf.d files
  2014-08-29  7:27 [Bug 83226] New: Allow use of ColorRange and ColorSpace in xorg.conf.d files bugzilla-daemon
                   ` (24 preceding siblings ...)
  2015-08-19  7:07 ` bugzilla-daemon
@ 2015-08-19 13:32 ` bugzilla-daemon
  2015-08-19 13:41 ` bugzilla-daemon
                   ` (9 subsequent siblings)
  35 siblings, 0 replies; 37+ messages in thread
From: bugzilla-daemon @ 2015-08-19 13:32 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #26 from Alex Deucher <alexdeucher@gmail.com> ---
(In reply to Pitscho from comment #25)
> Hi Alex Deucher,
> 
> I have just read that you alone added over 400k lines of code to kernel 4.1
> regarding amd stuff. That reminded me of the limitedRGB stuff.
> 
> When will the limitedRGB patch be part of the radeon driver? As far as I
> understand, right now, only the patch exist, which I would have to compile
> myself.

The patches have been upstream for a while now:
http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=67ba31d3528e2460b2243b2d139b70fa479602e8

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

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

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

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

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

* [Bug 83226] Allow use of ColorRange and ColorSpace in xorg.conf.d files
  2014-08-29  7:27 [Bug 83226] New: Allow use of ColorRange and ColorSpace in xorg.conf.d files bugzilla-daemon
                   ` (25 preceding siblings ...)
  2015-08-19 13:32 ` bugzilla-daemon
@ 2015-08-19 13:41 ` bugzilla-daemon
  2015-08-19 15:56 ` bugzilla-daemon
                   ` (8 subsequent siblings)
  35 siblings, 0 replies; 37+ messages in thread
From: bugzilla-daemon @ 2015-08-19 13:41 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #27 from Alex Deucher <alexdeucher@gmail.com> ---
(In reply to Pitscho from comment #20)
> I've read a lot about tvrgb here, what is about YCbCr. My Tv for example
> produces a better picture with this space compared to limited RGB.

If you set your TV to use YUV and set output_csc to ycbcr601 or ycbcr709, it
may work.  Depending on your display, you may also have to adjust the hdmi
packets the driver sends.

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

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

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

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

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

* [Bug 83226] Allow use of ColorRange and ColorSpace in xorg.conf.d files
  2014-08-29  7:27 [Bug 83226] New: Allow use of ColorRange and ColorSpace in xorg.conf.d files bugzilla-daemon
                   ` (26 preceding siblings ...)
  2015-08-19 13:41 ` bugzilla-daemon
@ 2015-08-19 15:56 ` bugzilla-daemon
  2015-08-19 15:56 ` bugzilla-daemon
                   ` (7 subsequent siblings)
  35 siblings, 0 replies; 37+ messages in thread
From: bugzilla-daemon @ 2015-08-19 15:56 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #28 from Alex Deucher <alexdeucher@gmail.com> ---
Created attachment 117787
  --> https://bugs.freedesktop.org/attachment.cgi?id=117787&action=edit
patch 1/2

Do these patches make YUV work for you?  Select output_csc ycbcr601 or ycbcr709

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

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

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

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

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

* [Bug 83226] Allow use of ColorRange and ColorSpace in xorg.conf.d files
  2014-08-29  7:27 [Bug 83226] New: Allow use of ColorRange and ColorSpace in xorg.conf.d files bugzilla-daemon
                   ` (27 preceding siblings ...)
  2015-08-19 15:56 ` bugzilla-daemon
@ 2015-08-19 15:56 ` bugzilla-daemon
  2015-08-19 15:56 ` bugzilla-daemon
                   ` (6 subsequent siblings)
  35 siblings, 0 replies; 37+ messages in thread
From: bugzilla-daemon @ 2015-08-19 15:56 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #29 from Alex Deucher <alexdeucher@gmail.com> ---
Created attachment 117788
  --> https://bugs.freedesktop.org/attachment.cgi?id=117788&action=edit
patch 2/2

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

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

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

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

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

* [Bug 83226] Allow use of ColorRange and ColorSpace in xorg.conf.d files
  2014-08-29  7:27 [Bug 83226] New: Allow use of ColorRange and ColorSpace in xorg.conf.d files bugzilla-daemon
                   ` (28 preceding siblings ...)
  2015-08-19 15:56 ` bugzilla-daemon
@ 2015-08-19 15:56 ` bugzilla-daemon
  2015-08-19 20:43 ` bugzilla-daemon
                   ` (5 subsequent siblings)
  35 siblings, 0 replies; 37+ messages in thread
From: bugzilla-daemon @ 2015-08-19 15:56 UTC (permalink / raw)
  To: dri-devel


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

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

Alex Deucher <alexdeucher@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #117788|0                           |1
           is patch|                            |

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

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

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

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

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

* [Bug 83226] Allow use of ColorRange and ColorSpace in xorg.conf.d files
  2014-08-29  7:27 [Bug 83226] New: Allow use of ColorRange and ColorSpace in xorg.conf.d files bugzilla-daemon
                   ` (29 preceding siblings ...)
  2015-08-19 15:56 ` bugzilla-daemon
@ 2015-08-19 20:43 ` bugzilla-daemon
  2015-08-27 11:22 ` bugzilla-daemon
                   ` (4 subsequent siblings)
  35 siblings, 0 replies; 37+ messages in thread
From: bugzilla-daemon @ 2015-08-19 20:43 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #30 from Pitscho <friedrich.timo@gmail.com> ---
Sorry, I have no time atm to teach myself on how to compile the kernel and add
patches and so on (I like to do as soon as I have time). So I've just installed
Kernel 4.1.6 as *.deb on my Xubuntu machine.

A very big thank you for your efforts. Tvrgb works for me when I enable it via
xrandr. My grey levels are way better now and my Chroomecast image isn't
greyish anylonger, because I can use limitedRGB on every device.
The ycbcr  modes give me shifted colors (greyish pink).


PS: First I acceidentally enabled tvrgb for the wrong output (HDMI-1 (nothing
connected) instead of HDMI-0) This froze my lightdm session and I had to
reboot. sudo restart lightdm did not work.

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

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

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

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

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

* [Bug 83226] Allow use of ColorRange and ColorSpace in xorg.conf.d files
  2014-08-29  7:27 [Bug 83226] New: Allow use of ColorRange and ColorSpace in xorg.conf.d files bugzilla-daemon
                   ` (30 preceding siblings ...)
  2015-08-19 20:43 ` bugzilla-daemon
@ 2015-08-27 11:22 ` bugzilla-daemon
  2015-08-27 13:55 ` bugzilla-daemon
                   ` (3 subsequent siblings)
  35 siblings, 0 replies; 37+ messages in thread
From: bugzilla-daemon @ 2015-08-27 11:22 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #31 from sweeneygj@gmx.com ---
I have a DCE3 (RS880) and a monitor which supports RGB quantisation.

before executing the EDID test the values are 

radeon_encoder->output_csc = RADEON_OUTPUT_CSC_BYPASS
frame.quantization_range = HDMI_QUANTIZATION_RANGE_DEFAULT

then it executes the EDID test    

if (drm_rgb_quant_range_selectable(radeon_connector_edid(connector))) {
   if (radeon_encoder->output_csc == RADEON_OUTPUT_CSC_TVRGB)
      frame.quantization_range = HDMI_QUANTIZATION_RANGE_LIMITED;
   else
      frame.quantization_range = HDMI_QUANTIZATION_RANGE_FULL;                  
} else {
   frame.quantization_range = HDMI_QUANTIZATION_RANGE_DEFAULT;
}

and the monitor loses sync and displays a blank screen.

Should the code test both the EDID and output_csc != BYPASS before attempting
the range change?

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

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

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

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

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

* [Bug 83226] Allow use of ColorRange and ColorSpace in xorg.conf.d files
  2014-08-29  7:27 [Bug 83226] New: Allow use of ColorRange and ColorSpace in xorg.conf.d files bugzilla-daemon
                   ` (31 preceding siblings ...)
  2015-08-27 11:22 ` bugzilla-daemon
@ 2015-08-27 13:55 ` bugzilla-daemon
  2015-09-03 13:32 ` bugzilla-daemon
                   ` (2 subsequent siblings)
  35 siblings, 0 replies; 37+ messages in thread
From: bugzilla-daemon @ 2015-08-27 13:55 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #32 from Alex Deucher <alexdeucher@gmail.com> ---
Created attachment 117948
  --> https://bugs.freedesktop.org/attachment.cgi?id=117948&action=edit
possible fix

(In reply to sweeneygj from comment #31)
> Should the code test both the EDID and output_csc != BYPASS before
> attempting the range change?

Yes.  Good catch.  Patch attached.

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

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

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

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

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

* [Bug 83226] Allow use of ColorRange and ColorSpace in xorg.conf.d files
  2014-08-29  7:27 [Bug 83226] New: Allow use of ColorRange and ColorSpace in xorg.conf.d files bugzilla-daemon
                   ` (32 preceding siblings ...)
  2015-08-27 13:55 ` bugzilla-daemon
@ 2015-09-03 13:32 ` bugzilla-daemon
  2016-06-05 14:04 ` bugzilla-daemon
  2019-09-25 17:51 ` bugzilla-daemon
  35 siblings, 0 replies; 37+ messages in thread
From: bugzilla-daemon @ 2015-09-03 13:32 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #33 from freddyescobar@hotmail.fr ---
I have a DCE4 (HD5770) and i don't know if my monitor supports RGB
quantization. I guess it can't (old Philips from 2007).

What could you suggest to me ? (Of course, output is Full RGB, and my tv is
limited RGB).

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

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

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

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

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

* [Bug 83226] Allow use of ColorRange and ColorSpace in xorg.conf.d files
  2014-08-29  7:27 [Bug 83226] New: Allow use of ColorRange and ColorSpace in xorg.conf.d files bugzilla-daemon
                   ` (33 preceding siblings ...)
  2015-09-03 13:32 ` bugzilla-daemon
@ 2016-06-05 14:04 ` bugzilla-daemon
  2019-09-25 17:51 ` bugzilla-daemon
  35 siblings, 0 replies; 37+ messages in thread
From: bugzilla-daemon @ 2016-06-05 14:04 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #34 from nw9165-3201@yahoo.com ---
(In reply to Andy Furniss from comment #12)
> (In reply to John from comment #10)
> > I've applied the patches but I am not sure how to enable anything.
> > Since it's a drm patch, am I suppose to enable that the same way I do for
> > audio and dpm?
> > If so, I haven't tried, but I don't see anything in modinfo for csc.
> 
> xrandr --verbose will show you the options/output name and the current
> setting.
> 
> to change do something like -
> 
> xrandr --output HDMI-0 --set output_csc tvrgb

Could anyone please explain why this setting needs to be done via xrandr?

Why not via the xorg.conf.d files?

To enable the TearFree option for example you can add:

   Option "TearFree" "True"

inside a xorg.conf.d file for example.

So why can't the color range be set via a xorg.conf.d file like this for
example:

   Option "Broadcast RGB" "Limited"

?

Why xrandr and not xorg.conf.d? Or why not both?

Also, why is the AMD driver's option being called:

xrandr --output $OUTPUT --set output_csc tvrgb

?

For the Intel driver it's called:

xrandr --output $OUTPUT --set "Broadcast RGB" "Limited"

Why does the setting have to have a different name between the AMD and Intel
driver?

Why can't the names just be kept the same?

Regards

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

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

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

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

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

* [Bug 83226] Allow use of ColorRange and ColorSpace in xorg.conf.d files
  2014-08-29  7:27 [Bug 83226] New: Allow use of ColorRange and ColorSpace in xorg.conf.d files bugzilla-daemon
                   ` (34 preceding siblings ...)
  2016-06-05 14:04 ` bugzilla-daemon
@ 2019-09-25 17:51 ` bugzilla-daemon
  35 siblings, 0 replies; 37+ messages in thread
From: bugzilla-daemon @ 2019-09-25 17:51 UTC (permalink / raw)
  To: dri-devel


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

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

GitLab Migration User <gitlab-migration@fdo.invalid> changed:

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

--- Comment #35 from GitLab Migration User <gitlab-migration@fdo.invalid> ---
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been
closed from further activity.

You can subscribe and participate further through the new bug through this link
to our GitLab instance: https://gitlab.freedesktop.org/mesa/mesa/issues/1211.

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

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

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

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

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

end of thread, other threads:[~2019-09-25 17:51 UTC | newest]

Thread overview: 37+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-08-29  7:27 [Bug 83226] New: Allow use of ColorRange and ColorSpace in xorg.conf.d files bugzilla-daemon
2015-02-21 22:54 ` [Bug 83226] " bugzilla-daemon
2015-02-22  7:10 ` bugzilla-daemon
2015-02-23 16:17 ` bugzilla-daemon
2015-02-23 16:17 ` bugzilla-daemon
2015-02-23 20:53 ` bugzilla-daemon
2015-02-23 20:56 ` bugzilla-daemon
2015-02-23 21:45 ` bugzilla-daemon
2015-02-23 22:19 ` bugzilla-daemon
2015-02-24  0:12 ` bugzilla-daemon
2015-02-24  2:32 ` bugzilla-daemon
2015-02-24  7:26 ` bugzilla-daemon
2015-02-24 10:15 ` bugzilla-daemon
2015-02-24 11:40 ` bugzilla-daemon
2015-02-24 12:23 ` bugzilla-daemon
2015-02-24 14:36 ` bugzilla-daemon
2015-02-24 22:38 ` bugzilla-daemon
2015-02-25 10:00 ` bugzilla-daemon
2015-02-25 15:04 ` bugzilla-daemon
2015-02-26 15:03 ` bugzilla-daemon
2015-02-26 15:25 ` bugzilla-daemon
2015-02-26 15:31 ` bugzilla-daemon
2015-03-27 13:08 ` bugzilla-daemon
2015-03-27 13:29 ` bugzilla-daemon
2015-05-02  3:04 ` bugzilla-daemon
2015-08-19  7:07 ` bugzilla-daemon
2015-08-19 13:32 ` bugzilla-daemon
2015-08-19 13:41 ` bugzilla-daemon
2015-08-19 15:56 ` bugzilla-daemon
2015-08-19 15:56 ` bugzilla-daemon
2015-08-19 15:56 ` bugzilla-daemon
2015-08-19 20:43 ` bugzilla-daemon
2015-08-27 11:22 ` bugzilla-daemon
2015-08-27 13:55 ` bugzilla-daemon
2015-09-03 13:32 ` bugzilla-daemon
2016-06-05 14:04 ` bugzilla-daemon
2019-09-25 17:51 ` bugzilla-daemon

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.