android-as-monitor-linux
android-as-monitor-linux copied to clipboard
Screen doesn't get extended, but mirrored and rescaled
Hello,
I really like the simplicity of the script, and how quickly you can connect to an Adroid device's screen with this – especially compared to different manual options. However, there's a major issue that makes it practically unusable: the screen doesn't get extended, but mirrored and rescaled.
This is what happens
- After running the Start VNC app, the screen gets rescaled to a resolution, that equals the sum of the primary monitor, and the screen size you set up when running the configuration. The screen gets rescaled accordingly to the position you set up: so that it becomes wider if you set your position either
leftorright, or taller if you set your position eitherbottomortop. - On the resulted screen, that's larger than your primary monitor, you can pan by moving your mouse to the screen's edges.
- When connecting with your Android device, what you see is the total resulted screen (and you can zoom into any area you wish to see in a Xinerama fashion).
This is what should happen
- The primary monitor's resolution shouldn't change at all. Instead a new virtual screen should be created in the size you specified, to where you could extend your primary screen (similarily if it was a physical monitor). So that the new screen total should be split.
Some extra infos
- When running
arandr(a GUI forxrandr) I see one screen, that equals to the total of primary monitor's and defined screen size sum (which confirms the above). - I run Fedora 35 with Gnome on Xorg. I run proprietary nVidia driver.
If you think this happens because of the nVidia driver, I read a thread that might be useful to debug this here: https://github.com/dianariyanto/virtual-display-linux/issues/9#issuecomment-786389065
Thank you for looking into this in advance!