Closed Marietto2008 closed 8 months ago
This is almost definitely a system configuration and/or driver problem, not a wayfire issue.
Can you suggest to me some relevant places where I can post this bug ?
Anyway,the bug that I have is very similar to this :
https://srftrust.com/?_=%2FWayfireWM%2Fwayfire%2Fissues%2F2136%23KJWqMdlUlBnsIvkdRR%2BuhIT4
You might check with another compositor like sway or weston to see if they have similar issues. If so, it's probably not a wayfire problem. You might check in nvidia or freebsd forums. Aside from using the nvidia driver, you can try the open nouveau driver from mesa.
I feel that you are not sure if this bug is connected with wayfire,but you write as if it is. I also suspect that you will close this bug. I feel that you can't / won't invest your energy trying to understand if this bug is really connected with wayfire.
The reason I say it is a problem with your system or drivers is because it was working for you and then you changed your system and drivers, and meanwhile wayfire did not change, and now there are problems. Also, there aren't any other reports of this kind and there are people running wayfire with nvidia drivers on Linux. So it seems it's a problem with your system or the driver version that you're using.
@Marietto2008 I recommend installing Sway, you already have wlroots set up so it should be relatively easy. If Sway has the same problem, then we can know the bug is probably not in Wayfire. In fact yes, I suspect this is not a Wayfire bug, the log message you are getting comes from wlroots, and Wayfire generally leaves the low level stuff to wlroots - and it is exactly that low level stuff which you are having issues with.
EDIT: I didn't express myself quite correctly, the message comes from Wayfire but it simply reports an underlying error coming from wlroots.
I made some changes to the system,because I think that's the only chance I have to make everything work. I made these changes :
1) I've installed the nvidia driver 550.54.14 2) I've installed the wayland protocols 1.33 in /opt/wayfire 3) I've upgraded again all the packages on FreeBSD,including some minor packages useful for sway
What happened ? this :
[src/main.cpp:334] Starting wayfire version 0.9.0
[libseat] [libseat/libseat.c:66] Seat opened with backend 'consolekit2'
[libseat] [libseat/backend/consolekit2.c:92] Ping failed: org.freedesktop.DBus.Error.AccessDenied: Rejected send message, 1 matched rules; type="method_call", sender=":1.9" (uid=1001 pid=4931 comm="wayfire") interface="org.freedesktop.DBus.Peer" member="Ping" error name="(unset)" requested_reply="0" destination="org.freedesktop.ConsoleKit" (uid=0 pid=4895 comm="/usr/local/sbin/console-kit-daemon --no-daemon")
[backend/session/session.c:109] Successfully loaded libseat session
[backend/backend.c:213] Found 1 GPUs
[backend/drm/backend.c:202] Initializing DRM backend for /dev/dri/card0 (nvidia-drm)
[backend/drm/drm.c:60] PRIME import not supported
[backend/backend.c:221] Failed to create DRM backend
[backend/backend.c:232] Could not successfully create backend on any GPU
[backend/backend.c:376] Failed to open any DRM device
[src/main.cpp:131] Fatal error: Segmentation fault
#1 0x36b365 <_ZL14signal_handleri+0xb5> at /opt/wayfire/bin/wayfire
#2 0x83861753f <pthread_sigmask+0x53f> at /lib/libthr.so.3
#3 0x838616afb <pthread_setschedparam+0x83b> at /lib/libthr.so.3
#4 0x8207ab2d3 <__gxx_personality_v0+0x8203788d3> at ???
#5 0x821c361d4 <wlr_backend_get_drm_fd+0x4> at /opt/wayfire/lib//libwlroots.so.12
#6 0x36a443 <main+0x423> at /opt/wayfire/bin/wayfire
#7 0x82be97afa <__libc_start1+0x12a> at /lib/libc.so.7
Do you know how to fix this new error ? I won't surrend. This error happens even if I try to run sway using the same startup script :
#!/usr/local/bin/zsh
export LD_LIBRARY_PATH=/opt/wayfire/lib/$libdir
export PATH=/opt/wayfire/bin:$PATH
# export XDG_RUNTIME_DIR="/var/run/user/`id -u`"
# env WLR_DRM_NO_MODIFIERS=1
env WLR_NO_HARDWARE_CURSORS=1 LIBSEAT_BACKEND=consolekit2 ck-launch-session dbus-run-session sway
The fact that sway has the same problem is a strong indication that the issue is with your drivers and/or setup. Unfortunately, I am mostly familiar with Linux and as @ammen99 stated, this is the OS that most beginners choose. That said, you can upload the wayfire log with wayfire -d -d wlroots
but please use a discussion as this is not a wayfire issue.
It may be not a bug,but the reason could be that after some point,when I have added some new function,(maybe the new wayland protocols version 1.33 ?), it started to requires to enable PRIME. Luckily it seems that it can be done : https://badland.io/prime-configuration.md
Hello.
I've reinstalled wayland / wayfire 0.9 from git on my main system,FreeBSD 14.0. I'm using the nvidia driver version 535.146.02 and it can be launched,so it is not needed to install the nvidia driver 550. Anyway,actually I'm trying to fix a new incisive bug :
[src/output/render-manager.cpp:343] output test failed !
when I press CTRL + F1 I see a lot of those cycling and flooding messages ; all these messages make the system anymore responsive and an hard reset is required. They prevent some programs installed on the system to work properly,like Firefox. I don't know if this error is related to another error that I see and that I'm not able to fix :
set class "me" resource limit memorylocked : operation not permitted.
I see these errors even on the old system running with the nvidia driver 550,so they are not related with it.
I have modified /etc/devfs.rules as follows :
For sure,also :
and :
This message is also intriguing :