You are not logged in.

#1 2023-09-04 03:59:53

Spunkie
Member
Registered: 2022-10-26
Posts: 7

HDR videos washed out in VLC, OpenGL video output not working, how to

All my HDR video files looked washed out and muted in VLC and look normal when opened with mpv.

I've done some googling and all the advise is that switching Prefs > Video > Output to OpenGL should fix the issue by allowing tone mapping since VLC 3.0.1.

But when I change to OpenGL on my computer I no longer get video output when playing videos, only audio. How can I fix this issue?

I'm on Arch Linux, KDE, AMD 6800XT mesa drivers, with VLC 3.0.18

Offline

#2 2023-09-20 20:50:47

Spunkie
Member
Registered: 2022-10-26
Posts: 7

Re: HDR videos washed out in VLC, OpenGL video output not working, how to

Anyone got any ideas?

Last edited by Spunkie (2023-09-20 20:51:28)

Offline

#3 2023-09-21 08:42:01

Lone_Wolf
Forum Moderator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 12,235

Re: HDR videos washed out in VLC, OpenGL video output not working, how to

X or wayland ?

please post outputs of

$ glxinfo -B
$ eglinfo -B
$ lspci -k

Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#4 2023-09-21 18:54:02

Spunkie
Member
Registered: 2022-10-26
Posts: 7

Re: HDR videos washed out in VLC, OpenGL video output not working, how to

Wayland

archlinux% glxinfo -B                          
name of display: :1
display: :1  screen: 0
direct rendering: Yes
Extended renderer info (GLX_MESA_query_renderer):
    Vendor: AMD (0x1002)
    Device: AMD Radeon RX 6800 XT (navi21, LLVM 16.0.6, DRM 3.54, 6.5.3-arch1-1) (0x73bf)
    Version: 23.1.7
    Accelerated: yes
    Video memory: 16384MB
    Unified memory: no
    Preferred profile: core (0x1)
    Max core profile version: 4.6
    Max compat profile version: 4.6
    Max GLES1 profile version: 1.1
    Max GLES[23] profile version: 3.2
Memory info (GL_ATI_meminfo):
    VBO free memory - total: 10909 MB, largest block: 10909 MB
    VBO free aux. memory - total: 28171 MB, largest block: 28171 MB
    Texture free memory - total: 10909 MB, largest block: 10909 MB
    Texture free aux. memory - total: 28171 MB, largest block: 28171 MB
    Renderbuffer free memory - total: 10909 MB, largest block: 10909 MB
    Renderbuffer free aux. memory - total: 28171 MB, largest block: 28171 MB
Memory info (GL_NVX_gpu_memory_info):
    Dedicated video memory: 16384 MB
    Total available memory: 48490 MB
    Currently available dedicated video memory: 10909 MB
OpenGL vendor string: AMD
OpenGL renderer string: AMD Radeon RX 6800 XT (navi21, LLVM 16.0.6, DRM 3.54, 6.5.3-arch1-1)
OpenGL core profile version string: 4.6 (Core Profile) Mesa 23.1.7-arch1.1
OpenGL core profile shading language version string: 4.60
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile

OpenGL version string: 4.6 (Compatibility Profile) Mesa 23.1.7-arch1.1
OpenGL shading language version string: 4.60
OpenGL context flags: (none)
OpenGL profile mask: compatibility profile

OpenGL ES profile version string: OpenGL ES 3.2 Mesa 23.1.7-arch1.1
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20
archlinux% eglinfo -B                          
GBM platform:
eglinfo: eglInitialize failed

Wayland platform:
EGL API version: 1.5
EGL vendor string: Mesa Project
EGL version string: 1.5
EGL client APIs: OpenGL OpenGL_ES 
OpenGL core profile vendor: AMD
OpenGL core profile renderer: AMD Radeon RX 6800 XT (navi21, LLVM 16.0.6, DRM 3.54, 6.5.3-arch1-1)
OpenGL core profile version: 4.6 (Core Profile) Mesa 23.1.7-arch1.1
OpenGL core profile shading language version: 4.60
OpenGL compatibility profile vendor: AMD
OpenGL compatibility profile renderer: AMD Radeon RX 6800 XT (navi21, LLVM 16.0.6, DRM 3.54, 6.5.3-arch1-1)
OpenGL compatibility profile version: 4.6 (Compatibility Profile) Mesa 23.1.7-arch1.1
OpenGL compatibility profile shading language version: 4.60
OpenGL ES profile vendor: AMD
OpenGL ES profile renderer: AMD Radeon RX 6800 XT (navi21, LLVM 16.0.6, DRM 3.54, 6.5.3-arch1-1)
OpenGL ES profile version: OpenGL ES 3.2 Mesa 23.1.7-arch1.1
OpenGL ES profile shading language version: OpenGL ES GLSL ES 3.20

