Ubuntu

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

Reported by Teunis Peters on 2009-03-28
74
This bug affects 8 people
Affects Status Importance Assigned to Milestone
Debian
Fix Committed
Undecided
Unassigned
linux (Ubuntu)
Undecided
Unassigned

Bug Description

Binary package hint: linux-image-2.6.28-11-generic

very specifically the syslog contains this:
Mar 28 06:45:58 wg-mobile2 kernel: [120383.104112] [drm:i915_get_vblank_counter] *ERROR* trying to get vblank count for disabled pipe 0
Mar 28 06:46:00 wg-mobile2 gdm[8205]: WARNING: gdm_slave_xioerror_handler: Fatal X error - Restarting :0

after which, X restarts.

it sometimes happens when I'm playing media files of some kind. It sometimes happens if I do anything with OpenGL.
I can't find a repeatable way to reproduce this.

My only suggestion: that i915_get_vblank_counter "*ERRROR*" should be a warning, if it does what I suspect. It does not sound like an error condition,

Seriousness: severe work loss, unreliable laptop. (it's made me unable to reliably work on this unit for two months now - as well as the power management probs which I've reported seperately)
Laptop is Dell Inspirin 1525, intel 865 chipset.

ProblemType: Bug
Architecture: i386
DistroRelease: Ubuntu 9.04
MachineType: Dell Inc. Inspiron 1525
Package: linux-image-2.6.28-11-generic 2.6.28-11.37
ProcCmdLine: root=UUID=eea0f224-b789-4c61-9424-81ffc1f498f7 ro quiet crashkernel=384M-2G:64M@16M,2G-:128M@16M
ProcEnviron:
 PATH=(custom, user)
 LANG=en_CA.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.28-11.37-generic
SourcePackage: linux

Teunis Peters (teunis) wrote :
Kareem Kenawy (thesamo) wrote :

I have the same bug. It's completely random and i've experienced it alot while playing videos. Have to say that X had been very shaky since i made the upgrade to jaunty.

Zack Evans (zevans23) wrote :

Can you confirm that this still happens with

2.6.28-11.42 kernel image
7.4-0ubuntu3 mesa packages

- in the last couple of weeks the guys have fixed loads of freeze/crash bugs so need to be sure this isn't already fixed in the latest Jaunty updates...

In most of the other bugs that are open it has been deduced that i915_get_vblank_counter "*ERRROR*" is not related, as you suggest.

If you still have the bug on the latest version then can you post /var/log/Xorg.0.log and your xorg.conf please.

danramos (danramos) wrote :

I'm using a Dell mini9...

miles@frenzy:~$ uname -a
Linux frenzy 2.6.28-11-generic #42-Ubuntu SMP Fri Apr 17 01:57:59 UTC 2009 i686 GNU/Linux

miles@frenzy:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 9.04
Release: 9.04
Codename: jaunty

I'm getting the same seemingly random occurrence described above, along with the same dmesg output after the X system restarts and I look in dmesg:

[ 5508.908702] [drm:i915_get_vblank_counter] *ERROR* trying to get vblank count for disabled pipe 0
[ 5511.144368] [drm:i915_setparam] *ERROR* unknown parameter 4
[ 5511.144418] [drm:i915_getparam] *ERROR* Unknown parameter 6
[ 5512.206689] [drm:i915_getparam] *ERROR* Unknown parameter 6

