You are not logged in.

#1 2009-03-30 11:50:00

saf
Member
Registered: 2009-02-01
Posts: 39

DRM error with intel and 945GM

Hello,

since upgrade to testing, X works very fast. The problem:
Open the screen freezes. But then i can still move my mouse.
So when I switch to another tty and then come back to X it continues to work, till next freeze.
Maybe one freeze per minute.

errorlog in the dmesg:

Xorg:6013 freeing invalid memtype d0000000-e0000000
Xorg:6006 conflicting memory types d0000000-e0000000 write-combining<->uncached-minus
reserve_memtype failed 0xd0000000-0xe0000000, track write-combining, req write-combining
Xorg:6014 freeing invalid memtype d0000000-e0000000
[drm:i915_get_vblank_counter] *ERROR* trying to get vblank count for disabled pipe 0

I dont have any xorg.conf I use evdev. Maybe I should recompile the 2.6.29 kernel specificated? Or recompile DRM specificated? Or some one knows what or why this error happens.

thanks

Last edited by saf (2009-03-30 12:24:24)

Offline

#2 2009-03-30 13:38:41

tljm
Member
Registered: 2008-12-20
Posts: 10

Re: DRM error with intel and 945GM

I had similar problem. In my case it wasn't possible to force xorg to work again. I had also very similar dmesg output.
I've solved the problem by adding nopat booting option to the kernel.

Offline

#3 2009-03-30 14:01:54

saf
Member
Registered: 2009-02-01
Posts: 39

Re: DRM error with intel and 945GM

