Other Hyprland 0.48.1 crash with Nvidia driver 570.169

I have build Hyprland, and started seatd, but upon executing Hyprland the screen goes black, and the keyboard doesn't respond anymore.
After a wait between 5-10 minutes the system reboots.
I think it crashed somewhere.
Is there a workaround to start Hyprland on FreeBSD ?
 
I run Hyprland, but with amdgpu - without any problems.
I know there was/is issues with hyprland and Nvidia drivers, even over at linux.

Are you on the drm version of the Nvidia driver?
 
hyprland-0.48.1_3
it works fine on my intel gpu : Comet Lake-U GT2 UHD Graphics
The previous version crashes often. sTill unable to play mpv! if someone is able, pls advice.
 
I run Hyprland, but with amdgpu - without any problems.
I know there was/is issues with hyprland and Nvidia drivers, even over at linux.

Are you on the drm version of the Nvidia driver?
Yes, I have a drm-kmod if you mean that.
On Void-Linux, I tried it out yesterday, and Hyprland worked almost fine, but my browser froze up 2 times.
I thought to try it out on FreeBSD, too, because specially XWayland worked with hardware acceleration so, I got interested, but no luck at all.
Sway for example works, but Xwayland is a mess, and browser periodically freezes, too.
 
Yes, I have a drm-kmod if you mean that.
On Void-Linux, I tried it out yesterday, and Hyprland worked almost fine, but my browser froze up 2 times.
I thought to try it out on FreeBSD, too, because specially XWayland worked with hardware acceleration so, I got interested, but no luck at all.
Sway for example works, but Xwayland is a mess, and browser periodically freezes, too.

Ok, yeah you need the drm-kmod for it to work, and this in your /boot/loader.conf:

hw.nvidiadrm.modeset=1

And of course add nvidia-drm to your kld_list in /etc/rc.conf.
Also don't forget to enable seatd.

If you've done all that and it still doesn't work the only other thing I can think of is, did you install the kmods from packages? If so, uninstall them and check out the latest ports tree and build it from ports.
If you're on 14.3-RELEASE I think the kmods still are built against 14.2, and if you're running stable and current you have to build it from source.
I know there is a new kmod repo, I haven't used it myself, but I guess it would work with that too.

If it still doesn't work I'd bet the problem lies with that hyprland and Nvidia always been a bad combo.
 
I generally build from source through poudriere.
Hmm...
Tried out different things, I guess it is either nvidia + bad hyprland combo on FreeBSD.
On linux it works partly, and makes my browser and other apps freeze very often.
Xorg got a security update some days ago, so I will stick to it longer.
 
Back
Top