Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Der neue GPU-Treiber "Intel Xe"
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
schmidicom
Veteran
Veteran


Joined: 09 Mar 2006
Posts: 1975
Location: Schweiz

PostPosted: Tue Sep 17, 2024 1:54 pm    Post subject: Der neue GPU-Treiber "Intel Xe" Reply with quote

Hallo, seit dem Kernel 6.8 und Mesa 24.1 steht unter dem Namen "Intel Xe" ja ein neuer Treiber für diverse Intel-GPUs zur Verfügung.
Aber kann mir jemand sagen ob der Support dafür auch beim Gentoo-Package "media-libs/mesa" angekommen ist? Das ebuild ist für Leute die nicht täglich ein ebuild schreiben leider nicht so einfach zu lesen.

EDIT (Linksammlung):
https://www.kernel.org/doc/html/next/gpu/rfc/xe.html
_________________
Lenovo - ThinkPad P16s Gen 2 - 21K9CTO1WW


Last edited by schmidicom on Mon Oct 14, 2024 4:20 pm; edited 1 time in total
Back to top
View user's profile Send private message
firefly
Watchman
Watchman


Joined: 31 Oct 2002
Posts: 5327

PostPosted: Tue Sep 17, 2024 2:50 pm    Post subject: Reply with quote

WEnn das ebuild bisher unbekannte treiber nicht einfach deaktivieren kann dann sollte es mit mesa 24.1 standardmäßg aktiv sein.
zu mindestens laut diesem phoronix artikel: https://www.phoronix.com/news/Intel-Xe-KMD-Mesa-24.1-Default

EDIT: Wobei vermutlich es reicht den intel treiber an sich aktiv zu haben
_________________
Ein Ring, sie zu knechten, sie alle zu finden,
Ins Dunkel zu treiben und ewig zu binden
Im Lande Mordor, wo die Schatten drohn.
Back to top
View user's profile Send private message
schmidicom
Veteran
Veteran


Joined: 09 Mar 2006
Posts: 1975
Location: Schweiz

PostPosted: Wed Sep 18, 2024 6:24 am    Post subject: Reply with quote

Ich habe es inzwischen einfach mal ausprobiert und ja der Support dafür ist im Mesa von Gentoo drin aber das ganze hat die Bezeichnung experimentell echt verdient.
Das System hat mit diesem Treiber zwar problemlos gestartet und ich konnte mich auch an meiner KDE-Plasma-Wayland-Session erfolgreich anmelden, doch man merkte allein schon an der Bewegung des Mauszeigers sofort das etwas nicht so ist wie es sein sollte. Und beim Versuch im Vivaldi-Browser einen WebGL-Benchmark laufen zu lassen blockierte des Brwoser und der PC-Lüfter heulte auf wie er es noch nie machte, nicht einmal beim kompilieren von grösseren Packages.

Fazit:
Dieser Treiber wird aktuell zurecht als Experimentell eingestuft, mal sehen wie sich das entwickelt.
Spannend ist es auf jeden Fall.

Hier noch ein paar Infos:
Die Grafikkarte:
00:02.0 VGA compatible controller [0300]: Intel Corporation RocketLake-S GT1 [UHD Graphics 750] [8086:4c8a] (rev 04)

Die zu meiner GPU passende modprobe-Konfig um die Nutzung des "xe"-Modul zu forcieren:
options i915 force_probe=!4c8a
options xe force_probe=4c8a

Mein Mesa-Package mit USE-Flags:
media-libs/mesa-24.2.2::gentoo  USE="X d3d9 llvm lm-sensors (opengl) osmesa proprietary-codecs vaapi vdpau vulkan wayland xa zstd -debug -opencl (-selinux) -test -unwind -valgrind -vulkan-overlay" ABI_X86="(64) -32 (-x32)" CPU_FLAGS_X86="sse2" LLVM_SLOT="18 -15 -16 -17" VIDEO_CARDS="intel lavapipe radeon radeonsi virgl zink -d3d12 (-freedreno) (-lima) -nouveau -nvk (-panfrost) -r300 -r600 (-v3d) (-vc4) (-vivante) -vmware"

_________________
Lenovo - ThinkPad P16s Gen 2 - 21K9CTO1WW
Back to top
View user's profile Send private message
firefly
Watchman
Watchman


Joined: 31 Oct 2002
Posts: 5327

PostPosted: Wed Sep 18, 2024 9:09 am    Post subject: Reply with quote

Die Frage ist, ob deine GPU überhaupt gut von diesem treiber unterstützt wird.
Im code gibt es einen check welcher folgende Meldung ausgibt, wenn die GPU nicht offiziell untersützt wird:
Quote:
"Support for this platform is experimental with Xe KMD, bug reports may be ignored."

_________________
Ein Ring, sie zu knechten, sie alle zu finden,
Ins Dunkel zu treiben und ewig zu binden
Im Lande Mordor, wo die Schatten drohn.
Back to top
View user's profile Send private message
schmidicom
Veteran
Veteran


Joined: 09 Mar 2006
Posts: 1975
Location: Schweiz

PostPosted: Wed Sep 18, 2024 9:24 am    Post subject: Reply with quote

Meine integrierte GPU taucht jedenfalls schon mal in der Liste auf die mit "modinfo xe" angezeigt werden kann (siehe unten).
Ein Zeichen dafür das dieser neue Treiber den alten irgendwann ersetzen soll, zumindest bei einigen GPUs. Letzten Endes wird es vermutlich ähnlich laufen wie beim "amdgpu"-Treiber, der war am Anfang auch nur bei den neusten GPUs zu gebrauchen doch diese Zeiten sind zum Glück schon lange vorbei. Inzwischen ist der alte "radeon"-Treiber nur noch bei GPUs nötig die vom neuen nicht unterstützt werden.

