isjerryxiao / kmsvnc

A VNC server for DRM/KMS capable GNU/Linux devices
GNU General Public License v3.0
50 stars 6 forks source link

amdgpu cannot initialize va #2

Closed Rsplwe closed 1 year ago

Rsplwe commented 1 year ago

Env: GPU: AMD Radeon 680M (Mesa 23.1.2) DE: KDE Plasma 5.27.5 (Wayland) Kernel: 6.3.8-arch1-1

Command:

sudo ./kmsvnc -p 5901 -b 0.0.0.0 -4 -d /dev/dri/card0

Log:

drm driver is amdgpu
Plane 40 CRTC 0 FB 0
Plane 45 CRTC 0 FB 0
Plane 50 CRTC 0 FB 0
Plane 55 CRTC 72 FB 130
Using plane 55 to locate framebuffers
Template framebuffer is 130: 1920x1200 fourcc:808669761 mod:144115188349958915 flags:2
handles 1 1 1 0
offsets 0 9830400 9879552 0
pitches 7680 2048 2048 0
format AR30, modifier AMD:GFX10_RBPLUS,GFX9_64K_R_X,DCC,DCC_RETILE,DCC_INDEPENDENT_128B,DCC_MAX_COMPRESSED_BLOCK=128B,DCC_CONSTANT_ENCODE,PIPE_XOR_BITS=2,PACKERS=2
vaapi vendor Mesa Gallium driver 23.1.2 for AMD Radeon Graphics (rembrandt, LLVM 15.0.7, DRM 3.52, 6.3.8-arch1-1)
vaCreateSurfaces prime2 error 0xe the requested RT Format is not supported, trying prime
va operation error 0xe the requested RT Format is not supported on line 234
isjerryxiao commented 1 year ago

see #1