Bug 6129

Summary: OpenGL-related crash with alacritty
Product: Fedora Reporter: Grégoire Paris <postmaster>
Component: nvidia-kmodAssignee: Nicolas Chauvet <kwizart>
Status: RESOLVED FIXED    
Severity: enhancement CC: leigh123linux, leigh123linux
Priority: P1    
Version: f35   
Hardware: x86_64   
OS: GNU/Linux   
namespace:

Description Grégoire Paris 2021-11-06 22:22:03 CET
After upgrading to Fedora 35, running alacritty with akmod-nvidia installed and using nvidia as a driver,
I get the following error message:

	Error creating GL context; Received multiple errors. Errors: `[OsError("eglInitialize failed"), OsError("Couldn't find any available vsync extension")]`

There is a long series of bug reports on Alacritty's repository that match: https://github.com/alacritty/alacritty/search?q=eglInitialize+failed&type=issues

They were all closed because fixed after a reboot (not my case), or when a new version of the driver is published.

Here is my hardware information:

lspci | grep -E "VGA|3D"
01:00.0 VGA compatible controller: NVIDIA Corporation GP104 [GeForce GTX 1070] (rev a1)
Comment 1 leigh scott 2021-11-07 08:00:51 CET
alacritty isn't in fedora so provide another app that reproduces the issue.


Also provide the required info https://rpmfusion.org/Howto/NVIDIA?highlight=%28%5CbCategoryHowto%5Cb%29#Bug_Report
Comment 2 Grégoire Paris 2021-11-07 10:05:44 CET
Hi! What do you mean by "alacritty isn't in fedora"? I got it via the official repositories I think:

dnf list alacritty
Installed Packages
alacritty.x86_64                                                                             0.9.0-1.fc34                                                                             @updates
alacritty.x86_64                                                                             0.9.0-1.fc35                                                                             @fedora


Sorry for not providing the required info, here it is: https://paste.centos.org/view/eb996ec8
Comment 3 leigh scott 2021-11-07 10:39:34 CET
I don't support 470.74, the latest driver is 495.44.
Comment 4 leigh scott 2021-11-07 10:47:07 CET
(In reply to Grégoire Paris from comment #0)


> There is a long series of bug reports on Alacritty's repository that match:
> https://github.com/alacritty/alacritty/
> search?q=eglInitialize+failed&type=issues
> 
> They were all closed because fixed after a reboot (not my case), or when a
> new version of the driver is published.

Have you reported the issue against alacritty as it seems to be the cause.
If you still think it's a nvidia issue you will need to report it to nvidia to fix as the nvidia libs are compiled by them.

https://forums.developer.nvidia.com/c/gpu-graphics/linux/148
Comment 5 Grégoire Paris 2021-11-07 12:15:18 CET
I've found that I had more severe issues with my system: https://forums.fedora-fr.org/viewtopic.php?pid=621981

I am going to attempt a clean reinstall, and I think after that, I will end up with a supported driver. Sorry for the noise, I think this can be closed.