[winswitch] Xpra 0.7 and retina screen

Antoine Martin antoine at nagafix.co.uk
Sun Oct 21 05:34:56 BST 2012


 > ... manually set the resolution to 2880x1800 ...
You mean in the Xvfb startup code? If so, you could have used the 
"--xvfb=" switch for that.
Have you tried using the "--dpi" switch?
I don't think Xpra can guess the correct dpi value to use from the gtk 
toolkit on osx, I will try to take a look when I get back.
Are you using Xdummy or Xvfb? (look for xvfb= in your 
/etc/xpra/xpra.conf) Or more generally speaking, what is your server distro?
Are you sure this isn't encoding related? Does this also happen with 
lossless encodings like png? (I know you are not seeing the same issue 
on another system, but you would be surprised what small details like a 
change in pixel count can do...)


On 10/21/2012 04:38 AM, Mehmet Fidanboylu wrote:
> Hi Xpra Users,
> I recently got a company laptop (macbook pro with retina screen). It seems
> that Apple did a nifty trick with this laptop and stuffed the 15'' screen
> with 2880x1800 pixels however the actual resolution is scaled to much lower
> (so that you can actually use the thing). I think Xpra gets confused by
> this scaling. I noted that the screen resolution sent to xpra during
> handshake is whatever scaled resolution is (1680x1050). The images that
> come back from xpra server look like they have been "zoomed in". Text and
> images look heavily anti-aliased. I downloaded the src code of client.py
> and manually set the resolution to 2880x1800, I don't think that made much
> of a difference. I also turned off font smoothing. I am using the following
> params:
> xpra --no-clipboard --no-pulseaudio --no-notifications --no-bell
> --encoding=x264 attach ssh:<whatever>
> I am attaching a screen shot to show you what I mean. It is quite usable
> but not nearly as sharp as what I see when using it with a different
> monitor with no scaling (also attached). I dont think this is caused by the
> X server on client side. Starting up native apps like Terminal look sharp.
> Note that the attached images are not the same size (the artifact of the
> aforementioned scaling). Retina screenshots produce a larger pixel count.
> Any ideas?
> - Mehmet
> _______________________________________________
> shifter-users mailing list
> shifter-users at lists.devloop.org.uk
> http://lists.devloop.org.uk/mailman/listinfo/shifter-users

More information about the shifter-users mailing list