-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Seg Faults - Pi4 8gb Ubuntu 21.04 #16
Comments
Would you be able to build with debug symbols and provide a backtrace? That would be the most immediately useful |
I am not well versed in what i may need to do... after a bit of googling and mucking about i have recompiled with a clean ninja |
For building with symbols, build with something along the lines the lines of
For the backtrace, you can see if it is present in the journal with |
Alright I think I have what your after.
|
If the virtual keyboard or virtual pointer protocols are not supported, produce a meaningful error message rather than dereference NULL and segfault. Related to #16
Which compositor are you using? It looks like the virtual pointer protocol is not supported. I've added a check to handle this more gracefully but it's likely all that can be done is adding a more meaningful error message. |
I am using the stock vanilla Ubuntu 21.04 build for Rpi4.
|
Unfortunately in that case this simply can't be supported, as GNOME have no intention of adopting the wlroots protocols used here for virtual input. |
No worries. |
Thank you for reporting this; a segfault being fixed is always useful, and the next person to run into this will get a proper error message about protocol support as a result. As for alternatives I'm almost certain that Ubuntu would allow one to run GNOME as an X session, permitting the use of barrier/synergy as normal. There's also this client which uses uinput and thus should work everywhere, with the caveat that it must therefore be run with elevated privileges. I recall a few annoyances that led me to start this project but it is better than nothing under certain circumstances. Barrier itself supposedly reached its funding goal for libei-based wayland support which will be well supported by GNOME so there is a light at the end of the tunnel. |
@Joshndroid while it's a bit late, there is now support for uinput in waynergy (and thus GNOME should work) |
Pi4 - ubuntu 21.04 arm64
all updated, fresh install.
all dependencies met for building from source.
I installed this after coming over from the barrier git advising this might be a solution for wayland
I went through the steps installed all the various dependencies and some from source
anyway i run the command and basically just get a seg fault every time.
i dont run with TLS or encryption and have the wl-clipboard flag -n set.
I have looked at log level4/5 and there is nothing in there that would elicit the error
it basically just spits out child died..
last line is all outputs updates, triggering event
`0.000131910: [INFO] Log initialized at level 5
0.000327673: [INFO] Using manaul dimensions: 1920x1080
0.000471306: [DEBUG] requiring wait() on SIGCHLD
Child died:
2173
Status:
0
0.010284858: [DEBUG] Found wl-paste
Child died:
2174
Status:
0
0.019824941: [DEBUG] Found wl-copy
0.019941814: [DEBUG] not requiring wait() on SIGCHLD
0.020029390: [INFO] Clipboard sync disabled by command line
0.021806259: [DEBUG] Mutating output...
0.021964448: [DEBUG] Got output at position 0,0
0.022067931: [DEBUG] Got current mode: 1920x1080@74973*
0.022158396: [DEBUG] Mutating output...
0.022249231: [DEBUG] Got scale factor for output: 1
0.022336177: [DEBUG] Mutating output...
0.022429679: [INFO] Output updated: 1920x1080 at 0, 0 (scale: 1)
0.022519033: [DEBUG] All outputs updated, triggering event
0.022638665: [DEBUG] Got xdg output position: 0, 0
0.022790335: [DEBUG] Mutating output from xdg_output event
0.022946949: [DEBUG] Got xdg output size: 1920x1080
0.023092822: [DEBUG] Mutating output from xdg_output event
0.023297234: [DEBUG] Got xdg output name: HDMI-2
0.023427366: [DEBUG] Mutating output from xdg_output event
0.023525072: [DEBUG] Got xdg output desc: LG Electronics 22"
0.023608055: [DEBUG] Mutating output from xdg_output event
0.023696576: [INFO] Output name: HDMI-2
0.023780151: [INFO] Output description: LG Electronics 22"
0.023862949: [INFO] Output updated: 1920x1080 at 0, 0 (scale: 1)
0.023946118: [DEBUG] All outputs updated, triggering event
`
any tips?
The text was updated successfully, but these errors were encountered: