How to get the gamma filter to work?

*nix specific usage questions
iceman963
New Cone
New Cone
Posts: 8
Joined: 08 May 2022 22:50

How to get the gamma filter to work?

Postby iceman963 » 08 May 2022 22:59

I installed VLC in the latest version of Lunix Mint and when I turn on the Video filters they all work except the Gamma. Moving the slider doesn't do anything. Is there something in the VLC settings I am missing? Or is there something I need to do in the NVIDIA settings to make it function?

tguillem
Developer
Developer
Posts: 87
Joined: 04 May 2015 16:38
VLC version: ALL
Operating System: Linux/WIndows/Mac OS

Re: How to get the gamma filter to work?

Postby tguillem » 09 May 2022 09:49

What is your VLC version (Run vlc -h) ?

Could you reproduce the issue with logs ? Run vlc -vv in command line, and copy paste the log here.

Rémi Denis-Courmont
Developer
Developer
Posts: 15265
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: How to get the gamma filter to work?

Postby Rémi Denis-Courmont » 09 May 2022 12:58

VDPAU does not support gamma correction. This is a limitation of NVIDIA's API. If you need it, you need to turn hardware decoding acceleration off.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

iceman963
New Cone
New Cone
Posts: 8
Joined: 08 May 2022 22:50

Re: How to get the gamma filter to work?

Postby iceman963 » 11 May 2022 17:54

VDPAU does not support gamma correction. This is a limitation of NVIDIA's API. If you need it, you need to turn hardware decoding acceleration off.
I also noticed that none of the Geometry Settings don't work along with the settings in the Advanced tab of the Video settings. BUT... I downloaded a 4K Concert Video from YouTube in MKV and all the adjustments work as expected but other MKV files don't video files I have don't. Why is that ?

iceman963
New Cone
New Cone
Posts: 8
Joined: 08 May 2022 22:50

Re: How to get the gamma filter to work?

Postby iceman963 » 11 May 2022 18:04

What is your VLC version (Run vlc -h) ?

Could you reproduce the issue with logs ? Run vlc -vv in command line, and copy paste the log here.
Have to split the logs into 3 because it exceeds the max.

