[Hardy] Blender's 3D viewport grid looks strange

Bug #199823 reported by Johannes Langlotz
34
Affects Status Importance Assigned to Milestone
Mesa
Fix Released
Medium
mesa (Debian)
Fix Released
Unknown
mesa (Ubuntu)
Fix Released
High
Bryce Harrington

Bug Description

Binary package hint: mesa, xserver-xorg-video-intel

If I switch from orthographic to perspective view (Numpad 5) the grid in the 3D viewport looks really strange.

Related branches

Revision history for this message
Johannes Langlotz (johannes-langlotz) wrote :
Revision history for this message
Johannes Langlotz (johannes-langlotz) wrote :
Revision history for this message
unggnu (unggnu) wrote :

Couldn't it be a Blender problem?

Changed in xserver-xorg-video-intel:
status: New → Incomplete
Revision history for this message
In , Brice Goglin (brice-goglin) wrote :

Kyle Kearney and Jordi Gutiérrez Hermoso both report corrupted rendering on i965 with mesa 7.0.3-rc2. The problem did not occur with rc1 (Debian's 7.0.2-4).

Kyle said:
"I am experiencing graphics corruption in several 3D games since installing the
mesa 7.0.3-rc2 updates. A screenshot is attached illustrating the effect as it is
rather difficult to describe. I have observed this in supertuxkart, planet penguin
racer, armagetron, and open arena, both with and without compiz running. Glxgears
does not report any anomolies. My graphics processor is an Intel GMA x3100 (965
chipset)."

More details at the URL above, including a screenshot at http://bugs.debian.org/cgi-bin/bugreport.cgi?msg=5;filename=Mesaproblem.png;att=1;bug=470084

Brice

Revision history for this message
Johannes Langlotz (johannes-langlotz) wrote :

I doubt that because former Hardy versions had the same problem like gutsy has. This behaviour came with one of the last intel driver updates!

Revision history for this message
In , Gordon Jin (gordon-jin) wrote :

At least open arena works on my GM965.

Revision history for this message
In , Mario-galanti (mario-galanti) wrote :

Hi,

I can confirm that the bug is present if I use the 7.0.3-rc2 version of the mesa library; I use Debian testing and I have an i965 video card. If I try to play Vegastrike or Armagetron, I can see exactly the same kind of graphics corruption that is shown in the screenshot:

http://bugs.debian.org/cgi-bin/bugreport.cgi?msg=5;filename=Mesaproblem.png;att=1;bug=470084

I have not tried other 3D games or apps, so I cannot say whether there are other programs affected by this bug on my system.

Also for me, the 7.0.2-4 (as named by Debian) version of the library produced no artefacts.

Kind regards,

Mario

Revision history for this message
In , Gordon Jin (gordon-jin) wrote :

*** Bug 14969 has been marked as a duplicate of this bug. ***

Bryce Harrington (bryce)
Changed in xserver-xorg-video-intel:
importance: Undecided → Low
status: Incomplete → Confirmed
Revision history for this message
kakukri (kakukri) wrote :

I have the same bug on a Thinkpad R61i (with GM965). I think it is not a Blender bug, as it reminds me the rendering glitches I found in 3D games (see the attached screenshot). Johannes, could you try a simple 3D game (e.g. ppracer) to see if it renders OK or with glitches?

I think the bug is in the file i965_dri.so. I tried to replace it with the one in Gutsy, and it made those glitches disappear, however, it then froze the system when tried to play Torcs. As I happened to test an install of Frugalware, which has 7.0.2 version of mesa, and copying i965_dri.so from it fixed the rendering problems.

Revision history for this message
kakukri (kakukri) wrote :

Forgot to add my lspci output.

Revision history for this message
kakukri (kakukri) wrote :

Also my Xorg.log

Revision history for this message
kakukri (kakukri) wrote :

Now with the attachment :)

Revision history for this message
kakukri (kakukri) wrote :

Tried to experiment with earlier versions of mesa, and downgrading libgl1-mesa-dri and libgl1-mesa-glx to 7.0.2-4ubuntu2 solved the problems, while they are present with the 7.0.3~rc2 versions. Meanwhile I have found the easiest way to check if the problem is present is to open Screensaver Preferences, choose the screensaver 'Skyrocket', and if parts of the terrain disappear and/or bacame a triangle pointing towards the centre of the picture (see attached screenshot), the rendering problems are present.