X11 platform:
EGL API version: 1.5
EGL vendor string: Mesa Project
EGL version string: 1.5
EGL client APIs: OpenGL OpenGL_ES 
OpenGL core profile vendor: AMD
OpenGL core profile renderer: AMD Radeon RX 6800 XT (navi21, LLVM 16.0.6, DRM 3.54, 6.5.3-arch1-1)
OpenGL core profile version: 4.6 (Core Profile) Mesa 23.1.7-arch1.1
OpenGL core profile shading language version: 4.60
OpenGL compatibility profile vendor: AMD
OpenGL compatibility profile renderer: AMD Radeon RX 6800 XT (navi21, LLVM 16.0.6, DRM 3.54, 6.5.3-arch1-1)
OpenGL compatibility profile version: 4.6 (Compatibility Profile) Mesa 23.1.7-arch1.1
OpenGL compatibility profile shading language version: 4.60
OpenGL ES profile vendor: AMD
OpenGL ES profile renderer: AMD Radeon RX 6800 XT (navi21, LLVM 16.0.6, DRM 3.54, 6.5.3-arch1-1)
OpenGL ES profile version: OpenGL ES 3.2 Mesa 23.1.7-arch1.1
OpenGL ES profile shading language version: OpenGL ES GLSL ES 3.20

Surfaceless platform:
EGL API version: 1.5
EGL vendor string: Mesa Project
EGL version string: 1.5
EGL client APIs: OpenGL OpenGL_ES 
OpenGL core profile vendor: AMD
OpenGL core profile renderer: AMD Radeon RX 6800 XT (navi21, LLVM 16.0.6, DRM 3.54, 6.5.3-arch1-1)
OpenGL core profile version: 4.6 (Core Profile) Mesa 23.1.7-arch1.1
OpenGL core profile shading language version: 4.60
OpenGL compatibility profile vendor: AMD
OpenGL compatibility profile renderer: AMD Radeon RX 6800 XT (navi21, LLVM 16.0.6, DRM 3.54, 6.5.3-arch1-1)
OpenGL compatibility profile version: 4.6 (Compatibility Profile) Mesa 23.1.7-arch1.1
OpenGL compatibility profile shading language version: 4.60
OpenGL ES profile vendor: AMD
OpenGL ES profile renderer: AMD Radeon RX 6800 XT (navi21, LLVM 16.0.6, DRM 3.54, 6.5.3-arch1-1)
OpenGL ES profile version: OpenGL ES 3.2 Mesa 23.1.7-arch1.1
OpenGL ES profile shading language version: OpenGL ES GLSL ES 3.20

Device platform:
Device #0:

Platform Device platform:
EGL API version: 1.5
EGL vendor string: Mesa Project
EGL version string: 1.5
EGL client APIs: OpenGL OpenGL_ES 
OpenGL core profile vendor: AMD
OpenGL core profile renderer: AMD Radeon RX 6800 XT (navi21, LLVM 16.0.6, DRM 3.54, 6.5.3-arch1-1)
OpenGL core profile version: 4.6 (Core Profile) Mesa 23.1.7-arch1.1
OpenGL core profile shading language version: 4.60
OpenGL compatibility profile vendor: AMD
OpenGL compatibility profile renderer: AMD Radeon RX 6800 XT (navi21, LLVM 16.0.6, DRM 3.54, 6.5.3-arch1-1)
OpenGL compatibility profile version: 4.6 (Compatibility Profile) Mesa 23.1.7-arch1.1
OpenGL compatibility profile shading language version: 4.60
OpenGL ES profile vendor: AMD
OpenGL ES profile renderer: AMD Radeon RX 6800 XT (navi21, LLVM 16.0.6, DRM 3.54, 6.5.3-arch1-1)
OpenGL ES profile version: OpenGL ES 3.2 Mesa 23.1.7-arch1.1
OpenGL ES profile shading language version: OpenGL ES GLSL ES 3.20