modinfo xe:
filename:       /lib/modules/6.11.0-gentoo/kernel/drivers/gpu/drm/xe/xe.ko.zst
import_ns:      DMA_BUF
license:        GPL and additional rights
description:    Intel Xe Graphics
author:         Intel Corporation
firmware:       i915/mtl_gsc_1.bin
firmware:       i915/tgl_huc.bin
firmware:       i915/tgl_huc.bin
firmware:       i915/tgl_huc.bin
firmware:       i915/tgl_huc.bin
firmware:       i915/dg1_huc.bin
firmware:       i915/mtl_huc_gsc.bin
firmware:       i915/tgl_guc_70.bin
firmware:       i915/tgl_guc_70.bin
firmware:       i915/tgl_guc_70.bin
firmware:       i915/adlp_guc_70.bin
firmware:       i915/tgl_guc_70.bin
firmware:       i915/dg1_guc_70.bin
firmware:       i915/dg2_guc_70.bin
firmware:       i915/mtl_guc_70.bin
firmware:       xe/lnl_guc_70.bin
import_ns:      PWM
import_ns:      PWM
import_ns:      PWM
import_ns:      PWM
import_ns:      PWM
import_ns:      PWM
import_ns:      PWM
import_ns:      PWM
import_ns:      PWM
import_ns:      PWM
import_ns:      PWM
import_ns:      PWM
import_ns:      PWM
import_ns:      PWM
import_ns:      PWM
import_ns:      PWM
import_ns:      PWM
import_ns:      PWM
import_ns:      PWM
import_ns:      PWM
import_ns:      PWM
import_ns:      PWM
import_ns:      PWM
import_ns:      PWM
import_ns:      PWM
import_ns:      PWM
import_ns:      PWM
import_ns:      PWM
import_ns:      PWM
import_ns:      PWM
import_ns:      PWM
import_ns:      PWM
import_ns:      PWM
firmware:       i915/bxt_dmc_ver1_07.bin
firmware:       i915/skl_dmc_ver1_27.bin
firmware:       i915/kbl_dmc_ver1_04.bin
firmware:       i915/glk_dmc_ver1_04.bin
firmware:       i915/icl_dmc_ver1_09.bin
firmware:       i915/tgl_dmc_ver2_12.bin
firmware:       i915/rkl_dmc_ver2_03.bin
firmware:       i915/dg1_dmc_ver2_02.bin
firmware:       i915/adls_dmc_ver2_01.bin
firmware:       i915/adlp_dmc_ver2_16.bin
firmware:       i915/adlp_dmc.bin
firmware:       i915/dg2_dmc_ver2_08.bin
firmware:       i915/mtl_dmc.bin
firmware:       i915/bmg_dmc.bin
firmware:       i915/xe2lpd_dmc.bin
import_ns:      PWM
import_ns:      PWM
import_ns:      PWM
import_ns:      PWM
import_ns:      PWM
import_ns:      PWM
import_ns:      PWM
import_ns:      PWM
import_ns:      PWM
import_ns:      PWM
import_ns:      PWM
import_ns:      PWM
import_ns:      PWM
import_ns:      PWM
import_ns:      PWM
import_ns:      PWM
import_ns:      PWM
import_ns:      PWM
import_ns:      PWM
import_ns:      PWM
import_ns:      PWM
import_ns:      PWM
import_ns:      PWM
import_ns:      PWM
import_ns:      PWM
import_ns:      PWM
import_ns:      PWM
import_ns:      PWM
import_ns:      PWM
import_ns:      PWM
import_ns:      PWM
import_ns:      PWM
import_ns:      PWM
import_ns:      PWM
import_ns:      PWM
import_ns:      PWM
import_ns:      PWM
import_ns:      PWM
import_ns:      PWM
import_ns:      PWM
import_ns:      PWM
import_ns:      PWM
import_ns:      PWM
import_ns:      PWM
import_ns:      PWM
import_ns:      PWM
import_ns:      PWM
import_ns:      PWM
import_ns:      PWM
import_ns:      PWM
alias:          pci:v00008086d0000E212sv*sd*bc03sc*i*
alias:          pci:v00008086d0000E20Dsv*sd*bc03sc*i*
alias:          pci:v00008086d0000E20Csv*sd*bc03sc*i*
alias:          pci:v00008086d0000E20Bsv*sd*bc03sc*i*
alias:          pci:v00008086d0000E202sv*sd*bc03sc*i*
alias:          pci:v00008086d000064B0sv*sd*bc03sc*i*
alias:          pci:v00008086d000064A0sv*sd*bc03sc*i*
alias:          pci:v00008086d00006420sv*sd*bc03sc*i*
alias:          pci:v00008086d00007DD5sv*sd*bc03sc*i*
alias:          pci:v00008086d00007DD1sv*sd*bc03sc*i*
alias:          pci:v00008086d00007D67sv*sd*bc03sc*i*
alias:          pci:v00008086d00007D60sv*sd*bc03sc*i*
alias:          pci:v00008086d00007D55sv*sd*bc03sc*i*
alias:          pci:v00008086d00007D51sv*sd*bc03sc*i*
alias:          pci:v00008086d00007D45sv*sd*bc03sc*i*
alias:          pci:v00008086d00007D41sv*sd*bc03sc*i*
alias:          pci:v00008086d00007D40sv*sd*bc03sc*i*
alias:          pci:v00008086d000056B3sv*sd*bc03sc*i*
alias:          pci:v00008086d000056B2sv*sd*bc03sc*i*
alias:          pci:v00008086d000056A4sv*sd*bc03sc*i*
alias:          pci:v00008086d000056A3sv*sd*bc03sc*i*
alias:          pci:v00008086d00005697sv*sd*bc03sc*i*
alias:          pci:v00008086d00005696sv*sd*bc03sc*i*
alias:          pci:v00008086d000056BDsv*sd*bc03sc*i*
alias:          pci:v00008086d000056BCsv*sd*bc03sc*i*
alias:          pci:v00008086d000056BBsv*sd*bc03sc*i*
alias:          pci:v00008086d000056BAsv*sd*bc03sc*i*
alias:          pci:v00008086d000056B1sv*sd*bc03sc*i*
alias:          pci:v00008086d000056B0sv*sd*bc03sc*i*
alias:          pci:v00008086d000056A6sv*sd*bc03sc*i*
alias:          pci:v00008086d000056A5sv*sd*bc03sc*i*
alias:          pci:v00008086d00005695sv*sd*bc03sc*i*
alias:          pci:v00008086d00005694sv*sd*bc03sc*i*
alias:          pci:v00008086d00005693sv*sd*bc03sc*i*
alias:          pci:v00008086d000056BFsv*sd*bc03sc*i*
alias:          pci:v00008086d000056BEsv*sd*bc03sc*i*
alias:          pci:v00008086d000056A2sv*sd*bc03sc*i*
alias:          pci:v00008086d000056A1sv*sd*bc03sc*i*
alias:          pci:v00008086d000056A0sv*sd*bc03sc*i*
alias:          pci:v00008086d00005692sv*sd*bc03sc*i*
alias:          pci:v00008086d00005691sv*sd*bc03sc*i*
alias:          pci:v00008086d00005690sv*sd*bc03sc*i*
alias:          pci:v00008086d000056C1sv*sd*bc03sc*i*
alias:          pci:v00008086d000056C2sv*sd*bc03sc*i*
alias:          pci:v00008086d000056C0sv*sd*bc03sc*i*
alias:          pci:v00008086d00004909sv*sd*bc03sc*i*
alias:          pci:v00008086d00004908sv*sd*bc03sc*i*
alias:          pci:v00008086d00004907sv*sd*bc03sc*i*
alias:          pci:v00008086d00004906sv*sd*bc03sc*i*
alias:          pci:v00008086d00004905sv*sd*bc03sc*i*
alias:          pci:v00008086d0000A78Bsv*sd*bc03sc*i*
alias:          pci:v00008086d0000A78Asv*sd*bc03sc*i*
alias:          pci:v00008086d0000A789sv*sd*bc03sc*i*
alias:          pci:v00008086d0000A788sv*sd*bc03sc*i*
alias:          pci:v00008086d0000A783sv*sd*bc03sc*i*
alias:          pci:v00008086d0000A782sv*sd*bc03sc*i*
alias:          pci:v00008086d0000A781sv*sd*bc03sc*i*
alias:          pci:v00008086d0000A780sv*sd*bc03sc*i*
alias:          pci:v00008086d0000A7ABsv*sd*bc03sc*i*
alias:          pci:v00008086d0000A7AAsv*sd*bc03sc*i*
alias:          pci:v00008086d0000A7A8sv*sd*bc03sc*i*
alias:          pci:v00008086d0000A7A0sv*sd*bc03sc*i*
alias:          pci:v00008086d0000A720sv*sd*bc03sc*i*
alias:          pci:v00008086d0000A7ADsv*sd*bc03sc*i*
alias:          pci:v00008086d0000A7ACsv*sd*bc03sc*i*
alias:          pci:v00008086d0000A7A9sv*sd*bc03sc*i*
alias:          pci:v00008086d0000A7A1sv*sd*bc03sc*i*
alias:          pci:v00008086d0000A721sv*sd*bc03sc*i*
alias:          pci:v00008086d000046D2sv*sd*bc03sc*i*
alias:          pci:v00008086d000046D1sv*sd*bc03sc*i*
alias:          pci:v00008086d000046D0sv*sd*bc03sc*i*
alias:          pci:v00008086d000046C3sv*sd*bc03sc*i*
alias:          pci:v00008086d000046C2sv*sd*bc03sc*i*
alias:          pci:v00008086d000046C1sv*sd*bc03sc*i*
alias:          pci:v00008086d000046C0sv*sd*bc03sc*i*
alias:          pci:v00008086d000046B3sv*sd*bc03sc*i*
alias:          pci:v00008086d000046B2sv*sd*bc03sc*i*
alias:          pci:v00008086d000046B1sv*sd*bc03sc*i*
alias:          pci:v00008086d000046B0sv*sd*bc03sc*i*
alias:          pci:v00008086d00004628sv*sd*bc03sc*i*
alias:          pci:v00008086d00004626sv*sd*bc03sc*i*
alias:          pci:v00008086d0000462Asv*sd*bc03sc*i*
alias:          pci:v00008086d000046AAsv*sd*bc03sc*i*
alias:          pci:v00008086d000046A8sv*sd*bc03sc*i*
alias:          pci:v00008086d000046A6sv*sd*bc03sc*i*
alias:          pci:v00008086d000046A3sv*sd*bc03sc*i*
alias:          pci:v00008086d000046A2sv*sd*bc03sc*i*
alias:          pci:v00008086d000046A1sv*sd*bc03sc*i*
alias:          pci:v00008086d000046A0sv*sd*bc03sc*i*
alias:          pci:v00008086d00004693sv*sd*bc03sc*i*
alias:          pci:v00008086d00004692sv*sd*bc03sc*i*
alias:          pci:v00008086d00004690sv*sd*bc03sc*i*
alias:          pci:v00008086d0000468Bsv*sd*bc03sc*i*
alias:          pci:v00008086d0000468Asv*sd*bc03sc*i*
alias:          pci:v00008086d00004688sv*sd*bc03sc*i*
alias:          pci:v00008086d00004682sv*sd*bc03sc*i*
alias:          pci:v00008086d00004680sv*sd*bc03sc*i*
alias:          pci:v00008086d00004C9Asv*sd*bc03sc*i*
alias:          pci:v00008086d00004C90sv*sd*bc03sc*i*
alias:          pci:v00008086d00004C8Csv*sd*bc03sc*i*
alias:          pci:v00008086d00004C8Bsv*sd*bc03sc*i*
alias:          pci:v00008086d00004C8Asv*sd*bc03sc*i*
alias:          pci:v00008086d00004C80sv*sd*bc03sc*i*
alias:          pci:v00008086d00009AF8sv*sd*bc03sc*i*
alias:          pci:v00008086d00009AD9sv*sd*bc03sc*i*
alias:          pci:v00008086d00009AC9sv*sd*bc03sc*i*
alias:          pci:v00008086d00009AC0sv*sd*bc03sc*i*
alias:          pci:v00008086d00009A78sv*sd*bc03sc*i*
alias:          pci:v00008086d00009A59sv*sd*bc03sc*i*
alias:          pci:v00008086d00009A49sv*sd*bc03sc*i*
alias:          pci:v00008086d00009A40sv*sd*bc03sc*i*
alias:          pci:v00008086d00009A70sv*sd*bc03sc*i*
alias:          pci:v00008086d00009A68sv*sd*bc03sc*i*
alias:          pci:v00008086d00009A60sv*sd*bc03sc*i*
depends:        gpu-sched,drm_gpuvm,ttm,drm_buddy,drm_suballoc_helper,drm_ttm_helper,drm_exec,i2c-algo-bit
retpoline:      Y
intree:         Y
name:           xe
vermagic:       6.11.0-gentoo SMP mod_unload modversions
sig_id:         PKCS#7
signer:         
sig_key:       
sig_hashalgo:   unknown
signature:     
parm:           dmc_firmware_path:DMC firmware path to use instead of the default one. Use /dev/null to disable DMC and runtime PM. (charp)
parm:           vbt_firmware:Load VBT from specified file under /lib/firmware (charp)
parm:           lvds_channel_mode:Specify LVDS channel mode (0=probe BIOS [default], 1=single-channel, 2=dual-channel) (int)
parm:           panel_use_ssc:Use Spread Spectrum Clock with panels [LVDS/eDP] (default: auto from VBT) (int)
parm:           vbt_sdvo_panel_type:Override/Ignore selection of SDVO panel mode in the VBT (-2=ignore, -1=auto [default], index in VBT BIOS table) (int)
parm:           enable_dc:Enable power-saving display C-states. (-1=auto [default]; 0=disable; 1=up to DC5; 2=up to DC6; 3=up to DC5 with DC3CO; 4=up to DC6 with DC3CO) (int)
parm:           enable_dpt:Enable display page table (DPT) (default: true) (bool)
parm:           enable_dsb:Enable display state buffer (DSB) (default: true) (bool)
parm:           enable_sagv:Enable system agent voltage/frequency scaling (SAGV) (default: true) (bool)
parm:           disable_power_well:Disable display power wells when possible (-1=auto [default], 0=power wells always on, 1=power wells disabled when possible) (int)
parm:           enable_ips:Enable IPS (default: true) (bool)
parm:           invert_brightness:Invert backlight brightness (-1 force normal, 0 machine defaults, 1 force inversion), please report PCI device ID, subsystem vendor and subsystem device ID to dri-devel@lists.freedesktop.org, if your machine needs it. It will then be included in an upcoming module version. (int)
parm:           edp_vswing:Ignore/Override vswing pre-emph table selection from VBT (0=use value from vbt [default], 1=low power swing(200mV),2=default swing(400mV)) (int)
parm:           enable_dpcd_backlight:Enable support for DPCD backlight control(-1=use per-VBT LFP backlight type setting [default], 0=disabled, 1=enable, 2=force VESA interface, 3=force Intel interface) (int)
parm:           load_detect_test:Force-enable the VGA load detect code for testing (default:false). For developers only. (bool)
parm:           force_reset_modeset_test:Force a modeset during gpu reset for testing (default:false). For developers only. (bool)
parm:           disable_display:Disable display (default: false) (bool)
parm:           verbose_state_checks:Enable verbose logs (ie. WARN_ON()) in case of unexpected hw state conditions. (bool)
parm:           nuclear_pageflip:Force enable atomic functionality on platforms that don't have full support yet. (bool)
parm:           enable_dp_mst:Enable multi-stream transport (MST) for new DisplayPort sinks. (default: true) (bool)
parm:           enable_fbc:Enable frame buffer compression for power savings (default: -1 (use per-chip default)) (int)
parm:           enable_psr:Enable PSR (0=disabled, 1=enable up to PSR1, 2=enable up to PSR2) Default: -1 (use per-chip default) (int)
parm:           psr_safest_params:Replace PSR VBT parameters by the safest and not optimal ones. This is helpful to detect if PSR issues are related to bad values set in  VBT. (0=use VBT parameters, 1=use safest parameters)Default: 0 (bool)
parm:           enable_psr2_sel_fetch:Enable PSR2 and Panel Replay selective fetch (0=disabled, 1=enabled) Default: 1 (bool)
parm:           enable_dmc_wl:Enable DMC wakelock (0=disabled, 1=enabled) Default: 0 (bool)
parm:           force_execlist:Force Execlist submission (bool)
parm:           enable_display:Enable display (bool)
parm:           vram_bar_size:Set the vram bar size(in MiB) (uint)
parm:           guc_log_level:GuC firmware logging level (0=disable, 1..5=enable with verbosity min..max) (int)
parm:           guc_firmware_path:GuC firmware path to use instead of the default one (charp)
parm:           huc_firmware_path:HuC firmware path to use instead of the default one - empty string disables (charp)
parm:           gsc_firmware_path:GSC firmware path to use instead of the default one - empty string disables (charp)
parm:           force_probe:Force probe options for specified devices. See CONFIG_DRM_XE_FORCE_PROBE for details. (charp)
parm:           max_vfs:Limit number of Virtual Functions (VFs) that could be managed. (0 = no VFs [default]; N = allow up to N VFs) (uint)
parm:           wedged_mode:Module's default policy for the wedged mode - 0=never, 1=upon-critical-errors[default], 2=upon-any-hang (int)

_________________
Lenovo - ThinkPad P16s Gen 2 - 21K9CTO1WW
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) 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