VLC media player 3.0.9.2 Vetinari (revision 3.0.9.2-0-gd4c1aefe4d)
[0000561be667c5b0] main libvlc debug: VLC media player - 3.0.9.2 Vetinari
[0000561be667c5b0] main libvlc debug: Copyright © 1996-2020 the VideoLAN team
[0000561be667c5b0] main libvlc debug: revision 3.0.9.2-0-gd4c1aefe4d
[0000561be667c5b0] main libvlc debug: configured with ./configure '--build=x86_64-linux-gnu' '--prefix=/usr' '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--sysconfdir=/etc' '--localstatedir=/var' '--disable-silent-rules' '--libdir=${prefix}/lib/x86_64-linux-gnu' '--runstatedir=/run' '--disable-maintainer-mode' '--disable-dependency-tracking' '--disable-debug' '--config-cache' '--disable-update-check' '--enable-fast-install' '--docdir=/usr/share/doc/vlc' '--with-binary-version=3.0.9.2-1' '--enable-a52' '--enable-aa' '--enable-aom' '--enable-aribsub' '--enable-avahi' '--enable-bluray' '--enable-caca' '--enable-chromaprint' '--enable-chromecast' '--enable-dbus' '--enable-dca' '--enable-dvbpsi' '--enable-dvdnav' '--enable-faad' '--enable-flac' '--enable-fluidsynth' '--enable-freetype' '--enable-fribidi' '--enable-gles2' '--enable-gnutls' '--enable-harfbuzz' '--enable-jack' '--enable-kate' '--enable-libass' '--enable-libmpeg2' '--enable-libxml2' '--enable-lirc' '--enable-live555' '--enable-mad' '--enable-matroska' '--enable-mod' '--enable-mpc' '--enable-mpg123' '--enable-mtp' '--enable-ncurses' '--enable-notify' '--enable-ogg' '--enable-opus' '--enable-pulse' '--enable-qt' '--enable-realrtsp' '--enable-samplerate' '--enable-sdl-image' '--enable-sftp' '--enable-shine' '--enable-shout' '--enable-skins2' '--enable-sndio' '--enable-soxr' '--enable-spatialaudio' '--enable-speex' '--enable-srt' '--enable-svg' '--enable-svgdec' '--enable-taglib' '--enable-theora' '--enable-twolame' '--enable-upnp' '--enable-vdpau' '--enable-vnc' '--enable-vorbis' '--enable-x264' '--enable-x265' '--enable-zvbi' '--with-kde-solid=/usr/share/solid/actions/' '--disable-crystalhd' '--disable-d3d11va' '--disable-decklink' '--disable-directx' '--disable-dsm' '--disable-dxva2' '--disable-fdkaac' '--disable-fluidlite' '--disable-freerdp' '--disable-goom' '--disable-gst-decode' '--disable-libtar' '--disable-macosx' '--disable-macosx-avfoundation' '--disable-macosx-qtkit' '--disable-microdns' '--disable-mfx' '--disable-opencv' '--disable-projectm' '--disable-schroedinger' '--disable-sparkle' '--disable-telx' '--disable-vpx' '--disable-vsxu' '--disable-wasapi' '--enable-alsa' '--enable-dc1394' '--enable-dv1394' '--enable-libplacebo' '--enable-linsys' '--enable-nfs' '--enable-omxil' '--enable-udev' '--enable-v4l2' '--enable-wayland' '--enable-libva' '--enable-vcd' '--enable-smbclient' '--disable-oss' '--enable-mmx' '--enable-sse' '--disable-neon' '--disable-altivec' 'build_alias=x86_64-linux-gnu' 'CFLAGS=-g -O2 -fdebug-prefix-map=/build/vlc-sUx6OI/vlc-3.0.9.2=. -fstack-protector-strong -Wformat -Werror=format-security ' 'LDFLAGS=-Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,now -Wl,--as-needed' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2' 'CXXFLAGS=-g -O2 -fdebug-prefix-map=/build/vlc-sUx6OI/vlc-3.0.9.2=. -fstack-protector-strong -Wformat -Werror=format-security ' 'OBJCFLAGS=-g -O2 -fdebug-prefix-map=/build/vlc-sUx6OI/vlc-3.0.9.2=. -fstack-protector-strong -Wformat -Werror=format-security'
[0000561be667c5b0] main libvlc debug: searching plug-in modules
[0000561be667c5b0] main libvlc debug: loading plugins cache file /usr/lib/x86_64-linux-gnu/vlc/plugins/plugins.dat
[0000561be667c5b0] main libvlc debug: recursively browsing `/usr/lib/x86_64-linux-gnu/vlc/plugins'
[0000561be667c5b0] main libvlc debug: plug-ins loaded: 521 modules
[0000561be667c5b0] main libvlc debug: opening config file (/home/ice/.config/vlc/vlcrc)
[0000561be667c900] main logger debug: looking for logger module matching "any": 4 candidates
[0000561be667c900] main logger debug: using logger module "console"
[0000561be667c5b0] main libvlc debug: translation test: code is "C"
[0000561be67189b0] main keystore debug: looking for keystore module matching "memory": 4 candidates
[0000561be67189b0] main keystore debug: using keystore module "memory"
[0000561be667c5b0] main libvlc debug: CPU has capabilities MMX MMXEXT SSE SSE2 SSE3 SSSE3 SSE4.1 SSE4.2 AVX AVX2 FPU
[0000561be671c950] main input debug: Creating an input for 'Media Library'
[0000561be671c950] main input debug: Input is a meta file: disabling unneeded options
[0000561be671c950] main input debug: using timeshift granularity of 50 MiB
[0000561be671c950] main input debug: using default timeshift path
[0000561be671c950] main input debug: `file/directory:///home/ice/.local/share/vlc/ml.xspf' gives access `file' demux `directory' path `/home/ice/.local/share/vlc/ml.xspf'
[0000561be6717cb0] main input source debug: creating demux: access='file' demux='directory' location='/home/ice/.local/share/vlc/ml.xspf' file='/home/ice/.local/share/vlc/ml.xspf'

iceman963
New Cone
New Cone
Posts: 8
Joined: 08 May 2022 22:50

Re: How to get the gamma filter to work?

Postby iceman963 » 11 May 2022 18:08

