-
|
I'd like to test output scaling in sway by running it as a nested session inside scroll, with the intention of seeing how the two compositors behave in this regard. The command I've been trying to run in the nested session is this: When I hit enter, scroll crashes. Similarly, if I try to exit the nested session this way, that ends the outer session: I checked the values of the environmental variables Do I need to do anything else, or is this likely a bug in sway or scroll? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
|
There could be several things happening here. The first problem is you cannot really test output quality when running nested. The nested compositor will use the host as a backend, Your Other than that, I run sway and scroll nested all the time for debugging purposes, but not for rendering debugging. The main ideas are:
You can definitely run nested sway within scroll, but it is meant for debugging or testing things, not for rendering quality comparisons. If you are trying to test fractional scaling quality, I made a lot of changes to avoid blur (#88). wlroots/sway has some PR that hasn't merged yet. It does things differently, and when I tested it, it wasn't working for me, so I did my own thing. |
Beta Was this translation helpful? Give feedback.
There could be several things happening here.
The first problem is you cannot really test output quality when running nested. The nested compositor will use the host as a backend, Your
WL-1virtual monitor is just a window rendered by the host compositor. When you resize that window, or even at creation time, its "resolution" changes, it is never what you define for the monitor. If you want to see the real output, you need to run a separate instance of the compositor, either using one dedicated output, or a virtual machine with GPU passthrough.Other than that, I run sway and scroll nested all the time for debugging purposes, but not for rendering debugging. The main ideas are: