sharkautarch

Results 234 comments of sharkautarch

@ubeogesh @Chococococococo I had a discussion with @misyltoad & @matte-schwartz about a group of issues wrt certain cases of stuttering that only happened on game mode. Tho, since people in...

I recently edited this PR to use `Split()` from convar.h instead of the c-style `strcspn` I was using before. I also made sure it was still working correctly after the...

@ColinKinloch Idk how you’d go about LD_PRELOAD’ing a library into a flatpak binary, but if you could, then I believe that you could run gamescope with thread sanitizer without having...

@ColinKinloch When running gamescope without tsan, did it also print out: `Fatal glibc error: tpp.c:83 (__pthread_tpp_change_priority): assertion failed: new_prio == -1 || (new_prio >= fifo_min_prio && new_prio = fifo_min_prio &&...

The error message > terminate called after throwing an instance of 'std::system_error' what(): Owner died Was puzzling me According to *[some dude on reddit](https://www.reddit.com/r/cpp_questions/comments/1bjl8en/strange_error_stdsystem_error_owner_died/)* the error happens when a thread...

@Joshua-Ashton > Please don't do this alignas(std::atomic_ref::required_alignment) ok >You also don't really need to do explicit acquire/release here I don't think we need seq_cst, all seq_cst adds compared to acquire/release...

@Joshua-Ashton Ok, I have changed the `bCursorHasImage` stuff to normal `std::atomic` stuff and I changed the acquire/release stuff to seq_cst

@Joshua-Ashton > You don't need to specify it... you can just use = ok > You can also simplify a lot of your code with std::exchange Uhhhhh I'm not sure...

@Joshua-Ashton I’ve edited this PR based on your last feedback Anything else that I need to change?

@Joshua-Ashton **Update**: I changed the one remaining `fetch_or` to a ternary of `suspended ? exchange(true) : load` So now `bCursorHidden` is `std::atomic`