vdr-plugin-mpv
-
-
-
very small OSD!
I understand, the plugin can't get screen info.
in player.c, line ~463:
fd = open("/dev/dri/card0", O_RDWR);
Change it to need card.
zum Testen
-
-
danke cinfo wie schaut denn der Code jetzt aus ?
wie sieht der es mit dem Test aus
-
Danke 1a und kann der Code auch card0 handeln
-
Danke 1a und kann der Code auch card0 handeln
nein, dafür müsse man das so umschreiben das man dieses auch in der mpv.conf setzen könnte
-
Kompromiss wäre ...
if card1 dann diese
Else card0
-
-
I'll think about how to make a card selection.
The most important thing is, does the VDR crash or not?
-
I'll think about how to make a card selection.
The most important thing is, does the VDR crash or not?
jetzt ist alles fein mit dem VDR -- Danke
-
lnj Regarding crashes: It is the same as with the last kernel. It crashes after 5-10 exits. In the following case it was after the 6th exit.
jojo61 :
Code
Display More(gdb) bt #0 0x0000000000000000 in () #1 0x00007ffff68f2927 in drm_swap_buffers () at /usr/src/ENTWICKLUNG_VDR/!VDR/vdr/PLUGINS/vdr-plugin-softhdcuvid/drm.c:499 #2 0x00007ffff68f6162 in make_egl () at video.c:1999 #3 0x00007ffff68f62a0 in EglInit () at video.c:1185 #4 CuvidGlxInit (display_name=<optimized out>) at video.c:2170 #5 0x00007ffff68fb8e5 in VideoInit (display_name=0x5555557dca20 ":0.0") at video.c:7214 #6 0x00007ffff68f1487 in StartVideo () at softhddev.c:1948 #7 Resume () at softhddev.c:3279 #8 0x00007ffff68e85a5 in cSoftHdDevice::SetPlayMode(ePlayMode) (this=0x555555f412b0, play_mode=pmNone) at softhdcuvid.cpp:2631 #9 0x000055555561dfa6 in cDevice::Detach(cPlayer*) () #10 0x00007fffe6d61311 in cMpvPlayer::~cMpvPlayer() (this=0x555556ef1050, __in_chrg=<optimized out>) at player.c:272 #11 0x00007fffe6d6153d in cMpvPlayer::~cMpvPlayer() (this=0x555556ef1050, __in_chrg=<optimized out>) at player.c:274 #12 0x00007fffe6d555ac in cMpvControl::~cMpvControl() (this=0x555558e1c4b0, __in_chrg=<optimized out>) at control.c:67 #13 0x00007fffe6d5577d in cMpvControl::~cMpvControl() (this=0x555558e1c4b0, __in_chrg=<optimized out>) at control.c:72 #14 0x000055555568d507 in cControl::Shutdown() () #15 0x00005555556002ae in main ()
cinfo War das mpv mit Debug infos gebaut, (aber da spricht der Laie aus mir)
-
sollte passen
-
I added mpv log in the upper post !
-
Der bt aus #655 ist wieder das bisher ungelöste Problem das der mpv sich nicht richtig beendet. Auch da ist noch der komplette mpv im Stack und mein plugin wird aus dem mpv heraus aufgerufen. Siehe stackdump #9 und #10
-
-
I reproduced the problem myself, in my free time I’m looking for a solution.
-
Thanks! and no rush!
-
BTW: Sometimes the PC cant shut down, becaause of "the not fully exiting mpv" like in this case:
Code
Display MoreMar 25 21:33:02 BM2LTS-MC vdr: [2258] [mpv]: event: 18 audio-reconfig Mar 25 21:33:02 BM2LTS-MC vdr: [2258] [mpv]: event: 7 end-file Mar 25 21:33:02 BM2LTS-MC vdr: [2258] [mpv]: event: 18 audio-reconfig Mar 25 21:33:02 BM2LTS-MC vdr: [2258] [mpv]: event: 11 idle Mar 25 21:33:02 BM2LTS-MC vdr: [2258] [mpv]: property playlist-pos-1 Mar 25 21:33:02 BM2LTS-MC vdr: [2258] [mpv]: property playlist-count Mar 25 21:33:02 BM2LTS-MC vdr: [2258] [mpv]: property track-list Mar 25 21:33:07 BM2LTS-MC vdr: [2258] [mpv]: event: 0 none Mar 25 21:33:12 BM2LTS-MC vdr: [2258] [mpv]: event: 0 none Mar 25 21:33:12 BM2LTS-MC vdr: [1464] Power button pressed Mar 25 21:33:12 BM2LTS-MC vdr: [1464] warning: VDR schaltet später aus - Power zum Erzwingen Mar 25 21:33:17 BM2LTS-MC vdr: [2258] [mpv]: event: 0 none
-
So far I have discovered that the problem is with the MPV itself, and not with the mpv plugin. Run vdr, detach the softhddrm, start the mpv, stop the mpv, attach the softhddrm. After a few times you get vdr crash.
I'm looking for a solution.
Participate now!
Don’t have an account yet? Register yourself now and be a part of our community!