Hello! I have a very old PC with intel i915 graphics, which doesn’t correctly display KDE and shows a lot of bugs. I know it is possible to switch to software acceleration in X server. On NVdia I can pass nouveau.noaccel=1 to kernel. So how can I disable hardware acceleration here? Maybe this is possible via Xorg config?

  • Static_Rocket@lemmy.world
    link
    fedilink
    English
    arrow-up
    5
    arrow-down
    1
    ·
    edit-2
    1 month ago

    Llvmpipe is enabled in mesa at compilation time and actually modifies the swrast_*.so the last time I checked. Not runtime configurable. Also, I know at one point it had issues running on 32 bit machines. Not sure if that’s still the case.

  • lurch (he/him)@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    1
    ·
    edit-2
    1 month ago

    idk, but i would try switching of DRM/DRI (Direct Rendering Manager/Direct Rendering Interface). it’s X hardware rendering.

  • MonkderVierte@lemmy.ml
    link
    fedilink
    arrow-up
    1
    ·
    edit-2
    1 month ago

    You can set driver options in /etc/modprobe.d. I’ll just dump my i915.conf for my Thinkpad here, read the comments, (mkinitcpio stuff is Arch specific tho)

    #/etc/modprobe.d/i915.conf
    #
    # 'modinfo -p i915' to list possible values
    # 'systool -m i915 -av' to list active modules
    # modinfo -p i915 |awk -F':' '{print "\n# "$2 $3 $4"\n#options i915 "$1"="}' for a nicely formated preset
    # see https://wiki.archlinux.org/title/intel_graphics
    #
    
    ## Safe
    # Enable Kernel Mode Setting (KMS), setting display properties (resolution, etc.) in Kernel Space
    # add 'MODULES="intel_agp i915"' and 'FILES=/etc/modprobe.d/i915.conf' to /etc/mkinitcpio.conf for this to work
    # https://carlosbecker.com/posts/how-to-enable-kms-on-i915-graphiccard-archlinux/
    options i915 modeset=1
    
    # Enable frame buffer compression for power savings
    options i915 enable_fbc=1
    
    # Prevent frame-buffer flickering at boot
    options i915 fastboot=1
    
    
    ## Experimental
    # list current states with
    # grep '^i915.' /sys/kernel/debug/dri/0/i915_gpu_info
    
    # Enable power-saving display C-states (default should be fine)
    options i915 enable_dc=1
    
    # enable guc/huc (can cause issues with suspending)
    # explanation: https://01.org/linuxgraphics/downloads/firmware
    # /sys/kernel/debug/dri/0/i915_*uc_load_status
    options i915 enable_guc=2
    
    # panel self refresh for power savings (seems disabled)
    # /sys/kernel/debug/dri/0/i915_sr_status
    options i915 enable_psr=1