Re: vesa module's name for its exposed video port?

2018-09-06 Thread Adam Jackson
On Thu, 2018-09-06 at 16:39 +, m...@crcomp.net wrote:
> Greetings,
> 
> A grep of Xorg.0.log [1] seems to indicate that only the vesa driver is
> loaded and then used by X on my PC.
> On the other hand, when the intel driver loads on my laptop with an 
> external VGA port, the intel driver uses VGA as the name for the exposed 
> port. You can then use Identifier "VGA" [2] to override the EDID, which 
> the X probe returns.
> What's the name that the vesa module uses for its exposed video
> port? (It's the vesa port name that needs to appear in xorg.conf in
> order to force a mode.) 

This is misguided in a couple of ways. The automatic matching of
Monitor sections by output name is only done for RANDR-1.2-capable
drivers, which vesa is not. For vesa-like drivers, if there's only one
Monitor section in the config file, it will be used (iirc). Otherwise,
one names the monitor whatever one wants, and simply names it again in
the Device section to bind the two together, a la:

Section "Monitor"
Identifier "Spartacus"
# ...
EndSection

Section "Device"
Identifier "default"
Driver "vesa"
Monitor "Spartacus"
EndSection

That said: vesa, among its many other limitations, can't set arbitrary
modes. If the mode isn't pre-programmed into the video BIOS, it's not
available, and no amount of xorg.conf is going to save you. The
complete X log would give more clues about what modes are available and
why you're not getting the ones you want, but you're almost certainly
better off figuring out why the intel driver isn't working for you
(which the X log probably also has some hints about).

- ajax
___
xorg@lists.x.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: https://lists.x.org/mailman/listinfo/xorg
Your subscription address: %(user_address)s

vesa module's name for its exposed video port?

2018-09-06 Thread mail
Greetings,

A grep of Xorg.0.log [1] seems to indicate that only the vesa driver is
loaded and then used by X on my PC.
On the other hand, when the intel driver loads on my laptop with an 
external VGA port, the intel driver uses VGA as the name for the exposed 
port. You can then use Identifier "VGA" [2] to override the EDID, which 
the X probe returns.
What's the name that the vesa module uses for its exposed video
port? (It's the vesa port name that needs to appear in xorg.conf in
order to force a mode.) 

Note.

1.

$ grep oadModule Xorg.0.log
[23.960] (II) LoadModule: "glx"
[24.181] (II) LoadModule: "intel"
[24.195] (II) UnloadModule: "intel"
[24.195] (II) LoadModule: "modesetting"
[24.230] (II) LoadModule: "scfb"
[24.232] (II) LoadModule: "vesa"
[24.718] (II) UnloadModule: "modesetting"
[24.718] (II) LoadModule: "vbe"
[24.751] (II) LoadModule: "int10"
[24.830] (II) LoadModule: "ddc"
[25.515] (II) LoadModule: "shadow"
[25.540] (II) LoadModule: "fb"
[25.562] (II) UnloadModule: "scfb"
[25.562] (II) LoadModule: "int10"
[28.960] (II) LoadModule: "kbd"
[29.671] (II) LoadModule: "mouse"

2. 

$ cat xorg.conf
Section "Monitor"
 Identifier "VGA"
 Modeline "1920x1080" 148.50  1920 2008 2052 2200  1080 1084 1089 1125 
+hsync +vsync
EndSection

Thank you,

-- 
Don

There was a young lady named Bright, Whose speed was far faster than light;
She set out one day, In a relative way, And returned on the previous night.

___
xorg@lists.x.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: https://lists.x.org/mailman/listinfo/xorg
Your subscription address: %(user_address)s