Try "-a alsa/default" in plugin params.
Beiträge von lnj
-
-
I have installed Nvidia+Intel both.
root@ua0lnjvdr:/dev/dri# ls -l /dev/dri
total 0
drwxr-xr-x 2 root root 120 мар 18 23:00 by-path
crw-rw---- 1 root video 226, 0 мар 17 22:32 card0
crw-rw---- 1 root video 226, 1 мар 18 23:00 card1
crw-rw---- 1 root render 226, 128 мар 17 22:32 renderD128
crw-rw---- 1 root render 226, 129 мар 17 22:32 renderD129
This method doesn't work for me.
And, we need to find the reason, then we will find a solution.
-
You can try add in mpv plugin, player.c, after line 522:
check_error(mpv_set_option_string(hMpv, "drm-device", "/dev/dri/card0"));
Codeif (!strcmp(MpvPluginConfig->GpuCtx.c_str(),"drm") || !strcmp(MpvPluginConfig->VideoOut.c_str(),"drm")) { drm_ctx = 1; check_error(mpv_set_option_string(hMpv, "drm-device", "/dev/dri/card0")); }
or card1
I haven't been able to reproduce the crash yet.
-
Forget about mp3 plugin, use mpv plugin. It plays everything, video, audio, image, iptv, etc...
-
Fixed, version 2.1.2.
-
Not reproduce with your config too.
Fedora 39 as is, ffmpeg 6.1.1.
-
I can't reproduce it. What skin do you use, what other plugins?
But I use nvidia-550 driver now.
If you started without -s, have you crash too?
And give the softhddevice part of the config.
-
May be, you set "suspend stops x11"?
-
While I'm busy with other projects.
-
Most likely the tracer is reporting this incorrectly.
#13 0x00007fffebf97fce in cMpvPlayer::~cMpvPlayer() (this=0x5555699e49f0, __in_chrg=<optimized out>) at player.c:272
#14 0x00007fffebf981ed in cMpvPlayer::~cMpvPlayer() (this=0x5555699e49f0, __in_chrg=<optimized out>) at player.c:274
#15 0x00007fffebf8e4a4 in cMpvControl::~cMpvControl() (this=0x55555912a110, __in_chrg=<optimized out>) at control.c:67
#16 0x00007fffebf8e61d in cMpvControl::~cMpvControl() (this=0x55555912a110, __in_chrg=<optimized out>) at control.c:72
Entering in the cMpvControl::~cMpvControl() must be only once. And one exit at 72.
Also, cannot be first 274 and then 272.
cinfo If you're not using libplacebo, I'll try testing drm some time later.
-
You can comment
vdr-plugin-mpv/control.c at master · ua0lnj/vdr-plugin-mpvfork of https://projects.vdr-developer.org/git/vdr-plugin-mpv.git - ua0lnj/vdr-plugin-mpvgithub.comThis is the only external call until the plugin is closed. And this is the original code that was always there, I don’t remember what it affects now.
-
Everything is fine with the code, everything works fine with x11 (softhdvaapi and softhddevice), the only problem is with drm. I don't have crashes with drm, but I don't use libplacebo. Ubuntu 24.04 will be released in April, then after the update I will be able to compile the latest mpv and softhddrm with libplacebo, and try to reproduce the problem.
-
With the latest softhddrm I don’t have any crashes, but there is a strong flickering when exiting the MPV. And there are no ideas of what can be done either.
-
Makefile:
#CONFIG := -DDEBUG # uncomment to build DEBUG
That's all.
-
Try other synchronization modes in the softhddevice OSD menu.
Also, enable 60 Hz screen, if you use it.
-
Yes, there is a problem with cuvid, everything is fine with vdpau and nvdec. When I have time, I'll see if this can be fixed.
-
-
If this error occurs when playing the recording, then post the recording.
-
I didn't quite understand the question. I can’t tell by the versions of the packages, I compile mpv from sources, but mpv from git is now impossible to compile on Ubuntu 24.04, because some libraries are outdated.
-
No mpv-devel package.