Github messages for voidlinux
 help / Atom feed
* [ISSUE] mpv: green tilt in the video
@ 2019-10-10 13:05 voidlinux-github
  2019-10-11  2:10 ` voidlinux-github
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: voidlinux-github @ 2019-10-10 13:05 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 228 bytes --]

New issue by shumvgolove on void-packages repository

https://github.com/void-linux/void-packages/issues/15294

Description:
`linux5.2, musl, system up to date`

Playing any video with `mpv` produces green tilt in the video. 

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

* Re: mpv: green tilt in the video
  2019-10-10 13:05 [ISSUE] mpv: green tilt in the video voidlinux-github
@ 2019-10-11  2:10 ` voidlinux-github
  2019-10-11 12:54 ` voidlinux-github
                   ` (7 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: voidlinux-github @ 2019-10-11  2:10 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1643 bytes --]

New comment by obunden on void-packages repository

https://github.com/void-linux/void-packages/issues/15294#issuecomment-540869342

Comment:
I'm just taking a guess here, but this should probably reported upstream somewhere.

Seems like there has been very little changes in mpv and the biggest change in void seems to be that that the package got rebuilt against ffmpeg-4.2.

If your card supports vulkan you could try gpu_context=waylandvk and see if you get the same problem. Don't know if it's relevant but you should probably post your video card / drivers, it might be useful.

Also check and see which video output is used in mpv, I imagine it is 'gpu' but have a look. This message from the mpv manual might also shed some light on the issue:

```
Quality reduction with hardware decoding

In theory, hardware decoding does not reduce video
quality (at least for the codecs h264 and HEVC).
However, due to restrictions in video output APIs, as
well as bugs in the actual hardware decoders, there
can be some loss, or even blatantly incorrect results.

In some cases, RGB conversion is forced, which means
the RGB conversion is performed by the hardware
decoding API, instead of the shaders used by --vo=gpu.
This means certain colorspaces may not display
correctly, and certain filtering (such as debanding)
cannot be applied in an ideal way. This will also
usually force the use of low quality chroma scalers
instead of the one specified by --cscale. In other
cases, hardware decoding can also reduce the bit depth
of the decoded image, which can introduce banding or
precision loss for 10-bit files.
```

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

* Re: mpv: green tilt in the video
  2019-10-10 13:05 [ISSUE] mpv: green tilt in the video voidlinux-github
  2019-10-11  2:10 ` voidlinux-github
@ 2019-10-11 12:54 ` voidlinux-github
  2019-10-12  5:55 ` voidlinux-github
                   ` (6 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: voidlinux-github @ 2019-10-11 12:54 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 275 bytes --]

New comment by shumvgolove on void-packages repository

https://github.com/void-linux/void-packages/issues/15294#issuecomment-541052467

Comment:
I've got RX590 and `amdgpu` driver loaded. Setting `gpu_context=waylandvk` makes no difference. And yeah, video output is `gpu`.

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

* Re: mpv: green tilt in the video
  2019-10-10 13:05 [ISSUE] mpv: green tilt in the video voidlinux-github
  2019-10-11  2:10 ` voidlinux-github
  2019-10-11 12:54 ` voidlinux-github
@ 2019-10-12  5:55 ` voidlinux-github
  2019-10-14  8:33 ` voidlinux-github
                   ` (5 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: voidlinux-github @ 2019-10-12  5:55 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 440 bytes --]

New comment by obunden on void-packages repository

https://github.com/void-linux/void-packages/issues/15294#issuecomment-541288867

Comment:
Ok, probably some quirk with the hardware/driver. I don't have wayland/musl and I'm on nvidia proprietary drivers so can't really test it further. I read that --vf=format=rgba might fix colors in mpv, other than that I don't know what more can be done. Hope you find a solution that works for you.

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

* Re: mpv: green tilt in the video
  2019-10-10 13:05 [ISSUE] mpv: green tilt in the video voidlinux-github
                   ` (2 preceding siblings ...)
  2019-10-12  5:55 ` voidlinux-github
@ 2019-10-14  8:33 ` voidlinux-github
  2019-10-14 10:14 ` voidlinux-github
                   ` (4 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: voidlinux-github @ 2019-10-14  8:33 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 471 bytes --]

New comment by paoloschi on void-packages repository

https://github.com/void-linux/void-packages/issues/15294#issuecomment-541553768

Comment:
well, probably just a repeated typo here but I get an error in mpv log if I set `gpu_context=`: the correct option name is `gpu-context=` whit a _hyphen_  instead of a _underscore_

```
Error parsing option gpu_context (option not found)
/home/user/.config/mpv/mpv.conf:24: setting option gpu_context='auto' failed.

```

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

* Re: mpv: green tilt in the video
  2019-10-10 13:05 [ISSUE] mpv: green tilt in the video voidlinux-github
                   ` (3 preceding siblings ...)
  2019-10-14  8:33 ` voidlinux-github
