How to over-ride the autoconfigured Device-section?

Harald Hannelius harald at iki.fi
Wed Feb 6 00:39:18 PST 2013


On Wed, 6 Feb 2013, Felix Miata wrote:
> On 2013-02-06 09:47 (GMT+0200) Harald Hannelius composed:
>
>>> http://fm.no-ip.com/Share/xorg.conf-minimal-EDID-workaround and/or
>>> http://fm.no-ip.com/Share/xorg.conf-minimal-force-DPI to see what I mean.
>
>> That's what I was suspecting as well. This makes it a little tougher since
>> I have double monitors and after moving over to using xrandr this got a
>> lot easier to configure than before.
>
>> What the log doesn't tell me however, is the Identifier for the
>> graphics-card. Or I'm unable to read it from the log.
>
>> There isn't any way to dictate options for the radeon driver, without
>> having to handcode sections for monitors and screens as well?
>
> Did you actually open either of those links? On a single display system, 
> those 3 files need be as little as 3-6 lines long to function, including 
> header, footer and identifier. I should think not all that much more for 
> doing the little you want for two displays.

I didn't, at first, since I thought that I knew what You where talking 
about.

My /etc/X11/xorg.conf is now like this;

Section "Monitor"
         Identifier      "Default Monitor"
EndSection

Section "Screen"
         Identifier      "Default Screen"
         Device          "Default Device"
         Monitor         "Default Monitor"
#       DefaultDepth 16 # option that speeds older hardware
EndSection

Section "Device"
         Driver  "radeon"
         Identifier "Default Device"
         BusID "PCI:0:1:0:0"
         #ChipID 0x68d9
         Option "SwapbuffersWait" "off"
         Option "ColorTiling"  "on"
         Option "ColorTiling2D" "on"
EndSection

After a 'X :1' /var/log/Xorg.1.log says that it's using that conf;

[ 83895.530] (==) Using config file: "/etc/X11/xorg.conf"
[ 83895.530] (==) Using system config directory "/usr/share/X11/xorg.conf.d"

But the SwapbuffersWait is still enabled?

[ 84199.032] (==) RADEON(0): Depth 24, (--) framebuffer bpp 32
[ 84199.032] (II) RADEON(0): Pixel depth = 24 bits stored in 4 bytes (32 bpp pixmaps)
[ 84199.032] (==) RADEON(0): Default visual is TrueColor
[ 84199.033] (==) RADEON(0): RGB weight 888
[ 84199.033] (II) RADEON(0): Using 8 bits per RGB (8 bit DAC)
[ 84199.033] (--) RADEON(0): Chipset: "ATI Radeon HD 5570" (ChipID = 0x68d9)
[ 84199.033] (II) Loading sub module "dri2"
[ 84199.033] (II) LoadModule: "dri2"
[ 84199.033] (II) Module "dri2" already built-in
[ 84199.033] (II) Loading sub module "exa"
[ 84199.033] (II) LoadModule: "exa"
[ 84199.033] (II) Loading /usr/lib/xorg/modules/libexa.so
[ 84199.033] (II) Module exa: vendor="X.Org Foundation"
[ 84199.033]    compiled for 1.13.0, module version = 2.6.0
[ 84199.033]    ABI class: X.Org Video Driver, version 13.0
[ 84199.033] (II) RADEON(0): KMS Color Tiling: enabled
[ 84199.033] (II) RADEON(0): KMS Pageflipping: enabled
[ 84199.033] (II) RADEON(0): SwapBuffers wait for vsync: enabled

I'll have to dig further around in /usr/share/X11/xorg.conf.d if there's 
something over-riding stuff.

Sometimes I long for the slackware way of doing things, i.e. nothing. The 
user does everything from scratch.


-- 
A: Top Posters!                                      |  s/y Charlotta |
Q: What is the most annoying thing on mailing lists? |    FIN-2674    |
   http://www.fe83.org/ Finn Express Purjehtijat ry   |  ============= |
Harald H Hannelius | harald (At) iki (dot) fi | GSM +358 50 594 1020


More information about the xorg mailing list