The xorg.conf file is very sparse, so here it is--without the comments (between the ='s):

========================================
Section "Monitor"
        Identifier "Configured Monitor"
EndSection

Section "Screen"
        Identifier "Default Screen"
        Monitor "Configured Monitor"
        Device "Configured Video Device"
EndSection

Section "Device"
        Identifier "Configured Video Device"
EndSection

Section "ServerFlags"
        Option "DontZap" "False"
EndSection
========================================

I'll attach the relevant Xorg.0.log from the crash.

LoriX (lorpiazza) wrote :

Hi there,
I'm using a Dell Latitude with Debian Testing 5.0, after latest update X frequenly crashes and the log is:

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

xorg.conf like the others here, how can fix it?

Thank you, bye!

LoriX (lorpiazza) wrote :

Sorry,
I forgot the driver:

xserver-xorg-video-intel v. 2.3.2.2+lenny6

Bye

Sébastien Giguère (samoul) wrote :

I've been experiencing the same problem. X crash randomly. I'm on a fresh install (all update are installed) of 9.04, Dell Inspiron 9400, ATI mobility x1400 card and using open source driver. I joined my Xorg logs just after the cash.

LoriX (lorpiazza) wrote :

Hi there!
After a very long 'googling', perhaps I found a solution about my problem, just adding this line to xorg.conf in the Section Device:

        Option "AccelMethod" "XAA"

In the last hour, no more crashes, hope this helps!
:-)

Bye, Loris from northern Italy

Sébastien Giguère (samoul) wrote :

I discover that when I make intensive use of compiz effects I can crash X. I don't think it's a compiz bug, but that give me a way to recreate the bug. I tried LoriX fix by editing my xorg configuration. Seem to fix the bug but I had problems watching videos with VLC, I had to switch the video output to X11 instead of the default output. I also get flicker when watching videos with "XAA"... I would of guess a video driver bug but i'm using radeon driver and LoriX intel's one... I'm a bit confused!

LoriX (lorpiazza) wrote :

Hi Sébastien,
I'm sorry to hear that, I can confirm you that enabling "XAA" instead of "EXA" would produce no more X crashes on my Latitude, and other apps are perfectly reliables.
:-)

If I were you I'd not use the Intel driver on your machine (because of your ATI), use the "radeon" one; then also install "mplayer", a very reliable alternative of vlc. Last, if things don't get back to normal, try disabling compiz...

Bye,
Loris

LoriX (lorpiazza) wrote :

No more crashes, with the XAA acceleration; therefore, the error message appears again, but it seems to be a simple warning.

Changed in debian:
status: New → Fix Committed
guysoft (guysoft) wrote :

Debian unstable here.
It seemed to also fix some strange artifacts I am getting. However when not in opengl mode its impossible to drag windows, they are not rendered. It looks really strange.

I also reported this here: https://bugs.kde.org/show_bug.cgi?id=190785https://bugs.kde.org/show_bug.cgi?id=190785

They all seem to connect to a common problem/.

guysoft (guysoft) wrote :

Hey,
I seem to have got the bug again WITH the option enabled. However it did seem like it returned the error, i got a memory leak, and it returned.

Here is my dmesg, note the strange libc problem:

[110284.271626] phosphor[10418]: segfault at 0 ip b7c72a41 sp bfd97dd8 error 4 in libc-2.9.so[b7c10000+15a000]
[135029.534521] phosphor[21083]: segfault at 0 ip b7db5a41 sp bf8db938 error 4 in libc-2.9.so[b7d53000+15a000]
[139802.006323] phosphor[23304]: segfault at 0 ip b7c5ba41 sp bf87f878 error 4 in libc-2.9.so[b7bf9000+15a000]
[152712.685278] phosphor[24932]: segfault at 0 ip b7c1da41 sp bfd42268 error 4 in libc-2.9.so[b7bbb000+15a000]
[159541.673745] phosphor[31466]: segfault at 0 ip b7c1ba41 sp bfd41228 error 4 in libc-2.9.so[b7bb9000+15a000]
[163601.424707] ipw2200: Firmware error detected. Restarting.
[168989.314851] phosphor[2910]: segfault at 0 ip b7d7fa41 sp bfba5508 error4 in libc-2.9.so[b7d1d000+15a000]
[172369.381223] [drm:i915_get_vblank_counter] *ERROR* trying to get vblank count for disabled pipe 1

Wayne Schuller (k-wayne) wrote :

I have this problem on an intel macmini with jaunty and all updates

