Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[solved] amdgpu GBM platform device initialize failed
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
serafean
n00b
n00b


Joined: 11 Apr 2016
Posts: 19

PostPosted: Tue May 14, 2024 8:39 pm    Post subject: [solved] amdgpu GBM platform device initialize failed Reply with quote

Hi,

I'm trying to run kodi using the GBM backend (to potentially get HDR output) and can't get it to work. The kodi question is here , but after further debugging, I'm becoming concerned this might be gentoo + amdgpu specific.

eglinfo reports
Code:
GBM platform:
EGL API version: 1.5
EGL vendor string: Mesa Project
EGL version string: 1.5
EGL client APIs: OpenGL OpenGL_ES
EGL driver name: kms_swrast
for the GBM platform when run as a non-root user. with stderr content:
Code:
amdgpu_device_initialize: amdgpu_query_info(ACCEL_WORKING) failed (-13)
amdgpu: amdgpu_device_initialize failed.


Whereas for root:
Code:
GBM platform:
EGL API version: 1.5
EGL vendor string: Mesa Project
EGL version string: 1.5
EGL client APIs: OpenGL OpenGL_ES
EGL driver name: radeonsi
EGL extensions string:


My user is in the following groups:
Code:
audio cdrom video cdrw plugdev input render xbmc


ls /dev/dri:
Code:
/dev/dri/:
total 0
drwxr-xr-x  2 root root         80 May 14 01:13 by-path
crw-rw----+ 1 root video  226,   0 May 14 17:58 card0
crw-rw-rw-  1 root render 226, 128 May 14 01:13 renderD128


I'm at a loss how to make this work... It works on another machine with Intel Iris driver, and I can't find any relevant difference in configuration. Thanks for any ideas.


Last edited by serafean on Tue May 14, 2024 8:54 pm; edited 1 time in total
Back to top
View user's profile Send private message
serafean
n00b
n00b


Joined: 11 Apr 2016
Posts: 19

PostPosted: Tue May 14, 2024 8:53 pm    Post subject: Reply with quote

Never mind... GBM requires eclusive access to the device, can't test GBM renderers while running a GUI.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum