Hardware acceleration not working after upgrading to 12th gen

I just upgraded my CPU on my laptop from an 11th gen intel to a 12th gen intel. The upgrade went smoothly, except any apps that utilize hardware acceleration are no longer working right. For example, Alacritty, Discord, Slack, etc.

This is the output for inxi -G

  Device-1: Intel Alder Lake-P Integrated Graphics driver: i915 v: kernel
  Device-2: Realtek Laptop Camera type: USB driver: uvcvideo
  Display: x11 server: X.Org v: 21.1.4 driver: X: loaded: intel
    unloaded: modesetting gpu: i915 resolution: 2256x1504~60Hz
  OpenGL: renderer: Mesa Intel Graphics (ADL GT2) v: 4.6 Mesa 22.1.7

I was able to confirm that turning off hardware acceleration makes the apps work fine. For example, I am able to use alacritty by using an alias:

alias alacritty='LIBGL_ALWAYS_SOFTWARE=1 alacritty'

I am not sure if this is the issue or not but the first thing I would do is try removing xf86-video-intel and rebooting to see if the modesetting driver works any better.

Which kernel are you using?

uname -r

5.19.7-arch1-1

I just ran sudo pacman -Rs xf86-video-intel and rebooted. Hardware acceleration now works, but it’s laggy and there’s screen tearing.

For posterity, I found a working solution here:

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.