Skip to content
This repository has been archived by the owner on Nov 1, 2021. It is now read-only.

Pixman renderer asserts when using scene graph #3285

Closed
DemiMarie opened this issue Oct 21, 2021 · 8 comments
Closed

Pixman renderer asserts when using scene graph #3285

DemiMarie opened this issue Oct 21, 2021 · 8 comments

Comments

@DemiMarie
Copy link

When using the scene graph, the Pixman renderer crashes with an assertion failure. The other renderers have not been tested but presumably work.

@bl4ckb0ne
Copy link
Contributor

Could you provide a stacktrace please

@DemiMarie
Copy link
Author

q.txt

@bl4ckb0ne
Copy link
Contributor

I don't think you're using the API apropriately. I can run the scene-graph example with WLR_RENDERER=pixman without any issues.

@DemiMarie
Copy link
Author

I don't think you're using the API apropriately. I can run the scene-graph example with WLR_RENDERER=pixman without any issues.

That is almost certainly the case, but I have no idea what mistake I am making. Debugging help would be greatly appreciated.

@DemiMarie
Copy link
Author

@bl4ckb0ne
Copy link
Contributor

I see you based your code on tinywl, there's a patch (#3250) that introduces the scene graph api, might be of help.

Otherwise im afraid i can't debug your code, sorry.

@DemiMarie
Copy link
Author

@bl4ckb0ne I think my code might have a reentrancy problem: it tries to render from an output commit event, which isn’t standard in wlroots if I understand correctly.

@bl4ckb0ne
Copy link
Contributor

If this is a user problem, I'll close this issue.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

2 participants