VirtualBox

16 年 前 建立

10 年 前 結束

#2748 closed defect (fixed)

Using fullscreen programs on a GNU/Linux guest with Guest Additions removes all resolutions from Xorg -> fixed in 4.2 series and later releases after 8 September 2014

回報者: Samus_Aran 負責人:
元件: guest additions 版本: VirtualBox 2.1.0
關鍵字: 副本:
Guest type: Linux Host type: Linux

描述 (由 Michael Thayer 作最後更新)

After loading up a fullscreen program, such as TuxPaint, then exiting the program, Xorg has no resolutions available and the desktop believes the resolution to be 0x0 pixels.

Sample commands and their output:

$ xrandr Screen 0: minimum 64 x 64, current 1440 x 900, maximum 32000 x 32000 VBOX1 connected 1440x900+0+0 0mm x 0mm

1440x900 60.0*+ 59.9 60.0* 1280x960 60.0 1360x768 59.8 1152x864 60.0 1280x720 60.0 1024x768 60.0 60.0 800x600 60.3 60.0 640x480 59.9 60.0 320x200 60.0

$ tuxpaint --fullscreen $ xrandr xrandr: output VBOX1 cannot use rotation "normal" reflection "none"

I have tested this from a failsafe terminal, with no window manager present at all.

Additionally, the mouse does not line up with the cursor when in a fullscreen program, probably related to the low resolution used. This bug has already been reported by someone else.

Disabling the mouse integratation solves the mouse-alignment-at-low-resolutions issue.

Disabling the accellerated driver and instread using the "vesa" driver solves the exiting-fullscreen-breaking-Xorg issue.

Neither "fix" is ideal, VESA mode is extremely slow for basic 2D graphics.

I can provide any and all information that is required to debug this issue, just let me know what is needed.

附加檔案 (2)

VBox.log.bz2 (63.0 KB ) - 10 年 前, 由 Maazl 新增
Xorg.0.log.bz2 (6.3 KB ) - 10 年 前, 由 Maazl 新增

下載所有附檔: .zip

更動歷史 (10)

comment:1 16 年 前Samus_Aran 編輯

I forgot to use a code block and the console example came out badly formatted. Repasting it here:

$ xrandr
 
Screen 0: minimum 64 x 64, current 1440 x 900, maximum 32000 x 32000
VBOX1 connected 1440x900+0+0 0mm x 0mm
   1440x900       60.0*+   59.9     60.0* 
   1280x960       60.0  
   1360x768       59.8  
   1152x864       60.0  
   1280x720       60.0  
   1024x768       60.0     60.0  
   800x600        60.3     60.0  
   640x480        59.9     60.0  
   320x200        60.0  
 
$ tuxpaint --fullscreen
 
$ xrandr
 
xrandr: output VBOX1 cannot use rotation "normal" reflection "none"

comment:2 16 年 前Samus_Aran 編輯

All aspects of this bug still exist in 2.1.0.

comment:3 16 年 前Sander van Leeuwen 編輯

版本: VirtualBox 2.0.6VirtualBox 2.1.0

comment:4 10 年 前Maazl 編輯

The problem with fullscreen applications in the guest still exists in VirtualBox 4.3.14 with headless VMs. E.g. running frozen-bubbles. Press 'f' once and the game switches to fullscreen. Press 'f' again and the screen got corrupted. Running xrandr shows the error xrandr: output VBOX1 cannot use rotation "normal" reflection "none"

The following sequence recovers from the problem:

  • Open a ssh terminal.
  • export DISPLAY=:0
  • xrandr --output VBOX0 --rotate normal

Sometime additionally the following command is required

  • xrandr --output VBOX0 --auto

Once done the screen output is no longer currupted. But if you switch to fullscreen and back again the screen is again corrupted.

Since the screen corruption is not always the same, it might be a race condition while restoring the original desktop resolution.

Test conditions: host: AMD64, Debian Wheezy VirtualBox: 4.3.14 guest: Linux Mint 17 Mate (32 bit) Guest additions: 4.3.14 test application: frozen-bubbles

But I have seen the same problem with other guests and applications as well. E.g. Xubuntu 12.04 or Wine fullscreen applications (switching with Alt-Enter).

vbox.log attached, xorg.log attached

10 年 前Maazl 編輯

附檔: 新增 VBox.log.bz2

10 年 前Maazl 編輯

附檔: 新增 Xorg.0.log.bz2

comment:5 10 年 前Michael Thayer 編輯

描述: 修改 (差異)

I'm afraid that I missed this when it was first created. I can reproduce it locally, though without screen corruption. It would be interesting to have a minimal test case X11 client.

comment:6 10 年 前Michael Thayer 編輯

Never mind, I think I have found the bug in my code, and am testing now.

comment:7 10 年 前Michael Thayer 編輯

摘要: Using fullscreen programs on a GNU/Linux guest with Guest Additions removes all resolutions from XorgUsing fullscreen programs on a GNU/Linux guest with Guest Additions removes all resolutions from Xorg -> fixed in 4.2 series and later releases after 8 September 2014

Committed the fix. It will be present in any 4.2 series or later releases after today.

comment:8 10 年 前Frank Mehnert 編輯

狀態: newclosed
處理結果: fixed

Fix is part of VBox 4.3.16.

注意: 瀏覽 TracTickets 來幫助您使用待辦事項功能

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette