The mitshm compile is needed for multiple screen.
When copying the whole image, it takes 10 secs to take the screenshot
for 1 4k monitor and 2 2k monitor in my setup.
When mitshm is enable, it has no delay and can scrool immediately
Details
- Reviewers
danfe
Diff Detail
- Repository
- R11 FreeBSD ports repository
- Lint
No Lint Coverage - Unit
No Test Coverage - Build Status
Buildable 64203 Build 61087: arc lint + arc unit
Event Timeline
The mitshm compile is needed for multiple screen. When copying the whole image, it takes 10 secs to take the screenshot
So that means that delay only occurs in the multi-screen setups? Just wondering if it's possible to reproduce it on a single-screen laptop.
x11/boomer/files/patch-src_screenshot.nim | ||
---|---|---|
15 | Would it be possible to obtain syscall numbers from Nim somehow instead of hardcoding them? | |
24 | This change should be explained, to be included in the commit log. If it's a bug in the original code it should probably be reported upstream. |
I have tried to remove all the external monitors of my laptop and it seems no issue when there is only 1 screen.
x11/boomer/files/patch-src_screenshot.nim | ||
---|---|---|
15 | No, nim does not provide and codegen or binding stuff. Even the syscall is implemented by inline asm. | |
24 | Some body try to fix it but obviously tsoding does not actively maintain it right now. See: https://github.com/tsoding/boomer/issues/26#issuecomment-1820374229 |
Sorry, I pushed a commit to 'src' with a wrong revision number... Trying to restore this revision to its state before that mistake.