[Intel-gfx] How to force VGA output to turn on?

Ivo Anjo knuckles at gmail.com
Tue Oct 13 23:04:32 CEST 2009


On Tue, Oct 13, 2009 at 3:27 PM, Adam Jackson <ajax at redhat.com> wrote:

> On Sat, 2009-10-10 at 11:55 +0100, Ivo Anjo wrote:
> > Hello.
> >
> > Recently I tried to connect my laptop to some projectors that use
> > rather long VGA cables.
> > Running "xrandr" shows the VGA output to be disconnected, so I cannot
> > turn on the VGA output, and cannot use the projector. I have no
> > problems using the VGA output to connect to monitors and some other
> > projectors.
>
> $ gtf 1024 768 60 | grep -i modeline
>  Modeline "1024x768_60.00"  64.11  1024 1080 1184 1344  768 769 772 795
>  -HSync +Vsync
> $ xrandr --newmode 1024x768 64.11  1024 1080 1184 1344  768 769 772 795
>  -HSync +Vsync
> $ xrandr --addmode VGA1 1024x768
> $ xrandr --output VGA1 --mode 1024x768
>
> - ajax
>

Thanks for your answer.
The problem with that approach is that the output still shows up for me as
disconnected:
$ xrandr
Screen 0: minimum 320 x 200, current 2048 x 768, maximum 2048 x 2048
VGA1 disconnected 1024x768+1024+0 (normal left inverted right x axis y axis)
0mm x 0mm
   1024x768_60    60.0*
LVDS1 connected 1024x600+0+0 (normal left inverted right x axis y axis)
195mm x 113mm
   1024x600       60.0*+
   800x600        85.1     72.2     75.0     60.3     56.2
   640x480        85.0     72.8     75.0     59.9
   720x400        85.0
   640x400        85.1
   640x350        85.1

which has the unfortunate side effect of the output still being ignored by
the kde screen management daemon, kephal:
$ qdbus org.kde.Kephal /modules/kephal/Outputs isActivated VGA1
false
$ qdbus org.kde.Kephal /modules/kephal/Outputs isConnected VGA1
false

which causes the output to be ignored by kwin (acts as if the output wasn't
there) and plasma (doesn't extend my desktop or wallpaper to that output).
I don't think the KDE daemon is really wrong on this one, after all it *is*
marked as disconnected... but I don't know the solution here either --
should the driver lie? or should the daemon be able to ignore what the
driver says?

Ivo Anjo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/intel-gfx/attachments/20091013/27440482/attachment.html>


More information about the Intel-gfx mailing list