Discussion:
glamor requires at least 128 instructions (64 reported)
Felix Miata
2018-09-10 02:16:53 UTC
Permalink
No google hits describe why this happens or what can be done to avoid it. How
can one determine whether this is absent software, broken software, or
unsupported GPU?

http://fm.no-ip.com/Tmp/Linux/Xorg/xorg.0.log-gx320-0glamor-s150

excerpt:
[ 122.660] (WW) glamor requires at least 128 instructions (64 reported)
[ 122.660] (EE) modeset(0): Failed to initialize glamor at ScreenInit() time.
[ 122.660] (EE)
Fatal server error:
[ 122.660] (EE) AddScreen/ScreenInit failed for driver 0

# inxi -Gxx
Graphics: Card: Advanced Micro Devices [AMD/ATI] RC410 [Radeon Xpress 200/1100]
bus-ID: 01:05.0 chip-ID: 1002:5a61
Display Server: X.org 1.19.6 driver: modesetting tty size: 180x56
Advanced Data: N/A for root out of X
--
"Wisdom is supreme; therefore get wisdom. Whatever else you
get, get wisdom." Proverbs 4:7 (New Living Translation)

Team OS/2 ** Reg. Linux User #211409 ** a11y rocks!

Felix Miata *** http://fm.no-ip.com/
_______________________________________________
***@lists.x.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: https://lists.x.org/mailman/listinfo/xor
Michel Dänzer
2018-09-10 07:24:22 UTC
Permalink
Post by Felix Miata
No google hits describe why this happens or what can be done to avoid it. How
can one determine whether this is absent software, broken software, or
unsupported GPU?
Unsupported GPU.

The recommended driver for ATI/AMD GPUs using the radeon kernel driver
is the xf86-video-ati radeon driver, which supports hardware
acceleration for your GPU via EXA.
--
Earthling Michel Dänzer | http://www.amd.com
Libre software enthusiast | Mesa and X developer
_______________________________________________
***@lists.x.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: https://lists.x.org/mailman/listinfo/xorg
Your
Felix Miata
2018-09-10 07:58:51 UTC
Permalink
Post by Michel Dänzer
Post by Felix Miata
No google hits describe why this happens or what can be done to avoid it. How
can one determine whether this is absent software, broken software, or
unsupported GPU?
Unsupported GPU.
I figured as much, but I worded my question here as I did on purpose, trying to
elicit self-determination information. In the instant case I was really asking
on behalf of (trying to help) someone who is using an X1400 GPU getting only
black 800x600 output on his external display, but I've run into this error
message multiply before without ever finding out why glamor doesn't find the 128
instructions it requires.
Post by Michel Dänzer
The recommended driver for ATI/AMD GPUs using the radeon kernel driver
is the xf86-video-ati radeon driver, which supports hardware
acceleration for your GPU via EXA.
Does this apply to all ATI GPUs too old for the xf86-video-amdgpu driver? How
can a user make such a determination? Does one need to ask a developer for each
GPU one comes across that fails with the default/integrated driver? Can one use
PCI IDs or something else in a lookup table somewhere?
--
"Wisdom is supreme; therefore get wisdom. Whatever else you
get, get wisdom." Proverbs 4:7 (New Living Translation)

Team OS/2 ** Reg. Linux User #211409 ** a11y rocks!

Felix Miata *** http://fm.no-ip.com/
_______________________________________________
***@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_addres
Michel Dänzer
2018-09-10 10:15:16 UTC
Permalink
Post by Felix Miata
Post by Michel Dänzer
Post by Felix Miata
No google hits describe why this happens or what can be done to avoid it. How
can one determine whether this is absent software, broken software, or
unsupported GPU?
Unsupported GPU.
I figured as much, but I worded my question here as I did on purpose, trying to
elicit self-determination information. In the instant case I was really asking
on behalf of (trying to help) someone who is using an X1400 GPU getting only
black 800x600 output on his external display, but I've run into this error
message multiply before without ever finding out why glamor doesn't find the 128
instructions it requires.
Because the GPU is too old to support that many instructions in a shader.
Post by Felix Miata
Post by Michel Dänzer
The recommended driver for ATI/AMD GPUs using the radeon kernel driver
is the xf86-video-ati radeon driver, which supports hardware
acceleration for your GPU via EXA.
Does this apply to all ATI GPUs too old for the xf86-video-amdgpu driver? How
can a user make such a determination? Does one need to ask a developer for each
GPU one comes across that fails with the default/integrated driver? Can one use
PCI IDs or something else in a lookup table somewhere?
If the radeon and amdgpu drivers are installed, the appropriate one is
used by default automagically.
--
Earthling Michel Dänzer | http://www.amd.com
Libre software enthusiast | Mesa and X developer
_______________________________________________
***@lists.x.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: https://lists.x.org/mailman/listinfo/xorg
Your subs
Felix Miata
2018-09-10 11:23:20 UTC
Permalink
Post by Michel Dänzer
Post by Felix Miata
Post by Michel Dänzer
Post by Felix Miata
No google hits describe why this happens or what can be done to avoid it. How
can one determine whether this is absent software, broken software, or
unsupported GPU?
Unsupported GPU.
I figured as much, but I worded my question here as I did on purpose, trying to
elicit self-determination information. In the instant case I was really asking
on behalf of (trying to help) someone who is using an X1400 GPU getting only
black 800x600 output on his external display, but I've run into this error
message multiply before without ever finding out why glamor doesn't find the 128
instructions it requires.
Because the GPU is too old to support that many instructions in a shader.
Post by Felix Miata
Post by Michel Dänzer
The recommended driver for ATI/AMD GPUs using the radeon kernel driver
is the xf86-video-ati radeon driver, which supports hardware
acceleration for your GPU via EXA.
Does this apply to all ATI GPUs too old for the xf86-video-amdgpu driver? How
can a user make such a determination? Does one need to ask a developer for each
GPU one comes across that fails with the default/integrated driver? Can one use
PCI IDs or something else in a lookup table somewhere?
If the radeon and amdgpu drivers are installed, the appropriate one is
used by default automagically.
Do you not agree that the merger of all functionality of xf86-video-modesetting
into the server made xf86-video-* optional software for most installed GPUs?

Is there a better method than trying to start the server to determine whether a
particular xf86-video package is not optional for any particular GPU of
interest? IOW, is there a lookup method or some utility available to know in
advance if a particular GPU (is new enough to) support the 128 instructions in a
shader necessary for glamor, and thus the included modesetting driver, the video
driver that had been if not is responsible for the most commits[1], to function?

[1] https://bugs.freedesktop.org/show_bug.cgi?id=94842#c4
--
"Wisdom is supreme; therefore get wisdom. Whatever else you
get, get wisdom." Proverbs 4:7 (New Living Translation)

Team OS/2 ** Reg. Linux User #211409 ** a11y rocks!

Felix Miata *** http://fm.no-ip.com/
_______________________________________________
***@lists.x.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: https://lists.x.org/mailman/listinfo/xorg
Your su
Michel Dänzer
2018-09-10 14:33:15 UTC
Permalink
Post by Felix Miata
Post by Michel Dänzer
Post by Michel Dänzer
The recommended driver for ATI/AMD GPUs using the radeon kernel driver
is the xf86-video-ati radeon driver, which supports hardware
acceleration for your GPU via EXA.
[...]
Post by Michel Dänzer
If the radeon and amdgpu drivers are installed, the appropriate one is
used by default automagically.
Do you not agree that the merger of all functionality of xf86-video-modesetting
into the server made xf86-video-* optional software for most installed GPUs?
If I agreed with that, I wouldn't make the recommendation above.
Post by Felix Miata
[...] modesetting driver, the video driver that had been if not is
responsible for the most commits[1], [...]
FWIW, xf86-video-ati has had more than twice as many commits as the
modesetting driver over the last two years.


As for being able to use glamor, the rule of thumb is >= R600 for AMD
and IIRC >= i965 for Intel, other than that I'm not sure.
--
Earthling Michel Dänzer | http://www.amd.com
Libre software enthusiast | Mesa and X developer
_______________________________________________
***@lists.x.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: https://lists.x.org/mailman/l
Felix Miata
2018-09-10 16:09:06 UTC
Permalink
Michel Dänzer composed on 2018-09-10 16:33 (UTC+0200):
...
Post by Michel Dänzer
As for being able to use glamor, the rule of thumb is >= R600 for AMD
and IIRC >= i965 for Intel, other than that I'm not sure.
Thank you! This largely answers my OP.

R600=2007

IME, Intel Gen 3 fail:
2004/5 Grantsdale & Alviso: 915 GMA900
2005/6 Lakeport & Callistoga: 945 GMA950
2007 Bearlake: G31/G33/Q33/Q35 GMA3100
2010 Pineview: Atom D4/D5/N4/N5 GMA3150

Intel Gen 4 pass:
2006 Lakeport 945GZ GMA3000
2006 Broadwater Q963/5 G965 GMA3000/GMA X3000
2007 Bearlake G35 GMA X3500
2007 Crestline GL/GLE/GM/GME 960/965 GMAX3100
2008 Eaglelake B/G/Q 41/43/45 GMA4500/GMAX4500/GMAX4500HD
2008 Cantiga GL/GS/GM 40/45/47 GMA4500MHD
--
"Wisdom is supreme; therefore get wisdom. Whatever else you
get, get wisdom." Proverbs 4:7 (New Living Translation)

Team OS/2 ** Reg. Linux User #211409 ** a11y rocks!

Felix Miata *** http://fm.no-ip.com/
_______________________________________________
***@lists.x.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: https://lists.x.org/mailman/listin
Loading...