Ticket #15704 (closed defect: fixed)
Vboxvideo ignores DPI settings of the X11-server -> fixed in 5.1.2, possibly earlier
Reported by: | vminko | Owned by: | |
---|---|---|---|
Component: | guest additions/x11/graphics | Version: | VirtualBox 4.3.36 |
Keywords: | dpi | Cc: | |
Guest type: | Linux | Host type: | Windows |
Description
Steps to reproduce:
- Configure the X11-server to use a special DPI setting via the "-dpi" parameter. For example, on Gentoo you need to edit /etc/X11/xinit/xserverrc:
exec /usr/bin/X -nolisten tcp -dpi 144 "$@"
- Start X11-server and check the actual DPI:
xdpyinfo | grep resolution
Expected result: The actual DPI setting is 144x144 dots per inch
Actual result: The actual DPI setting is 96x96 dots per inch
Problem description: The DPI=96 is hard-coded in the vboxvideo driver (in vboxvideo.c). It's better to keep the DPI value given by the X11-server. The proposed fix to this bug is attached.
Attachments
Change History
Changed 7 years ago by vminko
-
attachment
vboxvideo-4.3.38-dpi.patch
added
comment:1 Changed 7 years ago by michael
If you would like things to move a little faster, could you please check whether this still affects version 5.1? Note that there are two drivers there: an X.Org one and a kernel one. The X.Org one is now the legacy driver, though this sort of fix would still be fine if we can be sure there are no side effects.
Proposed fix.