mpv-player / mpv

🎥 Command line video player
https://mpv.io
Other
28.79k stars 2.93k forks source link

OpenGL error INVALID_OPERATION w/ smoothmotion + vdpaupp #1687

Closed NiLuJe closed 9 years ago

NiLuJe commented 9 years ago

Since the gl_rework merge, I'm seeing a few of those popping up in the terminal, but without any readily visible harmful effect (i.e., the video still plays apparently perfectly fine).

This only happens with opengl+smoothmotion+vdpaupp. opengl+smoothmotion is okay, as is opengl+vdpaupp.

On the plus side, the CPU usage issues w/ smoothmotion are gone, and it's now buttery smooth :).

(Linux, x86, w/ an nVidia card)

[cplayer] Command line options: '/home/niluje/Disney's Frozen 'Let It Go' Sequence Performed by Idina Menzel-moSFlvxnbgk.mp4' '--no-config' '-vo' 'opengl:scale=spline36:scale-down=mitchell:dither-depth=auto:fbo-format=rgba16:fancy-downscaling:sigmoid-upscaling:smoothmotion' '-vf' 'vdpaupp=sharpen=0.05:denoise=0.05:deint=no:deint-mode=temporal-spatial' '-v'                                                                                                                                                                                        
[cplayer] mpv 0.8.2_p20150313 (C) 2000-2015 mpv/MPlayer/mplayer2 projects                                                                                                                                                                                                      
[cplayer]  built on 2015-03-14T00:41:41                                                                                                                                                                                                                                        
[cplayer] ffmpeg library versions:                                                                                                                                                                                                                                             
[cplayer]    libavutil       54.20.100                                                                                                                                                                                                                                         
[cplayer]    libavcodec      56.27.100                                                                                                                                                                                                                                         
[cplayer]    libavformat     56.25.101                                                                                                                                                                                                                                         
[cplayer]    libswscale      3.1.101                                                                                                                                                                                                                                           
[cplayer]    libavfilter     5.12.100                                                                                                                                                                                                                                          
[cplayer]    libswresample   1.1.100                                                                                                                                                                                                                                           
[cplayer]                                                                                                                                                                                                                                                                      
[cplayer] Configuration: ./waf configure --confdir=/etc/mpv --docdir=/usr/share/doc/mpv-0.8.2_p20150313 --disable-libmpv-shared --disable-libmpv-static --disable-optimize --disable-debug-build --disable-pdf-build --enable-vf-dlopen-filters --enable-zsh-comp --enable-iconv --disable-libguess --enable-libsmbclient --enable-lua --enable-libass --enable-libass-osd --enable-encoding --disable-joystick --disable-lirc --enable-libbluray --enable-dvdread --enable-dvdnav --enable-cdda --enable-enca --enable-mpg123 --disable-ladspa --enable-libbs2b --enable-lcms2 --disable-vapoursynth --disable-vapoursynth-lazy --enable-libavfilter --enable-libavdevice --lua=luajit --disable-sdl2 --disable-sdl1 --disable-oss-audio --disable-rsound --disable-pulse --disable-jack --disable-openal --enable-alsa --disable-wayland --enable-x11 --enable-xss --enable-xext --enable-xv --enable-xinerama --enable-xrandr --enable-gl-x11 --disable-egl-x11 --disable-gl-wayland --enable-gl --enable-vdpau --enable-vdpau-gl-x11 --disable-vaapi --disable-vaapi-vpp --disable-vaapi-glx --disable-caca --enable-jpeg --disable-vaapi-hwaccel --enable-vdpau-hwaccel --disable-tv --disable-tv-v4l2 --disable-libv4l2 --disable-pvr --disable-dvbin --mandir=/usr/share/man --enable-zsh-comp --zshdir=/usr/share/zsh/site-functions --libdir=/usr/lib --prefix=/usr                               
[cplayer] List of enabled features: alsa asm atomics avcodec-chroma-pos-api avframe-metadata avframe-skip-samples build-date cdda cplayer dlopen dvdnav dvdread enca encoding fchmod gl gl-x11 glibc-thread-name glob iconv jpeg lcms2 libass libass-osd libav libavdevice libavfilter libbluray libbs2b libdl libm librt libsmbclient libswresample linux-fstatfs lua mpg123 nanosleep posix posix-or-mingw posix-spawn pthreads resampler shm stdatomic termios vdpau vdpau-gl-x11 vdpau-hwaccel vf-dlopen-filters videodev x11 xext xinerama xrandr xss xv zlib zsh-comp                                                                                                                                                                                                                                                                  
[cplayer] Setting option 'no-config' = '' (flags = 8)                                                                                                                                                                                                                          
[cplayer] Setting option 'vo' = 'opengl:scale=spline36:scale-down=mitchell:dither-depth=auto:fbo-format=rgba16:fancy-downscaling:sigmoid-upscaling:smoothmotion' (flags = 8)                                                                                                   
[cplayer] Setting option 'vf' = 'vdpaupp=sharpen=0.05:denoise=0.05:deint=no:deint-mode=temporal-spatial' (flags = 8)                                                                                                                                                           
[cplayer] Setting option 'v' = '' (flags = 8)                                                                                                                                                                                                                                  
[input] Falling back on default (hardcoded) input config                                                                                                                                                                                                                       
[osc] Loading script @osc.lua...                                                                                                                                                                                                                                               
[global] config file: 'scripts'                                                                                                                                                                                                                                                
[global] config file: 'lua'                                                                                                                                                                                                                                                    
[osc] loading mp.defaults                                                                                                                                                                                                                                                      
[osc] loading @osc.lua                                                                                                                                                                                                                                                         
[global] config path: 'lua-settings/osc.conf' -> '(NULL)'                                                                                                                                                                                                                      
[osc] lua-settings/osc.conf not found.                                                                                                                                                                                                                                         
[cplayer] Done loading @osc.lua.                                                                                                                                                                                                                                               
[ytdl_hook] Loading script @ytdl_hook.lua...                                                                                                                                                                                                                                   
[global] config file: 'scripts'                                                                                                                                                                                                                                                
[global] config file: 'lua'                                                                                                                                                                                                                                                    
[ytdl_hook] loading mp.defaults                                                                                                                                                                                                                                                
[ytdl_hook] loading @ytdl_hook.lua                                                                                                                                                                                                                                             
[cplayer] Run command: hook_add, flags=0, args=[on_load, 1, 10]                                                                                                                                                                                                                
[cplayer] Done loading @ytdl_hook.lua.                                                                                                                                                                                                                                         
[global] config file: 'scripts'                                                                                                                                                                                                                                                
[global] config file: 'lua'                                                                                                                                                                                                                                                    
[global] config path: 'watch_later/8C4BF369344CA81C545CCE28AE09DBBE' -> '(NULL)'                                                                                                                                                                                               
[global] config path: 'watch_later' -> '(NULL)'                                                                                                                                                                                                                                
[global] config path: 'watch_later/8C4BF369344CA81C545CCE28AE09DBBE' -> '(NULL)'                                                                                                                                                                                               
[global] config path: 'watch_later' -> '(NULL)'                                                                                                                                                                                                                                
[cplayer] Playing: /home/niluje/Disney's Frozen 'Let It Go' Sequence Performed by Idina Menzel-moSFlvxnbgk.mp4
[cplayer] Running hook: ytdl_hook/on_load
[cplayer] Run command: hook_ack, flags=0, args=[on_load]                                                                                                                                                                                                                       
[file] Opened: /home/niluje/Disney's Frozen 'Let It Go' Sequence Performed by Idina Menzel-moSFlvxnbgk.mp4                                                                                                                                                                     
[demux] Trying demuxer: disc (force-level: normal)                                                                                                                                                                                                                             
[demux] Trying demuxer: edl (force-level: normal)                                                                                                                                                                                                                              
[demux] Trying demuxer: cue (force-level: normal)                                                                                                                                                                                                                              
[demux] Trying demuxer: rawaudio (force-level: normal)                                                                                                                                                                                                                         
[demux] Trying demuxer: rawvideo (force-level: normal)                                                                                                                                                                                                                         
[demux] Trying demuxer: libass (force-level: normal)                                                                                                                                                                                                                           
[demux] Trying demuxer: mkv (force-level: normal)                                                                                                                                                                                                                              
[demux] Trying demuxer: lavf (force-level: normal)                                                                                                                                                                                                                             
[lavf] Found 'mov,mp4,m4a,3gp,3g2,mj2' at score=100 size=2048.                                                                                                                                                                                                                 
[lavf] avformat_find_stream_info() finished after 35573 bytes.                                                                                                                                                                                                                 
[demux] Detected file format: mov,mp4,m4a,3gp,3g2,mj2 (libavformat)                                                                                                                                                                                                            
[find_files] Loading external files in /home/niluje/                                                                                                                                                                                                                           
[global] config path: 'sub/' -> '(NULL)'                                                                                                                                                                                                                                       
[file] Opened: /home/niluje/Disney's Frozen 'Let It Go' Sequence Performed by Idina Menzel-moSFlvxnbgk.m4a                                                                                                                                                                     
[demux] Trying demuxer: disc (force-level: normal)                                                                                                                                                                                                                             
[demux] Trying demuxer: edl (force-level: normal)                                                                                                                                                                                                                              
[demux] Trying demuxer: cue (force-level: normal)                                                                                                                                                                                                                              
[demux] Trying demuxer: rawaudio (force-level: normal)                                                                                                                                                                                                                         
[demux] Trying demuxer: rawvideo (force-level: normal)                                                                                                                                                                                                                         
[demux] Trying demuxer: libass (force-level: normal)                                                                                                                                                                                                                           
[demux] Trying demuxer: mkv (force-level: normal)                                                                                                                                                                                                                              
[demux] Trying demuxer: lavf (force-level: normal)                                                                                                                                                                                                                             
[lavf] Found 'mov,mp4,m4a,3gp,3g2,mj2' at score=100 size=2048.                                                                                                                                                                                                                 
[lavf] avformat_find_stream_info() finished after 35480 bytes.                                                                                                                                                                                                                 
[demux] Detected file format: mov,mp4,m4a,3gp,3g2,mj2 (libavformat)                                                                                                                                                                                                            
[cplayer]  (+) Video --vid=1 (*) (h264)
[cplayer]  (+) Audio --aid=1 --alang=und (*) 'Disney's Frozen 'Let It Go' Sequence Performed by Idina Menzel-moSFlvxnbgk.m4a' (aac) (external)
[cplayer] [V] fourcc:0x31637661  size:1920x800  fps:23.974
[vo/opengl] Setting option 'scale' = 'spline36' (flags = 0)                                                                                                                                                                                                                    
[vo/opengl] Setting option 'scale-down' = 'mitchell' (flags = 0)                                                                                                                                                                                                               
[vo/opengl] Setting option 'dither-depth' = 'auto' (flags = 0)                                                                                                                                                                                                                 
[vo/opengl] Setting option 'fbo-format' = 'rgba16' (flags = 0)                                                                                                                                                                                                                 
[vo/opengl] Setting option 'fancy-downscaling' = '' (flags = 0)                                                                                                                                                                                                                
[vo/opengl] Setting option 'sigmoid-upscaling' = '' (flags = 0)                                                                                                                                                                                                                
[vo/opengl] Setting option 'smoothmotion' = '' (flags = 0)                                                                                                                                                                                                                     
[vo/opengl/x11] X11 opening display: :0                                                                                                                                                                                                                                        
[vo/opengl/x11] X11 running at 1920x1080 (":0" => local display)                                                                                                                                                                                                               
[vo/opengl/x11] Detected wm supports NetWM.                                                                                                                                                                                                                                    
[vo/opengl/x11] Detected wm supports FULLSCREEN state.                                                                                                                                                                                                                         
[vo/opengl/x11] Detected wm supports ABOVE state.                                                                                                                                                                                                                              
[vo/opengl/x11] Detected wm supports BELOW state.                                                                                                                                                                                                                              
[vo/opengl/x11] Detected wm supports STAYS_ON_TOP state.                                                                                                                                                                                                                       
[vo/opengl/x11] Display 0 (DVI-I-3): [0, 0, 1920, 1080] @ 60.000000 FPS                                                                                                                                                                                                        
[vo/opengl/x11] Current display FPS: 60.000000                                                                                                                                                                                                                                 
[vo/opengl] GLX chose visual with ID 0x27                                                                                                                                                                                                                                      
[vo/opengl] GL_VERSION='3.3.0 NVIDIA 340.76'                                                                                                                                                                                                                                   
[vo/opengl] Detected desktop OpenGL 3.3.                                                                                                                                                                                                                                       
[vo/opengl] GL_VENDOR='NVIDIA Corporation'                                                                                                                                                                                                                                     
[vo/opengl] GL_RENDERER='GeForce GTX 275/PCIe/SSE2'                                                                                                                                                                                                                            
[vo/opengl] GL_SHADING_LANGUAGE_VERSION='3.30 NVIDIA via Cg compiler'                                                                                                                                                                                                          
[vo/opengl] OpenGL legacy compat. found.                                                                                                                                                                                                                                       
[vo/opengl] Detected OpenGL features:                                                                                                                                                                                                                                          
[vo/opengl]   - Framebuffers                                                                                                                                                                                                                                                   
[vo/opengl]   - VAOs                                                                                                                                                                                                                                                           
[vo/opengl]   - Float textures                                                                                                                                                                                                                                                 
[vo/opengl]   - RG textures                                                                                                                                                                                                                                                    
[vo/opengl]   - 1D textures                                                                                                                                                                                                                                                    
[vo/opengl]   - 3D textures                                                                                                                                                                                                                                                    
[vo/opengl]   - debugging extensions                                                                                                                                                                                                                                           
[vo/opengl] 16 bit texture depth: 16.                                                                                                                                                                                                                                          
[vo/opengl] Display depth: R=8, G=8, B=8                                                                                                                                                                                                                                       
[vo/opengl] Testing user-set FBO format (0x805b)                                                                                                                                                                                                                               
[vo/opengl] Create FBO: 16x16                                                                                                                                                                                                                                                  
[vo/opengl] Testing user-set FBO format (0x805b)                                                                                                                                                                                                                               
[vo/opengl] Create FBO: 16x16                                                                                                                                                                                                                                                  
[vo/opengl] Assuming 60.000000 FPS for framedrop.                                                                                                                                                                                                                              
[vf] Opening video filter: [vdpaupp sharpen=0.05 denoise=0.05 deint=no deint-mode=temporal-spatial]
[vdpaupp] Setting option 'sharpen' = '0.05' (flags = 0)
[vdpaupp] Setting option 'denoise' = '0.05' (flags = 0)                                                                                                                                                                                                                        
[vdpaupp] Setting option 'deint' = 'no' (flags = 0)                                                                                                                                                                                                                            
[vdpaupp] Setting option 'deint-mode' = 'temporal-spatial' (flags = 0)                                                                                                                                                                                                         
[vd] Codec list:                                                                                                                                                                                                                                                               
[vd]     lavc:h264 - H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10                                                                                                                                                                                                                 
[vd]     lavc:h264_vdpau (h264) - H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 (VDPAU acceleration)                                                                                                                                                                               
[vd] Opening video decoder lavc:h264                                                                                                                                                                                                                                           
[vd] Detected 2 logical cores.                                                                                                                                                                                                                                                 
[vd] Requesting 3 threads for decoding.                                                                                                                                                                                                                                        
[vd] Selected video codec: H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 [lavc:h264]                                                                                                                                                                                               
[vo/opengl/x11] Disabling screensaver.                                                                                                                                                                                                                                         
[ad] Codec list:                                                                                                                                                                                                                                                               
[ad]     lavc:aac - AAC (Advanced Audio Coding)                                                                                                                                                                                                                                
[ad] Opening audio decoder lavc:aac                                                                                                                                                                                                                                            
[ad] Requesting 1 threads for decoding.                                                                                                                                                                                                                                        
[ad] Selected audio codec: AAC (Advanced Audio Coding) [lavc:aac]                                                                                                                                                                                                              
[cplayer] Starting playback...                                                                                                                                                                                                                                                 
[af] Audio filter chain:                                                                                                                                                                                                                                                       
[af]   [in] 44100Hz stereo 2ch floatp                                                                                                                                                                                                                                          
[af]   [out] 44100Hz stereo 2ch floatp                                                                                                                                                                                                                                         
[af]   [ao] 44100Hz stereo 2ch floatp                                                                                                                                                                                                                                          
[ao/alsa] requested format: 44100 Hz, stereo channels, floatp                                                                                                                                                                                                                  
[ao/alsa] using device: default                                                                                                                                                                                                                                                
[ao/alsa] using ALSA version: 1.0.29                                                                                                                                                                                                                                           
[ao/alsa] Got supported channel map: mono (type FIXED)                                                                                                                                                                                                                         
[ao/alsa] Got supported channel map: stereo (type FIXED)                                                                                                                                                                                                                       
[ao/alsa] Got supported channel map: quad (type FIXED)                                                                                                                                                                                                                         
[ao/alsa] Got supported channel map: 5.1(alsa) (type FIXED)                                                                                                                                                                                                                    
[ao/alsa] Got supported channel map: 7.1(alsa) (type FIXED)                                                                                                                                                                                                                    
[ao/alsa] trying to set ALSA channel map: FL FR                                                                                                                                                                                                                                
[ao/alsa] channel map reported by ALSA: FL FR                                                                                                                                                                                                                                  
[ao/alsa] which we understand as: stereo                                                                                                                                                                                                                                       
[ao/alsa] which is what we requested.                                                                                                                                                                                                                                          
[ao/alsa] got buffersize=11025 samples                                                                                                                                                                                                                                         
[ao/alsa] got period size 735                                                                                                                                                                                                                                                  
[ao/alsa] device buffer: 11025 samples.                                                                                                                                                                                                                                        
[ao/alsa] using soft-buffer of 11025 samples.                                                                                                                                                                                                                                  
[cplayer] AO: [alsa] 44100Hz stereo 2ch float
[cplayer] AO: Description: ALSA audio output
[af] Adding filter lavrresample                                                                                                                                                                                                                                                
[af] Audio filter chain:                                                                                                                                                                                                                                                       
[af]   [in] 44100Hz stereo 2ch floatp                                                                                                                                                                                                                                          
[af]   [lavrresample] 44100Hz stereo 2ch float                                                                                                                                                                                                                                 
[af]   [out] 44100Hz stereo 2ch float                                                                                                                                                                                                                                          
[af]   [ao] 44100Hz stereo 2ch float                                                                                                                                                                                                                                           
[vd] VIDEO:  1920x800  23.974 fps  2677.6 kbps (334.7 kB/s)                                                                                                                                                                                                                    
[vd] VDec: vo config request - 1920 x 800 (yuv420p)                                                                                                                                                                                                                            
[vd] VO Config (1920x800->1920x800,0x3EC)                                                                                                                                                                                                                                      
[vf] Video filter chain:                                                                                                                                                                                                                                                       
[vf]   [vd] 1920x800 yuv420p Autoselect/Autoselect CL=mpeg2/4/h264                                                                                                                                                                                                             
[vf]   [in] 1920x800 yuv420p BT.709 (HD)/TV CL=mpeg2/4/h264                                                                                                                                                                                                                    
[vf]   [vdpaupp] 1920x800 vdpau BT.709 (HD)/TV CL=mpeg2/4/h264                                                                                                                                                                                                                 
[vf]   [out] 1920x800 vdpau BT.709 (HD)/TV CL=mpeg2/4/h264                                                                                                                                                                                                                     
[cplayer] VO: [opengl] 1920x800 vdpau
[cplayer] VO: Description: Extended OpenGL Renderer
[vo/opengl] Resize: 1917x799                                                                                                                                                                                                                                                   
[vo/opengl] Window size: 1917x799                                                                                                                                                                                                                                              
[vo/opengl] Video source: 1920x800 (1920x800)                                                                                                                                                                                                                                  
[vo/opengl] Video display: (0, 0) 1920x800 -> (0, 0) 1917x799                                                                                                                                                                                                                  
[vo/opengl] Video scale: 0.998437/0.998750                                                                                                                                                                                                                                     
[vo/opengl] OSD borders: l=0 t=0 r=0 b=0                                                                                                                                                                                                                                       
[vo/opengl] Video borders: l=0 t=0 r=0 b=0                                                                                                                                                                                                                                     
[vo/opengl] Testing user-set FBO format (0x805b)                                                                                                                                                                                                                               
[vo/opengl] Create FBO: 16x16                                                                                                                                                                                                                                                  
[vo/opengl] Testing user-set FBO format (0x805b)                                                                                                                                                                                                                               
[vo/opengl] Create FBO: 16x16                                                                                                                                                                                                                                                  
[vo/opengl] Texture for plane 0: 1920x800                                                                                                                                                                                                                                      
[vo/opengl] Reinit rendering.                                                                                                                                                                                                                                                  
[vo/opengl/vdpau] Recreating vdpau video mixer.                                                                                                                                                                                                                                
[vo/opengl] Create FBO: 1920x800                                                                                                                                                                                                                                               
[vo/opengl] recompiling a shader program:                                                                                                                                                                                                                                      
[vo/opengl] [  1] vec4 color = texture(texture0, texcoord0);                                                                                                                                                                                                                   
[vo/opengl] [  2] // color conversion                                                                                                                                                                                                                                          
[vo/opengl] [  3] color = color.rgbr;                                                                                                                                                                                                                                          
[vo/opengl] [  4] color.rgb = clamp(color.rgb, 0.0, 1.0);                                                                                                                                                                                                                      
[vo/opengl] [  5] color.a = 1.0;                                                                                                                                                                                                                                               
[vo/opengl] [  6] // scaler pre-conversion                                                                                                                                                                                                                                     
[vo/opengl] [  7] color.rgb = pow(color.rgb, vec3(1.961));                                                                                                                                                                                                                     
[vo/opengl] [  8] // main scaling                                                                                                                                                                                                                                              
[vo/opengl] Create FBO: 1920x1024                                                                                                                                                                                                                                              
[vo/opengl] recompiling a shader program:                                                                                                                                                                                                                                      
[vo/opengl] [  1] #define sample_tex  texture0                                                                                                                                                                                                                                 
[vo/opengl] [  2] #define sample_pos  texcoord0                                                                                                                                                                                                                                
[vo/opengl] [  3] #define sample_size texture_size0                                                                                                                                                                                                                            
[vo/opengl] [  4] // pass 1                                                                                                                                                                                                                                                    
[vo/opengl] [  5] vec4 color = vec4(0.0);                                                                                                                                                                                                                                      
[vo/opengl] [  6] {                                                                                                                                                                                                                                                            
[vo/opengl] [  7] vec2 dir = vec2(0, 1);                                                                                                                                                                                                                                       
[vo/opengl] [  8] vec2 pt = (vec2(1.0) / sample_size) * dir;                                                                                                                                                                                                                   
[vo/opengl] [  9] float fcoord = dot(fract(sample_pos * sample_size - vec2(0.5)), dir);                                                                                                                                                                                        
[vo/opengl] [ 10] vec2 base = sample_pos - fcoord * pt - pt * vec2(2);                                                                                                                                                                                                         
[vo/opengl] [ 11] vec4 c;                                                                                                                                                                                                                                                      
[vo/opengl] [ 12] vec4 c1 = texture(lut, vec2(0.25, fcoord));                                                                                                                                                                                                                  
[vo/opengl] [ 13] vec4 c2 = texture(lut, vec2(0.75, fcoord));                                                                                                                                                                                                                  
[vo/opengl] [ 14] float weights[6] = float[](c1.r, c1.g, c1.b, c2.r, c2.g, c2.b);                                                                                                                                                                                              
[vo/opengl] [ 15] // scaler samples                                                                                                                                                                                                                                            
[vo/opengl] [ 16] c = texture(sample_tex, base + pt * vec2(0));                                                                                                                                                                                                                
[vo/opengl] [ 17] color += vec4(weights[0]) * c;                                                                                                                                                                                                                               
[vo/opengl] [ 18] c = texture(sample_tex, base + pt * vec2(1));                                                                                                                                                                                                                
[vo/opengl] [ 19] color += vec4(weights[1]) * c;                                                                                                                                                                                                                               
[vo/opengl] [ 20] c = texture(sample_tex, base + pt * vec2(2));                                                                                                                                                                                                                
[vo/opengl] [ 21] color += vec4(weights[2]) * c;                                                                                                                                                                                                                               
[vo/opengl] [ 22] c = texture(sample_tex, base + pt * vec2(3));                                                                                                                                                                                                                
[vo/opengl] [ 23] color += vec4(weights[3]) * c;                                                                                                                                                                                                                               
[vo/opengl] [ 24] c = texture(sample_tex, base + pt * vec2(4));                                                                                                                                                                                                                
[vo/opengl] [ 25] color += vec4(weights[4]) * c;                                                                                                                                                                                                                               
[vo/opengl] [ 26] c = texture(sample_tex, base + pt * vec2(5));                                                                                                                                                                                                                
[vo/opengl] [ 27] color += vec4(weights[5]) * c;                                                                                                                                                                                                                               
[vo/opengl] [ 28] }                                                                                                                                                                                                                                                            
[vo/opengl] Create FBO: 2048x1024                                                                                                                                                                                                                                              
[vo/opengl] recompiling a shader program:                                                                                                                                                                                                                                      
[vo/opengl] [  1] #define sample_tex  texture0                                                                                                                                                                                                                                 
[vo/opengl] [  2] #define sample_pos  texcoord0                                                                                                                                                                                                                                
[vo/opengl] [  3] #define sample_size texture_size0                                                                                                                                                                                                                            
[vo/opengl] [  4] // pass 2                                                                                                                                                                                                                                                    
[vo/opengl] [  5] vec4 color = vec4(0.0);                                                                                                                                                                                                                                      
[vo/opengl] [  6] {                                                                                                                                                                                                                                                            
[vo/opengl] [  7] vec2 dir = vec2(1, 0);                                                                                                                                                                                                                                       
[vo/opengl] [  8] vec2 pt = (vec2(1.0) / sample_size) * dir;                                                                                                                                                                                                                   
[vo/opengl] [  9] float fcoord = dot(fract(sample_pos * sample_size - vec2(0.5)), dir);                                                                                                                                                                                        
[vo/opengl] [ 10] vec2 base = sample_pos - fcoord * pt - pt * vec2(2);                                                                                                                                                                                                         
[vo/opengl] [ 11] vec4 c;                                                                                                                                                                                                                                                      
[vo/opengl] [ 12] vec4 c1 = texture(lut, vec2(0.25, fcoord));                                                                                                                                                                                                                  
[vo/opengl] [ 13] vec4 c2 = texture(lut, vec2(0.75, fcoord));                                                                                                                                                                                                                  
[vo/opengl] [ 14] float weights[6] = float[](c1.r, c1.g, c1.b, c2.r, c2.g, c2.b);                                                                                                                                                                                              
[vo/opengl] [ 15] // scaler samples                                                                                                                                                                                                                                            
[vo/opengl] [ 16] c = texture(sample_tex, base + pt * vec2(0));                                                                                                                                                                                                                
[vo/opengl] [ 17] color += vec4(weights[0]) * c;                                                                                                                                                                                                                               
[vo/opengl] [ 18] c = texture(sample_tex, base + pt * vec2(1));                                                                                                                                                                                                                
[vo/opengl] [ 19] color += vec4(weights[1]) * c;                                                                                                                                                                                                                               
[vo/opengl] [ 20] c = texture(sample_tex, base + pt * vec2(2));                                                                                                                                                                                                                
[vo/opengl] [ 21] color += vec4(weights[2]) * c;                                                                                                                                                                                                                               
[vo/opengl] [ 22] c = texture(sample_tex, base + pt * vec2(3));                                                                                                                                                                                                                
[vo/opengl] [ 23] color += vec4(weights[3]) * c;                                                                                                                                                                                                                               
[vo/opengl] [ 24] c = texture(sample_tex, base + pt * vec2(4));                                                                                                                                                                                                                
[vo/opengl] [ 25] color += vec4(weights[4]) * c;                                                                                                                                                                                                                               
[vo/opengl] [ 26] c = texture(sample_tex, base + pt * vec2(5));                                                                                                                                                                                                                
[vo/opengl] [ 27] color += vec4(weights[5]) * c;                                                                                                                                                                                                                               
[vo/opengl] [ 28] }                                                                                                                                                                                                                                                            
[vo/opengl] [ 29] color.a = 1.0;                                                                                                                                                                                                                                               
[vo/opengl] [ 30] // scaler post-conversion                                                                                                                                                                                                                                    
[vo/opengl] [ 31] // color management                                                                                                                                                                                                                                          
[vo/opengl] [ 32] color.rgb = clamp(color.rgb, 0.0, 1.0);                                                                                                                                                                                                                      
[vo/opengl] [ 33] color.rgb = pow(color.rgb, vec3(1.0/1.961));                                                                                                                                                                                                                 
[vo/opengl] Dither to 8.                                                                                                                                                                                                                                                       
[vo/opengl] recompiling a shader program:                                                                                                                                                                                                                                      
[vo/opengl] [  1] vec4 color = texture(texture0, texcoord0);                                                                                                                                                                                                                   
[vo/opengl] [  2] // dithering                                                                                                                                                                                                                                                 
[vo/opengl] [  3] vec2 dither_pos = gl_FragCoord.xy / dither_size;                                                                                                                                                                                                             
[vo/opengl] [  4] float dither_value = texture(dither, dither_pos).r;                                                                                                                                                                                                          
[vo/opengl] [  5] color = floor(color * dither_quantization + dither_value + dither_center) / dither_quantization;                                                                                                                                                             
[global] config path: 'fonts' -> '(NULL)'                                                                                                                                                                                                                                      
[global] config path: 'subfont.ttf' -> '(NULL)'                                                                                                                                                                                                                                
[global] config path: 'fonts.conf' -> '(NULL)'                                                                                                                                                                                                                                 
[osd/libass] Setting up fonts...                                                                                                                                                                                                                                               
[osd/libass] Done.                                                                                                                                                                                                                                                             
[global] config path: 'fonts' -> '(NULL)'                                                                                                                                                                                                                                      
[global] config path: 'subfont.ttf' -> '(NULL)'                                                                                                                                                                                                                                
[global] config path: 'fonts.conf' -> '(NULL)'                                                                                                                                                                                                                                 
[osd/libass] Setting up fonts...                                                                                                                                                                                                                                               
[osd/libass] Done.                                                                                                                                                                                                                                                             
[global] config path: 'fonts' -> '(NULL)'                                                                                                                                                                                                                                      
[global] config path: 'subfont.ttf' -> '(NULL)'                                                                                                                                                                                                                                
[global] config path: 'fonts.conf' -> '(NULL)'                                                                                                                                                                                                                                 
[osd/libass] Setting up fonts...                                                                                                                                                                                                                                               
[osd/libass] Done.                                                                                                                                                                                                                                                             
[vo/opengl] Resize: 1915x798                                                                                                                                                                                                                                                   
[vo/opengl] Window size: 1915x798                                                                                                                                                                                                                                              
[vo/opengl] Video source: 1920x800 (1920x800)                                                                                                                                                                                                                                  
[vo/opengl] Video display: (0, 0) 1920x800 -> (0, 0) 1915x798                                                                                                                                                                                                                  
[vo/opengl] Video scale: 0.997396/0.997500                                                                                                                                                                                                                                     
[vo/opengl] OSD borders: l=0 t=0 r=0 b=0                                                                                                                                                                                                                                       
[vo/opengl] Video borders: l=0 t=0 r=0 b=0                                                                                                                                                                                                                                     
[vo/opengl] Create FBO: 1920x1024                                                                                                                                                                                                                                              
[statusline] AV: 00:00:00 / 00:03:38 (0%) A-V:  0.001
[vo/opengl] after OSD rendering: OpenGL error INVALID_OPERATION.
[vo/opengl] after OSD rendering: OpenGL error INVALID_OPERATION.                                                                                                                                                                                                               
[statusline] AV: 00:00:00 / 00:03:38 (0%) A-V:  0.000
[vo/opengl] Create FBO: 2048x1024
[statusline] AV: 00:00:00 / 00:03:38 (0%) A-V:  0.000
[vo/opengl] recompiling a shader program:
[vo/opengl] [  1] vec4 color = mix(texture(texture0, texcoord0), texture(texture1, texcoord1), inter_coeff);                                                                                                                                                                   
[vo/opengl] [  2] // dithering                                                                                                                                                                                                                                                 
[vo/opengl] [  3] vec2 dither_pos = gl_FragCoord.xy / dither_size;                                                                                                                                                                                                             
[vo/opengl] [  4] float dither_value = texture(dither, dither_pos).r;                                                                                                                                                                                                          
[vo/opengl] [  5] color = floor(color * dither_quantization + dither_value + dither_center) / dither_quantization;                                                                                                                                                             
[vo/opengl] Create FBO: 2048x1024                                                                                                                                                                                                                                              
[statusline] AV: 00:00:00 / 00:03:38 (0%) A-V:  0.000
[vo/opengl] Create FBO: 2048x1024
[statusline] AV: 00:00:01 / 00:03:38 (0%) A-V:  0.000
[cplayer] Run command: cycle, flags=9, args=[fullscreen, (NULL)]
[statusline] AV: 00:00:01 / 00:03:38 (0%) A-V:  0.000
[vo/opengl] Resize: 1920x1080
[vo/opengl] Window size: 1920x1080
[vo/opengl] Video source: 1920x800 (1920x800)
[vo/opengl] Video display: (0, 0) 1920x800 -> (0, 140) 1920x800
[vo/opengl] Video scale: 1.000000/1.000000
[vo/opengl] OSD borders: l=0 t=140 r=0 b=140
[vo/opengl] Video borders: l=0 t=140 r=0 b=140
[statusline] AV: 00:00:01 / 00:03:38 (0%) A-V:  0.000
[vo/opengl] Create FBO: 1920x1024
[vo/opengl] after creating framebuffer texture: OpenGL error INVALID_OPERATION.
[statusline] AV: 00:00:03 / 00:03:38 (1%) A-V:  0.000
[cplayer] Run command: show_progress, flags=9, args=[]
[statusline] AV: 00:00:03 / 00:03:38 (1%) A-V:  0.000
[vo/opengl] recompiling a shader program:
[vo/opengl] [  1] // OSD (libass)
[vo/opengl] [  2] vec4 color = vec4(ass_color.rgb, ass_color.a * texture(osdtex, texcoord).r);
[statusline] AV: 00:00:04 / 00:03:38 (2%) A-V:  0.000
[cplayer] Run command: quit, flags=9, args=[0]
[cplayer] EOF code: 6  
[cplayer] 
[ad] Uninit audio filters...
[af] Removing filter lavrresample 
[ad] Uninit audio decoder.
[vd] Uninit video.
[cplayer] 
[cplayer] Exiting... (Quit)
[ytdl_hook] Exiting...
[osc] Exiting...
[ao/alsa] draining...
[vo/opengl/vdpau] Before uninitializing OpenGL interop: OpenGL error INVALID_OPERATION.
[vo/opengl/x11] Enabling screensaver.
[vo/opengl/x11] uninit ...

Part of it seems related to OSD & FS handling, maybe? (cf. show_progress & switch to fullscreen in the log).

NiLuJe commented 9 years ago

Perfect, thanks :).