Stadia in 4k (maybe vp9 codec problem?)

Hi,

I’m using stadia but due to lack of vp9 support it seems I can’t stream the games in 4k. I tryed several addons like stadia+ but they did not work either. Does someone have a proper solution how to get 4k resolution in manjaro with chrome?

For 4K you’ll need the Stadia Pro version. Also make sure Hardware Video Accelleration is working in Chromium (the GPU needs to support decoding VP9).

Please post your system information:

I do have the pro version and can play in 4k with windows.

### Graphics Feature Status

* Canvas: Hardware accelerated
* Compositing: Hardware accelerated
* Multiple Raster Threads: Enabled
* Out-of-process Rasterization: Disabled
* OpenGL: Enabled
* Hardware Protected Video Decode: Unavailable
* Rasterization: Software only. Hardware acceleration disabled
* Skia Renderer: Enabled
* Video Decode: Software only. Hardware acceleration disabled
* Vulkan: Disabled
* WebGL: Hardware accelerated
* WebGL2: Hardware accelerated

is from chrome://gpu

and I use the nvidia driver:

filename:       /lib/modules/5.8.18-1-MANJARO/extramodules/nvidia-drm.ko.gz
version:        455.45.01

and also original google chrome

Do you have libva-vdpau-driver-chromium package installed?

Please check these instructions in order to enable video hw accel:
https://wiki.archlinux.org/index.php/Chromium#Hardware_video_acceleration

Try chromium instead. That is working for me.

Again, please post your system information via inxi -Fazy
Also post output of vainfo

btw.: you also might want to install “Stadia Enhanced” chrome plugin. It’ll give you some more abilities to tweak streaming settings and show which codes, resolution, etc is used.
But first you should get hw accel running…

image image
image

2 Likes

I had not the libva-vdpau-driver-chromium installed. I added to my

│~/.config/chromium 
└─> cat chromium-flags.conf 
--ignore-gpu-blocklist
--enable-gpu-rasterization
--enable-zero-copy

Still got no hw decoding in chrome://gpu :frowning:

System:
  Kernel: 5.8.18-1-MANJARO x86_64 bits: 64 compiler: gcc v: 10.2.0 
  parameters: BOOT_IMAGE=/vmlinuz-5.8-x86_64 
  root=UUID=1431cec6-8e5c-4873-b9a9-d2d0265c34a2 rw 
  cryptdevice=UUID=d36082e7-c43a-4944-a6e3-6f856bb0ec08:cryptroot quiet 
  udev.log_priority=3 
  Desktop: MATE 1.24.1 info: mate-panel wm: marco 1.24.1 dm: LightDM 1.30.0 
  Distro: Manjaro Linux 
Machine:
  Type: Desktop Mobo: Micro-Star model: X470 GAMING PLUS (MS-7B79) v: 2.0 
  serial: <filter> UEFI: American Megatrends v: A.40 date: 06/28/2018 
CPU:
  Info: 6-Core model: AMD Ryzen 5 2600X socket: AM4 bits: 64 type: MT MCP 
  arch: Zen+ family: 17 (23) model-id: 8 stepping: 2 microcode: 800820D 
  L1 cache: 576 KiB L2 cache: 3072 KiB L3 cache: 15.6 MiB 
  flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm 
  bogomips: 86427 
  Speed: 1896 MHz min/max: 2200/3600 MHz base/boost: 3600/4250 boost: enabled 
  volts: 1.2 V ext-clock: 100 MHz Core speeds (MHz): 1: 1925 2: 2299 3: 1890 
  4: 2147 5: 1810 6: 1808 7: 1817 8: 1812 9: 2172 10: 2192 11: 2171 12: 2174 
  Vulnerabilities: Type: itlb_multihit status: Not affected 
  Type: l1tf status: Not affected 
  Type: mds status: Not affected 
  Type: meltdown status: Not affected 
  Type: spec_store_bypass 
  mitigation: Speculative Store Bypass disabled via prctl and seccomp 
  Type: spectre_v1 
  mitigation: usercopy/swapgs barriers and __user pointer sanitization 
  Type: spectre_v2 mitigation: Full AMD retpoline, IBPB: conditional, STIBP: 
  disabled, RSB filling 
  Type: srbds status: Not affected 
  Type: tsx_async_abort status: Not affected 