Device #1:

Platform Device platform:
EGL API version: 1.5
EGL vendor string: Mesa Project
EGL version string: 1.5
EGL client APIs: OpenGL OpenGL_ES 
OpenGL core profile vendor: Mesa
OpenGL core profile renderer: llvmpipe (LLVM 16.0.6, 256 bits)
OpenGL core profile version: 4.5 (Core Profile) Mesa 23.1.7-arch1.1
OpenGL core profile shading language version: 4.50
OpenGL compatibility profile vendor: Mesa
OpenGL compatibility profile renderer: llvmpipe (LLVM 16.0.6, 256 bits)
OpenGL compatibility profile version: 4.5 (Compatibility Profile) Mesa 23.1.7-arch1.1
OpenGL compatibility profile shading language version: 4.50
OpenGL ES profile vendor: Mesa
OpenGL ES profile renderer: llvmpipe (LLVM 16.0.6, 256 bits)
OpenGL ES profile version: OpenGL ES 3.2 Mesa 23.1.7-arch1.1
OpenGL ES profile shading language version: OpenGL ES GLSL ES 3.20
archlinux% lspci -k        
00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Starship/Matisse Root Complex
        Subsystem: ASUSTeK Computer Inc. Starship/Matisse Root Complex
00:00.2 IOMMU: Advanced Micro Devices, Inc. [AMD] Starship/Matisse IOMMU
        Subsystem: ASUSTeK Computer Inc. Starship/Matisse IOMMU
00:01.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge
00:01.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Starship/Matisse GPP Bridge
        Subsystem: ASUSTeK Computer Inc. Starship/Matisse GPP Bridge
        Kernel driver in use: pcieport
00:01.2 PCI bridge: Advanced Micro Devices, Inc. [AMD] Starship/Matisse GPP Bridge
        Subsystem: ASUSTeK Computer Inc. Starship/Matisse GPP Bridge
        Kernel driver in use: pcieport
00:02.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge
        DeviceName:  Onboard IGD
00:03.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge
00:03.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Starship/Matisse GPP Bridge
        Subsystem: ASUSTeK Computer Inc. Starship/Matisse GPP Bridge
        Kernel driver in use: pcieport
00:04.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge
00:05.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge
00:07.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge
00:07.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Starship/Matisse Internal PCIe GPP Bridge 0 to bus[E:B]
        Subsystem: ASUSTeK Computer Inc. Starship/Matisse Internal PCIe GPP Bridge 0 to bus[E:B]
        Kernel driver in use: pcieport
00:08.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge
00:08.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Starship/Matisse Internal PCIe GPP Bridge 0 to bus[E:B]
        Subsystem: ASUSTeK Computer Inc. Starship/Matisse Internal PCIe GPP Bridge 0 to bus[E:B]
        Kernel driver in use: pcieport
00:14.0 SMBus: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller (rev 61)
        Subsystem: ASUSTeK Computer Inc. FCH SMBus Controller
        Kernel driver in use: piix4_smbus
        Kernel modules: i2c_piix4, sp5100_tco
00:14.3 ISA bridge: Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge (rev 51)
        Subsystem: ASUSTeK Computer Inc. FCH LPC Bridge
00:18.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Matisse/Vermeer Data Fabric: Device 18h; Function 0
00:18.1 Host bridge: Advanced Micro Devices, Inc. [AMD] Matisse/Vermeer Data Fabric: Device 18h; Function 1
00:18.2 Host bridge: Advanced Micro Devices, Inc. [AMD] Matisse/Vermeer Data Fabric: Device 18h; Function 2
00:18.3 Host bridge: Advanced Micro Devices, Inc. [AMD] Matisse/Vermeer Data Fabric: Device 18h; Function 3
        Kernel driver in use: k10temp
        Kernel modules: k10temp
