[i965] graphical glitches with Blender/OpenGL unless DRI disabled

Bug #365776 reported by Tim Cole
102
This bug affects 14 people
Affects Status Importance Assigned to Milestone
xf86-video-intel
Fix Released
High
xserver-xorg-video-intel (Ubuntu)
Fix Released
High
Unassigned

Bug Description

Binary package hint: xserver-xorg-video-intel

Since my upgrade to Jaunty, many OpenGL applications (e.g. blender, many 3d applications in wine) fail to render properly. (A few 3d applications do work acceptably, for example the OpenGL screensavers.)

Typical symptoms are horizontal strips of the window failing to completely clear or repaint, and missing or incomplete textures on polygons.

Note that I have visual effects/compiz turned off.

---

Description: Ubuntu 9.04
Release: 9.04

xserver-xorg-video-intel:
  Installed: 2:2.6.3-0ubuntu9
  Candidate: 2:2.6.3-0ubuntu9
  Version table:
 *** 2:2.6.3-0ubuntu9 0
        500 http://us.archive.ubuntu.com jaunty/main Packages
        100 /var/lib/dpkg/status

Tags: 3d jaunty karmic
Revision history for this message
Tim Cole (tcole) wrote :
Revision history for this message
Tim Cole (tcole) wrote :
Revision history for this message
Tim Cole (tcole) wrote :

Additionally, the bug does not occur if DRI is disabled.

Revision history for this message
Tim Cole (tcole) wrote :
Bryce Harrington (bryce)
summary: - graphical glitches with GM965/GL960
+ [i965] graphical glitches with GM965/GL960
Bryce Harrington (bryce)
summary: - [i965] graphical glitches with GM965/GL960
+ [i965] graphical glitches unless DRI disabled
Revision history for this message
Bryce Harrington (bryce) wrote : Re: [i965] graphical glitches unless DRI disabled

Looks familiar, I think this is a bug in the mesa 3d intel driver.

summary: - [i965] graphical glitches unless DRI disabled
+ [i965] graphical glitches with Blender/OpenGL unless DRI disabled
Revision history for this message
Kyle Beauchamp (kyleabeauchamp) wrote :

I have the same problem on an core2duo Thinkpad with i965 graphics and 9.04 64bit. More important to me are problems with the the program Pymol, which is usuable because of the garbled graphics. I recompiled Pymol from source and found the same problems, so I am fairly certain the issue lies in the graphics. I will try a few possible fixes and report back with my results.

Revision history for this message
Kyle Beauchamp (kyleabeauchamp) wrote :

I disabled DRI to fix the problem. I suspect that this is not an acceptable long-term solution--for example, my display brightness control is no longer working.

IMHO, pushing the 9.04 release before addressing these issues (broken driver support for one of the most common laptop display adapters) was a poor move. As I recall, the two issues that were the downfall of Windows Vista were 1. Poor Driver Support. 2. Poor Performance on common hardware.

What do you know, it looks like Ubuntu is following Microsoft's lead on this one...

My fix was to add the following line to my /etc/X11/xorg.conf under the devices section:
 Option "DRI" "off"

Revision history for this message
Kyle Beauchamp (kyleabeauchamp) wrote :

Better fix: I re-enabled DRI and reverted to intel 2.4 drivers per instructions at
https://wiki.ubuntu.com/ReinhardTartler/X/RevertingIntelDriverTo2.4

Seems to fix all my issues.

Bryce Harrington (bryce)
tags: added: 3d
Revision history for this message
Andrei Kouznetsov (andrei-kouznetsov) wrote :

I have a similar problem: The menu is messed up, repaint problems, etc...
My video card is Intel 945GM. Are there any plans to fix it or we have to revert to the old drivers?

Revision history for this message
nowardev (nowardev) wrote :

i have solved !

instead of run blender ..

go in the folder and type

./blender-static

it's a script you could see in the same folder where you ahve downloaded and extracted blender

Revision history for this message
yeus (thomas-meschede-deactivatedaccount) wrote :

hmm. now that's interesting... why does blender not work with the "ubuntu-native" library versions?

