* Re: [sisyphus] compiz + radeon: no valid GL extensions string found [2]
@ 2015-12-28 5:28 ` ruslandh
0 siblings, 1 reply; 8+ messages in thread
From: ruslandh @ 2015-12-28 5:28 UTC (permalink / raw)
To: sisyphus
[-- Attachment #1: Type: text/plain, Size: 1077 bytes --]
Здравствуйте vx8400
В сообщении от 28 декабря 2015 vx8400 написал(a):
> Добрый день,
>
> // пересылаю без прицепа //
>
> Никто не подскажет, как лечить вылет compiz c такой ошибкой?
>
> compiz (core) - Fatal: No valid GL extensions string found.
> compiz (core) - Error: Failed to manage screen: 0
> compiz (core) - Fatal: No manageable screens found on display
> :0.0
>
> Расширения GL и composite присутствуют.
> В выводе glxinfo есть 'direct rendering: Yes' и куча glx
> extensions, в Xorg.0.log есть AIGLX и Composite (полный вывод
> здесь: http://hermes.ihep.su:8001/pool/compiz/)
>
> % xdpyinfo | grep -iE "dri|render|compos|glx"
> Composite
> DRI2
> GLX
> RENDER
> SGI-GLX
>
> 01:00.0 VGA compatible controller: Advanced Micro Devices,
> Inc. [AMD/ATI] Seymour [Radeon HD 6400M/7400M Series]
>
> xorg-server-1.18.0-alt1
> kernel-modules-drm-radeon-std-def-4.1.15-alt1
> xorg-drv-radeon-7.6.1-alt1
> xorg-dri-radeon-11.0.6-alt1
> compiz-0.8.8-alt12
>
> Куда копать?
>
> Спасибо.
> Олег
Может ему нужен сам xorg.conf ?
--
С уважением Хихин Руслан
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 181 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [sisyphus] compiz + radeon: no valid GL extensions string found [2]
@ 2015-12-28 6:21 ` ruslandh
2015-12-28 7:21 ` Шенцев Алексей
1 sibling, 1 reply; 8+ messages in thread
From: ruslandh @ 2015-12-28 6:21 UTC (permalink / raw)
To: sisyphus
[-- Attachment #1: Type: text/plain, Size: 2415 bytes --]
Здравствуйте vx8400
В сообщении от 28 декабря 2015 vx8400 написал(a):
> > Может ему нужен сам xorg.conf ?
>
> Нет, он его не открывает, в выводе strace compiz --replace
> 2>&1 | grep -iE "open.*xorg" пусто.
>
> 28 декабря 2015 г., 8:28 пользователь ruslandh
<ruslandh@gmail.com> написал:
> > Здравствуйте vx8400
> >
> > В сообщении от 28 декабря 2015 vx8400 написал(a):
> > > Добрый день,
> > >
> > > // пересылаю без прицепа //
> > >
> > > Никто не подскажет, как лечить вылет compiz c такой
> > > ошибкой?
> > >
> > > compiz (core) - Fatal: No valid GL extensions string
> > > found. compiz (core) - Error: Failed to manage screen: 0
> > > compiz (core) - Fatal: No manageable screens found on
> > > display
> > >
> > > :0.0
> > >
> > > Расширения GL и composite присутствуют.
> > > В выводе glxinfo есть 'direct rendering: Yes' и куча glx
> > > extensions, в Xorg.0.log есть AIGLX и Composite (полный
> > > вывод здесь: http://hermes.ihep.su:8001/pool/compiz/)
> > >
> > > % xdpyinfo | grep -iE "dri|render|compos|glx"
> > > Composite
> > > DRI2
> > > GLX
> > > RENDER
> > > SGI-GLX
> > >
> > > 01:00.0 VGA compatible controller: Advanced Micro Devices,
> > > Inc. [AMD/ATI] Seymour [Radeon HD 6400M/7400M Series]
> > >
> > > xorg-server-1.18.0-alt1
> > > kernel-modules-drm-radeon-std-def-4.1.15-alt1
> > > xorg-drv-radeon-7.6.1-alt1
> > > xorg-dri-radeon-11.0.6-alt1
> > > compiz-0.8.8-alt12
> > >
> > > Куда копать?
> > >
> > > Спасибо.
> > > Олег
> >
> > Может ему нужен сам xorg.conf ?
> >
Вот нашёл:
http://mydebiantricks.blogspot.ru/2011/03/compiz.html
"Если compiz не работает, выдавая оправдания в духе
# compiz --replace
compiz (core) - Fatal: No valid GL extensions string found.
compiz (core) - Error: Failed to manage screen: 0
compiz (core) - Fatal: No manageable screens found on
display :0.0
Значит, слетели драйвера на видео. Проверить этот факт можно в
любой программе, нуждающейся в opengl (то есть в игре). Лечится,
понятно, штатной переустановкой дров."
Но, мне кажется, стоит создать конфиг для xorg и поиграть с
опциями видеокарты radeon.
В том числе man radeon:
Option "AccelMethod" "string"
Chooses between available acceleration architectures.
Valid values are EXA (for pre-TAHITI GPUs) and glamor
(for R300 or higher). The default is glamor as of TAHITI,
otherwise EXA.
--
С уважением Хихин Руслан
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 181 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [sisyphus] compiz + radeon: no valid GL extensions string found [2]
2015-12-28 6:21 ` ruslandh
@ 2015-12-28 7:21 ` Шенцев Алексей
1 sibling, 0 replies; 8+ messages in thread
From: Шенцев Алексей @ 2015-12-28 7:21 UTC (permalink / raw)
To: ALT Linux Sisyphus discussions
[-- Attachment #1: Type: text/plain, Size: 279 bytes --]
28.12.2015 08:42, vx8400 пишет:
> > Может ему нужен сам xorg.conf ?
>
> Нет, он его не открывает, в выводе strace compiz --replace 2>&1 | grep
> -iE "open.*xorg" пусто.
>
Ну значит xorg.conf'а просто нет.
Пусть попробует с таким: см.вложение.
--
С уважением,
Шенцев Алексей.
[-- Attachment #2: xorg.conf --]
[-- Type: text/plain, Size: 622 bytes --]
Section "ServerLayout"
Identifier "Minimal layout"
Screen "Screen0" 0 0
EndSection
Section "Monitor"
Identifier "Monitor0|0"
HorizSync 30.0 - 60.0
VertRefresh 50.0 - 60.0
EndSection
Section "Device"
Identifier "Card0|0"
Driver "radeon"
Option "AccelMethod" "glamor"
Option "ColorTiling" "on"
Option "SwapbuffersWait" "off"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Card0|0"
Monitor "Monitor0|0"
DefaultDepth 24
EndSection
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [sisyphus] compiz + radeon: no valid GL extensions string found [2]
@ 2016-01-02 1:17 ` vx8400
2016-01-02 19:42 ` vx8400
0 siblings, 1 reply; 8+ messages in thread
From: vx8400 @ 2016-01-02 1:17 UTC (permalink / raw)
To: ALT Linux Sisyphus discussions
29 декабря 2015 г., 10:32 пользователь vx8400 <vx8400@gmail.com> написал:
>
> Compiz не может прочесть список GL_EXTENSIONS
> compiz-0.8.8/src/screen.c: 2093:
> glExtensions = (const char *) glGetString (GL_EXTENSIONS); //<-- glGetString возвращает 0
Вот что нарылось методом тыка:
В src/screen.c:1987 наложен патч, который принудительно устанавливает
indirectRendering = TRUE и сбрасывает его в FALSE, только если есть
расширение NV-GLX.
С radeon его нет, поэтому glXCreateContext (src/screen.c:2000)
вызывается с direct = FALSE, что видимых ошибок не вызывает до
glXMakeCurrent (src/screen.c:2090), ___который молча вылетает с
ошибкой___.
Возвращаемое значение не проверяется, поэтому
glGetString(GL_EXTENSIONS) (src/screen.c:2093) вызывается без
контекста и возвращает 0 вместо строки со списком расширений. Это уже
проверяется и программа выходит с ошибкой "No valid GL extensions
string found."
Если патч убрать и вызывать glXCreateContext (src/screen.c:2000) с
direct = TRUE, то контекст создается без видимых ошибок,
glXMakeCurrent() проходит без ошибок, glGetString(GL_EXTENSIONS)
возвращает ожидаемый список расширений, следующие glGet* срабатывают.
Программа не вылетает, но не работает: только переключает окна по
клику мышью, остальные фичи compiz не работают.
glxinfo -i (принудительный indirect rendering) вылетает уже на
glXCreateContext(...., direct = false),
( export LIBGL_ALWAYS_INDIRECT=1 ; glxgears тоже и на том же).
По умолчанию glxinfo, glxgears работают:
http://hermes.ihep.su:8001/pool/compiz/glxinfo.txt
(direct rendering: Yes ... server/client glx extensions: ...
GLX_EXT_texture_from_pixmap .... , etc.)
От перебора параметров radeon в xorg.conf это не зависит.
На p7/Xorg 1.14 compiz работал, diff Xorg.0.log между p7 и sisyphus
есть: http://hermes.ihep.su:8001/pool/compiz/Xorg.0.log.-sisyphus.+p7.diff
Куда копать?
Спасибо, с наступившим,
Олег.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [sisyphus] compiz + radeon: no valid GL extensions string found [2]
2016-01-02 1:17 ` vx8400
@ 2016-01-02 19:42 ` vx8400
2016-01-03 9:14 ` Шенцев Алексей Владимирович
0 siblings, 1 reply; 8+ messages in thread
From: vx8400 @ 2016-01-02 19:42 UTC (permalink / raw)
To: ALT Linux Sisyphus discussions
P.S. C Xorg 1.18 + libGL-11.0.6 проблема с compiz и 'glxinfo -i'
воспроизводится c разными картами (драйверы radeon и i965,
http://hermes.ihep.su:8001/pool/compiz/). В обоих случаях glxgears и
glxinfo без -i работают, tuxracer тоже работает без ошибок.
2 января 2016 г., 4:17 пользователь vx8400 <vx8400@gmail.com>
написал:http://hermes.ihep.su:8001/pool/compiz
> В src/screen.c:1987 наложен патч, который принудительно устанавливает
> indirectRendering = TRUE и сбрасывает его в FALSE, только если есть
> расширение NV-GLX.
> С radeon его нет, поэтому glXCreateContext (src/screen.c:2000)
> вызывается с direct = FALSE, что видимых ошибок не вызывает до
> glXMakeCurrent (src/screen.c:2090), ___который молча вылетает с
> ошибкой___.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [sisyphus] compiz + radeon: no valid GL extensions string found [2]
2016-01-02 19:42 ` vx8400
@ 2016-01-03 9:14 ` Шенцев Алексей Владимирович
2016-01-03 12:09 ` vx8400
0 siblings, 1 reply; 8+ messages in thread
From: Шенцев Алексей Владимирович @ 2016-01-03 9:14 UTC (permalink / raw)
To: ALT Linux Sisyphus discussions
02.01.2016 22:42, vx8400 пишет:
> P.S. C Xorg 1.18 + libGL-11.0.6 проблема с compiz и 'glxinfo -i'
> воспроизводится c разными картами (драйверы radeon и i965,
> http://hermes.ihep.su:8001/pool/compiz/). В обоих случаях glxgears и
> glxinfo без -i работают, tuxracer тоже работает без ошибок.
Тоже самое, драйвер r600 (radeon).
Compiz отсутствует и в KDE4 все эффекты рабочего стола прекрасно работают.
--
С уважением, Шенцев Алексей Владимирович.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [sisyphus] compiz + radeon: no valid GL extensions string found [2]
2016-01-03 9:14 ` Шенцев Алексей Владимирович
@ 2016-01-03 12:09 ` vx8400
2016-01-04 12:23 ` vx8400
0 siblings, 1 reply; 8+ messages in thread
From: vx8400 @ 2016-01-03 12:09 UTC (permalink / raw)
To: ALT Linux Sisyphus discussions
3 января 2016 г., 12:14 пользователь Шенцев Алексей Владимирович
> Тоже самое, драйвер r600 (radeon).
> Compiz отсутствует и в KDE4 все эффекты рабочего стола прекрасно работают.
Compiz тихо валится сразу на glXCreateContext(), когда требует
indirect rendering (зачем был сделан патч, включающий direct rendering
только для NV-GLX, а для всего остального принудительно
устанавливающий indirect rendering?):
Error of failed request: BadValue (integer parameter out of range for operation)
Major opcode of failed request: 155
Minor opcode of failed request: 3
Resource id in failed request: 0x0
В сборке из сизифа эта ошибка молча перехватывается errorHandler(), и
игнорируется.
Если вызвать glXMakeContext() c direct=true, ошибок не появляется до
перебора окон, потом он начинает перебирать несуществуещие по xwininfo
окна с ошибками вида:
X Error of failed request: BadWindow (invalid Window parameter)
Major opcode of failed request: 3 (X_GetWindowAttributes)
Minor opcode of failed request: 0
Resource id in failed request: 0x180047e
X Error of failed request: BadWindow (invalid Window parameter)
Major opcode of failed request: 2 (X_ChangeWindowAttributes)
Minor opcode of failed request: 0
Resource id in failed request: 0x180047e
X Error of failed request: BadWindow (invalid Window parameter)
Major opcode of failed request: 28 (X_GrabButton)
Minor opcode of failed request: 0
Resource id in failed request: 0x180047e
X Error of failed request: BadWindow (invalid Window parameter)
Major opcode of failed request: 129
Minor opcode of failed request: 6
Resource id in failed request: 0x180047e
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [sisyphus] compiz + radeon: no valid GL extensions string found [2]
2016-01-03 12:09 ` vx8400
@ 2016-01-04 12:23 ` vx8400
0 siblings, 0 replies; 8+ messages in thread
From: vx8400 @ 2016-01-04 12:23 UTC (permalink / raw)
To: ALT Linux Sisyphus discussions
Откат патча с indirectRendering = TRUE исправляет ошибку, compiz
нормально работает с direct rendering:
https://bugzilla.altlinux.org/show_bug.cgi?id=31682
3 января 2016 г., 15:09 пользователь vx8400 <vx8400@gmail.com> написал:
> 3 января 2016 г., 12:14 пользователь Шенцев Алексей Владимирович
>> Тоже самое, драйвер r600 (radeon).
>> Compiz отсутствует и в KDE4 все эффекты рабочего стола прекрасно работают.
>
> Compiz тихо валится сразу на glXCreateContext(), когда требует
> indirect rendering
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2016-01-04 12:23 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-12-28 5:28 ` [sisyphus] compiz + radeon: no valid GL extensions string found [2] ruslandh
2015-12-28 6:21 ` ruslandh
2016-01-02 1:17 ` vx8400
2016-01-02 19:42 ` vx8400
2016-01-03 9:14 ` Шенцев Алексей Владимирович
2016-01-03 12:09 ` vx8400
2016-01-04 12:23 ` vx8400
2015-12-28 7:21 ` Шенцев Алексей
ALT Linux Sisyphus discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
public-inbox-index sisyphus
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.sisyphus
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git