screen goes blank, machine has to be rebooted (restarting gdm doesn't save it)

root@whitefield:/home/schuller# lspci
00:00.0 Host bridge: Intel Corporation Mobile 945GM/PM/GMS, 943/940GML and 945GT Express Memory Controller Hub (rev 03)
00:02.0 VGA compatible controller: Intel Corporation Mobile 945GM/GMS, 943/940GML Express Integrated Graphics Controller (rev 03)
00:07.0 Performance counters: Intel Corporation Device 27a3 (rev 03)
00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 02)
00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 (rev 02)
00:1c.1 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 2 (rev 02)
00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #1 (rev 02)
00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #2 (rev 02)
00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #3 (rev 02)
00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #4 (rev 02)
00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller (rev 02)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e2)
00:1f.0 ISA bridge: Intel Corporation 82801GBM (ICH7-M) LPC Interface Bridge (rev 02)
00:1f.1 IDE interface: Intel Corporation 82801G (ICH7 Family) IDE Controller (rev 02)
00:1f.2 IDE interface: Intel Corporation 82801GBM/GHM (ICH7 Family) SATA IDE Controller (rev 02)
00:1f.3 SMBus: Intel Corporation 82801G (ICH7 Family) SMBus Controller (rev 02)
01:00.0 Ethernet controller: Marvell Technology Group Ltd. 88E8053 PCI-E Gigabit Ethernet Controller (rev 22)
02:00.0 Ethernet controller: Atheros Communications Inc. AR242x 802.11abg Wireless PCI Express Adapter (rev 01)
03:03.0 FireWire (IEEE 1394): Agere Systems FW323 (rev 61)

Pavel (fae2003) wrote :

Hi,

I have the same error.
Option "AccelMethod" "XAA" -- does not help
The error repeats when trying to change a user:
1. boot
2. login user1
3. switch user to user2
the screen blinks several times and only a garbage on it afterwards.
The Laptop does not response on the keybord, only the MagicKeys, or gdm restart via ssh

The same behaviour occurs with the programm Stellarium. For example when changing settings of the programm.

dmesg after error (via ssh from other PC):
[ 144.642566] [drm:i915_get_vblank_counter] *ERROR* trying to get vblank count for disabled pipe 0

xorg.conf:
**************************************
Section "Monitor"
        Identifier "Configured Monitor"
EndSection

Section "Screen"
        Identifier "Default Screen"
        Monitor "Configured Monitor"
        Device "Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller"
        DefaultDepth 24
        SubSection "Display"
                Modes "1440x900"
                #Virtual 2464 900
                Virtual 1440 900
        EndSubSection
EndSection

Section "ServerLayout"
        Identifier "Default Layout"
        Screen "Default Screen"
EndSection

Section "Device"
        Identifier "Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller"
        Driver "intel"
        BusID "PCI:0:2:0"
        #added against crashes -- does not help
        Option "AccelMethod" "XAA"
EndSection

Section "ServerFlags"
        Option "DontZap" "False"
EndSection
**************************************

Laptop: Dell Latitude D630 with Intel-Graphic:
VGA compatible controller: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller (rev 0c)

Pavel

Eugene Mikhantiev (mehanik) wrote :

My "Device" section (It work for me):

Section "Device"
        Identifier "Configured Video Device"
        Option "AccelMethod" "uxa"
        Option "Tiling" "No"
EndSection

I haven't this error when I use EXA.

Turning off "Tiling" option fix problem, but performance is lower then when I use EXA (if "Tiling" is "Yes", performance is the same). But I use UXA because it fix problems with artifacts in OpenGL applications when Compiz turned on.

Dear sirs! Please, entschuldigen sie mir bitte von mein schlechtige English! :)

Eugene Mikhantiev (mehanik) wrote :

Yesterday I install fresh kernel from http://kernel.ubuntu.com/~kernel-ppa/mainline/v2.6.30-rc8/ and upgrade Xorg packages from https://launchpad.net/~ubuntu-x-swat/+archive/x-updates

