[vertagt auf EasyVDR v4] Moonlight zum PChanger hinzufügen
#26
(23.11.2019, 17:51)SurfaceCleanerZ schrieb: Ich hatte in v4 auch in keinem Programm Ton dass ich via PChanger gestartet habe (Firefox, Kodi)..
Pulseaudio Setup wiederholen?


Zitat:Versuch das mal im Xterminal:

su easyvdr
VDRUID=$(id -u vdr)
/run/user/$VDRUID moonlight
Da ist wohl ein Denkfehler:
Zitat:[email protected]:/var/lib/vdr$ VDRUID=$(id -u vdr)
[email protected]:/var/lib/vdr$ /run/user/$VDRUID moonlight
bash: /run/user/2000: Ist ein Verzeichnis

Gruß Aaron
[size=xx-small][b]Mediacenter[/b]
[b]easyVDR4.Alpha(Lubuntu18.04 64-Bit) [/b]Gigabyte, Ltd. H97-HD3 mit Intel(R) G3260 @ 3.30GHz 4GB DDRx,Intelgrafik,MATSHITA BD-MLT UJ265 Bluray LW, 2TB Festplatte,LCD+IRTrans-Empfänger,2x SkystarS2 PCI

Show Content
[/size]
Zitieren
#27
Code:
VDRUID=$(id -u vdr)
XDG_RUNTIME_DIR=/run/user/$VDRUID /bin/su -c "moonlight" - easyvdr

oder:
VDRUID=$(id -u vdr)
XDG_RUNTIME_DIR=/run/user/$VDRUID /bin/su -l -c "moonlight" - easyvdr
Produktiv-VDR:
Board GA H77-DS3H, Intel Intel(R) Core(TM) i5-3470, Cine S2 DVB, WD 3TB Green, WDC WD20EARS-00J  2TB, Geforce 750Ti oder Intel HD
Easyvdr 3.0
Zitieren
#28
Geht leider auch nicht; starte ich es so, kommt das Toolmenü. Verlasse ich das Toolmenü, startet moonlight ohne Ton
[size=xx-small][b]Mediacenter[/b]
[b]easyVDR4.Alpha(Lubuntu18.04 64-Bit) [/b]Gigabyte, Ltd. H97-HD3 mit Intel(R) G3260 @ 3.30GHz 4GB DDRx,Intelgrafik,MATSHITA BD-MLT UJ265 Bluray LW, 2TB Festplatte,LCD+IRTrans-Empfänger,2x SkystarS2 PCI

Show Content
[/size]
Zitieren
#29
Dann mal so:

Code:
su easyvdr
sudo chmod ugo+rwx /var/lib/vdr/.config/pulse/cookie
PULSE_COOKIE=/var/lib/vdr/.config/pulse/cookie
moonlight
Produktiv-VDR:
Board GA H77-DS3H, Intel Intel(R) Core(TM) i5-3470, Cine S2 DVB, WD 3TB Green, WDC WD20EARS-00J  2TB, Geforce 750Ti oder Intel HD
Easyvdr 3.0
Zitieren
#30
Geht auch nicht :/

Im übrigen startest du moonlight immer mit "/snap/bin/moonlight" nicht mit nur "moonlight"

Bringt uns dieser Ansatz etwas:
https://dhole.github.io/post/pulseaudio_multiple_users/

Oder alternativ über die TCP IP Option
http://billauer.co.il/blog/2014/01/pa-multiple-users/

Gruß Aaron
[size=xx-small][b]Mediacenter[/b]
[b]easyVDR4.Alpha(Lubuntu18.04 64-Bit) [/b]Gigabyte, Ltd. H97-HD3 mit Intel(R) G3260 @ 3.30GHz 4GB DDRx,Intelgrafik,MATSHITA BD-MLT UJ265 Bluray LW, 2TB Festplatte,LCD+IRTrans-Empfänger,2x SkystarS2 PCI

Show Content
[/size]
Zitieren
#31
Das ist merkwürdig, ich habe das mit VLC getestet und VLC als root gestartet das geht.
Dann Versuch mal als root oder starte mal anstatt moonlight firefox (als User Easyvdr) hast du da dann Ton?
Produktiv-VDR:
Board GA H77-DS3H, Intel Intel(R) Core(TM) i5-3470, Cine S2 DVB, WD 3TB Green, WDC WD20EARS-00J  2TB, Geforce 750Ti oder Intel HD
Easyvdr 3.0
Zitieren
#32
Hi Peter, ich hab mal die Ausgaben von moonlight mitgeloggt, siehe Anhang. Mich wundert, das moonlight immer auf alsa verweist.

hier noch noch die Ausgabe bei VLC:
Zitat:[email protected]:~$ su easyvdr
Passwort:
[email protected]:/var/lib/vdr$ sudo chmod ugo+rwx /var/lib/vdr/.config/pulse/cookie
[sudo] Passwort für easyvdr:
[email protected]:/var/lib/vdr$ PULSE_COOKIE=/var/lib/vdr/.config/pulse/cookie
[email protected]:/var/lib/vdr$ vlc
VLC media player 3.0.8 Vetinari (revision 3.0.8-0-gf350b6b5a7)
[000055a20e57b570] main libvlc error: cannot open config file (/var/lib/vdr/.config/vlc/vlcrc): Permission denied
XDG_RUNTIME_DIR (/run/user/2000) gehört uns (Benutzerkennung 1000) nicht, sondern der Benutzerkennung 2000! Dies kann beispielsweise passieren, wenn Sie sich über das native Protokoll als Root-Benutzer mit einem ohne Root-Rechte betriebenen PulseAudio-Server verbinden wollen. Sie sollten dies nicht tun.
[000055a20e616550] vlcpulse audio output error: PulseAudio server connection failure: Verbindung verweigert
XDG_RUNTIME_DIR (/run/user/2000) gehört uns (Benutzerkennung 1000) nicht, sondern der Benutzerkennung 2000! Dies kann beispielsweise passieren, wenn Sie sich über das native Protokoll als Root-Benutzer mit einem ohne Root-Rechte betriebenen PulseAudio-Server verbinden wollen. Sie sollten dies nicht tun.

Gruß Aaron


Angehängte Dateien
.txt   moonlight.log.txt (Größe: 15,18 KB / Downloads: 2)
[size=xx-small][b]Mediacenter[/b]
[b]easyVDR4.Alpha(Lubuntu18.04 64-Bit) [/b]Gigabyte, Ltd. H97-HD3 mit Intel(R) G3260 @ 3.30GHz 4GB DDRx,Intelgrafik,MATSHITA BD-MLT UJ265 Bluray LW, 2TB Festplatte,LCD+IRTrans-Empfänger,2x SkystarS2 PCI

Show Content
[/size]
Zitieren
#33
Hi

Schein da generell Probleme zu machen:
https://github.com/moonlight-stream/moon...issues/157

Es gibt aber ein Kodi Plugin, wenn du das mal testest ..

Auf Alsa umstellen ist nicht so einfach ...

Ich schau mal ob ich einen Nvidia Server zusammenbauen kann.
Aber nicht heute ...

Gruß
Peter
Produktiv-VDR:
Board GA H77-DS3H, Intel Intel(R) Core(TM) i5-3470, Cine S2 DVB, WD 3TB Green, WDC WD20EARS-00J  2TB, Geforce 750Ti oder Intel HD
Easyvdr 3.0
Zitieren
#34
Wobei wenn ich das untere so lese, es könnte doch noch an den Berechtigungen liegen.
Füge mal den Benutzer easyvdr der Gruppe vdr hinzu.
Dann neu booten. Und so versuchen:

Code:
su easyvdr
PULSE_COOKIE=/var/lib/vdr/.config/pulse/cookie
.....moonlight
Produktiv-VDR:
Board GA H77-DS3H, Intel Intel(R) Core(TM) i5-3470, Cine S2 DVB, WD 3TB Green, WDC WD20EARS-00J  2TB, Geforce 750Ti oder Intel HD
Easyvdr 3.0
Zitieren
#35
(24.11.2019, 14:31)Bleifuss2 schrieb: Schein da generell Probleme zu machen:
https://github.com/moonlight-stream/moon...issues/157
Ja den Beitrag kenn ich Big Grin
Zitat:Es gibt aber ein Kodi Plugin, wenn du das mal testest ..
Aha, ist mir neu, muss ich mal suchen.
Zitat:Auf Alsa umstellen ist nicht so einfach ...
Auf keinen Fall stell ich auf alsa um, das wäre ja in die Richtung Steinzeit Big Grin
Zitat:Ich schau mal ob ich einen Nvidia Server zusammenbauen kann.
Aber nicht heute ...
Mach es dir nicht all zu kompliziert, du kannst mit moonlight lustigerweise auch den Desktop vom NVIDIA PC streamen. Wenn ich da auf das Steam Symbol gehe hab ich den ganzen Desktop vom Windows PC.

PS: @Wolfgang im log weiter oben wird darauf hingewiesen das keine vaapi Hardware Beschleunigung unterstützt werden kann. Würde das gehen, wäre der stream sicher um Welten sauberer.