@ 2019-10-14 10:14 ` voidlinux-github
  2019-10-14 17:28 ` voidlinux-github
                   ` (3 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: voidlinux-github @ 2019-10-14 10:14 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 174 bytes --]

New comment by shumvgolove on void-packages repository

https://github.com/void-linux/void-packages/issues/15294#issuecomment-541595208

Comment:
Yeah, repeated typo, sorry.

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

* Re: mpv: green tilt in the video
  2019-10-10 13:05 [ISSUE] mpv: green tilt in the video voidlinux-github
                   ` (4 preceding siblings ...)
  2019-10-14 10:14 ` voidlinux-github
@ 2019-10-14 17:28 ` voidlinux-github
  2019-10-14 17:38 ` voidlinux-github
                   ` (2 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: voidlinux-github @ 2019-10-14 17:28 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 220 bytes --]

New comment by obunden on void-packages repository

https://github.com/void-linux/void-packages/issues/15294#issuecomment-541810877

Comment:
Yeah you are absolutely right. Did --vf=format=rgba do anything @shumvgolove?

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

* Re: mpv: green tilt in the video
  2019-10-10 13:05 [ISSUE] mpv: green tilt in the video voidlinux-github
                   ` (5 preceding siblings ...)
  2019-10-14 17:28 ` voidlinux-github
@ 2019-10-14 17:38 ` voidlinux-github
  2019-10-14 17:39 ` voidlinux-github
  2019-10-14 17:39 ` [ISSUE] [CLOSED] " voidlinux-github
  8 siblings, 0 replies; 10+ messages in thread
From: voidlinux-github @ 2019-10-14 17:38 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 404 bytes --]

New comment by shumvgolove on void-packages repository

https://github.com/void-linux/void-packages/issues/15294#issuecomment-541816038

Comment:
Oh! `--vf=format=rgba` indeed fixes the issue and mpv outputs this:
```
[autoconvert] Converting yuv420p -> rgba
AO: [alsa] 48000Hz stereo 2ch float
VO: [gpu] 1920x1080 rgba
```
More on topic: [mpv issue](https://github.com/mpv-player/mpv/issues/4340)

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

* Re: mpv: green tilt in the video
  2019-10-10 13:05 [ISSUE] mpv: green tilt in the video voidlinux-github
                   ` (6 preceding siblings ...)
  2019-10-14 17:38 ` voidlinux-github
@ 2019-10-14 17:39 ` voidlinux-github
  2019-10-14 17:39 ` [ISSUE] [CLOSED] " voidlinux-github
  8 siblings, 0 replies; 10+ messages in thread
From: voidlinux-github @ 2019-10-14 17:39 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 205 bytes --]

New comment by shumvgolove on void-packages repository

https://github.com/void-linux/void-packages/issues/15294#issuecomment-541816768

Comment:
I think we can close this now as it not problem with Void.

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

* Re: [ISSUE] [CLOSED] mpv: green tilt in the video
  2019-10-10 13:05 [ISSUE] mpv: green tilt in the video voidlinux-github
                   ` (7 preceding siblings ...)
  2019-10-14 17:39 ` voidlinux-github
@ 2019-10-14 17:39 ` " voidlinux-github
  8 siblings, 0 replies; 10+ messages in thread
From: voidlinux-github @ 2019-10-14 17:39 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 462 bytes --]

Closed issue by shumvgolove on void-packages repository

https://github.com/void-linux/void-packages/issues/15294

Description:
`linux5.2, musl, system up to date`

Playing any video with `mpv` produces green tilt in the video.

`.config/mpv/mpv.conf`
```
gpu_context=wayland
profile=gpu-hq
scale=ewa_lanczossharp 
cscale=ewa_lanczossharp
```
Commenting out `cscale=ewa_lanczossharp` solves the issue, but everything worked fine until recent updates.

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

end of thread, back to index

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-10 13:05 [ISSUE] mpv: green tilt in the video voidlinux-github
2019-10-11  2:10 ` voidlinux-github
2019-10-11 12:54 ` voidlinux-github
2019-10-12  5:55 ` voidlinux-github
2019-10-14  8:33 ` voidlinux-github
2019-10-14 10:14 ` voidlinux-github
2019-10-14 17:28 ` voidlinux-github
2019-10-14 17:38 ` voidlinux-github
2019-10-14 17:39 ` voidlinux-github
2019-10-14 17:39 ` [ISSUE] [CLOSED] " voidlinux-github

Github messages for voidlinux

Archives are clonable: git clone --mirror http://inbox.vuxu.org/voidlinux-github

Newsgroup available over NNTP:
	nntp://inbox.vuxu.org/vuxu.github.voidlinux


AGPL code for this site: git clone https://public-inbox.org/ public-inbox