Announcement

Collapse
No announcement yet.

Intel's Experimental Xe Driver For Linux Lacking HuC Media Support For DG2/Alchenist

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • #51
    Originally posted by WannaBeOCer View Post

    Why do you think Intel wouldn’t follow?
    Because their first gen cards suck and their drivers are even worse? Shouldn't they give you at least ONE reason to buy them?
    Also Intel already had SR-IOV in some of their integrated gpus.
    ## VGA ##
    AMD: X1950XTX, HD3870, HD5870
    Intel: GMA45, HD3000 (Core i5 2500K)

    Comment


    • #52
      Originally posted by Quackdoc View Post
      any desktop oriented distro that cannot manage to have working support when the card is released, when other distros do, is IMO a bad distro. now to be fair, intel did a pretty bad job with dkms support, they failed to have a DKMS package for the current LTS. that being said, ordinary desktop use IMO shouldnt be using LTS kernels. so yes, intel did do a bad job, but the current linux stable at the time had everything working but media accel, and even that worked when paired with dkms and the appropriate kernel
      and you expect my old mother wo is already in pension to know this?

      it works now good enough... but if i had bought a amd GPU there would had be no problem at all.
      Phantom circuit Sequence Reducer Dyslexia

      Comment


      • #53
        I got the Intel Xe Driver running on my A770, in case anyone wants to take it for a spin, here's how I did it (instructions for Arch):

        Code:
        paru -Syu linux-firmware-git linux-drm-xe-next-git linux-drm-xe-next-headers-git
        Once installed, you'll need to copy the firmware folder:

        Code:
        sudo cp -r /lib/firmware/i915 /lib/firmware/xe
        Code:
        paru -G mesa-git rust-bindgen; cd mesa-git; nano PKGBUILD
        or, if you've already installed it once before
        Code:
        cd ~/.cache/paru/clone/mesa-git/; nano PKGBUILD
        I have the following build(), but you just have to add the intel specific things. I enabled lto and added rusticl in addition to the intel stuff:

        Code:
        build () {
          meson setup mesa _build \
             -D b_ndebug=true \
             -D b_lto=true \
             -D platforms=x11,wayland \
             -D gallium-drivers=r300,r600,radeonsi,nouveau,virgl,svga,swrast,i915,iris,crocus,zink,d3d12 \
             -D vulkan-drivers=amd,intel,swrast,virtio,intel_hasvk,microsoft-experimental \
             -D vulkan-layers=device-select,overlay,intel-nullhw \
             -D dri3=enabled \
             -D egl=enabled \
             -D gallium-extra-hud=true \
             -D gallium-nine=true \
             -D gallium-omx=bellagio \
             -D gallium-opencl=disabled \
             -D gallium-rusticl=true \
             -D gallium-va=enabled \
             -D gallium-vdpau=enabled \
             -D gallium-xa=enabled \
             -D gbm=enabled \
             -D gles1=disabled \
             -D gles2=enabled \
             -D glvnd=true \
             -D glx=dri \
             -D libunwind=enabled \
             -D llvm=enabled \
             -D rust_std=2021 \
             -D lmsensors=enabled \
             -D intel-clc=enabled \
             -D intel-xe-kmd=enabled \
             -D osmesa=true \
             -D opencl-spirv=true \
             -D shared-glapi=enabled \
             -D microsoft-clc=disabled \
             -D valgrind=disabled \
             -D tools=[] \
             -D zstd=enabled \
             -D video-codecs=vc1dec,h264dec,h264enc,h265dec,h265enc,av1dec,av1enc \
             -D buildtype=plain \
             --wrap-mode=nofallback \
             -D prefix=/usr \
             -D sysconfdir=/etc
        
           meson configure --no-pager _build
        
           ninja $NINJAFLAGS -C _build
        }
        
        ​
        You'll also want to change
        Code:
        rmdir
        to
        Code:
        rm -rf
        the post-install script that does the rmdir.

        Build and install the the modified mesa-git. the "-f" in -sif is needed to rebuild the pkg.zst if it already exists

        Code:
        makepkg -sif
        Blacklist the i915 driver

        Code:
        echo "blacklist i915" | sudo tee /etc/modprobe.d/xe.conf
        And reboot into the new kernel.

        To revert, all that should be needed is to
        Code:
        sudo rm /etc/modprobe.d/xe.conf
        followed by a reboot
        Last edited by lyamc; 21 January 2024, 01:30 AM.

        Comment

        Working...
        X