ich hänge mal hier das "mpv" Log mit DRM-Ausgabe an, vielleicht hilft es ja dem Problem auf die Spur zu kommen.
vdr-plugin-mpv
-
-
gibt es schon einen Lösungsansatz für "DRM" als card0 oder card1 z.B. über eine neue
Einstellung im Makefile für die Erstellung das Plugins?
-
This will be done differently, but for now it is not a priority. There is no solution for the crash yet. If crashing after launching the plugin is not so bad for you, I can make the card switching.
-
Ok, wichtig ist beides
-
As long as you have both probs solved, when I return from my holiday (friday 20th) everything is fine
-
-
Selecting drm devices in git, but the crashing issue is not resolved yet.
-
<
hier einmal zum Testen
nach dem Verlassen(Stop) von mpv hat die 1.7.0 wieder das superkleine OSD
-
Yes, my bug.
-
Fixed.
-
Fixed.
im GIT?
-
Yes. 1.7.1.
-
THX lnj I also tried drm force:
.conf: -e drm /dev/dri/card1
worked.
BTW: Why is mpv alays playing the Files 1080p ?
[ 0.022][v][vo/gpu/drm] Selected mode: 1920x1080 (1920x1080@50.00Hz)
Code
Alles anzeigen[ 0.010][v][cplayer] Configuration: meson configure build -Dprefix=/usr -Dbuildtype=plain -Doptimization=plain [ 0.010][v][cplayer] List of enabled features: alsa caca cdda cplugins cuda-hwaccel cuda-interop dmabuf-interop-gl dmabuf-wayland drm dvbin dvdnav egl egl-drm egl-wayland egl-x11 ffmpeg ffnvcodec gbm gl glibc-thread-name glob glob-posix gpl iconv jack javascript jpeg lcms2 libarchive libass libavdevice libbluray libdl libplacebo linux-fstatfs lua52 memfd-create pipewire posix posix-shm ppoll pthread-condattr-setclock pulse rubberband sdl2 sdl2-audio sdl2-gamepad sdl2-video sixel uchardet vaapi vaapi-drm vaapi-wayland vaapi-x11 vdpau vector vk-khr-display vt.h vulkan wayland x11 xv zimg zlib [ 0.010][d][global] home path: '' -> '/usr/share/vdr/plugins/mpv-c1' [ 0.010][d][global] user path: '~~home/' -> '/usr/share/vdr/plugins/mpv-c1' [ 0.010][d][global] user path: '~~old_home/' -> '' [ 0.010][d][global] config path: 'encoding-profiles.conf' -/-> '/usr/share/vdr/plugins/mpv-c1/encoding-profiles.conf' [ 0.010][d][global] config path: 'mpv.conf' -/-> '/usr/share/vdr/plugins/mpv-c1/mpv.conf' [ 0.010][d][global] config path: 'config' -/-> '/usr/share/vdr/plugins/mpv-c1/config' [ 0.012][d][global] config path: 'input.conf' -/-> '/usr/share/vdr/plugins/mpv-c1/input.conf' [ 0.012][d][global] user path: '/var/log/mpv' -> '/var/log/mpv' [ 0.012][d][ytdl_hook] Loading lua script @ytdl_hook.lua... [ 0.012][d][stats] Loading lua script @stats.lua... [ 0.012][d][console] Loading lua script @console.lua... [ 0.012][d][auto_profiles] Loading lua script @auto_profiles.lua... [ 0.012][d][global] config path: 'scripts' -/-> '/usr/share/vdr/plugins/mpv-c1/scripts' [ 0.012][v][vo/gpu/opengl] Initializing GPU context 'drm' [ 0.012][d][auto_profiles] loading mp.defaults [ 0.012][d][console] loading mp.defaults [ 0.013][d][stats] loading mp.defaults [ 0.013][d][ytdl_hook] loading mp.defaults [ 0.013][d][stats] loading @stats.lua [ 0.013][d][console] loading @console.lua [ 0.013][d][auto_profiles] loading @auto_profiles.lua [ 0.013][e][vo/gpu/drm] Can't open TTY for VT control: Kein passendes Gerät bzw. keine passende Adresse gefunden [ 0.013][w][vo/gpu/drm] Failed to set up VT switcher. Terminal switching will be unavailable. [ 0.014][v][vo/gpu/drm] Driver: i915 1.6.0 (20230929) [ 0.014][d][ytdl_hook] loading @ytdl_hook.lua [ 0.015][d][stats] reading options for stats [ 0.015][d][global] config path: 'script-opts/stats.conf' -/-> '/usr/share/vdr/plugins/mpv-c1/script-opts/stats.conf' [ 0.015][d][stats] script-opts/stats.conf not found. [ 0.015][d][global] config path: 'lua-settings/stats.conf' -/-> '/usr/share/vdr/plugins/mpv-c1/lua-settings/stats.conf' [ 0.015][d][stats] lua-settings/stats.conf not found. [ 0.017][d][ytdl_hook] reading options for ytdl_hook [ 0.017][d][global] config path: 'script-opts/ytdl_hook.conf' -/-> '/usr/share/vdr/plugins/mpv-c1/script-opts/ytdl_hook.conf' [ 0.017][d][ytdl_hook] script-opts/ytdl_hook.conf not found. [ 0.017][d][global] config path: 'lua-settings/ytdl_hook.conf' -/-> '/usr/share/vdr/plugins/mpv-c1/lua-settings/ytdl_hook.conf' [ 0.017][d][ytdl_hook] lua-settings/ytdl_hook.conf not found. [ 0.022][v][vo/gpu/drm] Connector 327 currently connected to encoder 326 [ 0.022][v][vo/gpu/drm] Selected Encoder 326 with CRTC 98 [ 0.022][v][vo/gpu/drm] Selected mode: 1920x1080 (1920x1080@50.00Hz) [ 0.022][v][vo/gpu/drm] DRM Atomic support found [ 0.030][v][vo/gpu/drm] Using primary plane 31 as draw plane [ 0.030][v][vo/gpu/drm] Using overlay plane 40 as drmprime plane [ 0.030][v][vo/gpu] GBM_FORMAT_ARGB8888 supported by draw plane. [ 0.030][v][vo/gpu] Supported modifier: 0x100000000000006 [ 0.030][v][vo/gpu] Supported modifier: 0x100000000000008 [ 0.030][v][vo/gpu] Supported modifier: 0x100000000000002 [ 0.030][v][vo/gpu] Supported modifier: 0x100000000000001 [ 0.030][v][vo/gpu] Supported modifier: 0x0 [ 0.030][v][vo/gpu] Creating GBM device [ 0.035][v][vo/gpu] Initializing GBM surface (1920 x 1080)
-
sieht hier etwas anders aus --> hier erfolgt ein Resize der HD-Aufnahme in 4K
Code
Alles anzeigen[ 36.991][i][cplayer] AO: [alsa] 44100Hz stereo 2ch float [ 36.991][v][cplayer] AO: Description: ALSA audio output [ 36.991][v][autoconvert] inserting resampler [ 36.991][v][swresample] format change, reinitializing resampler [ 36.991][v][swresample] 44100Hz stereo floatp -> 44100Hz stereo float [ 36.991][v][af] [out] 44100Hz stereo 2ch float [ 36.992][i][cplayer] VO: [gpu] 1920x1080 vaapi[nv12] [ 36.992][v][cplayer] VO: Description: Shader-based GPU Renderer [ 36.992][v][vo/gpu] reconfig to 1920x1080 vaapi[nv12] bt.709/bt.709/bt.1886/limited/display CL=mpeg2/4/h264 crop=1920x1080+0+0 [ 36.992][v][vo/gpu] Resize: 3840x2160 [ 36.992][v][vo/gpu] Window size: 3840x2160 (Borders: l=0 t=0 r=0 b=0) [ 36.992][v][vo/gpu] Video source: 1920x1080 (1:1) [ 36.992][v][vo/gpu] Video display: (0, 0) 1920x1080 -> (0, 0) 3840x2160 [ 36.992][v][vo/gpu] Video scale: 2.000000/2.000000 [ 36.992][v][vo/gpu] OSD borders: l=0 t=0 r=0 b=0 [ 36.992][v][vo/gpu] Video borders: l=0 t=0 r=0 b=0 [ 36.992][v][vo/gpu] Reported display depth: 8 [ 36.992][v][vo/gpu] Testing FBO format rgba16f
-
In general, mpv uses the current resolution of the screen and scales it to it.
-
THX lnj I also tried drm force:
.conf: -e drm /dev/dri/card1
worked.
It should also work without this, if there is only one card in the system.
-
In general, mpv uses the current resolution of the screen and scales it to it.
THX, but is there a way that mpv uses the resolution of the video ... = without any scaling/change ?
-
You can play a video without scaling, but it won’t fit into the screen size, so there’s no point. MPV cannot control screen resolution directly.
-
lnj THX for your continous support !!!!
- Do you have an idea when you have time to solve the "stack-problem" ?- Right now after deleting the file watched you have to press buttons to get to the vdr main menue and then press blue to end mpv.
I still hope to convince you to have an explizit possibility to exit after deleting the file just watched (like the blue button) ...
-
Do you have an idea when you have time to solve the "stack-problem" ?
Please stop pushing. lnj is doing this voluntarily in his free time without any obligations.
Jetzt mitmachen!
Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!