Direct rendering causing lock ups?
Hi.
I just (for various reasons) re-built my workstation from scratch, using Red Hat 7.3 and then applying updates.
After getting it all working nicely, I noticed that when I switch from X to a text terminal (ctrl-alt-F1) and then back to X, the whole box hangs. It won't allow telnet or ssh and I can't kill the X server (ctrl-alt-BS) so the only fix is the 'Big Red Switch' solution.
After some messing around, and chatting to a friend who also found this problem, we have come to the conclusion that it is related to DRI mode Radeon configuration; if we turn on DRI, X is much faster but crashes the box when switching VT. If we turn off DRI, no crash.
My questions:
1) Has anyone else seen this behavior? Is it restricted just to ATI Radeon cards?
2) Does anyone know how to _stop_ this behavior? I'd really like to keep DRI because of the speed, but I'd also really like to have a system that lets me do what it's supposed to!
Any thoughts, anyone?
Paul.
Signature · 5 lines
Paul Furness Systems Manager 2+2=5 for extremely large values of 2.
Quoted 13 lines · Paul Furness
I just (for various reasons) re-built my workstation from scratch, using Red Hat 7.3 and then applying updates.
After getting it all working nicely, I noticed that when I switch from X to a text terminal (ctrl-alt-F1) and then back to X, the whole box hangs. It won't allow telnet or ssh and I can't kill the X server (ctrl-alt-BS) so the only fix is the 'Big Red Switch' solution.
After some messing around, and chatting to a friend who also found this problem, we have come to the conclusion that it is related to DRI mode Radeon configuration; if we turn on DRI, X is much faster but crashes the box when switching VT. If we turn off DRI, no crash.
Quoted 4 lines
My questions:
1) Has anyone else seen this behavior? Is it restricted just to ATI Radeon cards?
I haven't seen that exact behaviour. However, my experience (with a Matrox G400) is that DRI problems tend to be fatal. If an OpenGL program crashes when using DRI, any recovery is normally limited to Alt-SysRq-K to kill the X server (requires "Magic SysRq" support in the kernel), followed by Ctrl-Alt-Delete for a clean shutdown. Trying to do anything else normally results in a hard lockup that even Alt-SysRq-* can't touch.
Quoted 3 lines
2) Does anyone know how to _stop_ this behavior? I'd really like to keep DRI because of the speed, but I'd also really like to have a system that lets me do what it's supposed to!
I'm pretty sure that you have to choose between DRI or reliability; they seem to be mutually exclusive.
Personally, I set LIBGL_ALWAY_INDIRECT=1 in /etc/profile, so OpenGL uses indirect (i.e. software) rendering by default, and explicitly unset it if I need the perfomance (but I'll save files, close programs and run "sync" beforehand).
Signature · 1 line
Glynn Clements <[email protected]>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hello,
I'm using an ATI radeon QD with DRI inabled and openGL without any problem.
Benoit
Quoted 33 lines · Glynn Clements
Quoted 15 lines · Paul Furness
I just (for various reasons) re-built my workstation from scratch, using Red Hat 7.3 and then applying updates.
After getting it all working nicely, I noticed that when I switch from X to a text terminal (ctrl-alt-F1) and then back to X, the whole box hangs. It won't allow telnet or ssh and I can't kill the X server (ctrl-alt-BS) so the only fix is the 'Big Red Switch' solution.
After some messing around, and chatting to a friend who also found this problem, we have come to the conclusion that it is related to DRI mode Radeon configuration; if we turn on DRI, X is much faster but crashes the box when switching VT. If we turn off DRI, no crash.
Quoted 4 lines
My questions:
1) Has anyone else seen this behavior? Is it restricted just to ATI Radeon cards?
I haven't seen that exact behaviour. However, my experience (with a Matrox G400) is that DRI problems tend to be fatal. If an OpenGL program crashes when using DRI, any recovery is normally limited to Alt-SysRq-K to kill the X server (requires "Magic SysRq" support in the kernel), followed by Ctrl-Alt-Delete for a clean shutdown. Trying to do anything else normally results in a hard lockup that even Alt-SysRq-* can't touch.
Quoted 3 lines
2) Does anyone know how to _stop_ this behavior? I'd really like to keep DRI because of the speed, but I'd also really like to have a system that lets me do what it's supposed to!
Quoted 7 lines
I'm pretty sure that you have to choose between DRI or reliability; they seem to be mutually exclusive.
Personally, I set LIBGL_ALWAY_INDIRECT=1 in
/etc/profile, so OpenGL uses indirect (i.e. software) rendering by default, and explicitly unset it if I need the perfomance (but I'll save files, close programs and run "sync" beforehand).
- --
JOSEPH Benoit
[email protected]
[email protected]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iD8DBQE9rgK7LPnuiaZn1q4RAnyyAKDRG1y1xU+3mGsm8RZIAUByq7i2SgCfY0Xt EhRPDqYf0XS4PJlaVcoGlTc=
=pEMD
-----END PGP SIGNATURE-----
-
To unsubscribe from this list: send the line "unsubscribe linux-admin" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html