Samuel Williams

Results 1421 comments of Samuel Williams

Good idea, took me like an hour to figure out how to do it and it was a nightmare to get it working.. rebasing etc

I'm using the latest version of compton (arch linux compton-git from AUR) and everything is okay until I have a window with OpenGL content (e.g. glxgears). Moving windows around on...

@ElTimablo I appear to have the same problem. Using XRender backend with a GTX 770 and this metamodes option still yields screen tearing.

I think you should link to this video: https://www.youtube.com/watch?v=_fu0gx-xseY

@dfct what platform are you running on and can you show me the assembly of the transfer function?

What's the failure? Have you tried using `asan`, `ubsan` and `tsan`?

`x64` uses registers for passing arguments. If you are not careful, those registers get clobbered. It will depend on the exact semantics of `co_await`. The first resume loads the registers...

I would suggest stepping through with the debugger and after resuming the co_await, check the values of the registers. On x64 it's `RCX, RDX, R8, and R9` for the first...

Can you disassemble the function so we can see the code inserted by `co_await`? It will be clear if it's preserving the registers. Just make a simple function, compile -O0...

Excellent. Can you make a simple example (MVP) that still fails?