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

Re: dual monitor setup fails (xrandr: Failed to get size of gamma for output default; warning: output LVDS not found; ignoring; warning: output VGA not found; ignoring)



Hi Camaleón,

Thanks for you help :)

> On Sat, 2010-12-18 at 15:17 +0000, Camaleón wrote:
> > On Sat, 18 Dec 2010 14:06:25 +0900, Dietrich Bollmann wrote:
> > 
> > Since a couple of weeks my dual monitor setup fails:
> > 
> > # xrandr --output LVDS --output VGA --right-of LVDS --primary
> > 
> > xrandr: Failed to get size of gamma for output default warning:
output
> > LVDS not found; ignoring warning: output VGA not found; ignoring
> 
> Review your "/var/log/Xorg.0.log" file to find out what outputs is 
> detecting Xorg. You can also run "xrandr -q" to discover what is 
> connected.

Here some lines from the beginning:

...
(==) Log file: "/var/log/Xorg.0.log", Time: Fri Dec 24 15:43:27 2010
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
(==) No Layout section.  Using the first Screen section.
(==) No screen section available. Using defaults.
(**) |-->Screen "Default Screen Section" (0)
(**) |   |-->Monitor "<default monitor>"
(==) No monitor specified for screen "Default Screen Section".
	Using a default monitor configuration.
(==) Automatically adding devices
(==) Automatically enabling devices
...

and here the result of trying to find something relevant with egrep:

egrep '\(!!|WW|EE|NI|\?\?\)' /var/log/Xorg.0.log

Current Operating System: Linux pippi 2.6.33.7-rt29-1-686 #1 SMP PREEMPT
RT Tue Aug 3 17:42:24 UTC 2010 i686
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
(II) Loading extension MIT-SCREEN-SAVER
(WW) Falling back to old probe method for fbdev
(EE) open /dev/fb0: No such file or directory
(WW) VESA(0): Unable to estimate virtual size

ls -la /usr/share/X11/xorg.conf.d

total 20
drwxr-xr-x 2 root root 4096 Dec 11 11:58 .
drwxr-xr-x 6 root root 4096 Dec 11 12:06 ..
-rw-r--r-- 1 root root 1099 Dec  2 09:15 10-evdev.conf
-rw-r--r-- 1 root root  661 Apr 18  2010 20-wacom.conf
-rw-r--r-- 1 root root  127 Apr 18  2010 50-synaptics.conf

Can you give me a hint for what I should search for in the xorg log?

By myself I couldn't find anything interesting...

xrandr -q

gives the following output:

xrandr: Failed to get size of gamma for output default
Screen 0: minimum 640 x 480, current 1280 x 1024, maximum 1280 x 1024
default connected 1280x1024+0+0 0mm x 0mm
   1280x1024       0.0* 
   1024x768        0.0  
   800x600         0.0  
   640x480         0.0  

> Note that LVDS and VGA names can be different if you are using a KMS 
> enabled intel video driver (LVDS1/VGA1).
> 
> > xrand without parameters produces the following output:
> > 
> > # xrandr
> > 
> > xrandr: Failed to get size of gamma for output default Screen 0:
minimum
> > 640 x 480, current 1280 x 1024, maximum 1280 x 1024 default
connected
> > 1280x1024+0+0 0mm x 0mm
> >    1280x1024       0.0*
> >    1024x768        0.0
> >    800x600         0.0
> >    640x480         0.0
> > 
> > What can I do?
> 
> It seems the external display is not being detected. Your xorg log
should 
> contain more data.

Thanks.  What kind of data could that be?

> > I erased the /etc/X11/xorg.conf as x windows didn't start anymore
and
> > this was the only way I found to make it start again and get back to
> > work. Trying after to reconfigure xserver-xorg with
> >   dpkg-reconfigure xserver-xorg
> > didn't recreate /etc/X11/xorg.conf. Could this be related?
> 
> locate xorg.conf

locate xorg.conf

/etc/X11/xorg.conf.20080418064505
/etc/X11/xorg.conf.20080418064650
/etc/X11/xorg.conf.20080418075252
/etc/X11/xorg.conf.20090513151200
/etc/X11/xorg.conf.20090514131411
/etc/X11/xorg.conf.20090514131504
/etc/X11/xorg.conf.bu-2009-05-14
/etc/X11/xorg.conf.bu2010
/usr/share/X11/xorg.conf.d
/usr/share/X11/xorg.conf.d/10-evdev.conf
/usr/share/X11/xorg.conf.d/20-wacom.conf
/usr/share/X11/xorg.conf.d/50-synaptics.conf
/usr/share/xresprobe/xorg.conf

The file
/etc/X11/xorg.conf.bu2010 
is my backup from my last configuration which stopped to work, producing
the following error:

  Failed to start the X server (your graphical interface).
  It is likely that it is not set up correctly.  ...

The only way I found was to delete /etc/X11/xorg.conf ...

Here its content:

cat /etc/X11/xorg.conf.bu2010 | egrep -v '^#|^\s*$'

Section "Device"
        Identifier      "Configured Video Device"
EndSection
Section "Screen"
        Identifier      "Default Screen"
        SubSection "Display"
                Virtual              2048 2048 
        EndSubSection
EndSection
Section "ServerLayout"
        Identifier      "Default Layout"
        Screen          "Default Screen"
EndSection

I remember to have read somewhere, that /etc/X11/xorg.conf is not used
anymore as the configuration is dynamically generated.  Is that true?
wrong?  Should I try to regenerate it?  If so, how?  dpkg-reconfigure
xserver-xorg seems to not do anything at all...

But now only the external screen works - and in my office, the screen
resolution is too low resulting in a horrible presentation :(

> After running the above command ("dpkg-reconfigure xserver-xorg"),
your 
> "xorg.conf" file should be created under root's home (/root/
> xorg.conf.new), if you want to make use of it, you'll have to move it
to 
> the right folder.

dpkg-reconfigure xserver-xorg

seems to create nothing at all :(

find /root | grep -i xorg

...no output...

ls -la /etc/X11/xorg.conf*

-rw-r--r-- 1 root root 3321 Apr 18
2008 /etc/X11/xorg.conf.20080418064505
-rw-r--r-- 1 root root 3321 Apr 18
2008 /etc/X11/xorg.conf.20080418064650
-rw-r--r-- 1 root root 4425 Apr 18
2008 /etc/X11/xorg.conf.20080418075252
-rw-r--r-- 1 root root 3887 May 13
2009 /etc/X11/xorg.conf.20090513151200
-rw-r--r-- 1 root root 3888 May 14
2009 /etc/X11/xorg.conf.20090514131411
-rw-r--r-- 1 root root  682 May 14
2009 /etc/X11/xorg.conf.20090514131504
-rw-r--r-- 1 root root 3888 May 14
2009 /etc/X11/xorg.conf.bu-2009-05-14
-rw-rw-rw- 1 root root 3267 May 14  2009 /etc/X11/xorg.conf.bu2010

Thanks for your help,

Dietrich


> Greetings,
> 
> -- 
> Camaleón
> 
> 
> 


Reply to: