The intel driver freezes Xorg after login without any error messages shown. Keyboard a.s.o. is not working only mouse moves. This seems a problem with the i915 kernel module as with the i830 module it does not freeze. The chipset is an onboard 865G and there are several improvements to the kernel module that have not made it in the gentoo-sources kernel and might help. So please include the mentioned patches in the kernel. Reproducible: Always Steps to Reproduce: 1. Compile i915 kernel module 2. Start Xorg with DRI enabled 3. Login and let freeze Actual Results: Xorg freezes after login. Expected Results: Xorg works without freezes.
Which xorg-server and which kernel version are you using?
I tried many different versions. Actually using the latest: Xorg 1.6.901-r3 and gentoo-sources-2.9.30-r1
Can you provide a Xorg.log after the crash if possible?
Will provide a log soon although it does not provide any entries about the crash. At the moment I try the git-sources which have the mentioned patches for the 865G chipset. Will report if this works. If not I will provide a Xorg.log for the 2.6.30-r1 gentoo kernel.
Please attach your xorg.conf, Xorg.0.log, the full output of dmesg, the full output of emerge --info and the output of the following command : emerge -1 xorg-server mesa libdrm xf86-video-intel -pv Thanks
Created attachment 195599 [details] Xorg logfile after freeze
Created attachment 195601 [details] dmesg output
Created attachment 195605 [details] emerge --info output
Created attachment 195607 [details] emerge -1 xorg-server mesa libdrm xf86-video-intel -pv output
Tried the git-sources (2.6.30-r19). Still having the problem although KMS is working with this kernel (but not with the Gentoo kernel). BTW: Problem is the same with all xf86-video-intel above 2.5 and the older are not working anymore with the xorg-server 1.6
Please also attach your xorg.conf Thanks
Created attachment 195609 [details] xorg.conf It should be noted that the problem also appears without xorg.conf
In your device section, add the following : Section "Device" [...] Option "AccelMethod" "UXA" EndSection Thanks
Well, explicitly giving the AccelMetho UXA puts a blank screen on xorg startup. Last message in Xorg.0.log is about enabling the hardware cursor.
Could you try without KMS? Thanks
Created attachment 195626 [details] Xorg.buggy The problem was with and wihtout KMS. After all I viewed some more Xorg.log files and found this. Here the driver tries to allocate 4 gigs of videoram which is more than installed on this machine. After setting the xorg.conf videoram option to 131072 (which is the default setting; any other amount is ignored by the driver) the freezes no longer occurs. The problem when setting the accelmetho to UXA still exists. Also there is a new problem with the now used EXA acceleration method: XVideo is not working anymore.
Let's try to fix one bug at a time, shall we? Here are a few things you should keep in mind: with xf86-video-intel 2.8 and up : 1) DRI1 is gone, DRI2 is the only choice 2) XAA and EXA are also gone, only UXA is gone 3) KMS is still flaky, while UMS is still considered more stable 4) Xvideo is indeed missing with KMS 5) all Intel kernel work is done directly in Linus's tree, so stick with recent kernels Now with that in mind, make sure you're using the UXA/DRI2/UMS combo, file a bug report [1] for each issue you have and paste the url here so we can track them. Thanks [1] http://intellinuxgraphics.org/how_to_report_bug.html
Looked at bugs.freedesktop.org and found some existing bugs that may relate to my problem. These are: #20683 (X hangs with UXA) #20598 (X blank screen with KMS) #20453 (X hangs after login) I think the intel driver (and the kernel parts, too) are very buggy right now. I will keep an eye on the bugs above and try the 2.8 driver asap (ebuild?). Hopefully a new kernel (past 2.6.30?) and the 2.8 driver will do it. If the bugs above are gone and I have still that problem I will come back fill a freedesktop bug and report it here.
You might want to use the x11 overlay (use app-portage/layman for that) to try the libdrm-9999 and xf86-video-intel-9999 ebuilds. Those will give you a good idea of what to expect from the upcoming 2.8 release of the Intel driver. And that's what upstream will ask you to try if you report bugs anyway :) Thanks
News from upstream... They found a resolution to the freeze happening on the 865G Chipset. Have a look at f.d.o #22904 The kernel troubles the graphics cache. Maybe someone could adapt & test the proposed kernel patch for gentoo-sources... (or we simply wait until the patch gets merged by Linus)
For details see http://lists.freedesktop.org/archives/intel-gfx/2009-September/004122.html and http://lists.freedesktop.org/archives/intel-gfx/2009-September/004128.html
@kernel, the patch is CCed to stable@k.o so maybe it's already in the stable branch. Thanks
And closing since there's little for me to do anymore :) Thanks
The patches work fine for me. I am really happy I can stop using the vesa driver now, it was quite a pain.