"Device" section in xorg.conf:
Section "Device"
        Identifier "Configured Video Device"
        Option "AccelMethod" "UXA"
EndSection

Performance is good, OpenGL applications working well with compiz.

Javier Barroso (javibarroso) wrote :

lorix, has you got where debian fix this ? (it is a debian bug equiv for this?)

Javier Barroso (javibarroso) wrote :

Ok, I guess (I had to search in google before the question)

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=525231

But it is open for now ... and redirect to:
https://bugs.freedesktop.org/show_bug.cgi?id=20893

Regards,

Download full text (12.0 KiB)

Mehanik wrote:
> Yesterday I install fresh kernel from http://kernel.ubuntu.com/~kernel-
> ppa/mainline/v2.6.30-rc8/ and upgrade Xorg packages from
> https://launchpad.net/~ubuntu-x-swat/+archive/x-updates
>
> "Device" section in xorg.conf:
> Section "Device"
> Identifier "Configured Video Device"
> Option "AccelMethod" "UXA"
> EndSection
>
> Performance is good, OpenGL applications working well with compiz.
>
>

failed entirely. These are the ENTIRE applicable error messages in
system log:

[ 1186.348307] [drm:i915_get_vblank_counter] *ERROR* trying to get
vblank count for disabled pipe 0
[ 1190.129006] [drm:i915_setparam] *ERROR* unknown parameter 4

also failed with Option "AccelMethod" "EXA" which used to work

Not sure what else to provide.

