Hallo zusammen
Vorne vorweg. Installiert habe ich das Arch Ende 2017 mit der Antergos.iso
Ich habe mir einen neuen Monitor gekauft Einen AOC U2777PQU (4K Auflösung)(per Displayport). Er ist zusammen mit meinen Sony TV (FullHD)(per HDMI) an der Grafikkarte NVIDIA GeForce GTX 1070 angeschlossen.
Das Problem: Läuft der Monitor auf 4k Auflösung liefert mir VLC nur einen Ton aber kein Bild. Und die GUI von VLC hat macht auch Probleme. Genauso SMPlayer (gleiche Probleme). Der mpv Player hingegen spielt Bild und Ton ab. Stelle Ich die Bildschirmauflösung auf FullHD zurück, funktioniert der vlc player ganz normal (Bild+Ton und keine glitches an der GUI).
System: KDE Frameworks 5.62.0 / Qt 5.13.1 (kompiliert gegen 5.13.1) / Plasma 5.16.5 / Kernel 5.3.arch1-1
Installiert ist der Closed source nvidia treiber
[fab@pc ~]$ pacman -Q | grep nvidia
lib32-nvidia-utils 435.21-1
lib32-opencl-nvidia 435.21-1
nvidia 435.21-5
nvidia-settings 435.21-1
nvidia-utils 435.21-1
opencl-nvidia 435.21-1
[fab@pc ~]$ pacman -Q | grep vdpau
lib32-libvdpau 1.3-1
libva-vdpau-driver 0.7.4-4
libvdpau 1.3-1
mesa-vdpau 19.1.7-1
vdpauinfo 1.0-3
Hier ein paar ausgaben
vlc mit Video Ausgabe auf "VDPAU"
[fab@pc ~]$ vlc a.mkv
VLC media player 3.0.8 Vetinari (revision 3.0.8-0-gf350b6b5a7)
[000056286ccf9570] main libvlc: VLC wird mit dem Standard-Interface ausgeführt. Benutzen Sie 'cvlc', um VLC ohne Interface zu verwenden.
[000056286cdf86b0] main audio output error: too low audio sample frequency (0)
[00007fcd458cfae0] main decoder error: failed to create audio output
[000056286cdf86b0] vlcpulse audio output error: digital pass-through stream connection failure: Nicht unterstützt
[000056286cdf86b0] main audio output error: module not functional
[00007fcd458cfae0] main decoder error: failed to create audio output
[00007fcd34049da0] main video output error: video output creation failed
[00007fcd4cc2b240] main decoder error: failed to create video output
[00007fcd4cc2b240] avcodec decoder: Using NVIDIA VDPAU Driver Shared Library 435.21 Sun Aug 25 08:06:02 CDT 2019 for hardware decoding
vlc mit Video Ausgabe auf "Automatisch"
[fab@pc ~]$ vlc a.mkv
VLC media player 3.0.8 Vetinari (revision 3.0.8-0-gf350b6b5a7)
[000055c9afdf5570] main libvlc: VLC wird mit dem Standard-Interface ausgeführt. Benutzen Sie 'cvlc', um VLC ohne Interface zu verwenden.
[000055c9afef46b0] main audio output error: too low audio sample frequency (0)
[00007efbf18d1e50] main decoder error: failed to create audio output
[000055c9afef46b0] vlcpulse audio output error: digital pass-through stream connection failure: Nicht unterstützt
[000055c9afef46b0] main audio output error: module not functional
[00007efbf18d1e50] main decoder error: failed to create audio output
[00007efbf9859a00] avcodec decoder: Using NVIDIA VDPAU Driver Shared Library 435.21 Sun Aug 25 08:06:02 CDT 2019 for hardware decoding
mplayer
[fab@pc ~]$ mplayer a.mkv
MPlayer SVN-r38139 (C) 2000-2019 MPlayer Team
225 audio & 465 video codecs
do_connect: could not connect to socket
connect: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.
Playing a.mkv.
libavformat version 58.29.100 (external)
Mismatching header version 58.20.100
libavformat file format detected.
[lavf] stream 0: video (h264), -vid 0
[lavf] stream 1: audio (ac3), -aid 0, -alang ger
[lavf] stream 2: audio (ac3), -aid 1, -alang eng
[lavf] stream 3: subtitle (srt), -sid 0, -slang ger
VIDEO: [H264] 1920x800 0bpp 23.976 fps 0.0 kbps ( 0.0 kbyte/s)
Could not find a UTF-8 locale,
character keys beyond Latin-1 will not be handled.
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
libavcodec version 58.54.100 (external)
Mismatching header version 58.35.100
Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
==========================================================================
Clip info:
encoder: libebml v1.3.3 + libmatroska v1.4.4
creation_time: 2017-09-25T17:19:02.000000Z
Load subtitles in ./
==========================================================================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
[ac3 @ 0x7f311dfde8c0]Channel layout '5.1(side)' with 6 channels does not match specified number of channels 2: ignoring specified channel layout
AUDIO: 48000 Hz, 2 ch, floatle, 640.0 kbit/20.83% (ratio: 80000->384000)
Selected audio codec: [ffac3] afm: ffmpeg (FFmpeg AC-3)
==========================================================================
[AO OSS] audio_setup: Can't open audio device /dev/dsp: No such file or directory
AO: [alsa] 48000Hz 2ch floatle (4 bytes per sample)
Starting playback...
Movie-Aspect is 2.40:1 - prescaling to correct movie aspect.
mpv Player (spielt Bild+Ton ab)
[fab@pc ~]$ mpv a.mkv
Playing: a.mkv
(+) Video --vid=1 (*) (h264 1920x800 23.976fps)
(+) Audio --aid=1 --alang=ger (*) (ac3 6ch 48000Hz)
Audio --aid=2 --alang=eng (ac3 6ch 48000Hz)
(+) Subs --sid=1 --slang=ger (*) (f) (subrip)
AO: [pulse] 48000Hz 5.1(side) 6ch float
VO: [gpu] 1920x800 yuv420p
vainfo
vainfo: VA-API version: 1.5 (libva 2.5.0)
vainfo: Driver version: Splitted-Desktop Systems VDPAU backend for VA-API - 0.7.4
vainfo: Supported profile and entrypoints
VAProfileMPEG2Simple : VAEntrypointVLD
VAProfileMPEG2Main : VAEntrypointVLD
VAProfileMPEG4Simple : VAEntrypointVLD
VAProfileMPEG4AdvancedSimple : VAEntrypointVLD
<unknown profile> : VAEntrypointVLD
VAProfileH264Main : VAEntrypointVLD
VAProfileH264High : VAEntrypointVLD
VAProfileVC1Simple : VAEntrypointVLD
VAProfileVC1Main : VAEntrypointVLD
VAProfileVC1Advanced : VAEntrypointVLD
vdpauinfo:
display: :0 screen: 0
API version: 1
Information string: NVIDIA VDPAU Driver Shared Library 435.21 Sun Aug 25 08:06:02 CDT 2019
Video surface:
name width height types
-------------------------------------------
420 8192 8192 NV12 YV12
422 8192 8192 UYVY YUYV
444 8192 8192
Decoder capabilities:
name level macbs width height
----------------------------------------------------
MPEG1 0 65536 4096 4096
MPEG2_SIMPLE 3 65536 4096 4096
MPEG2_MAIN 3 65536 4096 4096
H264_BASELINE 51 65536 4096 4096
H264_MAIN 51 65536 4096 4096
H264_HIGH 51 65536 4096 4096
VC1_SIMPLE 1 8190 2048 2048
VC1_MAIN 2 8190 2048 2048
VC1_ADVANCED 4 8190 2048 2048
MPEG4_PART2_SP 3 8192 2048 2048
MPEG4_PART2_ASP 5 8192 2048 2048
DIVX4_QMOBILE 0 8192 2048 2048
DIVX4_MOBILE 0 8192 2048 2048
DIVX4_HOME_THEATER 0 8192 2048 2048
DIVX4_HD_1080P 0 8192 2048 2048
DIVX5_QMOBILE 0 8192 2048 2048
DIVX5_MOBILE 0 8192 2048 2048
DIVX5_HOME_THEATER 0 8192 2048 2048
DIVX5_HD_1080P 0 8192 2048 2048
H264_CONSTRAINED_BASELINE 51 65536 4096 4096
H264_EXTENDED 51 65536 4096 4096
H264_PROGRESSIVE_HIGH 51 65536 4096 4096
H264_CONSTRAINED_HIGH 51 65536 4096 4096
H264_HIGH_444_PREDICTIVE 51 65536 4096 4096
HEVC_MAIN 153 262144 8192 8192
HEVC_MAIN_10 --- not supported ---
HEVC_MAIN_STILL --- not supported ---
HEVC_MAIN_12 --- not supported ---
HEVC_MAIN_444 --- not supported ---
Output surface:
name width height nat types
----------------------------------------------------
B8G8R8A8 32768 32768 y Y8U8V8A8 V8U8Y8A8 A4I4 I4A4 A8I8 I8A8
R10G10B10A2 32768 32768 y Y8U8V8A8 V8U8Y8A8 A4I4 I4A4 A8I8 I8A8
Bitmap surface:
name width height
------------------------------
B8G8R8A8 32768 32768
R8G8B8A8 32768 32768
R10G10B10A2 32768 32768
B10G10R10A2 32768 32768
A8 32768 32768
Video mixer:
feature name sup
------------------------------------
DEINTERLACE_TEMPORAL y
DEINTERLACE_TEMPORAL_SPATIAL y
INVERSE_TELECINE y
NOISE_REDUCTION y
SHARPNESS y
LUMA_KEY y
HIGH QUALITY SCALING - L1 y
HIGH QUALITY SCALING - L2 -
HIGH QUALITY SCALING - L3 -
HIGH QUALITY SCALING - L4 -
HIGH QUALITY SCALING - L5 -
HIGH QUALITY SCALING - L6 -
HIGH QUALITY SCALING - L7 -
HIGH QUALITY SCALING - L8 -
HIGH QUALITY SCALING - L9 -
parameter name sup min max
-----------------------------------------------------
VIDEO_SURFACE_WIDTH y 1 8192
VIDEO_SURFACE_HEIGHT y 1 8192
CHROMA_TYPE y
LAYERS y 0 4
attribute name sup min max
-----------------------------------------------------
BACKGROUND_COLOR y
CSC_MATRIX y
NOISE_REDUCTION_LEVEL y 0.00 1.00
SHARPNESS_LEVEL y -1.00 1.00
LUMA_KEY_MIN_LUMA y
LUMA_KEY_MAX_LUMA y
Oder liegt das vielleicht am Scaling (von Qt)?
Unter Einstellungen -> Anzeige und Monitor -> ANzeige skalieren -> 1.6
[fab@pc ~]$ export -p
.
.
declare -x QT_AUTO_SCREEN_SCALE_FACTOR="0"
declare -x QT_SCREEN_SCALE_FACTORS="DVI-D-0=1.6;HDMI-0=1.6;HDMI-1=1.6;DP-0=1.6;DP-1=1.6;DP-2=1.6;DP-3=1.6;"
.
.
Oder ist das ein Bildwiederhohlrate? Weil ein User bei Amazon schreibt:
"Eine Sache ist allerdings zu beachten: 4k mit 60Hz funktionieren ausschließlich über DisplayPort (1.2 oder höher) oder HDMI 2.0. Die beim Monitor mitgelieferten Kabel sind allerdings dazu nicht geeignet. Ich kann nicht genau sagen woran es liegt (Abschirmung?), aber ich hatte erst Erfolg nachdem ich ein anderes DisplayPort-Kabel (~17Gbit/s Bandbreite und 4-Leitungen) verwendet habe."