thx for that blender-static-script hint anyway :)...

btw when kwineffects/compiz is enabled it still does not work even when using "./blender-static", because blender is than transparent ... :)

Revision history for this message
yeus (thomas-meschede-deactivatedaccount) wrote :

I have added an attachment of this "transparent" blender problem.... (this just occurs when kwineffects are enabled.)

As you can see in this snapshot the shell is "shining" through blender making it unusable. you can see the default blender scene when starting a new installation of blender....

greetings, tom

Revision history for this message
Trevor Walker (trebawa) wrote :

Doesn't blender-static just do the same thing as putting NoAccel in xorg.conf? Also, does anyone know where to find blender-static in a Blender installed form a .deb package? If not, could someone post a copy?

Revision history for this message
yeus (thomas-meschede-deactivatedaccount) wrote :

I am pretty certain that with blender-static blender is still accelerated... otherwise it would be unusable on my system...

Revision history for this message
Trevor Walker (trebawa) wrote :

I thought it was just software accelerated, but I'm probably wrong.

Revision history for this message
Dimas (dimasmjunior) wrote :

I'm having the same problem, my lspci says my VGA is an Intel Corporation Mobile 945GM/GMS, 943/940GML Express Integrated Graphics Controller.

I just installed FirewallBuilder, and I am experiencing similar glitches in the interface (see screenshot), so maybe it's related, and maybe this problem has nothing to do with Blender. Maybe.

Revision history for this message
Dimas (dimasmjunior) wrote :

Just in case my previous comment was not clear enough, I'm having the same problem in Blender (see screenshot), not only in FirewallBuilder.

Revision history for this message
Trevor Walker (trebawa) wrote :

I have found a temporary solution, at least for me. The problem, I think, is that blender completely disregards gnome-panel when it redraws. If all taskbars are hidden, fullscreen blender (blender -W) works perfectly. However, windowed blender (blender -w) still doesn't work. At least blender is useable again!

Revision history for this message
Dimas (dimasmjunior) wrote :

Just came across a post from Carl Worth in planet gnome that I believe is related (http://cworth.org/intel/driver_stability/). He explains that the intel driver had gone through a major restructuring wich caused some regressions. This regressions were addressed mainly in the kernel, and the fixes are available only in 2.6.30.

He also mentions that there are people in Ubuntu working on it and there are newer versions of the intel driver and a package for 2.6.30 (https://launchpad.net/~xorg-edgers).

Revision history for this message
PJSingh5000 (pjsingh5000) wrote :

I am still experiencing the issues reported here with Blender after an upgrade to kernel 2.6.30.

To upgrade the kernel, I have followed the "Optimal" configuration instructions at http://ubuntuforums.org/showthread.php?t=1130582

System Notes:
- Display controller: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller (rev 03)
- Kubuntu Jaunty x64
- uxa enabled
- compiz installed/enabled

Revision history for this message
PJSingh5000 (pjsingh5000) wrote :

I just updated to the latest available versions of the following packages, and both windowed-mode and full-screen mode in Blender seem to work fine.

compiz-plugins
compiz-kde
compiz-gnome
compiz-wrapper
compiz
compiz-core

The Version number of the above packages is: 1:0.8.2-0ubuntu8.1

Revision history for this message
PJSingh5000 (pjsingh5000) wrote :

Looks like I spoke too soon...

After a fresh reboot, blender is again exhibiting the same issues reported in this bug. I've attached a screenshot which shows:

- The menu is offset from the application window.
- Similar to other attachments on this bug report, the bottom half of the drawing area does not render properly, showing some left-over artifacts from operations such as zoom or mouse movement.
- Additionally, the button icons do not appear.

Has anyone experienced this issue, where the problem is resolved, but comes back?

Revision history for this message
Bryce Harrington (bryce) wrote :

Well, next I'd like to forward this issue upstream, but first it must be retested on latest development version of Karmic to make sure the issue still happens there with the latest code. ISO images are available at http://cdimages.ubuntu.com/releases/karmic/. If you can reproduce it in the LiveCD environment, you shouldn't need to modify your installed system. Also please attach a fresh Xorg.0.log and dmesg from this testing.

Changed in xserver-xorg-video-intel (Ubuntu):
status: New → Incomplete
Revision history for this message
Jonathan Bower (jonathanbower) wrote :

I tried the Live CD and Blender was totally broken, couldn't even use the menus.

Revision history for this message
Jonathan Bower (jonathanbower) wrote :
Revision history for this message
Kevin Roy (kiniou) wrote :

Hello,

I just tried the Live CD with Blender and it's working in fullscreen mode (see the screenshots attached). There is still an issue with menus in windowed mode.

Version of Ubuntu LiveCD tested:
Ubuntu-Netbook-Remix 9.10 "Karmic Koala" - Alpha i386 (20090610.1)

I ran this test on an intel 915GM.

Bryce Harrington (bryce)
Changed in xserver-xorg-video-intel (Ubuntu):
status: Incomplete → Confirmed
Bryce Harrington (bryce)
tags: added: jaunty karmic
Revision history for this message
Adam (adam77) wrote :

I'm experiencing this bug with i855GM controller on jaunty. Both windowed and fullscreen modes have artifacts.

Revision history for this message
yeus (thomas-meschede-deactivatedaccount) wrote :

Hi, I have a dell vostro 1310 with intel gm965 on latest overnight kubuntu karmic 9.10

Most graphical glitches are gone and everything works in fullscreen mode.
But in windowed mode, the menus do not work.

but icons, graphical artifacts and all this kind of stuff does not show up anymore.

greetings, tom

Revision history for this message
Enrico Gueli (e-gueli) wrote :

This is what happens to my system (Intel 965GM) with Karmic Koala alpha3 live:

The 3D artifacts are all gone, both in fullscreen and windowed mode. But:
- in windowed mode, menus don't appear and don't even "blindly" respond to mouse clicks. This makes Blender totally useless.
- in fullscreen mode, it's not really "fullscreen" - the top and bottom GNOME panels are still visible. Moving the mouse over any button or menu causes a redraw some pixels above the graphical element itself. It's the same artifact as in post #26.

I'm attaching my Xorg.0.log.

Bryce Harrington (bryce)
Changed in xserver-xorg-video-intel (Ubuntu):
importance: Undecided → Medium
Revision history for this message
Bryce Harrington (bryce) wrote :

Hrm, waay too many people are commenting on this bug, which is making it a bit difficult to follow, especially with different people posting random data (which is helpful, just extraordinarily inconsistent since they each are coming from a different person). Already the problem has morphed away from the originally described issue, and it is hard to tell whether everyone is having the same bug, whether there are multiple bugs, or whether the bugs are really X issues...

So I'm going to focus on just one issue - the missing menus when in windowed mode. I have forwarded this bug upstream at https://bugs.freedesktop.org/show_bug.cgi?id=22994 - I would ask that people having this specific problem please subscribe to the upstream bug and follow up any questions they have.

For any other bugs besides this one, please file a new bug report against Blender, or (if you can prove it to be a driver issue) against X.

Changed in xserver-xorg-video-intel (Ubuntu):
status: Confirmed → Triaged
Changed in xserver-xorg-video-intel:
status: Unknown → Confirmed
Bryce Harrington (bryce)
Changed in xserver-xorg-video-intel:
status: Confirmed → Unknown
Changed in xserver-xorg-video-intel:
status: Unknown → Confirmed
Bryce Harrington (bryce)
Changed in xserver-xorg-video-intel (Ubuntu):
importance: Medium → High
Revision history for this message
Bryce Harrington (bryce) wrote :

Here's the upstream fix to mesa for this.

Changed in xserver-xorg-video-intel:
status: Confirmed → Fix Released
Revision history for this message
Bryce Harrington (bryce) wrote :

This patch was included in the mesa update to karmic I uploaded yesterday.

Changed in xserver-xorg-video-intel (Ubuntu):
status: Triaged → Fix Released
Changed in xserver-xorg-video-intel:
importance: Unknown → High
Changed in xserver-xorg-video-intel:
importance: High → Unknown
Changed in xserver-xorg-video-intel:
importance: Unknown → High
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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