[Bug 282659] multimedia/kodi: fix run in GBM mode

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 17 Nov 2024 16:08:14 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=282659

--- Comment #6 from Ivan Rozhuk <rozhuk.im@gmail.com> ---
(In reply to yzrh from comment #4)

> Could you provide output of `glxinfo -B' please?

Yes and no.
I run kodi on dedicated ssd/FBSD where is no other extra software and goal of
GBM is not to have xorg or wayland.
H/W is: amd ryzen 5750G.

Output from my system (h/w a bit differ, I did not try to run kodi at GBM mode
on my system):
 glxinfo -B
name of display: :0.0
display: :0  screen: 0
direct rendering: Yes
Extended renderer info (GLX_MESA_query_renderer):
    Vendor: AMD (0x1002)
    Device: AMD Radeon RX 5600 XT (radeonsi, navi10, LLVM 15.0.7, DRM 3.49,
14.2-STABLE) (0x731f)
    Version: 24.1.7
    Accelerated: yes
    Video memory: 6144MB
    Unified memory: no
    Preferred profile: core (0x1)
    Max core profile version: 4.6
    Max compat profile version: 4.6
    Max GLES1 profile version: 1.1
    Max GLES[23] profile version: 3.2
Memory info (GL_ATI_meminfo):
    VBO free memory - total: 5253 MB, largest block: 5253 MB
    VBO free aux. memory - total: 65347 MB, largest block: 65347 MB
    Texture free memory - total: 5253 MB, largest block: 5253 MB
    Texture free aux. memory - total: 65347 MB, largest block: 65347 MB
    Renderbuffer free memory - total: 5253 MB, largest block: 5253 MB
    Renderbuffer free aux. memory - total: 65347 MB, largest block: 65347 MB
Memory info (GL_NVX_gpu_memory_info):
    Dedicated video memory: 6144 MB
    Total available memory: 71625 MB
    Currently available dedicated video memory: 5253 MB
OpenGL vendor string: AMD
OpenGL renderer string: AMD Radeon RX 5600 XT (radeonsi, navi10, LLVM 15.0.7,
DRM 3.49, 14.2-STABLE)
OpenGL core profile version string: 4.6 (Core Profile) Mesa 24.1.7
OpenGL core profile shading language version string: 4.60
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile

OpenGL version string: 4.6 (Compatibility Profile) Mesa 24.1.7
OpenGL shading language version string: 4.60
OpenGL context flags: (none)
OpenGL profile mask: compatibility profile

OpenGL ES profile version string: OpenGL ES 3.2 Mesa 24.1.7
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20


> Does output of `dmesg' contain anything about `fence driver'?

dmesg contain multiple messages: [5652] drm_gem_plane_helper_prepare_fb:
explicit fence not handled


> If you happen to have a nvidia GPU, the support was only added for 560 driver series (550 in ports).

I have seen their change log. I am on amdgpu only.
And I do not see any fence autodetect code.

-- 
You are receiving this mail because:
You are the assignee for the bug.