[blfs-dev] intel xorg driver
zarniwhoop at ntlworld.com
Tue Jan 20 15:33:46 PST 2015
On Wed, Jan 14, 2015 at 01:47:23AM +0000, Ken Moffat wrote:
[ long response about specifying Glamor, summary in last-but-one
> On Tue, Jan 13, 2015 at 05:30:32PM -0600, Bruce Dubbs wrote:
> > Ken Moffat wrote:
> > >
> > > From memory, glamor (i.e. now xorg-server with glamor built-in) is
> > >still required for Southern Islands and Sea Islands and NOT needed
> > >for the earlier versions. And for nouveau, I believe someone said
> > >glamor was for the latest hardware.
> > >
> > > So, what sort of change did you have in mind ?
> > For ATI, we have:
> > cat >> /etc/X11/xorg.conf << "EOF"
> > Section "Module"
> > Load "dri2"
> > Load "glamoregl"
> > EndSection
> > Section "Device"
> > Identifier "radeon"
> > Driver "radeon"
> > Option "AccelMethod" "glamor"
> > EndSection
> > EOF
> > I think, as a minimum, that the module section is no longer needed. The
> > Device section narrows the driver to just radeon as you described, but I
> > don't know if the option is needed or not any more.
> > -- Bruce
> I read the whole section in the ATI driver beginning "Glamor
> Acceleration" as essentially applying only to Southern Islands and
> later (very recent AMD APUs, particularly those at the top of the
> range, and some high-end video cards).
> I _suspect_ that those devices do not now need xorg.conf, but I do
> not have the hardware to test that. Getting one of the APUs is on
> my list of "things to consider", but for the moment I have not been
> convinced. I think somebody said he has one, maybe Conathan ?
Yesterday, I finally got around to looking at an issue on my A4,
which has an Aruba. High CPU usage after 'startx', accompanied by a
lot of red in icewm's CPU window. Details on the X ati-driver list
(and if anybody cares, the LLVM problem with software rendering on
the modesetting driver was because my i686 Mesa 10.2.7 build had run
before I added the upstream fixes Mesa patch). Xorg is what we had
in, or just before, 7.6 with the exception of the 1.16.3 server
(plus, now, the separate modesetting driver for debugging).
I was recommended to try Glamor, but I can't say that I like it.
The icewm panel is noticeably slow to get filled in, tabbing
between windows is slow, auto-repeat of e.g. backspace is very slow,
and Xorg.bin seems to be stuck on about 52% - but icewm's CPU
monitor only shows green and black.
Anyway, this is not a Southern Islands, so I had to add a conf
file. I tried the following in
# try using Glamor, to reduce cpu percentage of Xorg.bin
# Load "dri2"
# Load "glamoregl"
Option "AccelMethod" "glamor"
And in the Xorg log I see
[ 33.845] (II) LoadModule: "radeon"
[ 33.845] (II) Loading /usr/lib/X11/modules/drivers/radeon_drv.so
(so, it read my conf file - no mention now for autoconfigured
[ 33.900] (II) [KMS] Kernel modesetting enabled.
[ 33.900] (II) RADEON(0): Creating default Display subsection in
"Default Screen Section" for depth/fbbpp 24/32
[ 33.900] (==) RADEON(0): Depth 24, (--) framebuffer bpp 32
[ 33.900] (II) RADEON(0): Pixel depth = 24 bits stored in 4 bytes
(32 bpp pixmaps)
[ 33.900] (==) RADEON(0): Default visual is TrueColor
[ 33.900] (**) RADEON(0): Option "AccelMethod" "glamor"
[ 33.900] (==) RADEON(0): RGB weight 888
[ 33.900] (II) RADEON(0): Using 8 bits per RGB (8 bit DAC)
[ 33.900] (--) RADEON(0): Chipset: "ARUBA" (ChipID = 0x9993)
[ 33.900] (II) Loading sub module "dri2"
[ 33.900] (II) LoadModule: "dri2"
[ 33.900] (II) Module "dri2" already built-in
[ 33.900] (II) Loading sub module "glamoregl"
[ 33.900] (II) LoadModule: "glamoregl"
[ 33.900] (II) Loading /usr/lib/X11/modules/libglamoregl.so
[ 33.966] (II) Module glamoregl: vendor="X.Org Foundation"
[ 33.966] compiled for 1.16.3, module version = 1.0.0
[ 33.966] ABI class: X.Org ANSI C Emulation, version 0.4
[ 33.966] (II) glamor: OpenGL accelerated X.org driver based.
[ 34.518] (II) glamor: EGL version 1.4 (DRI2):
[ 34.668] (II) RADEON(0): glamor detected, initialising EGL
[ 34.668] (II) RADEON(0): KMS Color Tiling: enabled
So the commands to load dri2 and glamoregl are indeed NOT required.
Even if Southern Islands / Sea Islands do not now require Glamor to
be specified (and that needs evidence from somebody with the
hardware), it would be useful to keep the second part of the entry
as an example - in the future, people might want to try Glamor on
Also, is it not about time that the book moved to putting files
into xorg.conf.d, instead of adding entries into xorg.conf ? Or is
that, like avoiding most of the legacy font files and preferring
TTF/OTF, a step too far ;-) ?
Nanny Ogg usually went to bed early. After all, she was an old lady.
Sometimes she went to bed as early as 6 a.m.
More information about the blfs-dev