Gruß Aaron
[size=xx-small][b]Mediacenter[/b]
[b]easyVDR4.Alpha(Lubuntu18.04 64-Bit) [/b]Gigabyte, Ltd. H97-HD3 mit Intel(R) G3260 @ 3.30GHz 4GB DDRx,Intelgrafik,MATSHITA BD-MLT UJ265 Bluray LW, 2TB Festplatte,LCD+IRTrans-Empfänger,2x SkystarS2 PCI

Show Content
[/size]
Zitieren
#36
Hi Peter
(24.11.2019, 14:35)Bleifuss2 schrieb: Füge mal den Benutzer easyvdr der Gruppe vdr hinzu.
Dann neu booten. Und so versuchen:
Gib mir mal einen Tipp wo ich was ändere. Berechtigungen ändern ist nicht gerade mein todoo Fall.
Du weißt, falscher Hebel, mehr Schaden als nutzen am produktiv System Big Grin

Gruß Aaron
[size=xx-small][b]Mediacenter[/b]
[b]easyVDR4.Alpha(Lubuntu18.04 64-Bit) [/b]Gigabyte, Ltd. H97-HD3 mit Intel(R) G3260 @ 3.30GHz 4GB DDRx,Intelgrafik,MATSHITA BD-MLT UJ265 Bluray LW, 2TB Festplatte,LCD+IRTrans-Empfänger,2x SkystarS2 PCI

Show Content
[/size]
Zitieren
#37
Also das Addon wird aus Mangel an Entwicklern seit eine ganze Weile nicht mehr gepflegt. Daher nicht mit Kodi18 kompatibel. Kommt mir irgendwie bekannt vor...

Gruß Aaron
[size=xx-small][b]Mediacenter[/b]
[b]easyVDR4.Alpha(Lubuntu18.04 64-Bit) [/b]Gigabyte, Ltd. H97-HD3 mit Intel(R) G3260 @ 3.30GHz 4GB DDRx,Intelgrafik,MATSHITA BD-MLT UJ265 Bluray LW, 2TB Festplatte,LCD+IRTrans-Empfänger,2x SkystarS2 PCI

Show Content
[/size]
Zitieren
#38
Hi

Zitat:sudo usermod -aG GRUPPENNAME BENUTZERNAME
sudo usermod -aG vdr easyvdr


Da ich aktuell keinen Windows PC habe ist das nicht so einfach ...
Ich habe aber noch einen Kunden PC mit Windows neu installiert, da kann ich das mal testen.
Bei mir läuft so ziemlich alles Virtuell, selbst die Firewall.

Gruß
Peter
Produktiv-VDR:
Board GA H77-DS3H, Intel Intel(R) Core(TM) i5-3470, Cine S2 DVB, WD 3TB Green, WDC WD20EARS-00J  2TB, Geforce 750Ti oder Intel HD
Easyvdr 3.0
Zitieren
#39
Ähm jo...
Man achte auf die ersten Meldungen:
Zitat:[email protected]:/var/lib/vdr$ DISPLAY=:0 /snap/bin/moonlight
2019/11/24 14:50:03.244108 cmd_run.go:893: WARNING: cannot start document portal: dial unix /run/user/2000/bus: connect: permission denied
mkdir: cannot create directory '/run/user/1000': Permission denied
+ case "$SNAP_ARCH" in
+ ARCH=x86_64-linux-gnu
++ glxinfo
++ grep 'OpenGL vendor'
libGL error: failed to open drm device: Permission denied
libGL error: failed to load driver: i965
+ VENDOR='OpenGL vendor string: VMware, Inc.'
+ export VDPAU_DRIVER_PATH=/snap/moonlight/466/usr/lib/x86_64-linux-gnu/vdpau
+ VDPAU_DRIVER_PATH=/snap/moonlight/466/usr/lib/x86_64-linux-gnu/vdpau
+ export LIBVA_DRIVERS_PATH=/snap/moonlight/466/usr/lib/x86_64-linux-gnu/dri
+ LIBVA_DRIVERS_PATH=/snap/moonlight/466/usr/lib/x86_64-linux-gnu/dri
+ [[ OpenGL vendor string: VMware, Inc. == *\N\V\I\D\I\A* ]]
+ [[ OpenGL vendor string: VMware, Inc. == *\X\.\O\r\g* ]]
+ exec /snap/moonlight/466/usr/bin/moonlight

Gruß Aaron
[size=xx-small][b]Mediacenter[/b]
[b]easyVDR4.Alpha(Lubuntu18.04 64-Bit) [/b]Gigabyte, Ltd. H97-HD3 mit Intel(R) G3260 @ 3.30GHz 4GB DDRx,Intelgrafik,MATSHITA BD-MLT UJ265 Bluray LW, 2TB Festplatte,LCD+IRTrans-Empfänger,2x SkystarS2 PCI