And excerpts from Xorg.0.log (which I've saved)
(II) intel: Driver for Intel Integrated Graphics Chipsets: i810,
        i810-dc100, i810e, i815, i830M, 845G, 852GM/855GM, 865G, 915G,
        E7221 (i915), 915GM, 945G, 945GM, 945GME, 965G, G35, 965Q, 946GZ,
        965GM, 965GME/GLE, G33, Q35, Q33,
        Mobile Intel® GM45 Express Chipset,
        Intel Integrated Graphics Device, G45/G43, Q45/Q43, G41
(II) Primary Device is: PCI 00@00:02:0
(II) resource ranges after xf86ClaimFixedResources() call:
        [0] -1 0 0xffffffff - 0xffffffff (0x1) MX[B]
        [1] -1 0 0x000f0000 - 0x000fffff (0x10000) MX[B]
        [2] -1 0 0x000c0000 - 0x000effff (0x30000) MX[B]
        [3] -1 0 0x00000000 - 0x0009ffff (0xa0000) MX[B]
        [4] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[B]
        [5] -1 0 0x00000000 - 0x00000000 (0x1) IX[B]
(II) resource ranges after probing:
        [0] -1 0 0xffffffff - 0xffffffff (0x1) MX[B]
        [1] -1 0 0x000f0000 - 0x000fffff (0x10000) MX[B]
        [2] -1 0 0x000c0000 - 0x000effff (0x30000) MX[B]
        [3] -1 0 0x00000000 - 0x0009ffff (0xa0000) MX[B]
        [4] 0 0 0x000a0000 - 0x000affff (0x10000) MS[B]
        [5] 0 0 0x000b0000 - 0x000b7fff (0x8000) MS[B]
        [6] 0 0 0x000b8000 - 0x000bffff (0x8000) MS[B]
        [7] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[B]
        [8] -1 0 0x00000000 - 0x00000000 (0x1) IX[B]
        [9] 0 0 0x000003b0 - 0x000003bb (0xc) IS[B]
        [10] 0 0 0x000003c0 - 0x000003df (0x20) IS[B]
(II) Loading sub module "vgahw"
(II) LoadModule: "vgahw"
(II) Loading /usr/lib/xorg/modules//libvgahw.so
(II) Module vgahw: vendor="X.Org Foundation"
        compiled for 1.6.0, module version = 0.1.0
        ABI class: X.Org Video Driver, version 5.0
(II) intel(0): Creating default Display subsection in Screen section
        "Default Screen" for depth/fbbpp 24/32
(==) intel(0): Depth 24, (--) framebuffer bpp 32
(==) intel(0): RGB weight 888
(==) intel(0): Default visual is TrueColor
(**) intel(0): Option "AccelMethod" "EXA"
(II) intel(0): Integrated Graphics Chipset: Intel(R) 965GM
(--) intel(0): Chipset: "965GM"
(--) intel(0): Linear framebuffer at 0xE0000000
(--) intel(0): IO registers at addr 0xFEA00000
(WW) intel(0): libpciaccess reported 0 rom size, guessing 64kB
(**) intel(0): Using EXA for acceleration
...

Hi,
On Tue, Jun 16, 2009 at 12:40 PM, Teunis Peters<email address hidden> wrote:
> Mehanik wrote:
>> Yesterday I install fresh kernel from  http://kernel.ubuntu.com/~kernel-
>> ppa/mainline/v2.6.30-rc8/ and upgrade Xorg packages from
>> https://launchpad.net/~ubuntu-x-swat/+archive/x-updates
>>
>> "Device" section in xorg.conf:
>> Section "Device"
>>         Identifier "Configured Video Device"
>>         Option "AccelMethod" "UXA"
>> EndSection
>>
>> Performance is good, OpenGL applications working well with compiz.
>>
>>
>
> failed entirely.  These are the ENTIRE applicable error messages in
> system log:
>
> [ 1186.348307] [drm:i915_get_vblank_counter] *ERROR* trying to get
> vblank count for disabled pipe 0
> [ 1190.129006] [drm:i915_setparam] *ERROR* unknown parameter 4
>
> also failed with Option "AccelMethod" "EXA" which used to work
>
> Not sure what else to provide.
Seems like with "Option "NoAccel" "yes" [1] it works ... but other
problems appears maybe switching from vmware full screen to Xorg:

Jun 15 12:47:13 pc4c013 x-session-manager[3333]: WARNING: Detected
that screensaver has left the bus
Jun 15 12:47:14 pc4c013 gdm[2848]: WARNING:
gdm_slave_xioerror_handler: ha ocurrido un error fatal de X -
Reiniciando :0

Regards

[1] https://bugs.freedesktop.org/show_bug.cgi?id=20893

Javier Barroso wrote:
> Seems like with "Option "NoAccel" "yes" [1] it works ... but other
> problems appears maybe switching from vmware full screen to Xorg:
>
> Jun 15 12:47:13 pc4c013 x-session-manager[3333]: WARNING: Detected
> that screensaver has left the bus
> Jun 15 12:47:14 pc4c013 gdm[2848]: WARNING:
> gdm_slave_xioerror_handler: ha ocurrido un error fatal de X -
> Reiniciando :0
>
> Regards
>
> [1] https://bugs.freedesktop.org/show_bug.cgi?id=20893
>
To trigger on mine repeatedly, play a dvd with - say - ogle - and fast
forward.
Various other accel will do it too.
I don't have vmware installed.
- Teunis

Hi

I can confirm this bug on an HP Mini

Snippet from kern.lorg

Jun 19 12:41:44 lasse-laptop kernel: [ 5546.716093] CE: hpet increasing min_delta_ns to 15000 nsec
Jun 19 12:44:20 lasse-laptop kernel: [ 5702.788564] [drm:i915_get_vblank_counter] *ERROR* trying to get vblank count for disabled pipe 0
Jun 19 12:46:00 lasse-laptop kernel: [ 5802.618327] [drm:i915_get_vblank_counter] *ERROR* trying to get vblank count for disabled pipe 0
Jun 19 12:46:27 lasse-laptop kernel: [ 5829.080384] [drm:i915_get_vblank_counter] *ERROR* trying to get vblank count for disabled pipe 0
Jun 19 12:46:38 lasse-laptop kernel: [ 5840.309729] [drm:i915_get_vblank_counter] *ERROR* trying to get vblank count for disabled pipe 0
Jun 19 12:46:47 lasse-laptop kernel: [ 5849.710962] mtrr: no MTRR for d0000000,10000000 found
Jun 19 12:46:49 lasse-laptop kernel: [ 5851.565954] [drm:i915_setparam] *ERROR* unknown parameter 4
Jun 19 12:46:49 lasse-laptop kernel: [ 5851.566015] [drm:i915_getparam] *ERROR* Unknown parameter 6
Jun 19 12:46:50 lasse-laptop kernel: [ 5852.449069] [drm:i915_getparam] *ERROR* Unknown parameter 6
Jun 19 12:46:56 lasse-laptop kernel: [ 5857.852985] [drm:i915_get_vblank_counter] *ERROR* trying to get vblank count for disabled pipe 0

Every time I try to switch to TTY7 I get another errorline.

lasse@lasse-laptop:~$ uname -a
Linux lasse-laptop 2.6.28-11-generic #42-Ubuntu SMP Fri Apr 17 01:57:59 UTC 2009 i686 GNU/Linux

I'm running this ancient kernel because the wl driver is missing in the newer kernels.

Packages
ii xserver-xorg-video-i128 1:1.3.1-3ubuntu1 X.Org X server -- i128 display driver
ii xserver-xorg-video-i740 1:1.3.0-1 X.Org X server -- i740 display driver
ii xserver-xorg-video-intel 2:2.7.99.1+git20090602.ec2fde7c-0ubuntu2 X.Org X server -- intel i8xx, i9xx display
ii xorg 1:7.4~5ubuntu21 X.Org X Window System
ii xserver-xorg 1:7.4~5ubuntu21 the X.Org X server
ii xserver-xorg-core 2:1.6.1.901-2ubuntu1 Xorg X server - core server

Regards
Lasse Højgaard

Nicolas (ngrzesitchak) wrote :

Hi!

I can confirm a very similar behaviour on a Thinkpad X300 with Intel Corporation Mobile GM965/GL960 graphics. Version of xserver-xorg-video-intel - 2:2.6.3-0ubuntu9.3.
X would crash randomly, though it is more likely to occur when playing videos/DVDs in full screen.

As far as I can tell, there's nothing suspicious in the Xorg.0.log.
The only error (or is it simply a warning?) was a set of two lines similar to the following each time X crashed and restarted:
[10272.357258] [drm:i915_get_vblank_counter] *ERROR* trying to get vblank count for disabled pipe 0
[10272.357505] [drm:i915_get_vblank_counter] *ERROR* trying to get vblank count for disabled pipe 0

Re-creating a "vanilla" xorg.conf did not help... Also I'm using EXA and setting the "ExaOptimizeMigration" option to "off" in my xorg.conf did not help either...

As a side note, in my case at least, it looks related to memory. The problem only shows when *fully* using 4GB of physical memory. If I'm using less than 4GB, for instance by disabling PAE, then video playback (even with recent encrypted DVDs) would run fine...

Cheers!
 - Nicolas

Nicolas (ngrzesitchak) wrote :
Nicolas (ngrzesitchak) wrote :
Nicolas (ngrzesitchak) wrote :
Nicolas (ngrzesitchak) wrote :

Just curious if anyone has been able to test and confirm with the 2.6.31 based Karmic Alpha kernel, currently /2.6.31-4.21. ISO CD images are available from http://cdimage.ubuntu.com/releases/ . Alternatively you could try one of the latest Mainline kernel builds (ie 2.6.31-rc3) - https://wiki.ubuntu.com/KernelTeam/MainlineBuilds. Please let us know your results. Thanks.

Changed in linux (Ubuntu):
status: New → Incomplete
Nicolas (ngrzesitchak) wrote :

@ Leann: no joy with either the Karmic Alpha or the latest (2.6.31-999) Mainline kernels...
 1. dmesg still complaining about the i915_get_vblank_counter
    [ 534.373017] [drm:i915_get_vblank_counter] *ERROR* trying to get vblank count for disabled pipe 0
    [ 534.373323] [drm:i915_get_vblank_counter] *ERROR* trying to get vblank count for disabled pipe 0
 2. Xorg.log now shows an error - though I can't ascertain it is strictly related to the crash I encountered in Jaunty:
    Fatal server error:
    I830EmitFlush: BEGIN_BATCH called without closing ADVANCE_BATCH

HTH / Regards
 - Nicolas

Daniel DeGroff (djdalias-misc) wrote :

I can't say for sure this is what is causing my X to hang.. but I do see the same error.

degroff@degrofft61:~$ dmesg|grep drm
[64485.809417] [drm:i915_get_vblank_counter] *ERROR* trying to get vblank count for disabled pipe 0
[64502.356039] [drm:i915_get_vblank_counter] *ERROR* trying to get vblank count for disabled pipe 0
[64552.908711] [drm:i915_get_vblank_counter] *ERROR* trying to get vblank count for disabled pipe 0
[64583.100612] [drm:i915_get_vblank_counter] *ERROR* trying to get vblank count for disabled pipe 0
[64616.319756] [drm:i915_get_vblank_counter] *ERROR* trying to get vblank count for disabled pipe 0
[64623.276415] [drm:i915_get_vblank_counter] *ERROR* trying to get vblank count for disabled pipe 0
[64626.588207] [drm:i915_get_vblank_counter] *ERROR* trying to get vblank count for disabled pipe 0
[64812.197509] [drm:i915_get_vblank_counter] *ERROR* trying to get vblank count for disabled pipe 0

If this is what is causing my X to hang.. it seems to happen when I launch something from the panel. When I click on an icon to launch an application, I get an orange'ish line vertically up and down the whole left side of my screen (external screen). When it hangs, that line often stays there.. and I have to switch to a console and kill X to get my computer back.

It is getting bad.. I lose everything I was doing.. and it happens quite often.

I'm on Ubuntu 9.04
Linux degrofft61 2.6.28-15-generic #48-Ubuntu SMP Wed Jul 29 08:54:56 UTC 2009 i686 GNU/Linux
00:02.0 VGA compatible controller: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller (rev 0c)
xserver-xorg-video-intel 2:2.7.1-0ubuntu1~xup~1

It also seems to happen more often than note when I launch Lotus Notes, Rational Application Developer, or tn5250j. I don't know that is related.. but that is when I seem to hit this.

I don't use compiz,

I can confirm the problem on

Ubuntu 9.04
Kernel: 2.6.28-15-generic #48-Ubuntu
Graphics: intel 82945G/GZ integrated graphics controller
xserver-xorg-video-intel 2:2.6.3-0ubuntu9.3

It occurs randomly, but very often I'm logged of when I switch my KVM-Switch back to the jaunty-machine.

Sep 15 11:38:12 hal9000 kernel: [ 449.970547] [drm:i915_get_vblank_counter] *ERROR* trying to get vblank count for disabled pipe 1
Sep 15 11:38:12 hal9000 gdm[3555]: WARNING: gdm_slave_xioerror_handler: Schwerwiegender X-Fehler - :0 wird neu gestartet
Sep 15 11:38:12 hal9000 kernel: [ 450.178043] vmmon: Had to deallocate locked 14624 pages from vm driver f0f94e00
Sep 15 11:38:12 hal9000 kernel: [ 450.179447] vmmon: Had to deallocate AWE 3793 pages from vm driver f0f94e00
Sep 15 11:38:12 hal9000 kernel: [ 450.181923] device eth0 left promiscuous mode
Sep 15 11:38:12 hal9000 kernel: [ 450.181930] bridge-eth0: disabled promiscuous mode
Sep 15 11:38:12 hal9000 gdm[3555]: Mount of private directory return code [0]
Sep 15 11:38:13 hal9000 acpid: client 3558[0:0] has disconnected
Sep 15 11:38:13 hal9000 acpid: client connected from 5619[0:0]
Sep 15 11:38:14 hal9000 kernel: [ 451.921565] [drm:i915_setparam] *ERROR* unknown parameter 4
Sep 15 11:38:14 hal9000 kernel: [ 451.921586] [drm:i915_getparam] *ERROR* Unknown parameter 6
Sep 15 11:38:14 hal9000 kernel: [ 452.403623] [drm:i915_getparam] *ERROR* Unknown parameter 6
Sep 15 11:38:17 hal9000 bonobo-activation-server (mp-5640): could not associate with desktop session: Failed to connect to socket /tmp/dbus-fIuhBNDGYP: Connection refused

jtakalai (jutakala) wrote :

I have noticed lauching compiz actually makes the probability of crash smaller.

Without compiz, X *may* crash on:
- playing video (through drm, I suppose, on OpenGL surface; not Flash!) for some time which is at least 3 seconds (reliable)
--- this can be annoying if a web page plays a clip and lets a plugin handle it; VLC plugin starts, 3 seconds, boom.
- fullscreening video (not Flash e.g. youtube) (reliable)
- exiting fullscreen (not Flash) (very reliable)

With compiz, everything actually worked fine until now.
- Playing a video in Totem; fullscreen and back. Boom. Used to work tho.

------------------
My xorg.conf:
------------------

Section "Device"
        Identifier "Configured Video Device"
        Option "AccelMethod" "uxa"
EndSection

Section "Monitor"
        Identifier "Configured Monitor"
EndSection

Section "Screen"
        Identifier "Default Screen"
        Monitor "Configured Monitor"
        Device "Configured Video Device"
EndSection

------------------
uname -a:
------------------

Linux ******** 2.6.28-15-generic #52-Ubuntu SMP Wed Sep 9 10:49:34 UTC 2009 i686 GNU/Linux

------------------
aptitude show xserver-xorg-video-intel (strategic parts)
------------------

Version: 2:2.6.3-0ubuntu9.3
Size unpacked: 1323k
Description: X.Org X server -- Intel i8xx, i9xx display driver
 This package provides the driver for the Intel i8xx and i9xx family of chipsets, including i810, i815, i830, i845, i855, i865, i915, i945 and i965 series
 chips.
 This package also provides an XvMC (XVideo Motion Compensation) driver for i810 and i815 chipsets.
 This package is built from the X.org xf86-video-intel driver module.

Cheers,
jtakalai

Matthäus Brandl (matthaeus) wrote :

I get these messages in my dmesg whenever I switch tty, at the same time I need to restart X. (for example via /etc/init.d/gdm restart) This is especially annoying as suspend is switching ttys as well:
[ 533.461097] [drm:i915_get_vblank_counter] *ERROR* trying to get vblank count for disabled pipe 0
[ 558.760759] [drm:i915_setparam] *ERROR* unknown parameter 4
[ 558.760795] [drm:i915_getparam] *ERROR* Unknown parameter 6
The last line will repeat several times.
---
% LC_ALL=C apt-cache policy xserver-xorg-video-intel
xserver-xorg-video-intel:
  Installed: 2:2.6.3-0ubuntu9.3
  Candidate: 2:2.6.3-0ubuntu9.3
  Version table:
 *** 2:2.6.3-0ubuntu9.3 0
        500 http://de.archive.ubuntu.com jaunty-updates/main Packages
        100 /var/lib/dpkg/status
     2:2.6.3-0ubuntu9 0
        500 http://de.archive.ubuntu.com jaunty/main Packages
---
xorg.conf attached
---
% uname -r
2.6.28-11-generic
---
% lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 9.04
Release: 9.04
Codename: jaunty

Ivan Serra (ivanserra) wrote :

I have the same problem , when try to play a video the machine restart my user session
I have this problem only with server 2.6.28-16 kernel, when the generic version the problem is fixed.
I need to use the server kernel because my machine have 4 giga ram

This bug was filed against a series that is no longer supported and so is being marked as Won't Fix. If this issue still exists in a supported series, please file a new bug.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: Incomplete → Won't Fix
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.