You are not logged in.

#1 2009-06-23 16:35:00

Dukemon
Member
Registered: 2009-04-07
Posts: 13

Intel drivers : the screen freezes

Hi,

Since I run the new kernel ( I mean, the 2.6.30 ), I thought I could also run the intel drivers insted of the legacy one. It works ...But after some time, the screen freezes. I already had that issue with the old kernel ( and I'm not even sur it matters ), but ...intel drivers works really faster, even if glxgears isn't a good benchmark...

Thus, I would know if there's a way for me to run the new drivers without that issue.
According to lshal, I've a Mobile 915GM/GMS/910GML Express Graphics Controller.

My xorg.conf only contains

Section "ServerFlags"
        Option  "DontZap"       "false"
EndSection

Last edited by Dukemon (2009-06-23 16:41:17)

Offline

#2 2009-06-23 18:35:17

eldragon
Member
From: Buenos Aires
Registered: 2008-11-18
Posts: 1,029

Re: Intel drivers : the screen freezes

using KMS? UXA? then, this bug report might have the answer. involves waiting for 2.6.31 or patching your kernel

Offline

#3 2009-06-23 18:41:24

Dukemon
Member
Registered: 2009-04-07
Posts: 13

Re: Intel drivers : the screen freezes

Well... I didn't activate KMS, and I think it isn't by default...
About UXA... would HAL activate it ? Should I force using another thing like EXA, ... in my xorg.conf ?

But it seems well to be that, since I launched ecomorph. I'll try without ecomorph to be sure.

EDIT : It was that. It runs fine without ecomorph. But... I'd want to have my expo-plugins... ( Even though I think I'll do without it. I'll rather wait the next kernel release... )

Last edited by Dukemon (2009-06-23 18:49:35)

Offline

#4 2009-06-23 19:20:21

eldragon
Member
From: Buenos Aires
Registered: 2008-11-18
Posts: 1,029

Re: Intel drivers : the screen freezes

this bug, talks about freezes after resuming, if this is not your case, it might not be it, and you need to search further...the answer might be just around te corner.. if you post your xorg log, we might get more info on your scenario..

Offline

#5 2009-06-23 19:34:35

Dukemon
Member
Registered: 2009-04-07
Posts: 13

Re: Intel drivers : the screen freezes

I think I shouldn't give the full log, should I ?

( in that session, I ran e17 with startx, and just after that ecomorph, and finally glxgears )
There are no error ( cat Xorg.0.log | grep EE ), but there are warnings :

(WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
(WW) intel(0): libpciaccess reported 0 rom size, guessing 64kB
(WW) intel(0): Register 0x70024 (PIPEASTAT) changed from 0x00000203 to 0x00000207
(WW) intel(0): PIPEASTAT before: status: VSYNC_INT_STATUS VBLANK_INT_STATUS OREG_UPDATE_STATUS
(WW) intel(0): PIPEASTAT after: status: VSYNC_INT_STATUS SVBLANK_INT_STATUS VBLANK_INT_STATUS OREG_UPDATE_STATUS
(WW) intel(0): Register 0x68000 (TV_CTL) changed from 0x400c0c00 to 0x000c0c00
(WW) intel(0): DRI2 requires UXA
(WW) intel(0): ESR is 0x00000011, page table error, instruction error
(WW) intel(0): PGTBL_ER is 0x00000010, display A pte
(WW) intel(0): Existing errors found in hardware state.
(WW) Apple, Inc Apple Keyboard: unable to handle keycode 46

Are there any other data which would be intersting to give ?

Offline

#6 2009-06-23 19:41:18

eldragon
Member
From: Buenos Aires
Registered: 2008-11-18
Posts: 1,029

Re: Intel drivers : the screen freezes

you are using EXA, so i guess the bug report does not apply to you.
DRI2 requires UXA gave it away.

so the bug apparently does not apply to you. anyway, i would try UXA and see if your problem goes away.

to do that, you need a device section in your xorg. see how to generate a xorg.conf with a device section in it,

do "man intel" to see how to enable UXA, or simply check the wiki

Offline

#7 2009-06-24 06:03:54

Dukemon
Member
Registered: 2009-04-07
Posts: 13

Re: Intel drivers : the screen freezes

It doesn't work with UXA ( X doesn't start ). I also tried after having disabled dri2. Well... It freezes to.

Offline

#8 2009-06-24 12:19:59

eldragon
Member
From: Buenos Aires
Registered: 2008-11-18
Posts: 1,029

Re: Intel drivers : the screen freezes

UXA fails? whats the xorg log? if you dont have a device section, some other video driver might be taking intel's place..

what xf86-video* do you have installed? remove them all except for intel.

Offline

#9 2009-06-24 14:28:07

Dukemon
Member
Registered: 2009-04-07
Posts: 13

Re: Intel drivers : the screen freezes

extra/xf86-video-intel 2.7.1-1 (xorg-video-drivers)
     X.org Intel i810/i830/i915/945G/G965+ video drivers
extra/xf86-video-vesa 2.2.0-1 (xorg xorg-video-drivers)
     X.org vesa video drive

even vesa ?

Thus, I disable dri2 so :

Section "Module"
        Disable "dri2"
EndSection

And, for UXA, I do so ( I don't have theses two sections at the same time ;-) ) :

Section "Device"
        Option  "AccelMethod"       "UXA"
EndSection

Offline

#10 2009-06-24 14:48:49

eldragon
Member
From: Buenos Aires
Registered: 2008-11-18
Posts: 1,029

Re: Intel drivers : the screen freezes

if you check your xorg log, you will see which driver is being used..

dri2 is disabled by default if accelmethod is not uxa, so that bit should not be needed.

again, post the xorg log to see what is failing..

Offline

#11 2009-07-06 01:47:06

dvh
Member
Registered: 2007-10-06
Posts: 41

Re: Intel drivers : the screen freezes

I have the same issue.  reverting to the legacy intel driver works (but my screen does some sort of "resync" about every 2 minutes), but with the latest drivers I get the same screen "freeze" as described here.   am currently using the vesa drivers which are very slow by comparison to the intel.   Did you find a work around for this problem?

-dvh

Offline

#12 2009-07-06 04:10:21

leeyee
Member
From: Kingston, Canada
Registered: 2009-01-07
Posts: 150

Re: Intel drivers : the screen freezes

I have the same issue too, with KMS enabled and no xorg.conf (so UXA is used by default). But my problem is not happening after resuming from hiberation, it's on normally running when suddenly the screen freeze, only hard restart helped. Though this is not happening very often, about several days once.

My card is X4500MHD, with the latest stable kernel and driver.


Archlinux x86_64 on Thinkpad T400
Intel X4500MHD / ATI HD3470 Graphics, 2G RAM, 160G HD

Offline

#13 2009-07-06 09:18:34

nuciluc
Member
From: Italy
Registered: 2009-05-06
Posts: 10

Re: Intel drivers : the screen freezes

I have the same problem with my eeepc 901go after installing the new kernel and new intel driver.
It has a 945GME Intel card.

Now I'm trying the xf86-video-intel-newest from aur, but it has the same issue:
The screen become black without any reason, trying to kill and restart X doesn't solve anything.
I switch to vc/1, log into and reboot.

EDIT: Using the KMS seems everything work correctly now. (I hope)

Last edited by nuciluc (2009-07-06 10:59:23)

Offline

#14 2009-07-07 04:05:21

dvh
Member
Registered: 2007-10-06
Posts: 41

Re: Intel drivers : the screen freezes

I am trying this KMS mode solution, but when I start X, my screen is dark, except for a few lit pixels near the screen center.  no console switching works then either.  I have read about some potential scree corruption caused by some tiling mode.  Do you disable such tiling?  also, do you have the 2.6.30 kernel?

-dvh

Offline

#15 2009-07-08 08:39:52

nuciluc
Member
From: Italy
Registered: 2009-05-06
Posts: 10

Re: Intel drivers : the screen freezes

I don't know what it could be "tiling mode".

I found these threads for 4500mhd:
http://bbs.archlinux.org/viewtopic.php?id=68329
http://bbs.archlinux.org/viewtopic.php?id=56804 (but I think it would be too specific)

I know that I've a 945GME card, but I try paste my configuration hoping it could help:

kernel: core/kernel 2.6.30-5
xorg: extra/xorg-server 1.6.1.901-3
intel driver: aur/xf86-video-intel-newest 2.7.99.901-3
intel-dri: extra/intel-dri 7.4.4-1

Not using HAL, I use xorg.conf. Using the beta intel driver, UXA AccelMode is automatic.
I'm using the Early Start for KMS, but before I tried the Late Start and everything worked.

Have you looked at Xorg.0.log ?
I don't receive any error.

Offline

#16 2009-07-11 02:56:59

dvh
Member
Registered: 2007-10-06
Posts: 41

Re: Intel drivers : the screen freezes

I'm pretty sure my problem is not associated with tiling mode.  I found this http://bugs.gentoo.org/show_bug.cgi?id=269554 which is my problem exactly.  no help from the Xorg.0.log, as it shows no errors.  Reading this and other linked references, it looks like I will be OK once 2.6.31-rc2 is available.  I think I could grab that kernel from kernel.org and build it, but I am not sure how I would get a compatible intel driver module for that kernel.  I used to build kernels all the time (gentoo), but I have never strayed from the arch default core distribution, so I am totally unfamiliar with how to go about that.

Thanks for the help anyway.

-dvh

Offline

#17 2009-07-11 04:53:09

eldragon
Member
From: Buenos Aires
Registered: 2008-11-18
Posts: 1,029

Re: Intel drivers : the screen freezes

dvh wrote:

I'm pretty sure my problem is not associated with tiling mode.  I found this http://bugs.gentoo.org/show_bug.cgi?id=269554 which is my problem exactly.  no help from the Xorg.0.log, as it shows no errors.  Reading this and other linked references, it looks like I will be OK once 2.6.31-rc2 is available.  I think I could grab that kernel from kernel.org and build it, but I am not sure how I would get a compatible intel driver module for that kernel.  I used to build kernels all the time (gentoo), but I have never strayed from the arch default core distribution, so I am totally unfamiliar with how to go about that.

Thanks for the help anyway.

-dvh

just get the pkgbuild with abs, and edit it to fit your needs.

1. i simply rename the packages so that i dont overwrite the default kernel and build a kernel26-custom package.

2. point sources to the kernel and patches from kernel.org

3. make sure patching is done wink

4. build and install (that easy), i use the arch config and defaults from new options includded.

right now git6 fails to build. there is an include missing in some files. check http://lkml.org/lkml/2009/7/10/417 to fix it

Offline

#18 2009-07-11 06:52:05

combuster
Member
From: Serbia
Registered: 2008-09-30
Posts: 711
Website

Re: Intel drivers : the screen freezes

I've started syncing with git repo and ctrl+c it after reading this smile Gonna wait another day for git7, they've patched intel drm branch again and a nasty bug with joliet fs wich gave me headaches since rc2...

Offline

Board footer

Powered by FluxBB