Ich habe die Optimus - Installation nach dieser Anleitung gemacht:
https://www.unixmen.com/how-to-make-nvi ... on-debian/
Das hat - soweit ich das beurteilen kann, gut geklappt.
Nun möchte ich meinen Sundtek MediaTV Pro Stick gerne mit dem VLC verwenden. Dabei soll VLC die Nvidia- Karte verwenden
Mein Laptop:
Code: Alles auswählen
inxi -F
System: Host: aspire Kernel: 4.10.12-towo.1-siduction-amd64 x86_64 (64 bit) Desktop: Xfce 4.12.3
Distro: siduction 17.1.0 Patience - xfce - (201703051904)
Machine: Device: laptop System: Acer product: Aspire E5-575G v: V1.15
Mobo: Acer model: Ironman_SK v: V1.15 UEFI [Legacy]: Insyde v: V1.15 date: 09/19/2016
Battery BAT1: charge: 25.3 Wh 100.0% condition: 25.3/28.0 Wh (90%)
CPU: Dual core Intel Core i5-7200U (-HT-MCP-) cache: 3072 KB
clock speeds: max: 3100 MHz 1: 1821 MHz 2: 1590 MHz 3: 817 MHz 4: 879 MHz
Graphics: Card-1: Intel Device 5916
Card-2: NVIDIA Device 179c
Display Server: X.Org 1.19.3 drivers: modesetting (unloaded: fbdev,vesa)
Resolution: 1920x1080@60.00hz
GLX Renderer: Mesa DRI Intel HD Graphics 620 (Kabylake GT2) GLX Version: 3.0 Mesa 13.0.6
Code: Alles auswählen
hans@aspire:~$ optirun mpv /home/hans/Videos/Ploetzlich.Papa.2016/Ploetzlich_Papa.mkv
Playing: /home/hans/Videos/Ploetzlich.Papa.2016/Ploetzlich_Papa.mkv
(+) Video --vid=1 (*) (f) (h264)
(+) Audio --aid=1 --alang=ger (*) (f) (ac3)
AO: [pulse] 48000Hz stereo 2ch float
VO: [opengl] 720x304 yuv420p
[ 416.874782] [WARN]Received Interrupt signal.
Code: Alles auswählen
hans@aspire:~$ journalctl -b |grep nvidia
Apr 26 11:53:15 aspire kernel: nvidia: module license 'NVIDIA' taints kernel.
Apr 26 11:53:15 aspire kernel: nvidia-nvlink: Nvlink Core is being initialized, major device number 242
Apr 26 11:53:16 aspire kernel: nvidia-modeset: Loading NVIDIA Kernel Mode Setting Driver for UNIX platforms 375.39 Tue Jan 31 19:41:48 PST 2017
Apr 26 11:53:45 aspire kernel: nvidia-modeset: Unloading
Apr 26 11:53:45 aspire kernel: nvidia-nvlink: Unregistered the Nvlink Core, major device number 242
optirun mpv
bzw
optirun vlc
starten, was aber notwendig wäre, um TV zu glotzen. Fehlermeldungen beim VLC:
Code: Alles auswählen
hans@aspire:~$ optirun vlc
VLC media player 2.2.5 Weatherwax (revision 2.2.5-0-g9275f0fefa)
[000056271c5e4148] core libvlc: VLC wird mit dem Standard-Interface ausgeführt. Benutzen Sie 'cvlc', um VLC ohne Interface zu verwenden.
../../../include/vlc_xlib.h:46:vlc_xlib_init: Xlib not initialized for threads.
This process is probably using LibVLC incorrectly.
Pass "--no-xlib" to libvlc_new() to fix this.
[000056271c6ffc58] qt4 interface error: Xlib not initialized for threads
../../../include/vlc_xlib.h:46:vlc_xlib_init: Xlib not initialized for threads.
This process is probably using LibVLC incorrectly.
Pass "--no-xlib" to libvlc_new() to fix this.
[000056271c6ffc58] skins2 interface error: Xlib not initialized for threads
[000056271c6ffc58] skins2 interface error: initializing xlib for multi-threading failed
[000056271c6ffc58] skins2 interface error: cannot initialize OSFactory
[000056271c6ffc58] [cli] lua interface: Listening on host "*console".
VLC media player 2.2.5 Weatherwax
Command Line Interface initialized. Type `help' for help.
> ^C[ 1436.354365] [WARN]Received Interrupt signal.
[000056271c6ffc58] [cli] lua interface error: Error loading script /usr/lib/x86_64-linux-gnu/vlc/lua/intf/cli.luac: lua/intf/modules/host.lua:279: Interrupted.
hans@aspire:~$
komfortabel (na Ja ) auswählen. Das Ganze sieht dann so aus:
Allerdings wird Optimus dabei nicht gestartet.
Fragen:
Kann man die NVIDIA- GPU eventuell schon beim Start aktivieren / deaktivieren (ich weiß ja vorher, ob ich glotzen will)
Gibt es einen Befehl, VLC (oder auch andere Programme) zu zwingen, die NVIDIA - Karte zu benutzen?