VirtualBox

Opened 8 years ago

Closed 8 years ago

#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:

  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 (1)

vboxvideo-4.3.38-dpi.patch (918 bytes ) - added by vminko 8 years ago.
Proposed fix.

Download all attachments as: .zip

Change History (4)

by vminko, 8 years ago

Attachment: vboxvideo-4.3.38-dpi.patch added

Proposed fix.

comment:1 by Michael Thayer, 8 years ago

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 by vminko, 8 years ago

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

comment:3 by Michael Thayer, 8 years ago

Resolution: fixed
Status: newclosed
Summary: Vboxvideo ignores DPI settings of the X11-serverVboxvideo 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.

© 2023 Oracle
ContactPrivacy policyTerms of Use