On a sidenote, with 7.0.3~rc2-1ubuntu2 the z-buffer problems with the 'Endgame' screensaver (bug #162206) are again present.

description: updated
Revision history for this message
Johannes Langlotz (johannes-langlotz) wrote :

I tested the screensaver and I have the same glitches.

Revision history for this message
kakukri (kakukri) wrote :

Added links to the corresponding Debian and Mesa bugs.

Until it gets fixed upstream, as a temporary hack using i965_dri.so from version 7.0.2-4ubuntu2 seems to work, even with libgl1-mesa-glx-7.0.3~rc2, at least so far I did not encounter instabilities with this combo.

Changed in mesa:
status: Unknown → Confirmed
Changed in mesa:
status: Unknown → Confirmed
Revision history for this message
In , Otakar-trunecek (otakar-trunecek) wrote :

Same bug in archlinux
http://bugs.archlinux.org/task/9866
Similar glitches in opengl games with mesa 7.0.3rc2 and intel graphics driver.

Revision history for this message
In , Tristan (tristan-willy) wrote :

Created an attachment (id=15574)
Re-enable -ve rhw workaround for all i965 chips.

Revision history for this message
In , Tristan (tristan-willy) wrote :

I noticed the same corruption in git (mesa_7_0_branch) and decided to track it down yesterday. The offending commit is da476ff02dd357d9909a2df9891ee645f5f776a0. It appears a workaround that was always on was changed to IGD chips only. It appears that my G965 requires this workaround, so here's a patch to include all i965 chips when executing the workaround. Patch included.

Regarding the patch, should the -ve rhw workaround even need a test? The DRI driver is for all 965 chips after all.

Revision history for this message
In , Tristan (tristan-willy) wrote :
Revision history for this message
In , Haihao-xiang (haihao-xiang) wrote :

(In reply to comment #6)
> I noticed the same corruption in git (mesa_7_0_branch) and decided to track it
> down yesterday. The offending commit is
> da476ff02dd357d9909a2df9891ee645f5f776a0. It appears a workaround that was
> always on was changed to IGD chips only. It appears that my G965 requires this
> workaround, so here's a patch to include all i965 chips when executing the
> workaround. Patch included.
>
> Regarding the patch, should the -ve rhw workaround even need a test? The DRI
> driver is for all 965 chips after all.
>

Thanks . I make a mistake in that commit. The -ve rhw workaround should be applied to 965, not IGD

Revision history for this message
In , Haihao-xiang (haihao-xiang) wrote :

*** Bug 14794 has been marked as a duplicate of this bug. ***

Changed in mesa:
status: Confirmed → Fix Released
Revision history for this message
Christophe Dumez (hydr0g3n) wrote :

The patch is available there: https://bugs.freedesktop.org/show_bug.cgi?id=14940

Couldn't you repackage libgl1-mesa-glx and apply this patch (please :)?

Revision history for this message
Christophe Dumez (hydr0g3n) wrote :

Just so you know. I repackaged mesa after applying the patch from the other bug report. My games are working fine again now :) I think it would really be nice if you packaged a patched version (or maybe a git snapshot) for Hardy. A lot of users have this video chipset...

Revision history for this message
Christophe Dumez (hydr0g3n) wrote :
Revision history for this message
Andrew Oakley (andrew-aoakley) wrote :

Example screenshot of this bug in OpenArena, Hardy with all updates to date.

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

A new 7.0.3 mesa was just now released; perhaps we should consider moving to that?

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

Not sure if this is included in 7.0.3 or not, but this is the patch that was applied upstream:

http://cgit.freedesktop.org/mesa/mesa/diff/?h=mesa_7_0_branch&id=1e83d70b6d07c7d3c61ee0ddf0de9420c167175d

Yay for 1 char bug fixes.

Changed in xserver-xorg-video-intel:
assignee: nobody → bryceharrington
importance: Low → High
Revision history for this message
Bernard Gatt (bengatt) wrote :

Great guys! Thanks I had this same problem when running Open Arena / Wolfenstein ET. Had to downgrade mesa.
Again, Thanks.

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

moved the affected package to mesa for the record, this was fixed with 7.0.3~rc2-1ubuntu3.

Revision history for this message
In , Gordon Jin (gordon-jin) wrote :

*** Bug 15351 has been marked as a duplicate of this bug. ***

Revision history for this message
Andrew Oakley (andrew-aoakley) wrote :

This now appears fixed for me in Open Arena. I wonder if it was xserver-xorg-video-intel and not mesa that was the games problem?

Changed in mesa:
status: Confirmed → Fix Released
Changed in mesa:
importance: Unknown → Medium
Changed in mesa:
importance: Medium → Unknown
Changed in mesa:
importance: Unknown → Medium
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.