pesintta / vdr-plugin-vaapidevice

VDR VAAPIDevice Plug-in
9 stars 12 forks source link

post process color issue #113

Open 9000h opened 6 years ago

9000h commented 6 years ago

looks like there is still a issue with the post process settings screenshot from 2018-03-17 13-14-20 if you go to the vaapidevice plugin settings (no need to change anything) and the go out the screen goes gray

VAAPIDEVICE SYSTEM INFORMATION REPORT

inxi
System:    Kernel: 4.15.10-041510-generic x86_64 bits: 64 gcc: 7.2.0
           Console: tty 0 Distro: Ubuntu Bionic Beaver (development branch)
Machine:   Device: laptop System: Acer product: Aspire ES1-533 v: V1.12 serial: <filter>
           Mobo: Acer model: Stego_AP v: V1.12 serial: <filter>
           UEFI: Insyde v: V1.12 date: 10/18/2017
CPU:       Quad core Intel Pentium N4200 (-MCP-) arch: N/A cache: 1024 KB
           flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 8755
           clock speeds: max: 2500 MHz 1: 1899 MHz 2: 1862 MHz 3: 1812 MHz
           4: 1764 MHz
Graphics:  Card: Intel Celeron N3350/Pentium N4200/Atom E3900 Series Integrated Graphics Controller
           bus-ID: 00:02.0
           Display Server: X.Org 1.19.6 driver: i915
           Resolution: 1920x1080@60.01hz
           OpenGL: renderer: Mesa DRI Intel HD Graphics 505 (Broxton)
           version: 4.5 Mesa 18.0.0-rc4 Direct Render: Yes
Audio:     Card Intel Celeron N3350/Pentium N4200/Atom E3900 Series Audio Cluster
           driver: snd_hda_intel bus-ID: 00:0e.0
           Sound: ALSA v: k4.15.10-041510-generic
vainfo
vainfo: VA-API version: 1.1 (libva 2.1.0)
vainfo: Driver version: Intel i965 driver for Intel(R) Broxton - 2.0.0
vainfo: Supported profile and entrypoints
      VAProfileMPEG2Simple            : VAEntrypointVLD
      VAProfileMPEG2Main              : VAEntrypointVLD
      VAProfileH264ConstrainedBaseline: VAEntrypointVLD
      VAProfileH264ConstrainedBaseline: VAEntrypointEncSlice
      VAProfileH264ConstrainedBaseline: VAEntrypointEncSliceLP
      VAProfileH264Main               : VAEntrypointVLD
      VAProfileH264Main               : VAEntrypointEncSlice
      VAProfileH264Main               : VAEntrypointEncSliceLP
      VAProfileH264High               : VAEntrypointVLD
      VAProfileH264High               : VAEntrypointEncSlice
      VAProfileH264High               : VAEntrypointEncSliceLP
      VAProfileH264MultiviewHigh      : VAEntrypointVLD
      VAProfileH264MultiviewHigh      : VAEntrypointEncSlice
      VAProfileH264StereoHigh         : VAEntrypointVLD
      VAProfileH264StereoHigh         : VAEntrypointEncSlice
      VAProfileVC1Simple              : VAEntrypointVLD
      VAProfileVC1Main                : VAEntrypointVLD
      VAProfileVC1Advanced            : VAEntrypointVLD
      VAProfileNone                   : VAEntrypointVideoProc
      VAProfileJPEGBaseline           : VAEntrypointVLD
      VAProfileJPEGBaseline           : VAEntrypointEncPicture
      VAProfileVP8Version0_3          : VAEntrypointVLD
      VAProfileHEVCMain               : VAEntrypointVLD
      VAProfileHEVCMain               : VAEntrypointEncSlice
      VAProfileHEVCMain10             : VAEntrypointVLD
ffmpeg
ffmpeg version 3.4.git-1 Copyright (c) 2000-2018 the FFmpeg developers
built with gcc 7 (Ubuntu 7.3.0-5ubuntu1)
libavutil      56.  7.100 / 56.  7.100
libavcodec     58.  9.100 / 58.  9.100
libavformat    58.  3.100 / 58.  3.100
libavdevice    58.  0.100 / 58.  0.100
libavfilter     7. 11.101 /  7. 11.101
libavresample   4.  0.  0 /  4.  0.  0
libswscale      5.  0.101 /  5.  0.101
libswresample   3.  0.101 /  3.  0.101
libpostproc    55.  0.100 / 55.  0.100
gcc
7
svdrpsend
220 <filter> SVDRP VideoDiskRecorder 2.3.8; Sat Mar 17 14:19:13 2018; UTF-8
900- Frames: missed(0) duped(45) dropped(195) total(690) PTS(13:59:53.384) drift(35) audio(384) video(0)
900- Video: h264/vaapi_vld 1280x720p 16:9 @ 1853x1025 - Intel i965 driver for Intel(R) Broxton - 2.0.0
900- Audio: mp2 48000Hz 2 channels
900 Command: vaapidevice -d :0.0 -v va-api -a pulse -c softvol -w alsa-driver-broken
221 <filter> closing connection
INCLUDE THIS REPORT INTO YOUR GITHUB ISSUE
rofafor commented 6 years ago

Your issue is missing necessary system information.

seahawk1986 commented 6 years ago

I had a similar effect after saving the plugin settings for the fist time - setting contrast and saturation were set 1 and I hat to set them to 10 again to restore the "normal" image.

Should'nt those variables be initialized to the value 10 instead of 1? https://github.com/pesintta/vdr-plugin-vaapidevice/blob/master/vaapidevice.cpp#L76

rofafor commented 6 years ago

The min/max/default values and the step function are defined in the driver, so changing the initialization value to another one might break other hardware. The driver values are read here: https://github.com/pesintta/vdr-plugin-vaapidevice/blob/master/video.c#L2458 . Please, check what your driver states about the default value: is it 10 or 1 or something else...