00:18.4 Host bridge: Advanced Micro Devices, Inc. [AMD] Matisse/Vermeer Data Fabric: Device 18h; Function 4
00:18.5 Host bridge: Advanced Micro Devices, Inc. [AMD] Matisse/Vermeer Data Fabric: Device 18h; Function 5
00:18.6 Host bridge: Advanced Micro Devices, Inc. [AMD] Matisse/Vermeer Data Fabric: Device 18h; Function 6
00:18.7 Host bridge: Advanced Micro Devices, Inc. [AMD] Matisse/Vermeer Data Fabric: Device 18h; Function 7
01:00.0 Non-Volatile memory controller: Phison Electronics Corporation E16 PCIe4 NVMe Controller (rev 01)
        Subsystem: Phison Electronics Corporation E16 PCIe4 NVMe Controller
        Kernel driver in use: nvme
        Kernel modules: nvme
02:00.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] Matisse Switch Upstream
        Kernel driver in use: pcieport
03:01.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] Matisse PCIe GPP Bridge
        Subsystem: ASUSTeK Computer Inc. Matisse PCIe GPP Bridge
        Kernel driver in use: pcieport
03:03.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] Matisse PCIe GPP Bridge
        Subsystem: ASUSTeK Computer Inc. Matisse PCIe GPP Bridge
        Kernel driver in use: pcieport
03:05.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] Matisse PCIe GPP Bridge
        Subsystem: ASUSTeK Computer Inc. Matisse PCIe GPP Bridge
        Kernel driver in use: pcieport
03:08.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] Matisse PCIe GPP Bridge
        Subsystem: ASUSTeK Computer Inc. Matisse PCIe GPP Bridge
        Kernel driver in use: pcieport
03:09.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] Matisse PCIe GPP Bridge
        Subsystem: ASUSTeK Computer Inc. Matisse PCIe GPP Bridge
        Kernel driver in use: pcieport
03:0a.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] Matisse PCIe GPP Bridge
        Subsystem: ASUSTeK Computer Inc. Matisse PCIe GPP Bridge
        Kernel driver in use: pcieport
04:00.0 Non-Volatile memory controller: Phison Electronics Corporation E16 PCIe4 NVMe Controller (rev 01)
        Subsystem: Phison Electronics Corporation E16 PCIe4 NVMe Controller
        Kernel driver in use: nvme
        Kernel modules: nvme
05:00.0 Network controller: Intel Corporation Wi-Fi 6 AX200 (rev 1a)
        Subsystem: Intel Corporation Wi-Fi 6 AX200NGW
        Kernel driver in use: iwlwifi
        Kernel modules: iwlwifi
06:00.0 Ethernet controller: Intel Corporation I211 Gigabit Network Connection (rev 03)
        Subsystem: ASUSTeK Computer Inc. I211 Gigabit Network Connection
        Kernel driver in use: igb
        Kernel modules: igb
07:00.0 Non-Essential Instrumentation [1300]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse Reserved SPP
        Subsystem: ASUSTeK Computer Inc. Starship/Matisse Reserved SPP
07:00.1 USB controller: Advanced Micro Devices, Inc. [AMD] Matisse USB 3.0 Host Controller
        Subsystem: ASUSTeK Computer Inc. Matisse USB 3.0 Host Controller
        Kernel driver in use: xhci_hcd
        Kernel modules: xhci_pci
07:00.3 USB controller: Advanced Micro Devices, Inc. [AMD] Matisse USB 3.0 Host Controller
        Subsystem: Advanced Micro Devices, Inc. [AMD] Matisse USB 3.0 Host Controller
        Kernel driver in use: xhci_hcd
        Kernel modules: xhci_pci
08:00.0 SATA controller: Advanced Micro Devices, Inc. [AMD] FCH SATA Controller [AHCI mode] (rev 51)
        Subsystem: Advanced Micro Devices, Inc. [AMD] FCH SATA Controller [AHCI mode]
        Kernel driver in use: ahci
09:00.0 SATA controller: Advanced Micro Devices, Inc. [AMD] FCH SATA Controller [AHCI mode] (rev 51)
        Subsystem: Advanced Micro Devices, Inc. [AMD] FCH SATA Controller [AHCI mode]
        Kernel driver in use: ahci
0a:00.0 PCI bridge: Advanced Micro Devices, Inc. [AMD/ATI] Navi 10 XL Upstream Port of PCI Express Switch (rev c1)
        Kernel driver in use: pcieport
0b:00.0 PCI bridge: Advanced Micro Devices, Inc. [AMD/ATI] Navi 10 XL Downstream Port of PCI Express Switch
        Subsystem: Advanced Micro Devices, Inc. [AMD/ATI] Navi 10 XL Downstream Port of PCI Express Switch
        Kernel driver in use: pcieport
