intel / intel-vaapi-driver

VA-API user mode driver for Intel GEN Graphics family
https://01.org/linuxmedia
Other
303 stars 126 forks source link

Playing Video with Different Buffer/Video Resolutions Causes Green Screen #476

Open callagg2 opened 5 years ago

callagg2 commented 5 years ago

If i try to play a video, where the video resolution differs to the buffer resolution, I get a green screen in Linux Mint Xplayer & Totem, yet it is fine in VLC, Gnome MPV, and MPV media Player. I raised this issue this here (https://github.com/linuxmint/xplayer/issues/142) and it was suggested that i raise it here. There was one suggestion here (https://askubuntu.com/questions/1051355/ubuntu-18-04-performance-issue-playing-high-quality-videos) that to solve the issue, [quote]Try with this command, sudo apt remove gstreamer1.0-vaapi I faced same problem with videos displayed in distorted manner. After this the video displayed is now with better quality. [/quote]

My set up is as follows: Kernel: 4.15.0-55-generic x86_64 bits: 64 Desktop: Cinnamon 4.2.2 Distro: Linux Mint 19.2 Tina Type: Laptop System: Dell product: Latitude E4310 v: 0001 serial: Mobo: Dell model: 0XG3JF v: A00 serial: BIOS: Dell v: A15 date: 05/12/2017 Graphics: Device-1: Intel Core Processor Integrated Graphics driver: i915 v: kernel Display: x11 server: X.Org 1.19.6 driver: modesetting unloaded: fbdev,vesa resolution: 1360x76860Hz, 1920x108060Hz OpenGL: renderer: Mesa DRI Intel Ironlake Mobile v: 2.1 Mesa 19.0.2

From vainfo output libva info: VA-API version 1.1.0 libva info: va_getDriverName() returns 0 libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so libva info: Found init function __vaDriverInit_1_1 libva info: va_openDriver() returns 0 vainfo: VA-API version: 1.1 (libva 2.1.0) vainfo: Driver version: Intel i965 driver for Intel(R) Ironlake Mobile - 2.1.0 vainfo: Supported profile and entrypoints VAProfileMPEG2Simple : VAEntrypointVLD VAProfileMPEG2Main : VAEntrypointVLD VAProfileH264ConstrainedBaseline: VAEntrypointVLD VAProfileH264Main : VAEntrypointVLD VAProfileH264High : VAEntrypointVLD VAProfileNone : VAEntrypointVideoProc

Any suggestions on how to solve this?