Graphics:
  Device-1: NVIDIA GP104 [GeForce GTX 1070] vendor: Gigabyte driver: nvidia 
  v: 455.45.01 alternate: nouveau,nvidia_drm bus ID: 1d:00.0 
  chip ID: 10de:1b81 
  Display: x11 server: X.Org 1.20.10 compositor: marco v: 1.24.1 
  driver: nvidia display ID: :0 screens: 1 
  Screen-1: 0 s-res: 7680x2160 s-dpi: 96 s-size: 2032x572mm (80.0x22.5") 
  s-diag: 2111mm (83.1") 
  Monitor-1: HDMI-0 res: 1920x1080 hz: 60 dpi: 90 size: 544x303mm (21.4x11.9") 
  diag: 623mm (24.5") 
  Monitor-2: DP-1 res: 1920x1080 hz: 60 dpi: 34 size: 1440x810mm (56.7x31.9") 
  diag: 1652mm (65") 
  Monitor-3: DP-2 res: 3840x2160 hz: 60 dpi: 163 size: 600x340mm (23.6x13.4") 
  diag: 690mm (27.2") 
  OpenGL: renderer: GeForce GTX 1070/PCIe/SSE2 v: 4.6.0 NVIDIA 455.45.01 
  direct render: Yes 
Audio:
  Device-1: NVIDIA GP104 High Definition Audio vendor: Gigabyte 
  driver: snd_hda_intel v: kernel bus ID: 1d:00.1 chip ID: 10de:10f0 
  Device-2: AMD Family 17h HD Audio vendor: Micro-Star MSI 
  driver: snd_hda_intel v: kernel bus ID: 1f:00.3 chip ID: 1022:1457 
  Device-3: Logitech C922 Pro Stream Webcam type: USB 
  driver: snd-usb-audio,uvcvideo bus ID: 1-13:3 chip ID: 046d:085c 
  serial: <filter> 
  Sound Server: ALSA v: k5.8.18-1-MANJARO 
Network:
  Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet 
  vendor: Micro-Star MSI driver: r8169 v: kernel port: f000 bus ID: 18:00.0 
  chip ID: 10ec:8168 
  IF: enp24s0 state: up speed: 1000 Mbps duplex: full mac: <filter> 
  IF-ID-1: tun0 state: unknown speed: 10 Mbps duplex: full mac: N/A 
Drives:
  Local Storage: total: 4.55 TiB used: 309.90 GiB (6.7%) 
  SMART Message: Required tool smartctl not installed. Check --recommends 
  ID-1: /dev/nvme0n1 vendor: Samsung model: SSD 970 EVO 1TB size: 931.51 GiB 
  block size: physical: 512 B logical: 512 B speed: 31.6 Gb/s lanes: 4 
  serial: <filter> rev: 1B2QEXE7 scheme: GPT 
  ID-2: /dev/sda vendor: Western Digital model: WD40EFRX-68N32N0 
  size: 3.64 TiB block size: physical: 4096 B logical: 512 B speed: 6.0 Gb/s 
  rotation: 5400 rpm serial: <filter> rev: 0A82 scheme: GPT 
Partition:
  ID-1: / raw size: 931.01 GiB size: 915.40 GiB (98.32%) 
  used: 309.79 GiB (33.8%) fs: ext4 block size: 4096 B dev: /dev/dm-0 
  ID-2: /boot raw size: 512.0 MiB size: 511.0 MiB (99.80%) 
  used: 110.9 MiB (21.7%) fs: vfat block size: 512 B dev: /dev/nvme0n1p1 
Swap:
  Alert: No Swap data was found. 
Sensors:
  System Temperatures: cpu: 40.8 C mobo: N/A gpu: nvidia temp: 48 C 
  Fan Speeds (RPM): N/A gpu: nvidia fan: 20% 
Info:
  Processes: 321 Uptime: 4m Memory: 15.65 GiB used: 1.42 GiB (9.1%) 
  Init: systemd v: 246 Compilers: gcc: 10.2.0 Packages: pacman: 1484 lib: 430 
  flatpak: 0 Shell: Bash (su) v: 5.0.18 running in: mate-terminal inxi: 3.1.08 

and

vainfo: VA-API version: 1.9 (libva 2.9.1)
vainfo: Driver version: Splitted-Desktop Systems VDPAU backend for VA-API - 0.7.4
vainfo: Supported profile and entrypoints
      VAProfileMPEG2Simple            :	VAEntrypointVLD
      VAProfileMPEG2Main              :	VAEntrypointVLD
      VAProfileMPEG4Simple            :	VAEntrypointVLD
      VAProfileMPEG4AdvancedSimple    :	VAEntrypointVLD
      VAProfileH264ConstrainedBaseline:	VAEntrypointVLD
      VAProfileH264Main               :	VAEntrypointVLD
      VAProfileH264High               :	VAEntrypointVLD
      VAProfileVC1Simple              :	VAEntrypointVLD
      VAProfileVC1Main                :	VAEntrypointVLD
      VAProfileVC1Advanced            :	VAEntrypointVLD

You’ll need to install Chromium as Google Chrome isn’t built with support.

1 Like