0c:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Navi 21 [Radeon RX 6800/6800 XT / 6900 XT] (rev c1)
        Subsystem: Advanced Micro Devices, Inc. [AMD/ATI] Radeon RX 6900 XT
        Kernel driver in use: amdgpu
        Kernel modules: amdgpu
0c:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Navi 21/23 HDMI/DP Audio Controller
        Subsystem: Advanced Micro Devices, Inc. [AMD/ATI] Navi 21/23 HDMI/DP Audio Controller
        Kernel driver in use: snd_hda_intel
        Kernel modules: snd_hda_intel
0c:00.2 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] Device 73a6
        Subsystem: Advanced Micro Devices, Inc. [AMD/ATI] Device 73a6
        Kernel driver in use: xhci_hcd
        Kernel modules: xhci_pci
0c:00.3 Serial bus controller: Advanced Micro Devices, Inc. [AMD/ATI] Navi 21 USB
        Subsystem: Advanced Micro Devices, Inc. [AMD/ATI] Navi 21 USB
        Kernel driver in use: i2c-designware-pci
0d:00.0 Non-Essential Instrumentation [1300]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Function
        Subsystem: ASUSTeK Computer Inc. Starship/Matisse PCIe Dummy Function
0e:00.0 Non-Essential Instrumentation [1300]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse Reserved SPP
        Subsystem: ASUSTeK Computer Inc. Starship/Matisse Reserved SPP
0e:00.1 Encryption controller: Advanced Micro Devices, Inc. [AMD] Starship/Matisse Cryptographic Coprocessor PSPCPP
        Subsystem: ASUSTeK Computer Inc. Starship/Matisse Cryptographic Coprocessor PSPCPP
        Kernel driver in use: ccp
        Kernel modules: ccp
0e:00.3 USB controller: Advanced Micro Devices, Inc. [AMD] Matisse USB 3.0 Host Controller
        Subsystem: ASUSTeK Computer Inc. Matisse USB 3.0 Host Controller
        Kernel driver in use: xhci_hcd
        Kernel modules: xhci_pci
0e:00.4 Audio device: Advanced Micro Devices, Inc. [AMD] Starship/Matisse HD Audio Controller
        Subsystem: ASUSTeK Computer Inc. Starship/Matisse HD Audio Controller
        Kernel driver in use: snd_hda_intel
        Kernel modules: snd_hda_intel

Offline

#5 2023-09-22 08:56:17

Lone_Wolf
Forum Moderator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 12,235

Re: HDR videos washed out in VLC, OpenGL video output not working, how to

What commandline are you using for mpv ?

Please post full output of

vainfo     #comes_with_libva-utils

Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#6 2023-09-22 10:59:15

seth
Member
Registered: 2012-09-03
Posts: 53,707

Re: HDR videos washed out in VLC, OpenGL video output not working, how to

https://bbs.archlinux.org/viewtopic.php?id=288344
https://www.reddit.com/r/linuxquestions … _hdr_with/

What makes you believe VLC can downsample 10 bit videos to begin with?
(I'm not saying there might not have been recent improvements, but that I'm not aware of them)

Offline

#7 2023-10-26 07:28:54

Vamp898
Member
From: 東京
Registered: 2009-01-03
Posts: 912
Website

Re: HDR videos washed out in VLC, OpenGL video output not working, how to

seth wrote:

https://bbs.archlinux.org/viewtopic.php?id=288344
https://www.reddit.com/r/linuxquestions … _hdr_with/

What makes you believe VLC can downsample 10 bit videos to begin with?
(I'm not saying there might not have been recent improvements, but that I'm not aware of them)

VLC itself doesn't do it, but the Backend that VLC uses to playback the file can do it.

On Windows, VLC defaults to DirectX which does HDR Tone Mapping fine (its actually surprisingly good). But you can also use OpenGL which does a very good job too (you can even select the algorithm it uses for tone mapping).

So HDR Videos with VLC on an non-HDR Setup is absolutely no issue.

Here is an comparison with/without tone-mapping
https://photos.app.goo.gl/Gw8rLtZnSTVJHSdc7

On Linux the choices are sadly limited because HDR in general is supported rather lackluster in the Linux world, but it works

Offline

Board footer

Powered by FluxBB