Bei libplacebo hatte ich Installationsprobleme, mal sehn, ob ich die lösen kann.
softhddrm Bild nur Streifen
-
-
Compile mit libplacebo
Codevideo.c:2393:17: Warnung: Zuweisung an »struct pl_fmt *« von inkompatiblem Zeigertyp »pl_fmt« {alias »const struct pl_fmt_t *«} [-Wincompatible-pointer-types] 2393 | fmt = pl_find_fourcc(p->gpu, | ^ video.c:2400:12: Fehler: falsche Verwendung des undefinierten Typs »struct pl_fmt« 2400 | fmt->fourcc = desc.layers[n].drm_format; | ^~ video.c:2407:23: Warnung: Initialisierung von »const struct pl_fmt_t *« von inkompatiblem Zeigertyp »struct pl_fmt *« [-Wincompatible-pointer-types] 2407 | .format = fmt, | ^~~
-
-
Mit API 192 compiliert es, aber nur schwarzer Bildschirm, das war das Älteste, was gentoo hat, jetzt muß ich basteln.
-
Mit API 192 compiliert es, aber nur schwarzer Bildschirm, das war das Älteste, was gentoo hat, jetzt muß ich basteln.
Ich habe hier auch unter gentoo libplacebo-4.192.1-r2 mit einer Nvidia T400 am laufen.
Habe zwar ab und zu Mikro-Ruckler, aber das ist ein anderes Thema...
-
Die alte Version compiliert nicht:
Code
Alles anzeigentest1 libplacebo-72cd260ad7d5aa564ff5e68caf16ec2633f3460e # ./compile ninja: Entering directory `./build' [4/7] Compiling C object src/libplaceb...175.p/meson-generated_.._utils_gen.c.o FAILED: src/libplacebo.so.175.p/meson-generated_.._utils_gen.c.o cc -Isrc/libplacebo.so.175.p -Isrc -I../src -Isrc/include -I../src/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -O0 -g -Wundef -Wshadow -Wparentheses -Wpointer-arith -D_ISOC99_SOURCE -D_ISOC11_SOURCE -D_GNU_SOURCE -D_XOPEN_SOURCE=700 -U__STRICT_ANSI__ -fvisibility=hidden -Wmissing-prototypes -Wno-pointer-sign -Wno-sign-compare -Wno-unused-parameter -Wno-missing-field-initializers -Wno-type-limits -Werror=implicit-function-declaration -Werror=incompatible-pointer-types -fPIC -pthread -MD -MQ src/libplacebo.so.175.p/meson-generated_.._utils_gen.c.o -MF src/libplacebo.so.175.p/meson-generated_.._utils_gen.c.o.d -o src/libplacebo.so.175.p/meson-generated_.._utils_gen.c.o -c src/utils_gen.c src/utils_gen.c: In Funktion »vk_struct_size«: src/utils_gen.c:1058:79: Fehler: »VkExportMetalObjectCreateInfoEXT« nicht deklariert (erstmalige Verwendung in dieser Funktion); meinten Sie »VkExportSemaphoreCreateInfoKHR«? 1058 | case VK_STRUCTURE_TYPE_EXPORT_METAL_OBJECT_CREATE_INFO_EXT: return sizeof(VkExportMetalObjectCreateInfoEXT); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | VkExportSemaphoreCreateInfoKHR src/utils_gen.c:1058:79: Anmerkung: jeder nicht deklarierte Bezeichner wird nur einmal für jede Funktion, in der er vorkommt, gemeldet src/utils_gen.c:1059:73: Fehler: »VkExportMetalObjectsInfoEXT« nicht deklariert (erste Verwendung in dieser Funktion) 1059 | case VK_STRUCTURE_TYPE_EXPORT_METAL_OBJECTS_INFO_EXT: return sizeof VkExportMetalObjectsInfoEXT); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
ich weiss nicht, ob sich der Aufwand lohnt.
-
wie sieht denn hier mit die Ausgabe auf der Konsole aus -- vielleicht past ja was, wie oben schon von jojo angefragt, etwas nicht mit der edid
oder es wurde der falsche HDMI Port gewählt für DRM. "libplacebo - wird hier nicht benötigt"
drm-ausgabe
Bash
Alles anzeigen#!/bin/bash # Output DRM-Card echo "***********************" echo "*** Output DRM-Card ***" echo "***********************" for p in /sys/class/drm/*/status; do con=${p%/status}; echo -n "${con#*/card?-}: "; cat $p; done # DRM-System echo "*************************" echo "*** Output DRM-System ***" echo "*************************" dmesg|grep drm
so sieht es z.B hier aus
Code
Alles anzeigen*********************** *** Output DRM-Card *** *********************** DP-1: connected DP-2: disconnected HDMI-A-1: connected ************************* *** Output DRM-System *** ************************* [ 0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-6.1.10-060110-generic root=UUID=a48865c1-45b7-4ba7-b12b-674e46d0738d ro net.ifnames=0 and biosdevname=0 intel_pstate=enable splash quiet loglevel=3 video=HDMI-A-1:1920x1080@50D drm.edid_firmware=HDMI-A-1:edid/edid.bin nohz=off nolapic-timer vt.handoff=7 [ 0.075199] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-6.1.10-060110-generic root=UUID=a48865c1-45b7-4ba7-b12b-674e46d0738d ro net.ifnames=0 and biosdevname=0 intel_pstate=enable splash quiet loglevel=3 video=HDMI-A-1:1920x1080@50D drm.edid_firmware=HDMI-A-1:edid/edid.bin nohz=off nolapic-timer vt.handoff=7 [ 1.911246] ACPI: bus type drm_connector registered [ 2.473500] i915 0000:00:02.0: [drm] Finished loading DMC firmware i915/kbl_dmc_ver1_04.bin (v1.4) [ 2.473931] [drm] forcing HDMI-A-1 connector on [ 2.476610] i915 0000:00:02.0: [drm] [ENCODER:107:DDI C/PHY C] is disabled/in DSI mode with an ungated DDI clock, gate it [ 2.518072] [drm] Initialized i915 1.6.0 20201103 for 0000:00:02.0 on minor 0 [ 2.587165] [drm] Got external EDID base block and 1 extension from "edid/edid.bin" for connector "HDMI-A-1" [ 2.611203] fbcon: i915drmfb (fb0) is primary device [ 2.611212] i915 0000:00:02.0: [drm] fb0: i915drmfb frame buffer device [ 2.690981] [drm] Got external EDID base block and 1 extension from "edid/edid.bin" for connector "HDMI-A-1" [ 2.905597] [drm] Got external EDID base block and 1 extension from "edid/edid.bin" for connector "HDMI-A-1" [ 4.621136] systemd[1]: Starting Load Kernel Module drm... [ 4.639467] systemd[1]: modprobe@drm.service: Deactivated successfully. [ 4.639654] systemd[1]: Finished Load Kernel Module drm. [ 596.686959] [drm] Got external EDID base block and 1 extension from "edid/edid.bin" for connector "HDMI-A-1" [ 596.743581] [drm] Got external EDID base block and 1 extension from "edid/edid.bin" for connector "HDMI-A-1"
Code
Alles anzeigenroot@BM2LTS-DD:~# vainfo Trying display: wayland Trying display: x11 Trying display: drm libva info: VA-API version 1.17.0 libva info: User environment variable requested driver 'iHD' libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so libva info: Found init function __vaDriverInit_1_17 libva info: va_openDriver() returns 0 vainfo: VA-API version: 1.17 (libva 2.17.0.1) vainfo: Driver version: Intel iHD driver for Intel(R) Gen Graphics - 23.1.1 (b545340bc) vainfo: Supported profile and entrypoints VAProfileNone : VAEntrypointVideoProc VAProfileNone : VAEntrypointStats VAProfileMPEG2Simple : VAEntrypointVLD VAProfileMPEG2Simple : VAEntrypointEncSlice VAProfileMPEG2Main : VAEntrypointVLD VAProfileMPEG2Main : VAEntrypointEncSlice VAProfileH264Main : VAEntrypointVLD VAProfileH264Main : VAEntrypointEncSlice VAProfileH264Main : VAEntrypointFEI VAProfileH264Main : VAEntrypointEncSliceLP VAProfileH264High : VAEntrypointVLD VAProfileH264High : VAEntrypointEncSlice VAProfileH264High : VAEntrypointFEI VAProfileH264High : VAEntrypointEncSliceLP VAProfileVC1Simple : VAEntrypointVLD VAProfileVC1Main : VAEntrypointVLD VAProfileVC1Advanced : VAEntrypointVLD VAProfileJPEGBaseline : VAEntrypointVLD VAProfileJPEGBaseline : VAEntrypointEncPicture VAProfileH264ConstrainedBaseline: VAEntrypointVLD VAProfileH264ConstrainedBaseline: VAEntrypointEncSlice VAProfileH264ConstrainedBaseline: VAEntrypointFEI VAProfileH264ConstrainedBaseline: VAEntrypointEncSliceLP VAProfileVP8Version0_3 : VAEntrypointVLD VAProfileVP8Version0_3 : VAEntrypointEncSlice VAProfileHEVCMain : VAEntrypointVLD VAProfileHEVCMain : VAEntrypointEncSlice VAProfileHEVCMain : VAEntrypointFEI VAProfileHEVCMain10 : VAEntrypointVLD VAProfileHEVCMain10 : VAEntrypointEncSlice VAProfileVP9Profile0 : VAEntrypointVLD VAProfileVP9Profile2 : VAEntrypointVLD
-
Der HDMI-Port ist richtig, es kommt ja ein Bild, OSD wird korrekt angezeigt. Kann ich bei DRM eine edid übergeben?
-
Die Ausgabe wäre ja mal was
Zitat
Der HDMI-Port ist richtig, es kommt ja ein Bild, OSD wird korrekt angezeigt. Kann ich bei DRM eine edid übergeben?warum nicht
-
Wo gebe ich das an?
-
Wo gebe ich das an?
steht eigentlich alles oben in meiner Ausgabe vom Skript --> am Kernel / Grub
-
Ok, im Moment nutze ich einen geklauten kernel von Ubuntu unter gentoo, da weiss ich nicht, wie ich die initramfs modifizieren kann. Ich bin dabei einen eigenen kernel zu bauen.
-
Ich habe auf meinem neuen Desktop eine Intel GPU 770 und libplacebo laufen.
Folgende libplacebo-Version kompilierte:
Die von Jojo oben angegebene Version 4.175 kompiliert nicht mehr - zumindest nicht unter Suse Tumbleweed.
Als Kernel habe ich
6.1.8-1
Das Bild hier ist glasklar. Ich habe drei Monitore angeschlossen (2550x1440) und könnte meinen Lieblingsscaler ewa_robidouxsharp in Verbindung mit einem Shader einstellen. Da wäre die GPU bis zu 90 % ausgelastet und hat für anderes wenig übrig. Also fahre ich robidouxsharp mit 50 % Auslastung - top!
Danke jojo61!
jsffm: Gib Bescheid, wenn ich noch Angaben wie z.B. vainfo oder ffmpeg machen soll. Vielleicht hilft's ja...
Stefan
-
Danke @447377, aber ich fürchte, die Unterschiede sind zu groß.
Code
Alles anzeigen# edid-decode /sys/class/drm/card1-HDMI-A-2/edid edid-decode (hex): 00 ff ff ff ff ff ff 00 41 0c 00 00 01 01 01 01 05 1c 01 03 80 40 24 78 0a f9 ab a2 55 4a 9a 25 0f 47 4a 21 08 00 81 80 01 01 01 01 01 01 01 01 01 01 01 01 01 01 02 3a 80 18 71 38 2d 40 58 2c 45 00 80 68 21 00 00 1e 1b 21 50 a0 51 00 1e 30 48 88 35 00 80 68 21 00 00 18 00 00 00 fc 00 50 48 49 4c 49 50 53 20 46 54 56 0a 20 00 00 00 fd 00 38 4c 1e 53 11 00 0a 20 20 20 20 20 20 01 c6 02 03 2c 41 4e 9f 10 20 21 22 14 05 13 04 11 02 15 06 01 2c 09 7f 03 15 07 50 3d 07 c0 55 07 00 83 01 00 00 67 03 0c 00 10 00 b8 2d 02 3a 80 d0 72 38 2d 40 10 2c 45 80 80 68 21 00 00 1e 01 1d 80 3e 73 38 2d 40 7e 2c 45 80 80 68 21 00 00 1e 01 1d 80 d0 72 1c 16 20 10 2c 25 80 80 68 21 00 00 9e 01 1d 00 bc 52 d0 1e 20 b8 28 55 40 80 68 21 00 00 1e 00 00 00 00 00 00 00 00 00 00 00 78 ---------------- Block 0, Base EDID: EDID Structure Version & Revision: 1.3 Vendor & Product Identification: Manufacturer: PHL Model: 0 Serial Number: 16843009 Made in: week 5 of 2018 Basic Display Parameters & Features: Digital display Maximum image size: 64 cm x 36 cm Gamma: 2.20 RGB color display First detailed timing is the preferred timing Color Characteristics: Red : 0.6357, 0.3349 Green: 0.2910, 0.6025 Blue : 0.1464, 0.0605 White: 0.2792, 0.2919 Established Timings I & II: DMT 0x04: 640x480 59.940476 Hz 4:3 31.469 kHz 25.175000 MHz DMT 0x09: 800x600 60.316541 Hz 4:3 37.879 kHz 40.000000 MHz DMT 0x10: 1024x768 60.003840 Hz 4:3 48.363 kHz 65.000000 MHz Standard Timings: DMT 0x23: 1280x1024 60.019740 Hz 5:4 63.981 kHz 108.000000 MHz Detailed Timing Descriptors: DTD 1: 1920x1080 60.000000 Hz 16:9 67.500 kHz 148.500000 MHz (640 mm x 360 mm) Hfront 88 Hsync 44 Hback 148 Hpol P Vfront 4 Vsync 5 Vback 36 Vpol P DTD 2: 1360x768 59.798991 Hz 85:48 47.720 kHz 84.750000 MHz (640 mm x 360 mm) Hfront 72 Hsync 136 Hback 208 Hpol N Vfront 3 Vsync 5 Vback 22 Vpol N Display Product Name: 'PHILIPS FTV' Display Range Limits: Monitor ranges (GTF): 56-76 Hz V, 30-83 kHz H, max dotclock 170 MHz Extension blocks: 1 Checksum: 0xc6 ---------------- Block 1, CTA-861 Extension Block: Revision: 3 Basic audio support Native detailed modes: 1 Video Data Block: VIC 31: 1920x1080 50.000000 Hz 16:9 56.250 kHz 148.500000 MHz (native) VIC 16: 1920x1080 60.000000 Hz 16:9 67.500 kHz 148.500000 MHz VIC 32: 1920x1080 24.000000 Hz 16:9 27.000 kHz 74.250000 MHz VIC 33: 1920x1080 25.000000 Hz 16:9 28.125 kHz 74.250000 MHz VIC 34: 1920x1080 30.000000 Hz 16:9 33.750 kHz 74.250000 MHz VIC 20: 1920x1080i 50.000000 Hz 16:9 28.125 kHz 74.250000 MHz VIC 5: 1920x1080i 60.000000 Hz 16:9 33.750 kHz 74.250000 MHz VIC 19: 1280x720 50.000000 Hz 16:9 37.500 kHz 74.250000 MHz VIC 4: 1280x720 60.000000 Hz 16:9 45.000 kHz 74.250000 MHz VIC 17: 720x576 50.000000 Hz 4:3 31.250 kHz 27.000000 MHz VIC 2: 720x480 59.940060 Hz 4:3 31.469 kHz 27.000000 MHz VIC 21: 1440x576i 50.000000 Hz 4:3 15.625 kHz 27.000000 MHz VIC 6: 1440x480i 59.940060 Hz 4:3 15.734 kHz 27.000000 MHz VIC 1: 640x480 59.940476 Hz 4:3 31.469 kHz 25.175000 MHz Audio Data Block: Linear PCM: Max channels: 2 Supported sample rates (kHz): 192 176.4 96 88.2 48 44.1 32 Supported sample sizes (bits): 20 16 AC-3: Max channels: 6 Supported sample rates (kHz): 48 44.1 32 Maximum bit rate: 640 kb/s DTS: Max channels: 6 Supported sample rates (kHz): 48 44.1 32 Maximum bit rate: 1536 kb/s Enhanced AC-3 (DD+): Max channels: 6 Supported sample rates (kHz): 48 44.1 32 Speaker Allocation Data Block: FL/FR - Front Left/Right Vendor-Specific Data Block (HDMI), OUI 00-0C-03: Source physical address: 1.0.0.0 Supports_AI DC_36bit DC_30bit DC_Y444 Maximum TMDS clock: 225 MHz Detailed Timing Descriptors: DTD 3: 1920x1080 50.000000 Hz 16:9 56.250 kHz 148.500000 MHz (640 mm x 360 mm) Hfront 528 Hsync 44 Hback 148 Hpol P Vfront 4 Vsync 5 Vback 36 Vpol P DTD 4: 1920x1080 24.000000 Hz 16:9 27.000 kHz 74.250000 MHz (640 mm x 360 mm) Hfront 638 Hsync 44 Hback 148 Hpol P Vfront 4 Vsync 5 Vback 36 Vpol P DTD 5: 1920x1080i 50.000000 Hz 16:9 28.125 kHz 74.250000 MHz (640 mm x 360 mm) Hfront 528 Hsync 44 Hback 148 Hpol P Vfront 2 Vsync 5 Vback 15 Vpol P Vfront +0.5 Odd Field Vfront 2 Vsync 5 Vback 15 Vpol P Vback +0.5 Even Field DTD 6: 1280x720 50.000000 Hz 16:9 37.500 kHz 74.250000 MHz (640 mm x 360 mm) Hfront 440 Hsync 40 Hback 220 Hpol P Vfront 5 Vsync 5 Vback 20 Vpol P Checksum: 0x78
Das ohne Angabe einer edid
Ich denke nicht, dass es an der edid liegt.
-
wie sieht den der Grub aus?
Bsp.
CodeGRUB_CMDLINE_LINUX_DEFAULT="intel_pstate=enable quiet splash loglevel=3 video=HDMI-A-1:1920x1080@50D drm.edid_firmware=HDMI-A-1:edid/edid.bin >
Zitat
Ich denke nicht, dass es an der edid liegt.das sieht man sehr gut oben mit der Ausgabe vom Skript -- > kannst Du bitte einmal diese Ausgabe Deinem System posten?
Da wird alles Wichtig zu Deiner DRM-Umgebung angezeigt
-
Code
Alles anzeigentest1 ~ # ./drm_chk *********************** *** Output DRM-Card *** *********************** DP-1: disconnected DP-2: disconnected DP-3: disconnected HDMI-A-1: disconnected HDMI-A-2: connected HDMI-A-3: disconnected HDMI-A-4: disconnected ************************* *** Output DRM-System *** ************************* [ 3.330506] ACPI: bus type drm_connector registered [ 3.692916] i915 0000:05:00.0: [drm] VT-d active for gfx access [ 3.705493] i915 0000:05:00.0: [drm] Can't resize LMEM BAR - platform support is missing [ 3.705589] i915 0000:05:00.0: [drm] Local memory IO size: 0x0000000010000000 [ 3.705599] i915 0000:05:00.0: [drm] Local memory available: 0x000000017c800000 [ 3.705606] i915 0000:05:00.0: [drm] Using a reduced BAR size of 256MiB. Consider enabling 'Resizable BAR' or similar, if available in the BIOS. [ 3.737225] i915 0000:05:00.0: [drm] Finished loading DMC firmware i915/dg2_dmc_ver2_08.bin (v2.8) [ 3.891419] i915 0000:05:00.0: [drm] GuC firmware i915/dg2_guc_70.bin version 70.5.1 [ 3.891441] i915 0000:05:00.0: [drm] HuC firmware i915/dg2_huc_gsc.bin version 7.10.3 [ 3.923784] i915 0000:05:00.0: [drm] GuC submission enabled [ 3.923802] i915 0000:05:00.0: [drm] GuC SLPC enabled [ 3.924313] i915 0000:05:00.0: [drm] GuC RC: enabled [ 4.024903] [drm] Initialized i915 1.6.0 20201103 for 0000:05:00.0 on minor 0 [ 4.093695] fbcon: i915drmfb (fb0) is primary device [ 4.199780] i915 0000:05:00.0: [drm] fb0: i915drmfb frame buffer device [ 4.623355] i915 0000:05:00.0: [drm] HuC authenticated
Bitte sehr
-
die edid.bin spielt auf Deinem System zur Zeit keine Rolle
Da wir leider nichts an den Kernel vom der edid.bin gebunden. Eine sauber lauffähig DRM Ausgabe ohne edid habe ich noch nicht gesehen.
Code[ 0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-6.1.10-060110-generic root=UUID=a48865c1-45b7-4ba7-b12b-674e46d0738d ro net.ifnames=0 and biosdevname=0 intel_pstate=enable splash quiet loglevel=3 video=HDMI-A-1:1920x1080@50D drm.edid_firmware=HDMI-A-1:edid/edid.bin nohz=off nolapic-timer vt.handoff=7 [ 0.075199] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-6.1.10-060110-generic root=UUID=a48865c1-45b7-4ba7-b12b-674e46d0738d ro net.ifnames=0 and biosdevname=0 intel_pstate=enable splash quiet loglevel=3 video=HDMI-A-1:1920x1080@50D drm.edid_firmware=HDMI-A-1:edid/edid.bin nohz=off nolapic-timer vt.handoff=7
den Teil hast Du weg gelassen?
Wenn der Kernel noch von Ubuntu ist
wäre das wohl mal die Grubzeile für einen Test mit edid.bin, wenn möchtest
CodeGRUB_CMDLINE_LINUX_DEFAULT="intel_pstate=enable quiet splash loglevel=3 video=HDMI-A-2:1920x1080@50D drm.edid_firmware=HDMI-A-2:edid/edid.bin nohz=off nolapic-timer vt.handoff=7"
Was auch noch fehlt ist eine Meldung wie
-
Ich habe das mit der edid im grub getestet, das macht keinen Unterschied.
[drm] forcing HDMI-A-2 connector on
Das sieht mir so aus, als ob der die Bindung durch die Anweisung im grub gebunden wird. Mit dem connect habe ich aber kein Problem.
Wenn der Kernel noch von Ubuntu ist
Ich habe jetzt einen eigenen
-
Zitat
Ich habe alles auf A380 (dec, enc, vpp) mit Upstream-Kernel zum Laufen gebracht🎉
Prod/backport KMD ist nicht mehr erforderlich, wenn Sie mit dem neuesten drm-tip-Kernel, Firmware, Medientreiber und onevpl arbeiten. Überprüfen Sie mit
dmesg | grep i915
, ob kein Firmware-Problem vorliegt und Guc Huc standardmäßig aktiviert ist. Kraftsonde ist auch nicht erforderlich.Guc und Huc müssen korrekt geladen sein, damit Sie die CBR- und VBR-Ratensteuerung verwenden können. Der aktuelle Mainline-Kernel hat ein Problem beim Laden der DG2-Firmware, daher benötigen Sie drm-tip.
Ich bin auf Arch, also ist es trivial, all diese zu bauen. Viel Glück
-
Zitat
Kraftsonde ist auch nicht erforderlich.
Jetzt mitmachen!
Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!