VirtualBox

Ticket #15704 (closed defect: fixed)

Opened 10 months ago

Last modified 10 months ago

Vboxvideo ignores DPI settings of the X11-server -> fixed in 5.1.2, possibly earlier

Reported by: vminko Owned by:
Priority: major Component: guest additions/x11/graphics
Version: VirtualBox 4.3.36 Keywords: dpi
Cc: Guest type: Linux
Host type: Windows

Description

Steps to reproduce:

  1. 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 "$@"

  1. 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

vboxvideo-4.3.38-dpi.patch Download (918 bytes) - added by vminko 10 months ago.
Proposed fix.

Change History

Changed 10 months ago by vminko

Proposed fix.

comment:1 Changed 10 months 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.

comment:2 Changed 10 months ago by vminko

According to the source code, this bug is already fixed in the X.Org driver from version 5.1.2.

comment:3 Changed 10 months ago by michael

  • Status changed from new to closed
  • Resolution set to fixed
  • Summary changed from Vboxvideo ignores DPI settings of the X11-server to Vboxvideo ignores DPI settings of the X11-server -> fixed in 5.1.2, possibly earlier

Thank you for checking. I will close then.

Note: See TracTickets for help on using tickets.

www.oracle.com
ContactPrivacy policyTerms of Use