Re: Interaction between g-s-d RandR component and VirtualBox Guest Additions



Hello Bastian,

Le mardi 11 janvier 2011 à 10:19 +0000, Bastien Nocera a écrit :
> Rather than trying to guess what might be happening, I would suggest you
> test this under a recent version of gnome-settings-daemon (2.32, or the
> upcoming 3.x releases), and enable debugging on startup:
> http://git.gnome.org/browse/gnome-settings-daemon/commit/?h=gnome-2-32&id=c763d6d860b2c1b01344e6514eb486e8bc453b69
> 
> This will show you what the xrandr plugin is doing. If there are older
> versions that cannot work reliably with VirtualBox, you could disable
> the xrandr plugin on those systems using GConf.
For your information then, the following is the content of
gsd-debug-randr.log (g-s-d 2.32 as distributed with Ubuntu 10.10) after
starting g-s-d.  Notwithstanding what is in the file, the resolution
switches to 800x600 (see xrandr output below) during g-s-d startup.
Building a local version and running it in gdb shows that this happens
at line 2350 of gsd-xrandr-manager.c (a call to
apply_stored_configuration_at_startup()).

Regards,

Michael

$ cat gsd-debug-randr.log 
To keep this log from being created, please rm ~/gsd-debug-randr
------------------------------------------------------------
STARTING XRANDR PLUGIN
State of screen at startup:
        Screen min(64, 64), max(32000, 32000), change=3807399 >
config=3807344
        cloned: no
        VBOX0: 899x664@60 +0+0 (Unknown)
State of screen after initial configuration:
        Screen min(64, 64), max(32000, 32000), change=3807399 >
config=3807344
        cloned: no
        VBOX0: 899x664@60 +0+0 (Unknown)
Got RANDR event with timestamps change=3811251 > config=3807344
  Ignoring event since change >= config
Got RANDR event with timestamps change=3811251 > config=3807344
  Ignoring event since change >= config
Got RANDR event with timestamps change=3811251 > config=3807344
  Ignoring event since change >= config
$ xrandr
Screen 0: minimum 64 x 64, current 800 x 600, maximum 32000 x 32000
VBOX0 connected 800x600+0+0 0mm x 0mm
   899x664        60.0 +
   800x600        60.3* 
   640x480        59.9  
-- 
ORACLE Deutschland B.V. & Co. KG   Michael Thayer
Werkstrasse 24                     VirtualBox engineer
71384 Weinstadt, Germany           mailto:michael thayer oracle com

Hauptverwaltung: Riesstr. 25, D-80992 München
Registergericht: Amtsgericht München, HRA 95603

Komplementärin: ORACLE Deutschland Verwaltung B.V.
Rijnzathe 6, 3454PV De Meern, Niederlande
Handelsregister der Handelskammer Midden-Niederlande, Nr. 30143697
Geschäftsführer: Jürgen Kunz, Marcel van de Molen, Alexander van der Ven 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]