-
-
Notifications
You must be signed in to change notification settings - Fork 897
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
Buffer lock/release fixes #7110
Conversation
also @UjinT34 looking at the nvidia dumb copy this might break this with client side cursors, but I am unsure. Care to test? (tbh we should drop the double-logic and just pass texture buffers directly) |
I need some testing, rocking this rn and all seems well |
81cca07
to
90efc9e
Compare
4efc227
to
fbb8a63
Compare
Cursor dumb copy crashes to tty when I hover over a client side cursor window. Trying to get the backtrace only gives
Direct scanout works (intel). Xwayland works. |
Guess I'll put it here too:
|
dumb copy is a bit complicated here, I'll see what I can do... the way it's been working right now was technically wrong |
@Agent00Ming pls test dumb |
crashes on start bt.txt |
can you compile hyprutils with asan and get a trace? |
dunno if I did it right asan.txt |
now? |
no, it still crashes on start |
woo cursed fixed |
try no |
hmm, cursor is invisible in blender but appears normally elsewhere. |
try now |
crash on client side cursor bt.txt |
yeeeaaa this is a problem ugh |
architecture kinda sucks in this scenario try now |
|
can you bisect that one to make sure it's not something that should be fixed here |
first bad commit: [6828656] xwayland: fix high cpu idle usage |
ok its unrelated to this then, will merge tomorrow. Thanks, you can open another issue I guess |
Can confirm this PR fixes #7103 for me. However it seems to introduce a crash when closing Minecraft (only when running under gamescope) which did not happen before. This could be an unrelated crash caused by external changes though. i attempted a bisect, and it points to ec9e209, although on that commit i couldnt even open the game since almost no windows would render |
get a debug stacktrace please |
I'll wait a few hours more, otherwise I am merging and that crash can be opened as an issue, if anyone can repro |
compiling atm, il fire up my trusty bg3, and various xwl things see if i can reproduce. heh
gamescope -f vkcube
|
thanks :) |
try now |
yeah works now |
top, merging then, thanks! |
Fixes a few edge cases with buffer locking and releasing. Needs testing.
Fixes #7091
Possibly impacted:
Untested: