Bug 651501 - intel [GM45/965GM/Pineview] (EE) intel(0): Failed to submit batch buffer, expect rendering corruption or even a frozen display (black screen) ==> requires kernel 2.6.36?
Summary: intel [GM45/965GM/Pineview] (EE) intel(0): Failed to submit batch buffer, exp...
Status: RESOLVED FIXED
: 651989 (view as bug list)
Alias: None
Product: openSUSE 11.4
Classification: openSUSE
Component: X.Org (show other bugs)
Version: Milestone 2 of 6
Hardware: x86-64 openSUSE 11.3
: P3 - Medium : Critical (vote)
Target Milestone: ---
Assignee: Stefan Dirsch
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-04 21:07 UTC by Willy Weisz
Modified: 2010-11-08 13:35 UTC (History)
3 users (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
Log file of Xorg X11 server startup (51.53 KB, text/plain)
2010-11-04 21:07 UTC, Willy Weisz
Details
Output of "Xorg -configure" (1.83 KB, text/plain)
2010-11-04 21:41 UTC, Willy Weisz
Details
Xorg log under kernel-default-2.6.34.7-0.5.1.x86_64 (154.30 KB, text/plain)
2010-11-05 21:57 UTC, Togan Muftuoglu
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Willy Weisz 2010-11-04 21:07:47 UTC
Created attachment 398683 [details]
Log file of Xorg X11 server startup

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; de; rv:1.9.2.12) Gecko/20101026 SUSE/3.6.12-0.7.1 Firefox/3.6.12

Since updating yesterday the X.org X11 server to 1.9.2 (xorg-x11-server-7.5_1.9.2-77.7.x86_64.rpm) including the other available X11-related packages my laptop doesn't finish starting the graphics-mode screen.

The Xorg log is attached. The startup of the X11 server ends producing a series of identical lines:
(EE) intel(0): Failed to submit batch buffer, expect rendering corruption or even a frozen display:  No such device.

My acer TravelMate 6292 is equipped with a GM965/GL960 onboard graphics controller.



Reproducible: Always

Steps to Reproduce:
1.Boot the computer
2.
3.
Actual Results:  
The system finishes by showing a black screen with an arrow-shaped curses. The latter can be moved by my finger on the touchpad, but nothing else happens.
The screens with line mode can be used.

Expected Results:  
A graphical login screen should have appeared.
Comment 1 Willy Weisz 2010-11-04 21:41:43 UTC
Created attachment 398690 [details]
Output of "Xorg -configure" 

intellegacy_drv.so couldn't be loaded because of undefined symbol WindowTable
Comment 2 Stefan Dirsch 2010-11-05 00:16:30 UTC
(In reply to comment #1)
> Created an attachment (id=398690) [details]
> Output of "Xorg -configure" 

We do not support this tool.

> intellegacy_drv.so couldn't be loaded because of undefined symbol WindowTable

The build of this driver has been disabled. It has  not been adjusted yet to the latest xorg-server API. ABI is not compatible. Better uninstall the xorg-x11-driver-video-intellegacy package.
Comment 3 Stefan Dirsch 2010-11-05 00:20:49 UTC
At least for intel drivers you should also update your kernel to release 2.6.36 (better 2.6.37rc1) when you're using obs:/X11:Xorg project, which is considered to be in a highly experimtal state.

zypper ar -f \
  http://download.opensuse.org/repositories/Kernel:/HEAD/openSUSE_Factory/ \
  Kernel:HEAD
zypper mr -p 90 Kernel:HEAD
zypper ref
zypper dup -r Kernel:HEAD

Please let me know whether this helps.
Comment 4 Togan Muftuoglu 2010-11-05 21:55:04 UTC
I have the same problem though the card is pineview

kernel-default-2.6.34.7-0.5.1.x86_64 

[    77.800] (EE) intel(0): Failed to submit batch buffer, expect rendering corruption or even a frozen display: No such device.

resulting a black screen, yet mouse, keyboard functions  


kernel-default-2.6.36-90.1.x86_64

everything works fine from X11 point of view with this combo
Comment 5 Togan Muftuoglu 2010-11-05 21:57:12 UTC
Created attachment 398850 [details]
Xorg log under kernel-default-2.6.34.7-0.5.1.x86_64

Let me no if you need any other info

Thanks
Togan
Comment 6 Stefan Dirsch 2010-11-05 22:19:33 UTC
Willy, can you confirm this?
Comment 7 Stefan Dirsch 2010-11-06 10:22:20 UTC
Same issue on GM45.
Comment 8 Willy Weisz 2010-11-06 23:33:35 UTC
(In reply to comment #6)
> Willy, can you confirm this?

I've downloaded, compiled and installed Linux 2.6.36 from the kernel.org repository. And it solved the problem!!!

Thank you for pointing me to the solution of the problem.

I've postponed the downloading from openSuSE's Kernel:HEAD because of all the cross-dependencies. Now that I can use my graphical screen again I'm installing the kernel-*-2.6.36-90.1 RPM packages using yast.

I'll report on the result.
Comment 9 Willy Weisz 2010-11-07 00:01:00 UTC
I've installed kernel-*-2.6.36-90.1 and booted the desktop variant. X11 works fine!

My bug report may be closed.

PS: I was venturing into the obs:/X11:Xorg project repository because I'm looking for a solution to my KDE4 screen freezing from time to time despite my turning off 3D effects.
Comment 10 Stefan Dirsch 2010-11-07 01:03:40 UTC
Ok. So let's close it as fixed.
Comment 11 Stefan Dirsch 2010-11-08 09:08:54 UTC
I believe I found a fix also for older kernels ==> reopen.
Comment 12 Stefan Dirsch 2010-11-08 09:09:23 UTC
This commit in libdrm git master looks promising.

commit 49447a9b957047db2549b8a929e763bbd87808ba
Author: Albert Damen <albrt@gmx.net>
Date:   Sun Nov 7 15:54:32 2010 +0100

    intel: initialize bufmgr.bo_mrb_exec unconditionally

    If bufmgr.bo_mrb_exec is not set, drm_intel_bo_mrb_exec returns ENODEV
    even though drm_intel_gem_bo_mrb_exec2 will work fine for the RENDER ring.
    Fixes xf86-video-intel after commit 'add BLT ring support' (5bed685f76)
    with kernels without BSD or BLT ring support (2.6.34 and before).

    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=31443
    Signed-off-by: Albert Damen <albrt@gmx.net>
    Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Comment 13 Stefan Dirsch 2010-11-08 09:10:55 UTC
So I've updated libdrm in X11:XOrg with the libdrm commit before.

Mon Nov  8 09:02:40 UTC 2010 - sndirsch@novell.com

- intel-initialize-bufmgr.bo_mrb_exec-unconditionally.patch
  * no longer require kernels without BLT ring support (2.6.34 an
    before). (bnc #651989, bnc #651501)

Could you give it a try?
Comment 14 Stefan Dirsch 2010-11-08 09:11:32 UTC
*** Bug 651989 has been marked as a duplicate of this bug. ***
Comment 15 Stefan Dirsch 2010-11-08 09:16:56 UTC
Of course for testing you need to downgrade your kernel and reboot, or at least reboot your 2.6.34.x kernel (if still installed).
Comment 16 Togan Muftuoglu 2010-11-08 09:22:12 UTC
No problem got multiple kernels installed :) 

I see libdrm as 2.4.22-34.1 as the latest rpm at the moment. As soon as zypper sees the new version I'll give it a go  

Togan
Comment 17 Togan Muftuoglu 2010-11-08 09:57:56 UTC
Hi,

with libdrm-2.4.22-35.1.x86_64 and kernel-default-2.6.34.7-0.5.1.x86_64 works fine

Thanks for the follow up

Togan
Comment 18 Stefan Dirsch 2010-11-08 10:12:02 UTC
Thanks. Now also submitrequested for openSUSE_Factory.
Comment 19 Willy Weisz 2010-11-08 10:50:08 UTC
Dear Stefan,

even so I won't be able to use the new libdrm since I don't intend to downgrade my production kernel, I thank you for not just saying "it works with an higher-version kernel", but to look for a solution for an openSuSE kernel maintained the standard way.

Best regards
Willy
Comment 20 Stefan Dirsch 2010-11-08 11:56:20 UTC
(In reply to comment #19)
> even so I won't be able to use the new libdrm since I don't intend to downgrade
> my production kernel, I thank you for not just saying "it works with an
> higher-version kernel", but to look for a solution for an openSuSE kernel
> maintained the standard way.

So you call the kernel from Kernel:HEAD (2.6.36+) meanwhile a production kernel?
Comment 21 Togan Muftuoglu 2010-11-08 12:23:25 UTC
not to mention the obs X11 packages :)
Comment 22 Willy Weisz 2010-11-08 13:01:31 UTC
(In reply to comment #20 and #21)
> (In reply to comment #19)
> > even so I won't be able to use the new libdrm since I don't intend to downgrade
> > my production kernel, 
> 
> So you call the kernel from Kernel:HEAD (2.6.36+) meanwhile a production
> kernel?
I've installed the original Linux distribution 2.6.36, which Linus Thorvalds considers a stable kernel version, and later on the available openSuSE one from Kernel:HEAD and have a system running together with the packages from X11:XOrg without any problem for 2 days now, it has become my production system - until further notice. 

I'm using extensively the graphical interface (KDE4), the audio capabilities, secured and unsecured network communications, USB and openOffice; and all worked fine.

Why should I step back when I'm satisfied with my present - be it partly experimental - configuration? When I'll run into a problem, I'll have anyhow to address it individually, even when it manifests itself in a package maintained the standard way.
Comment 23 Stefan Dirsch 2010-11-08 13:35:51 UTC
Well, most openSUSE 11.3 users are using the official 2.6.34.7 kernel update for this distribution - which BTW also was the cause of this bugreport. But never mind. I'm fine since I got positive feedback by at least one user. :-)