Show Content
[/size]
Zitieren
#40
Dann Versuche es mal als root
Produktiv-VDR:
Board GA H77-DS3H, Intel Intel(R) Core(TM) i5-3470, Cine S2 DVB, WD 3TB Green, WDC WD20EARS-00J  2TB, Geforce 750Ti oder Intel HD
Easyvdr 3.0
Zitieren
#41
Die gute Nachricht ist, das mit Root Hardware Beschleunigung geht, sehr flüssig mit 1920x1080 60HZ Smile
Der Ton bleibt trotzem weg
Zitat:[email protected]:/var/lib/vdr$ DISPLAY=:0 sudo /snap/bin/moonlight
mkdir: cannot create directory '/run/user/0': Permission denied
+ case "$SNAP_ARCH" in
+ ARCH=x86_64-linux-gnu
++ glxinfo
++ grep 'OpenGL vendor'
+ VENDOR='OpenGL vendor string: Intel Open Source Technology Center'
+ export VDPAU_DRIVER_PATH=/snap/moonlight/466/usr/lib/x86_64-linux-gnu/vdpau
+ VDPAU_DRIVER_PATH=/snap/moonlight/466/usr/lib/x86_64-linux-gnu/vdpau
+ export LIBVA_DRIVERS_PATH=/snap/moonlight/466/usr/lib/x86_64-linux-gnu/dri
+ LIBVA_DRIVERS_PATH=/snap/moonlight/466/usr/lib/x86_64-linux-gnu/dri
+ [[ OpenGL vendor string: Intel Open Source Technology Center == *\N\V\I\D\I\A* ]]
+ [[ OpenGL vendor string: Intel Open Source Technology Center == *\X\.\O\r\g* ]]
+ exec /snap/moonlight/466/usr/bin/moonlight
00:00:00 - SDL Info (0): Compiled with SDL 2.0.8
00:00:00 - SDL Info (0): Running with SDL 2.0.8
00:00:00 - Qt Warning: QStandardPaths: XDG_RUNTIME_DIR points to non-existing path '/run/user/0/snap.moonlight', please create it with 0700 permissions.
00:00:00 - Qt Info: Found "gamecontrollerdb.txt" at ":/data/gamecontrollerdb.txt"
00:00:00 - SDL Info (0): Loaded 151 new gamepad mappings
00:00:00 - SDL Info (0): V-sync enabled
libva info: VA-API version 1.1.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /snap/moonlight/466/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
00:00:00 - SDL Info (0): Initialized VAAPI 1.1
00:00:00 - SDL Info (0): Driver: Intel i965 driver for Intel® Haswell Desktop - 2.1.0
00:00:00 - FFmpeg: [AVHWDeviceContext @ 0x55d8a8363ec0] Format 0x32315659 -> yuv420p.
00:00:00 - FFmpeg: [AVHWDeviceContext @ 0x55d8a8363ec0] Format 0x30323449 -> yuv420p.
00:00:00 - FFmpeg: [AVHWDeviceContext @ 0x55d8a8363ec0] Format 0x3231564e -> nv12.
00:00:00 - FFmpeg: [AVHWDeviceContext @ 0x55d8a8363ec0] Format 0x32595559 -> yuyv422.
00:00:00 - FFmpeg: [AVHWDeviceContext @ 0x55d8a8363ec0] Format 0x59565955 -> uyvy422.
00:00:00 - FFmpeg: [AVHWDeviceContext @ 0x55d8a8363ec0] Format 0x48323234 -> yuv422p.
00:00:00 - FFmpeg: [AVHWDeviceContext @ 0x55d8a8363ec0] Format 0x58424752 -> rgb0.
00:00:00 - FFmpeg: [AVHWDeviceContext @ 0x55d8a8363ec0] Format 0x58524742 -> bgr0.
00:00:00 - FFmpeg: [AVHWDeviceContext @ 0x55d8a8363ec0] Format 0x30313050 -> p010le.
00:00:00 - FFmpeg: [AVHWDeviceContext @ 0x55d8a8363ec0] VAAPI driver: Intel i965 driver for Intel® Haswell Desktop - 2.1.0.
00:00:00 - FFmpeg: [AVHWDeviceContext @ 0x55d8a8363ec0] Driver not found in known nonstandard list, using standard behaviour.
00:00:00 - SDL Info (0): Using VAAPI accelerated renderer on x11
00:00:00 - FFmpeg: [h264 @ 0x55d8a843a680] nal_unit_type: 7(SPS), nal_ref_idc: 3
00:00:00 - FFmpeg: [h264 @ 0x55d8a843a680] nal_unit_type: 8(PPS), nal_ref_idc: 3
00:00:00 - FFmpeg: [h264 @ 0x55d8a843a680] nal_unit_type: 5(IDR), nal_ref_idc: 3
00:00:00 - FFmpeg: [h264 @ 0x55d8a843a680] nal_unit_type: 5(IDR), nal_ref_idc: 3
00:00:00 - FFmpeg: [h264 @ 0x55d8a843a680] nal_unit_type: 5(IDR), nal_ref_idc: 3
00:00:00 - FFmpeg: [h264 @ 0x55d8a843a680] nal_unit_type: 5(IDR), nal_ref_idc: 3
00:00:00 - FFmpeg: [h264 @ 0x55d8a843a680] Format vaapi_vld chosen by get_format().
00:00:00 - FFmpeg: [h264 @ 0x55d8a843a680] Format vaapi_vld requires hwaccel initialisation.
00:00:00 - FFmpeg: [h264 @ 0x55d8a843a680] Considering format 0x3231564e -> nv12.
00:00:00 - FFmpeg: [h264 @ 0x55d8a843a680] Picked nv12 (0x3231564e) as best match for yuv420p.
00:00:00 - FFmpeg: [AVHWFramesContext @ 0x55d8a9adb7c0] Created surface 0x4000000.
00:00:00 - FFmpeg: [AVHWFramesContext @ 0x55d8a9adb7c0] Direct mapping disabled: derived image format 3231564e does not match expected format 32315659.
00:00:00 - FFmpeg: [AVHWFramesContext @ 0x55d8a9adb7c0] Created surface 0x4000001.
00:00:00 - FFmpeg: [AVHWFramesContext @ 0x55d8a9adb7c0] Created surface 0x4000002.
00:00:00 - FFmpeg: [AVHWFramesContext @ 0x55d8a9adb7c0] Created surface 0x4000003.
00:00:00 - FFmpeg: [AVHWFramesContext @ 0x55d8a9adb7c0] Created surface 0x4000004.
00:00:00 - FFmpeg: [AVHWFramesContext @ 0x55d8a9adb7c0] Created surface 0x4000005.
00:00:00 - FFmpeg: [AVHWFramesContext @ 0x55d8a9adb7c0] Created surface 0x4000006.
00:00:00 - FFmpeg: [AVHWFramesContext @ 0x55d8a9adb7c0] Created surface 0x4000007.
00:00:00 - FFmpeg: [AVHWFramesContext @ 0x55d8a9adb7c0] Created surface 0x4000008.
00:00:00 - FFmpeg: [AVHWFramesContext @ 0x55d8a9adb7c0] Created surface 0x4000009.
00:00:00 - FFmpeg: [AVHWFramesContext @ 0x55d8a9adb7c0] Created surface 0x400000a.
00:00:00 - FFmpeg: [AVHWFramesContext @ 0x55d8a9adb7c0] Created surface 0x400000b.
00:00:00 - FFmpeg: [AVHWFramesContext @ 0x55d8a9adb7c0] Created surface 0x400000c.
00:00:00 - FFmpeg: [AVHWFramesContext @ 0x55d8a9adb7c0] Created surface 0x400000d.
00:00:00 - FFmpeg: [AVHWFramesContext @ 0x55d8a9adb7c0] Created surface 0x400000e.
00:00:00 - FFmpeg: [AVHWFramesContext @ 0x55d8a9adb7c0] Created surface 0x400000f.
00:00:00 - FFmpeg: [AVHWFramesContext @ 0x55d8a9adb7c0] Created surface 0x4000010.
00:00:00 - FFmpeg: [AVHWFramesContext @ 0x55d8a9adb7c0] Created surface 0x4000011.
00:00:00 - FFmpeg: [AVHWFramesContext @ 0x55d8a9adb7c0] Created surface 0x4000012.
00:00:00 - FFmpeg: [AVHWFramesContext @ 0x55d8a9adb7c0] Created surface 0x4000013.
00:00:00 - FFmpeg: [h264 @ 0x55d8a843a680] Considering format 0x3231564e -> nv12.
00:00:00 - FFmpeg: [h264 @ 0x55d8a843a680] Picked nv12 (0x3231564e) as best match for yuv420p.
00:00:00 - FFmpeg: [h264 @ 0x55d8a843a680] Decode context initialised: 0x1000000/0x2000000.
00:00:00 - FFmpeg: [h264 @ 0x55d8a843a680] Reinit context to 1280x720, pix_fmt: vaapi_vld
00:00:00 - FFmpeg: [h264 @ 0x55d8a843a680] Param buffer (type 0, 672 bytes) is 0x8000000.
00:00:00 - FFmpeg: [h264 @ 0x55d8a843a680] Param buffer (type 1, 240 bytes) is 0x8000001.
00:00:00 - FFmpeg: [h264 @ 0x55d8a843a680] Slice 0 param buffer (3128 bytes) is 0x8000002.
00:00:00 - FFmpeg: [h264 @ 0x55d8a843a680] Slice 0 data buffer (75 bytes) is 0x8000003.
00:00:00 - FFmpeg: [h264 @ 0x55d8a843a680] Slice 1 param buffer (3128 bytes) is 0x8000004.
00:00:00 - FFmpeg: [h264 @ 0x55d8a843a680] Slice 1 data buffer (80 bytes) is 0x8000005.
00:00:00 - FFmpeg: [h264 @ 0x55d8a843a680] Slice 2 param buffer (3128 bytes) is 0x8000006.
00:00:00 - FFmpeg: [h264 @ 0x55d8a843a680] Slice 2 data buffer (85 bytes) is 0x8000007.
00:00:00 - FFmpeg: [h264 @ 0x55d8a843a680] Slice 3 param buffer (3128 bytes) is 0x8000008.
00:00:00 - FFmpeg: [h264 @ 0x55d8a843a680] Slice 3 data buffer (97 bytes) is 0x8000009.
00:00:00 - FFmpeg: [h264 @ 0x55d8a843a680] Decode to surface 0x4000013.
00:00:00 - SDL Info (0): FFmpeg-based video decoder chosen
00:00:00 - Qt Info: Found "gamecontrollerdb.txt" at ":/data/gamecontrollerdb.txt"
00:00:00 - SDL Info (0): Loaded 151 new gamepad mappings
00:00:00 - Qt Warning: propsReply "An AppArmor policy prevents this sender from sending this message to this recipient; type=\"method_call\", sender=\":1.63\" (uid=0 pid=3405 comm=\"/snap/moonlight/466/usr/bin/moonlight \" label=\"snap.moonlight.moonlight (enforce)\") interface=\"org.freedesktop.DBus.Properties\" member=\"GetAll\" error name=\"(unset)\" requested_reply=\"0\" destination=\"org.freedesktop.NetworkManager\" (uid=0 pid=807 comm=\"/usr/sbin/NetworkManager --no-daemon \" label=\"unconfined\")"
00:00:00 - Qt Warning: nmReply "An AppArmor policy prevents this sender from sending this message to this recipient; type=\"method_call\", sender=\":1.63\" (uid=0 pid=3405 comm=\"/snap/moonlight/466/usr/bin/moonlight \" label=\"snap.moonlight.moonlight (enforce)\") interface=\"org.freedesktop.NetworkManager\" member=\"GetDevices\" error name=\"(unset)\" requested_reply=\"0\" destination=\"org.freedesktop.NetworkManager\" (uid=0 pid=807 comm=\"/usr/sbin/NetworkManager --no-daemon \" label=\"unconfined\")"
00:00:00 - Qt Warning: "Object path cannot be empty"
00:00:00 - Qt Debug: Current Moonlight version: "1.1.1"
00:00:00 - Qt Info: Discovered mDNS host: "DESKTOP-44Q85VM.local."
00:00:00 - Qt Info: "DESKTOP-44Q85VM" is now online at "192.168.2.99"
00:00:00 - Qt Info: Resolved "DESKTOP-44Q85VM.local." to QHostAddress("192.168.2.99")
00:00:00 - Qt Info: Resolved "DESKTOP-44Q85VM.local." to QHostAddress("fd00::6422:5997:dc1e:ca09")
00:00:00 - Qt Info: Resolved "DESKTOP-44Q85VM.local." to QHostAddress("fd00::a96f:ffff:3ad8:bbbc")
00:00:00 - Qt Info: Resolved "DESKTOP-44Q85VM.local." to QHostAddress("fe80::6422:5997:dc1e:ca09")
00:00:02 - Qt Info: Ignoring ULA: QHostAddress("fd00::6422:5997:dc1e:ca09")
00:00:02 - Qt Info: Ignoring ULA: QHostAddress("fd00::a96f:ffff:3ad8:bbbc")
00:00:02 - Qt Info: Processing new PC at "192.168.2.99" from mDNS QHostAddress("")
00:00:02 - Qt Info: Executing request: "http://192.168.2.99:47989/serverinfo?uniqueid=0123456789ABCDEF&uuid=b2423b07bac44809a502a9f60a68da1e"
00:00:02 - Qt Info: Executing request: "https://192.168.2.99:47984/serverinfo?uniqueid=0123456789ABCDEF&uuid=ea66009ee40a440790a358d12e7bce7d"
Muss ich das mit dem cookie trotzdem noch machen?

