My web browser seemed to be fine a few months ago but then I started having issues with it after I turned my integrated GPU on (I posted about that here.) Since then, I’ve turned off the integrated graphics but I’ve faced a variety of lasting performance issues with my browser. I’m unable to watch YouTube videos at above 1080p without frame drops and just moving my mouse over UI elements on my web browser will cause lag/frame drops. I think the issue is due to hardware webrendering not staying active. It will work briefly but doing normal UI interactions will make the browser lag heavily, causing video playback frame drops, animation stutters, and the WebrRender to crash. I’ve included some of the error logs from my about:support
Failure Log
(#0) Assert Error in eglSetDamageRegion: 0x3002
(#39) Assert Error in eglSetDamageRegion: 0x3002
(#40) Assert Error in eglSetDamageRegion: 0x3002
(#41) Assert Error in eglSetDamageRegion: 0x3002
(#42) Assert Error in eglSetDamageRegion: 0x3002
(#43) Assert Error in eglSetDamageRegion: 0x3002
(#44) Assert Error in eglSetDamageRegion: 0x3002
(#45) Assert Error in eglSetDamageRegion: 0x3002
(#46) Assert Error in eglSetDamageRegion: 0x3002
(#47) Assert Error in eglSetDamageRegion: 0x3002
(#48) Assert Error in eglSetDamageRegion: 0x3002
(#49) Assert Error in eglSetDamageRegion: 0x3002
(#50) Error Failed to create EGLSurface!: 0x3003
(#51) Error Failed to create EGLSurface. 27 renderers, 20 active.
(#52) Error Handling webrender error 3
(#53) Error Fallback WR to SW-WR
What I Have Tried:
Cache clearing: I wiped ~/.cache/zen/.../startupCache
I’m really at my wits end and would really appreciate some help. I use my browser a lot and in its current state it’s practically unusable. I’ve tried looking into the issue and couldn’t find any definitive help. I’ve never had any experience with this problem on Windows and it’s putting a whole damper on this switch
the egl-errors are related to the used gpu. i suspect that wayland does not play well with its implementation of the nvidia-gpu. i would try to switch to x11 first and check if that works better.
When you mention switch to x11 do you mean somehow switching my browser to x11 or switching my entire environment to it? I enjoy using Niri and would like to stick to it if possible. From everything I’m seeing, x11 seems to be going on the wayside with everything adopting wayland now
It seems that overall issues with wayland and nvidia gpu’s seem to be mostly resolved from what I’ve been seeing and my experience was going fine until I turned on my integrated GPU
Could there be a conflict between the Nvidia drivers and the Intel ones?
Do you think reinstalling my Nvidia drivers or switching off the proprietary drivers could help?
So I checked what Intel related driver software I had still installed on my system. I’m using the terminal to manage things while I’m still used to something like control panel add/remove, so forgive me if I missed anything obvious but I searched for the following packages:
`pacman -Qs vulkan-intel
`pacman -Qs intel-media-driver
pacman -Qs xf86-video-intel
The only one found was intel-media-driver, I uninstalled that and checked if there were any ICD profiles in /usr/share/vulkan/icd.d/ (there were none). I also reinstalled the NVIDIA Wayland Hooks sudo pacman -S nvidia-utils lib32-nvidia-utils egl-wayland and wiped the browser cache. Still no dice, unfortunately. I do seem to have less failure logs in about:support though
Failure Log
(#0) Assert Error in eglSetDamageRegion: 0x3002
(#1) Assert Error in eglSetDamageRegion: 0x3002
(#2) Assert Error in eglSetDamageRegion: 0x3002
(#3) Assert Error in eglSetDamageRegion: 0x3002
(#4) Assert Error in eglSetDamageRegion: 0x3002
(#5) Error Failed to create EGLSurface!: 0x3003
(#6) Error Failed to create EGLSurface. 37 renderers, 36 active.
(#7) Error Handling webrender error 3
(#8) Error Fallback WR to SW-WR
Small point. I assume lsmod | grep i915 shows the module and GRUB. Add i915.modeset=1 to kernel line. It shouldn’t matter for cachy. But hey who knows and you r correct, Wayland seems to be the direction of travel
I’d first try the regular Firefox and compare the errors if any.
Also, I’m not very experienced in troubleshooting this kind of thing, but I’d start by checking the output of eglinfo -B for anything odd like errors. You should see your NVIDIA drivers related data under the Wayland platform.