VivePro2-Linux-Driver icon indicating copy to clipboard operation
VivePro2-Linux-Driver copied to clipboard

Update kernel patch for kernel version 6.16.8

Open Rapti opened this issue 3 months ago • 6 comments

Starting with kernel version 6.16.8, the first kernel patch could no longer be applied because all EDID_QUIRK_NON_DESKTOP were wrapped in BIT( ) in this commit.

Rapti avatar Oct 06 '25 13:10 Rapti

You shouldn't need this patch on 6.16 kernel, since VivePro2 announces its own usage using EDID, and kernel is able to detect that automatically

CertainLach avatar Oct 15 '25 00:10 CertainLach

You can check that by using edid-decode:

> edid-decode /sys/class/drm/card1-DP-3/edid

Block 1, DisplayID Extension Block:
  Version: 2.0
  Extension Count: 0
  Display Product Primary Use Case: Head-mounted Virtual Reality (VR) display

This patch was required when the kernel was not respecting this field.

CertainLach avatar Oct 15 '25 00:10 CertainLach

I just came across this issue when trying to upgrade my kernel. So are the other patches (0002-drm-edid-parse-DRM-VESA-dsc-bpp-target_fix.patch and 0003-drm-amd-use-fixed-dsc-bits-per-pixel-from-edid.patch) also not needed anymore?

RononDex avatar Oct 21 '25 08:10 RononDex

You shouldn't need this patch on 6.16 kernel, since VivePro2 announces its own usage using EDID, and kernel is able to detect that automatically

You're right, it does work without it.

Rapti avatar Oct 28 '25 17:10 Rapti

I just came across this issue when trying to upgrade my kernel. So are the other patches (0002-drm-edid-parse-DRM-VESA-dsc-bpp-target_fix.patch and 0003-drm-amd-use-fixed-dsc-bits-per-pixel-from-edid.patch) also not needed anymore?

Those are needed for modes 4 and 5, but you'd better use the updated version: https://lore.kernel.org/all/[email protected]/T/#u (Will add it to this repo later)

The patch I linked is for 6.18-rc3, rebased for 6.17 version is in this discord thread: https://discord.com/channels/1065291958328758352/1428185501008924672

CertainLach avatar Oct 28 '25 18:10 CertainLach

Thanks that would be awesome @CertainLach. Your effort is much appreciated :)

RononDex avatar Oct 29 '25 09:10 RononDex