Gruß Aaron

Edit:
Achso ich weiß nicht ob das so gut war:
>>>sudo usermod -aG vdr root<<<
Kommt mir alles nen bissl vor als würde ich mir das system zermurksen Big Grin
[size=xx-small][b]Mediacenter[/b]
[b]easyVDR4.Alpha(Lubuntu18.04 64-Bit) [/b]Gigabyte, Ltd. H97-HD3 mit Intel(R) G3260 @ 3.30GHz 4GB DDRx,Intelgrafik,MATSHITA BD-MLT UJ265 Bluray LW, 2TB Festplatte,LCD+IRTrans-Empfänger,2x SkystarS2 PCI

Show Content
[/size]
Zitieren
#42
Beim Start des Stream kommt dann auch folgende Meldung:

Zitat:00:00:25 - SDL Info (0): FFmpeg-based video decoder chosen
ALSA lib conf.c:3916Sadsnd_config_update_r) Cannot access file /usr/share/alsa/alsa.conf
ALSA lib conf.c:3916Sadsnd_config_update_r) Cannot access file /usr/share/alsa/alsa.conf
ALSA lib pcm.c:2495Sadsnd_pcm_open_noupdate) Unknown PCM default
00:00:25 - SDL Error (0): Failed to open audio device: ALSA: Couldn't open audio device: No such file or directory
ALSA lib conf.c:3916Sadsnd_config_update_r) 00:00:26 - SDL Info (0): Audio backend: ALSA
Cannot access file /usr/share/alsa/alsa.conf
ALSA lib conf.c:3916Sadsnd_config_update_r) Cannot access file /usr/share/alsa/alsa.conf
00:00:26 - SDL Error (0): No output device found
00:00:26 - SDL Info (0): Audio latency: 0.000000
00:00:29 - Qt Info: Found "gamecontrollerdb.txt" at ":/data/gamecontrollerdb.txt"
00:00:29 - SDL Info (0): Loaded 151 new gamepad mappings
00:00:29 - SDL Info (0): V-sync enabled
libva info: VA-API version 1.1.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /snap/moonlight/466/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
00:00:29 - SDL Info (0): Initialized VAAPI 1.1
00:00:29 - SDL Info (0): Driver: Intel i965 driver for Intel® Haswell Desktop - 2.1.0
Ich muss mal online suchen ob es irgendwie auch ohne diese Alsa murckselei geht.
[size=xx-small][b]Mediacenter[/b]
[b]easyVDR4.Alpha(Lubuntu18.04 64-Bit) [/b]Gigabyte, Ltd. H97-HD3 mit Intel(R) G3260 @ 3.30GHz 4GB DDRx,Intelgrafik,MATSHITA BD-MLT UJ265 Bluray LW, 2TB Festplatte,LCD+IRTrans-Empfänger,2x SkystarS2 PCI