[0000561be67197d0] main demux debug: looking for access_demux module matching "file": 17 candidates
[0000561be67197d0] main demux debug: no access_demux modules matched
[0000561be673c190] main stream debug: creating access: file:///home/ice/.local/share/vlc/ml.xspf
[0000561be673c190] main stream debug: (path: /home/ice/.local/share/vlc/ml.xspf)
[0000561be673c190] main stream debug: looking for access module matching "file": 28 candidates
[0000561be673c190] main stream debug: using access module "filesystem"
[0000561be673d240] main stream debug: looking for stream_filter module matching "prefetch,cache_read": 26 candidates
[0000561be673d240] cache_read stream debug: Using stream method for AStream*
[0000561be673d240] cache_read stream debug: starting pre-buffering
[0000561be673d240] cache_read stream debug: received first data after 0 ms
[0000561be673d240] cache_read stream debug: pre-buffering done 296 bytes in 0s - 2676 KiB/s
[0000561be673d240] main stream debug: using stream_filter module "cache_read"
[0000561be673ddc0] main stream debug: looking for stream_filter module matching "any": 26 candidates
[0000561be673ddc0] playlist stream debug: using XSPF playlist reader
[0000561be673ddc0] main stream debug: using stream_filter module "playlist"
[0000561be673ddc0] main stream debug: stream filter added to 0x561be673d240
[0000561be67417c0] main stream debug: looking for stream_filter module matching "any": 26 candidates
[0000561be67417c0] main stream debug: no stream_filter modules matched
[0000561be6719590] main stream_directory debug: looking for stream_directory module matching "any": 1 candidates
[0000561be6719590] main stream_directory debug: no stream_directory modules matched
[0000561be6717cb0] main input source debug: attachment of directory-extractor failed for file:///home/ice/.local/share/vlc/ml.xspf
[0000561be67417c0] main stream debug: looking for stream_filter module matching "record": 26 candidates
[0000561be67417c0] main stream debug: using stream_filter module "record"
[0000561be6717cb0] main input source debug: creating demux: access='file' demux='directory' location='/home/ice/.local/share/vlc/ml.xspf' file='/home/ice/.local/share/vlc/ml.xspf'
[0000561be67197d0] main demux debug: looking for demux module matching "directory": 55 candidates
[0000561be67197d0] main demux debug: using demux module "directory"
[0000561be6745c80] main demux meta debug: looking for meta reader module matching "any": 2 candidates
[0000561be6745c80] lua demux meta debug: Trying Lua scripts in /home/ice/.local/share/vlc/lua/meta/reader
[0000561be6745c80] lua demux meta debug: Trying Lua scripts in /usr/lib/x86_64-linux-gnu/vlc/lua/meta/reader
[0000561be6745c80] lua demux meta debug: Trying Lua playlist script /usr/lib/x86_64-linux-gnu/vlc/lua/meta/reader/filename.luac
[0000561be6745c80] lua demux meta debug: Trying Lua scripts in /usr/share/vlc/lua/meta/reader
[0000561be6745c80] main demux meta debug: no meta reader modules matched
[0000561be671c950] main input debug: `file/directory:///home/ice/.local/share/vlc/ml.xspf' successfully opened
[0000561be674b4e0] main xml reader debug: looking for xml reader module matching "any": 1 candidates
[0000561be674b4e0] main xml reader debug: using xml reader module "xml"
[0000561be671c950] main input debug: EOF reached
[0000561be67197d0] main demux debug: removing module "directory"
[0000561be67417c0] main stream debug: removing module "record"
[0000561be673ddc0] main stream debug: removing module "playlist"
[0000561be673d240] main stream debug: removing module "cache_read"
[0000561be673c190] main stream debug: removing module "filesystem"
[0000561be671a220] main playlist debug: creating audio output
[0000561be674b610] main audio output debug: looking for audio output module matching "any": 6 candidates
[0000561be674b610] vlcpulse audio output debug: using library version 13.99.0
[0000561be674b610] vlcpulse audio output debug: (compiled with version 13.99.0, protocol 33)
[0000561be674b610] vlcpulse audio output debug: connected locally to /run/user/1000/pulse/native as client #9
[0000561be674b610] vlcpulse audio output debug: using protocol 33, server protocol 33
[0000561be674b610] pulse audio output debug: adding sink 0: alsa_output.pci-0000_01_00.1.hdmi-stereo-extra1 (GP107GL High Definition Audio Controller Digital Stereo (HDMI 2))
[0000561be674b610] pulse audio output debug: adding sink 1: alsa_output.pci-0000_00_1f.3.iec958-stereo (Built-in Audio Digital Stereo (IEC958))

iceman963
New Cone
New Cone
Posts: 8
Joined: 08 May 2022 22:50

Re: How to get the gamma filter to work?

Postby iceman963 » 11 May 2022 18:08

[0000561be674b610] main audio output debug: using audio output module "pulse"
[0000561be671a220] main playlist debug: keeping audio output
[0000561be671de70] main interface debug: looking for interface module matching "dbus,none": 19 candidates
[0000561be671de70] dbus interface debug: listening on dbus as: org.mpris.MediaPlayer2.vlc.instance5817
[0000561be671de70] main interface debug: using interface module "dbus"
[0000561be67168d0] main interface debug: looking for interface module matching "hotkeys,none": 19 candidates
[0000561be67168d0] main interface debug: using interface module "hotkeys"
[0000561be675d850] main interface debug: looking for interface module matching "globalhotkeys,none": 19 candidates
[0000561be675d850] main interface debug: using interface module "xcb_hotkeys"
[0000561be667c5b0] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
[0000561be675e740] main interface debug: looking for interface module matching "any": 19 candidates
[0000561be671de70] dbus interface debug: Getting All properties
[0000561be671de70] dbus interface debug: Getting All properties
[0000561be671de70] dbus interface debug: Getting property CanSeek
qt5ct: using qt5ct plugin
qt5ct: D-Bus global menu: no
[00007fc600233b80] main generic debug: looking for extension module matching "any": 1 candidates
[00007fc600233b80] lua generic debug: Opening Lua Extension module
[00007fc600233b80] lua generic debug: Trying Lua scripts in /home/ice/.local/share/vlc/lua/extensions
[00007fc600233b80] lua generic debug: Trying Lua scripts in /usr/lib/x86_64-linux-gnu/vlc/lua/extensions
[00007fc600233b80] lua generic debug: Trying Lua playlist script /usr/lib/x86_64-linux-gnu/vlc/lua/extensions/VLSub.luac
[00007fc600233b80] lua generic debug: Scanning Lua script /usr/lib/x86_64-linux-gnu/vlc/lua/extensions/VLSub.luac
[00007fc600233b80] lua generic debug: Script /usr/lib/x86_64-linux-gnu/vlc/lua/extensions/VLSub.luac has the following capability flags: 0x5
[00007fc600233b80] lua generic debug: Trying Lua scripts in /usr/share/vlc/lua/extensions
[00007fc600233b80] main generic debug: using extension module "lua"
qt5ct: D-Bus system tray: yes
[0000561be675e740] main interface debug: using interface module "qt"
[0000561be671a220] main playlist: playlist is empty
[0000561be671a220] main playlist debug: nothing to play

iceman963
New Cone
New Cone
Posts: 8
Joined: 08 May 2022 22:50

Re: How to get the gamma filter to work?

Postby iceman963 » 11 May 2022 18:20

VDPAU does not support gamma correction. This is a limitation of NVIDIA's API. If you need it, you need to turn hardware decoding acceleration off.
When I do the initial install Mint recommends using the latest NVIDIA Proprietary Driver but I noticed it has issues with other video applications. Would going back to the (open-source) xserver-xorg-video-nouveau solve those issues? If so at what cost? How does SMPlayer differ? Everything works fine with that player but I've been using VLC in windows for as long as I remember. Like to be able to continue. I even donate yearly to VLC because I like it so much.

Rémi Denis-Courmont
Developer
Developer
Posts: 15265
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: How to get the gamma filter to work?

Postby Rémi Denis-Courmont » 11 May 2022 18:48

I do not know how well Nouveau works, but gamma correction simply is not possible with VDPAU regardless of the driver and the player.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

tguillem
Developer
Developer
Posts: 87
Joined: 04 May 2015 16:38
VLC version: ALL
Operating System: Linux/WIndows/Mac OS

Re: How to get the gamma filter to work?

Postby tguillem » 12 May 2022 07:58

You could try to force software decoding : "vlc --avcodec-hw none" or you could try to use your intel GPU (if any, and if on laptop).

iceman963
New Cone
New Cone
Posts: 8
Joined: 08 May 2022 22:50

Re: How to get the gamma filter to work?

Postby iceman963 » 12 May 2022 20:29

I do not know how well Nouveau works, but gamma correction simply is not possible with VDPAU regardless of the driver and the player.
I'm curious as to why any video downloaded from YouTube allows Gamma to work along every other filter including Zoom rotate ect. works when using VLC and SMPlayer has full functionality with any video I open. How do they differ?

Rémi Denis-Courmont
Developer
Developer
Posts: 15265
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: How to get the gamma filter to work?

Postby Rémi Denis-Courmont » 12 May 2022 21:02

I think you can draw the obvious conclusion that SMPlayer does not use VDPAU for rendering (and potentially not for decoding either).
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded


Return to “VLC media player for Linux and friends Troubleshooting”

Who is online

Users browsing this forum: No registered users and 10 guests