Comments (21)
Yes, it's working
from berry.
This is a curious issue since berry
uses the xlib
library, not xcb
. Still, it could be something on our end - although I'm more convinced it's some difficult to track down race condition.
Could you post your log file/try to recreate the error so I can do some more thorough investigation?
from berry.
On my machine libX11
(xlib
) depends on libxcb
(I'm not sure if this is always the case). I've come across this issue too and I was also unable to fix it.
The steps to reproduce it on my machine are simply:
- Compile
berry
(make
) - Launch
berry
. - Above error.
I'm running with musl
libc
for reference.
from berry.
libX11
always requires libxcb
:
# Always required
X11_REQUIRES='xproto >= 7.0.17 xextproto xtrans xcb >= 1.11.1'
X11_EXTRA_DEPS="xcb >= 1.11.1"
From: https://github.com/mirror/libX11/blob/master/configure.ac#L80-L82
from berry.
Yes that's true - I just meant that there is no explicit xcb
code used inside of berry
.
Nonetheless, I'll setup a VM with some musl
-based distro and try to debug this.
from berry.
Note: I'm unsure if @onodera-punpun is using musl
also. This may be reproducible on glibc
too.
from berry.
Not sure if this is of any use to you as it's related to a rust
library, however it looks like the same issue: rust-windowing/winit#458
The fix is described as:
Fixed race conditions when creating an
EventsLoop
on X11, most commonly manifesting as "[xcb] Unknown sequence number while processing queue".
from berry.
@dylanaraps I saw that as well but I'm not sure if it's applicable to our problem yet.
from berry.
Found the error message in libX11
: https://github.com/mirror/libX11/blob/823a0f8a820247b6c1e092f679b49cbdc2ea5c95/src/xcb_io.c#L33-L38
from berry.
I'm using glibc, although I do use a source distro, so it could possible be the result of a CFLAG or kernel option I set. However I never saw this error before with any other wm or X app.
from berry.
@onodera-punpun I've haven't seen this issue elsewhere either. Can you post your USE
flags (or equivalent) so I can try to recreate the issue on my end?
from berry.
Oh wait, I didn't build this package with my package manager, so in fact I just used the default CFLAGS as defined in config.mk...
from berry.
I added a potential fix. Since I still haven't been able to recreate this on my end could someone try the development branch, raspberry, and see if this fixes the issue? @onodera-punpun
from berry.
Sadly didn't fix the issue, exact same error
from berry.
I'm on debian 10 stable, and also am getting the same error when I run startx /usr/local/bin/berry
edit: still get the same error on the raspberry branch.
The xorg server will start, and I'll be able to see a blank desktop, but as soon as I left or right click it will crash back to console and give me OP's same error.
Also just tested it on my desktop which runs a near-fresh install of Debian 10 and it doesn't seem to have this issue.
from berry.
@dylanaraps can you post your global compiler options for KISS
?
from berry.
I have the same issue on Void Linux. I install berry from void linux repository. Also i tried build from sources.
in my ~/.xinintrc i add
berry &
exec xterm
so after startx
i have black screen with xterm but berry not working. If i restart berry from terminal with -d option it says same errors like @onodera-punpun posted.
from berry.
I trying to debug this error.
berry_log.txt
Testing on manjaro, berry builded from source.
At start there is no errors (line 14). But on first event (mouse click or start new application) it crushes (after line 14).
from berry.
I think I know how to repeate this.
I add x
permission to .config/berry/autostart
and now it working
if I remove x
permission it's not working with same error
from berry.
@Notevill yes! oh my goodness thank you I've been unable to recreate this for months. For now, make it executable and I'll try to find a more universal fix :)
from berry.
@Notevill can you try using the development branch, grape
, and see if this works without autostart
being executable. branch here
from berry.
Related Issues (20)
- Picom HOT 3
- Window resizing using mouse on borders is forgotten?
- Missing documentation on valid modifiers for move_mask, resize_mask HOT 1
- Please fix PKGBUILD HOT 2
- The telegram sometimes freezes
- `berryc send_to_workspace 0` sends to workspace 1 HOT 3
- swap left and right window
- Focus lost on windows using external previewing tools
- Cardinal focus: wrong documentation and possible room for improvement
- Force Launch on Source Workspace
- handle resize like most window managers HOT 15
- questions about cycle_focus
- Different color border being drawn on windows depending on the color of the contents of the window. HOT 1
- Imperfect/Inconsistent (?) resizing in regards to window snapping and maximizing HOT 7
- cannot set default workspaces as 1-5 (removing ws 0) HOT 2
- Title height and inner border width
- inner_border_width changes both "middle border" and inner border sizes
- I should be able to focus a window by clicking its contents rather that its titlebar HOT 3
- Move or Resize Windows with mouse/touchpad is not working HOT 3
- is there a way to set default window position? or have every window in monocle mode by default?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from berry.