Show Content
[/size]
Zitieren
#43
Zitat:Muss ich das mit dem cookie trotzdem noch machen?

Gruß Aaron

Edit:
Achso ich weiß nicht ob das so gut war:
>>>sudo usermod -aG vdr root<<<

Cookie ja, das ist für Pulseaudio Berechtigung.

Das mit der Gruppe was nichts.
Root ->sudo su ->jetzt bist du root, dann testen

Zum reparieren:

Code:
sudo deluser vdr root
Produktiv-VDR:
Board GA H77-DS3H, Intel Intel(R) Core(TM) i5-3470, Cine S2 DVB, WD 3TB Green, WDC WD20EARS-00J  2TB, Geforce 750Ti oder Intel HD
Easyvdr 3.0
Zitieren
#44
Ob nun mit oder ohne cookie, es bleibt der Ton weg. zumidest ist schon mal fakt, das moonlight root Rechte haben sollte, sonst geht keine Hardwarebeschleunigung.

Alles ganz schön verwirrend.

Wenn ich bei easyvdr und root gruppenrechte auf vdr habe, warum diese Meldung:
Zitat:[email protected]:/var/lib/vdr# firefox
Running Firefox as root in a regular user's session is not supported. ($XAUTHORITY is /var/lib/vdr/.Xauthority which is owned by vdr.)
[size=xx-small][b]Mediacenter[/b]
[b]easyVDR4.Alpha(Lubuntu18.04 64-Bit) [/b]Gigabyte, Ltd. H97-HD3 mit Intel(R) G3260 @ 3.30GHz 4GB DDRx,Intelgrafik,MATSHITA BD-MLT UJ265 Bluray LW, 2TB Festplatte,LCD+IRTrans-Empfänger,2x SkystarS2 PCI

