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'