Hello Manjaro community, I've been using manjaro xfce for a while now, and just would like to confirm if I'm using the best way I can when it comes to watching YOUTUBE and TWITCH.TV, while hardware decoding using NVIDIA card.
Is already known that browsers in Linux don't support hardware decoding.
So I've been trying to get everything working through MPV.
Based on this information: https://wiki.archlinux.org/index.php/Hardware_video_acceleration
MPV is the only player that can decode using NVDEC.
- My question is, is there a better way to get this working or should I be doing something else?
Follows bellow what I understood about this and what I've been doing so far..
So, according to that, I've created a mpv.conf file that contains the following:
hwdec=nvdec
profile=gpu-hq
scale=ewa_lanczossharp
cscale=ewa_lanczossharp
audio-channels=stereo
I've also installed the play-with-mpv, which allows me to play YOUTUBE videos from chromium directly to MPV.
When it comes to playing TWITCH.TV streams, I've installed streamlink and created a configuration file as per below:
player=mpv
default-stream=best
verbose-player
MPV is hardware decoding YOUTUBE and TWITCH.TV with the solutions above.
Information about my system:
inxi --full --verbosity=7 --filter --no-host
System:
Kernel: 5.7.0-3-MANJARO x86_64 bits: 64 compiler: gcc v: 10.1.0
Desktop: Xfce 4.14.2 tk: Gtk 3.24.20 info: xfce4-panel wm: xfwm4
dm: LightDM 1.30.0 Distro: Manjaro Linux
Machine:
Type: Desktop Mobo: ASUSTeK model: H170 PRO GAMING v: Rev X.0x
serial: <filter> UEFI: American Megatrends v: 3805 date: 05/16/2018
Memory:
RAM: total: 15.58 GiB used: 3.69 GiB (23.7%)
RAM Report:
permissions: Unable to run dmidecode. Root privileges required.
CPU:
Topology: Quad Core model: Intel Core i7-7700 bits: 64 type: MT MCP
arch: Kaby Lake rev: 9 L2 cache: 8192 KiB bogomips: 57616
Speed: 800 MHz min/max: 800/4200 MHz Core speeds (MHz): 1: 800 2: 800
3: 800 4: 800 5: 800 6: 800 7: 800 8: 800
Flags: 3dnowprefetch abm acpi adx aes aperfmperf apic arat arch_perfmon
art avx avx2 bmi1 bmi2 bts clflush clflushopt cmov constant_tsc cpuid
cpuid_fault cx16 cx8 de ds_cpl dtes64 dtherm dts erms est f16c flush_l1d
fma fpu fsgsbase fxsr hle ht hwp hwp_act_window hwp_epp hwp_notify ibpb
ibrs ida intel_pt invpcid invpcid_single lahf_lm lm mca mce md_clear mmx
monitor movbe mpx msr mtrr nonstop_tsc nopl nx pae pat pbe pcid pclmulqdq
pdcm pdpe1gb pebs pge pln pni popcnt pse pse36 pti pts rdrand rdseed
rdtscp rep_good rtm sdbg sep smap smep smx ss ssbd sse sse2 sse4_1 sse4_2
ssse3 stibp syscall tm tm2 tsc tsc_adjust tsc_deadline_timer vme x2apic
xgetbv1 xsave xsavec xsaveopt xsaves xtopology xtpr
Graphics:
Device-1: NVIDIA TU116 [GeForce GTX 1660] vendor: Gigabyte driver: nvidia
v: 440.82 bus ID: 01:00.0 chip ID: 10de:2184
Display: x11 server: X.Org 1.20.8 driver: nvidia
resolution: 1920x1080~60Hz, 1920x1080~60Hz
OpenGL: renderer: GeForce GTX 1660/PCIe/SSE2 v: 4.6.0 NVIDIA 440.82
direct render: Yes
Audio:
Device-1: NVIDIA TU116 High Definition Audio vendor: Gigabyte
driver: snd_hda_intel v: kernel bus ID: 01:00.1 chip ID: 10de:1aeb
Sound Server: ALSA v: k5.7.0-3-MANJARO
Network:
Device-1: Intel Ethernet I219-V vendor: ASUSTeK driver: e1000e v: 3.2.6-k
port: f000 bus ID: 00:1f.6 chip ID: 8086:15b8
IF: enp0s31f6 state: up speed: 1000 Mbps duplex: full mac: <filter>
IP v4: <filter> type: dynamic noprefixroute scope: global
broadcast: <filter>
IP v6: <filter> type: noprefixroute scope: link
WAN IP: <filter>
Drives:
Local Storage: total: 1.13 TiB used: 485.28 GiB (42.0%)
ID-1: /dev/sda vendor: Corsair model: Neutron GTX SSD size: 223.57 GiB
speed: 6.0 Gb/s serial: <filter> rev: M311 scheme: GPT
ID-2: /dev/sdb vendor: Seagate model: ST1000DM010-2EP102 size: 931.51 GiB
speed: 6.0 Gb/s rotation: 7200 rpm serial: <filter> rev: CC43 scheme: GPT
Message: No Optical or Floppy data was found.
RAID:
Message: No RAID data was found.
Partition:
ID-1: / size: 31.37 GiB used: 18.73 GiB (59.7%) fs: ext4 dev: /dev/sda6
label: N/A uuid: a83e9425-bebc-4489-8f78-7b4c574d5c1a
ID-2: /boot/efi size: 96.0 MiB used: 25.2 MiB (26.3%) fs: vfat
dev: /dev/sda2 label: N/A uuid: A2CD-0E09
ID-3: /run/media/marcelocc/Data size: 731.51 GiB used: 358.71 GiB (49.0%)
fs: ntfs dev: /dev/sdb1 label: Data uuid: 66F27B12F27AE629
ID-4: /run/media/marcelocc/Windows size: 182.94 GiB
used: 45.52 GiB (24.9%) fs: ntfs dev: /dev/sda4 label: N/A
uuid: 16A4E225A4E206D9
ID-5: /run/timeshift/backup size: 195.86 GiB used: 62.30 GiB (31.8%)
fs: ext4 dev: /dev/sdb2 label: Data2
uuid: 74a4e4c7-9e80-4e14-b2a7-dd6a95c89348
ID-6: swap-1 size: 8.00 GiB used: 768 KiB (0.0%) fs: swap dev: /dev/sda5
label: N/A uuid: 61f0b68f-5722-407b-9070-e48317bd8a4e
Unmounted:
ID-1: /dev/sda1 size: 529.0 MiB fs: ntfs label: Recupera\xc3\xa7\xc3\xa3o
uuid: 7CC0C9C2C0C982BE
ID-2: /dev/sda3 size: 16.0 MiB fs: <root required> label: N/A uuid: N/A
USB:
Hub: 1-0:1 info: Full speed (or root) Hub ports: 16 rev: 2.0
speed: 480 Mb/s chip ID: 1d6b:0002
Hub: 1-6:2 info: Genesys Logic 4-port hub ports: 3 rev: 2.0
speed: 480 Mb/s chip ID: 05e3:0610
Device-1: 1-6.1:4 info: Silicon Labs CP210x UART Bridge
type: <vendor specific> driver: cp210x interfaces: 1 rev: 2.0
speed: 12 Mb/s chip ID: 10c4:ea60 serial: <filter>
Device-2: 1-8:3 info: Kingston HyperX Pulsefire FPS Gaming Mouse
type: Mouse,HID driver: hid-generic,usbhid interfaces: 2 rev: 1.1
speed: 12 Mb/s chip ID: 0951:16bc
Hub: 2-0:1 info: Full speed (or root) Hub ports: 8 rev: 3.0 speed: 5 Gb/s
chip ID: 1d6b:0003
Hub: 3-0:1 info: Full speed (or root) Hub ports: 2 rev: 2.0
speed: 480 Mb/s chip ID: 1d6b:0002
Hub: 4-0:1 info: Full speed (or root) Hub ports: 4 rev: 3.1 speed: 10 Gb/s
chip ID: 1d6b:0003
Hub: 5-0:1 info: Full speed (or root) Hub ports: 2 rev: 2.0
speed: 480 Mb/s chip ID: 1d6b:0002
Hub: 6-0:1 info: Full speed (or root) Hub ports: 2 rev: 3.1 speed: 10 Gb/s
chip ID: 1d6b:0003
Sensors:
System Temperatures: cpu: 29.8 C mobo: 27.8 C gpu: nvidia temp: 49 C
Fan Speeds (RPM): N/A gpu: nvidia fan: 0%
Info:
Processes: 252 Uptime: 1h 00m Init: systemd v: 245 Compilers: gcc: 10.1.0
Shell: bash v: 5.0.17 running in: xfce4-terminal inxi: 3.0.37