Show Content
[/size]
Zitieren
#45
Code:
sudo deluser vdr root
Hier gab es übrigens die Aussage das vdr der Gruppe nicht angehört.
[size=xx-small][b]Mediacenter[/b]
[b]easyVDR4.Alpha(Lubuntu18.04 64-Bit) [/b]Gigabyte, Ltd. H97-HD3 mit Intel(R) G3260 @ 3.30GHz 4GB DDRx,Intelgrafik,MATSHITA BD-MLT UJ265 Bluray LW, 2TB Festplatte,LCD+IRTrans-Empfänger,2x SkystarS2 PCI

Show Content
[/size]
Zitieren
#46
Ich gebe erstmal auf, passiert mir auch nicht oft.
@Bleifuss2(Peter)
Fakt ist, snap > moonlight muß als root laufen ( zwecks Hardwarebeschleunigung )und pulseaudio bräuchte Multiuser Rechte das root, easyvdr oder vdr bedienen kann.

Mir fehlt da zu sehr das Verständnis um pulsaudio umzubiegen, hatte die tcp Variante probiert, ein lokaler Stream wurde auch umgebogen, aber X hatte dann überhaupt kein Ton mehr Big Grin
Vielleicht fällt dir noch was dazu ein, ich bin erstmal ratlos.