hello,
thanks
i added this boot option. Everything seems slower but still the same problem. :-(

Offline

#4 2009-03-30 14:02:57

JGC
Developer
Registered: 2003-12-03
Posts: 1,664

Re: DRM error with intel and 945GM

I think you can fix the write combining issues by booting the latest 2.6.29 kernel from testing using the "enable_mttr_cleanup" boot flag. This should get rid of MTRR errors and should enable the i915 driver to do its job correctly.

Offline

#5 2009-03-30 14:39:00

tljm
Member
Registered: 2008-12-20
Posts: 10

Re: DRM error with intel and 945GM

It is a very nice clue! However it should be "enable_mtrr_cleanup" not "enable_mttr_cleanup" - double "r".
I've combined nopat and enable_mtrr_cleanup and now everything seems to be working properly (I have also testing kernel).

Offline

#6 2009-03-30 14:52:20

saf
Member
Registered: 2009-02-01
Posts: 39

Re: DRM error with intel and 945GM

hi
how did u add the enable_mtrr_cleanup argument?
by recompiling the kernel, in grub or init?

thanks for more details

Offline

#7 2009-03-30 14:59:27

Ranguvar
Member
Registered: 2008-08-12
Posts: 2,544

Re: DRM error with intel and 945GM

Add it to your kernel line in GRUB. That's what a boot flag is smile

Offline

#8 2009-03-30 15:15:24

saf
Member
Registered: 2009-02-01
Posts: 39

Re: DRM error with intel and 945GM

hi

thats from my menu.lst:

title  Arch Linux
root   (hd0,2)
kernel /vmlinuz26 root=/dev/sda4 enable_mtrr_cleanup nopat vga=0x31B ro
initrd /kernel26.img

but still totally same error with the freeze and switching.

now the dmesg error is smaller only one line per freeze:

[drm:i915_get_vblank_counter] *ERROR* trying to get vblank count for disabled pipe 0

some one knows what this means?

Last edited by saf (2009-03-30 15:24:06)

Offline

#9 2009-03-30 16:01:45

tljm
Member
Registered: 2008-12-20
Posts: 10

Re: DRM error with intel and 945GM

OK, I've checked my system very carefully and it didn't work properly: GDM login screen and some of flash animations were messed up and suspend didn't work at all.
dmesg output shows [drm:i915_get_vblank_counter] error. So, I decided to downgrade xf86-video-intel-2.6.99.902-2 to xf86-video-intel-2.6.99.902-1 and now everything seems to be OK (and I hope it is OK indeed).
Summarising:
I've added nopat and enable_mtrr_cleanup booting flags
I've downgraded xf86-video-intel-2.6.99.902-2 to xf86-video-intel-2.6.99.902-1

Try to add these booting flags (you can try to omit nopat option) and check what version of xf86-video-intel do you have installed on your system.

Offline

#10 2009-03-30 16:25:13

saf
Member
Registered: 2009-02-01
Posts: 39

Re: DRM error with intel and 945GM

hm not working to me

i tried both
2.6.99.902-1 from testing and 2.6.99.902-2 from AUR with nopat on and off.
Always same error.

Offline

#11 2009-03-30 18:08:12

tljm
Member
Registered: 2008-12-20
Posts: 10

Re: DRM error with intel and 945GM

What about with other warning/error messages, i.e.

Xorg:6013 freeing invalid memtype d0000000-e0000000
Xorg:6006 conflicting memory types d0000000-e0000000 write-combining<->uncached-minus
reserve_memtype failed 0xd0000000-0xe0000000, track write-combining, req write-combining
Xorg:6014 freeing invalid memtype d0000000-e0000000

Is the vblank error appears once or several times in dmesg out?

Offline

#12 2009-03-31 06:00:25

saf
Member
Registered: 2009-02-01
Posts: 39

Re: DRM error with intel and 945GM

hello,
no since i have the nopat and enable_mtrr_cleanup bootflag, only

[drm:i915_get_vblank_counter] *ERROR* trying to get vblank count for disabled pipe 0

error comes in the dmesg, one time per freeze.

Offline

#13 2009-04-02 12:42:01

kperkins
Member
Registered: 2009-03-31
Posts: 11

Re: DRM error with intel and 945GM

I'm getting the same vblank error, and my login screen (GDM) is messed up, as well as my screen when I gksudo after upgrading from testing.  Tried to get a screenshot but that just shows the whole screen messsed up.  funny thing--looking at the screenshot with gthumb messes up my screen also--just a band across the middle of it.  Flash does this also.  tried downgrading to xf86-video-intel-2.4.3-1 (in extras), but that completely borked my xserver.
Doesn't freeze up though.
is there a bug filed for this somewhere?
I'll try rolling back to xf86-video-intel-2.6.99.902-1. Have to find it though, not on my system.

Offline

#14 2009-04-02 14:54:20

kperkins
Member
Registered: 2009-03-31
Posts: 11

Re: DRM error with intel and 945GM

Well downgrading  took care of my problem.

Offline

#15 2009-04-05 18:14:49

hubertstar
Member
Registered: 2008-04-10
Posts: 22

Re: DRM error with intel and 945GM

enable_mtrr_cleanup?

only nopat and no enable_mtrr_cleanup everything is ok.

but add  enable_mtrr_cleanup then xorg has this error.

saf, please remove enable_mtrr_cleanup and only add nopat to kernel parameters, then recheck this error, if no error, tell me.

Last edited by hubertstar (2009-04-05 18:24:41)

Offline

#16 2009-04-06 12:55:04

john_schaf
Member
From: France
Registered: 2007-02-24
Posts: 104

Re: DRM error with intel and 945GM

Disabling DRI also solves the problem. (Option "DRI" "False" in xorg.conf)

I'd like to add something strange here :
Everything works fine on my 945GME with or without DRI.
However, when using DRI and resuming from suspend to ram, I start to get these "vblank" erros in dmesg, once every minute or so, and the screen is no more updated but everything works (you can still "blindly" click on items or so)
Switching to vt/1 and back resumes the screen refreshing until next "vblank" error.

I will try your kernel options, but that should be filed as a bug, doesn't it ? (I may do it later today)

Offline

#17 2009-04-10 18:42:07

boriscougar
Member
From: Guatemala
Registered: 2008-10-11
Posts: 30
Website

Re: DRM error with intel and 945GM

last night i got the same issue (exactly the same one) so i remembered i had my xorg.conf active to load dri2 i guess, so i removed it (to let xorg handle evrything) and evrything went fine after that, i needed no extra kernel parameters and this update seems at least doubling the speed of glxgears from ~600fps to ~1100fps on a gma950 big_smile

Offline

#18 2009-05-27 18:23:34

colbert
Member
Registered: 2007-12-16
Posts: 809

Re: DRM error with intel and 945GM

I am encountering the exact same error on my laptop. It happens any time I try to watch a video, though mainly with VLC. It loads, I can see the video and then instantly X crashes back to GDM. It happens with mplayer as well, but only if I move the window so far it seems.

I have tried nopat, enable_mtrr_cleanup to the kernel line in GRUB, still the same problem sad

Where would I put "Option "DRI" "False"" in xorg.conf? Which section? I have searched the xorg.conf manual but it only tells to look for readme.dri, which wasn't a help either. I tried just putting that line in xorg.conf but of course not in correct section X wouldn't start. Thanks for any help!!

Offline

#19 2009-05-27 19:07:07

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: DRM error with intel and 945GM

@colbert
I'd guess the Device section.
Commenting out modules didn't help?

Last edited by karol (2009-05-27 19:10:11)

Offline

#20 2009-05-27 21:31:53

colbert
Member
Registered: 2007-12-16
Posts: 809

Re: DRM error with intel and 945GM

I actually have no xorg.conf as pretty much all has been OK w/autodetection. Could someone with the Intel chip/laptop paste theirs? Much appreciated.

Offline

#21 2009-05-27 21:42:40

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Offline

#22 2009-05-27 22:18:11

colbert
Member
Registered: 2007-12-16
Posts: 809

Re: DRM error with intel and 945GM

Hmm not for me.. error I get is the "[drm:i915_get_vblank_counter] *ERROR* trying to get vblank count for disabled pipe 0"..

Offline

#23 2009-05-27 22:20:40

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: DRM error with intel and 945GM

Offline

#24 2009-05-29 23:27:53

colbert
Member
Registered: 2007-12-16
Posts: 809

Re: DRM error with intel and 945GM

^^ I tried all suggestions in the comments, still the same thing. VLC barely launches before crashing and mplayer plays videos fine, but if I move the window anywhere it instantly crashes X back to GDM. sad

Offline

#25 2009-06-26 15:21:57

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

Re: DRM error with intel and 945GM

colbert wrote:

Hmm not for me.. error I get is the "[drm:i915_get_vblank_counter] *ERROR* trying to get vblank count for disabled pipe 0"..

check this bug report: https://bugs.freedesktop.org/show_bug.cgi?id=22166

Offline

Board footer

Powered by FluxBB