Hi,
kurzer Bericht über softhddrm auf AMD und was geht, bzw. noch nicht.
Meine Hardware: AMD ryzen 5650GE (Ich habe mir die neue APU eingebildet)
Ziel: Neuer UHD ready vdr mit HDR output.
Was habe ich gemacht:
i) focal-server installiert. (Damit ich kein X Server Heckmeck habe)
ii) von tuxinvader kernel 5.15.2 installiert (mainline ging nicht mehr, da libc Konflikt) https://launchpad.net/~tuxinva…chive/ubuntu/lts-mainline
ii) mesa Treiber installiert von http://ppa.launchpad.net/oibaf/graphics-drivers/ubuntu
iii) von Seahawk's vdr-2.5.6 repository vdr installiert (war wichtig: vdr in group render eingefügt)
iv) Dem jojo61 sein git geklont und softhddrm (ohne lib placebo) kompiliert und installiert.
(DRM = 1, LIBPLACEBO = 0)
Fehlermeldungen so weit:
i) [drm] Unknown EDID CEA parser results.
Ich habe einen BenQ UDH 4k Monitor, Windows und MacOS haben keine Probleme HDR Inhalte anzuzeigen.
Bei meinem Kernel setup kommt immer "HDR emulated" also 8 bit.
Das wird auch durch: cat /sys/kernel/debug/dri/0/HDMI-A-1/output_bpc bestätigt.
Ich vermute ein bug im Treiber amdpgu?
ii) softhddrm startet und ich bekomme:
FindDevice: open /dev/dri/card0: amdgpu
Connector >HDMI-A-1< is connected
ID 7 of METADATA in Connector 78 connected 1
Mode 0 3840x2160 Rate 60
Use Mode 0 3840x2160 Rate 60
[FindDevice] Plane id 40 crtc_id 0 possible_crtcs 8 possible CRTC 76 type primary plane
[FindDevice] Plane id 45 crtc_id 0 possible_crtcs 4 possible CRTC 73 type primary plane
[FindDevice] Plane id 50 crtc_id 0 possible_crtcs 2 possible CRTC 70 type primary plane
[FindDevice] Plane id 55 crtc_id 67 possible_crtcs 1 possible CRTC 67 type primary plane
[FindDevice] Plane id 60 crtc_id 0 possible_crtcs 255 possible CRTC 67 type overlay plane
[FindDevice] Plane id 65 crtc_id 0 possible_crtcs 1 possible CRTC 67 type cursor plane
[FindDevice] Plane id 68 crtc_id 0 possible_crtcs 2 possible CRTC 70 type cursor plane
[FindDevice] Plane id 71 crtc_id 0 possible_crtcs 4 possible CRTC 73 type cursor plane
[FindDevice] Plane id 74 crtc_id 0 possible_crtcs 8 possible CRTC 76 type cursor plane
[FindDevice] DRM setup CRTC: 67 video_plane: 40
set CRTC 67 of Connector 78 aktiv
mesa: for the --simplifycfg-sink-common option: may only occur zero or one times!
mesa: for the --global-isel-abort option: may only occur zero or one times!
mesa: for the --amdgpu-atomic-optimizations option: may only occur zero or one times!
SetPropertyRequest: Unable to find value for property 'Colorspace'.
Alles läuft erstmal ein paar Sekunden, dann fängt es an zu stottern und ich bekomme jede Menge:
Fehler beim export VAAPI Handle
WARN tntnet.worker - unexpected exception: accept4: errno 24: Too many open files
@jojo61Hast Du eine Idee woran das liegen könnte?
Oder andersrum gefragt: Was muss ich liefern, damit Du das beantworten könntest?
Mein Eindruck ist, amdgpu ist gar nicht so kaputt. (Immerhin läuft es ja ca. 10 Sekunden)