Gruß Aaron
[size=xx-small][b]Mediacenter[/b]
[b]easyVDR4.Alpha(Lubuntu18.04 64-Bit) [/b]Gigabyte, Ltd. H97-HD3 mit Intel(R) G3260 @ 3.30GHz 4GB DDRx,Intelgrafik,MATSHITA BD-MLT UJ265 Bluray LW, 2TB Festplatte,LCD+IRTrans-Empfänger,2x SkystarS2 PCI

Show Content
[/size]
Zitieren
#47
Hi Aaron,

(24.11.2019, 17:26)gb schrieb: Code:
sudo deluser vdr root
Hier gab es übrigens die Aussage das vdr der Gruppe nicht angehört.
wie sieht es mit
Code:
sudo su
adduser vdr root
aus?

Gruss
Wolfgang
Show Content
Zitieren
#48
Hi Wolfgang

Das sieht dann schon ganz anders aus:
Zitat:[email protected]:/var/lib/vdr# adduser vdr root
Benutzer »vdr« wird der Gruppe »root« hinzugefügt …
Benutzer vdr wird zur Gruppe root hinzugefügt.
Fertig.
[email protected]:/var/lib/vdr# sudo deluser vdr root
Benutzer »vdr« wird aus der Gruppe »root« entfernt …
Fertig.
Allerdings ändert es nichts am moonlight Theater, hier bleibt trotz setzen des cockies der Ton fern.

Gruß Aaron
[size=xx-small][b]Mediacenter[/b]
[b]easyVDR4.Alpha(Lubuntu18.04 64-Bit) [/b]Gigabyte, Ltd. H97-HD3 mit Intel(R) G3260 @ 3.30GHz 4GB DDRx,Intelgrafik,MATSHITA BD-MLT UJ265 Bluray LW, 2TB Festplatte,LCD+IRTrans-Empfänger,2x SkystarS2 PCI

Show Content
[/size]
Zitieren
#49
Hallo zusammen,

erstmal VIELEN DANK, dass ihr euch alle so sehr für mein Problem interessiert.

Nach der v4-Installation steht bei mir allerdings zuerst ein ganz grundlegendes Problem an:
Bei mir geht trotz erfolgreichem Soundcheck (Testrauschen) im Setup der Ton nicht mal im VDR! Huh

Muss dass so sein?  Wink

Gruß
Sven
VDR1: easyVDR 3.5 Stable 64bit, Intel i3, Nvidia GeForce GT710, 4GB DDR3, LG BluRay-Brenner als Client
Amazon FireTVStick mit KODI und VNSI-Client
NAS: Readynas Ultra2 Plus mit Ubuntu Server 14.04 und (yaVDR-)-minisatip-/Streamdev-/Aufnahme-Server
Gaming-Server: u. A. AMD 1920x, 32GB DDR5, 3x GTX1050Ti, 1TB NVMe
Zitieren
#50
Poste mal bitte den Inhalt der /etc/vdr/pulseaudio.conf

Dann gib mal die Ausgabe von:
Code:
pactl info
Wenn VDR läuft. 
Gruß Aaron
[size=xx-small][b]Mediacenter[/b]
[b]easyVDR4.Alpha(Lubuntu18.04 64-Bit) [/b]Gigabyte, Ltd. H97-HD3 mit Intel(R) G3260 @ 3.30GHz 4GB DDRx,Intelgrafik,MATSHITA BD-MLT UJ265 Bluray LW, 2TB Festplatte,LCD+IRTrans-Empfänger,2x SkystarS2 PCI

Show Content
[/size]
Zitieren