Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 4898 - XFree86 + ATi Radeon VE + DRI does not allow VT switching
Summary: XFree86 + ATi Radeon VE + DRI does not allow VT switching
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Martin Schlemmer (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-07-11 22:39 UTC by Ivan Raikov
Modified: 2003-02-04 19:42 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Illegal instruction failures fixes for 2.4.18 (01-patch_final,5.23 KB, patch)
2002-07-13 17:03 UTC, Ivan Raikov
Details | Diff
ATI Radeon Patch (patch-4_2_0-199.gz,95.62 KB, application/octet-stream)
2002-07-16 16:45 UTC, Ivan Raikov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ivan Raikov 2002-07-11 22:39:11 UTC
There is a bug in XFree86 4.2.0 that seems to be DRI-related: when running X, 
switching into a virtual console (using Ctrl-Alt-F2, for example) works fine, 
but if one switches back to X (using Ctrl-Alt-F7, for example) the screen gets 
strange artifacts and then the keyboard and mouse lock up (no response to 
either). The machine is still running and one can telnet into it; but the 
display cannot be restored and the only recourse is to reboot the machine.
The workaround until recently was to disable the DRI extension in XF86Config.

Apparently, a patch to address this issue was recently checked in the XFree86 
tree, as evidenced by this post to the XFree Xpert mailing list: 
http://www.xfree86.org/pipermail/xpert/2002-July/019084.html

Provided that the patch works, it may be worth including with the XFree Gentoo 
package.
Comment 1 Martin Schlemmer (RETIRED) gentoo-dev 2002-07-12 14:10:17 UTC
Any chance we can get a URL to the specific patch, or maybe the patch itself?
Comment 2 Ivan Raikov 2002-07-13 17:03:37 UTC
Created attachment 2229 [details, diff]
Illegal instruction failures fixes for 2.4.18
Comment 3 Ivan Raikov 2002-07-16 16:45:01 UTC
Created attachment 2301 [details]
ATI Radeon Patch

Here's the patch I created by running `cvs diff' against the XFree86 source
tree. 
This patch is for CVS revision xf-4_2_0 (is this what Gentoo uses?). I'm having
problems building in the GL/mesa//src/drv/radeon directory (which this patch
doesn't affect), so I'll have to look at it some more.
Comment 4 Martin Schlemmer (RETIRED) gentoo-dev 2002-08-11 18:49:06 UTC
I have been following that thread, but seems the patch is not really completed
as of yet.  I will watch Mandrake/Debian/Redhat for addition of something
similar.
Comment 5 Hanno Böck gentoo-dev 2002-08-28 13:30:04 UTC
The same bug was also discussed in redhats bugzilla:
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=62171
Comment 6 Martin Schlemmer (RETIRED) gentoo-dev 2002-09-08 09:12:05 UTC
Ok, this should be fixed in xfree-4.2.1.
Comment 7 Hanno Böck gentoo-dev 2002-09-09 07:29:42 UTC
I have just compiled the 4.2.1-ebuild and tested. It is fixed.
As soon as the 4.2.1-ebuild is unmasked, this one can be closed.