kaueraal / run_scaled

Run an X application scaled via xpra. Useful on hidpi screens.
BSD 3-Clause "New" or "Revised" License
376 stars 47 forks source link

[Idea request] Do run_scaled via virtualgl + vnc #20

Closed PSzczepanski1996 closed 1 year ago

PSzczepanski1996 commented 5 years ago

I know that it's possible but or I am messing configuration, or it does not launch at 90% of cases. Still I managed to run old game Nostale in VNC server so it's great solution for temporary scaling. Configuration is pain in the ass though.

kaueraal commented 5 years ago

Sorry, I absolutely don't understand your text. Please formulate more clearly what you want/what your issue is.

PSzczepanski1996 commented 5 years ago

It's idea request. So, VirtualGL provides hardware graphics acceleration which is useful in games (for example - Wine). Wine does not provide solution to scale apps, nor many other applications do. Instead of using XPRA which is slow as hell (it uses CPU rendering? I don't know), you could use VirtualGL, running VNC server inside and launch on current host (xorg) VNC client with scaling like Remmina. I think it's great solution TODO but it's hard to configure (for me).

See this: https://wiki.archlinux.org/index.php/VirtualGL https://remmina.org/

You could use other VNC client but I don't know which are supporting scaling. And sorry for bad english.

PSzczepanski1996 commented 5 years ago

The whole problem is that run_scaled works fine for basic 2D apps, but only for them. This is my (maybe temporary) solution.

kaueraal commented 5 years ago

VNC would be most likely to slow as well, but maybe there's some other way with VirtualGL.

totaam commented 5 years ago

xpra supports virtualgl just fine, try xpra start --exec-wrapper="vglrun -d :1" --start=whatever

Or just --start="vglrun -d :1 whatever"

kaueraal commented 1 year ago

Xpra directly includes an equivalent tool since version 4.1. It is also called run_scaled and is part of the default Xpra installation.

Hence, this script here is deprecated and no longer maintained. I'm sorry that it took me quite long to officially announce it here. Thank you for your support and please continue your HiDPI journey with Xpra's tool!