Bug 19879 - rendering glitches in Google Earth
Summary: rendering glitches in Google Earth
Status: RESOLVED FIXED
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/DRI/i965 (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: haihao
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-02-01 13:17 UTC by Matthias Bläsing
Modified: 2009-02-26 01:31 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
diagonal line through image (272.84 KB, image/jpeg)
2009-02-01 13:19 UTC, Matthias Bläsing
Details
messed up rendering viewed from low viewing angle (210.98 KB, image/jpeg)
2009-02-01 13:20 UTC, Matthias Bläsing
Details
Output of glxinfo (7.19 KB, text/plain)
2009-02-01 13:22 UTC, Matthias Bläsing
Details
Dmesg (50.52 KB, text/plain)
2009-02-04 11:02 UTC, Matthias Bläsing
Details
Xorg.0.log (65.63 KB, text/plain)
2009-02-04 11:03 UTC, Matthias Bläsing
Details

Description Matthias Bläsing 2009-02-01 13:17:53 UTC
I just tried google earth and got a pretty good picture. When zooming in, I noticed two things. 

The first is a distortion, when adjusting to a low viewing angle and viewing height.

The second is a visible diagonal line through the whole picture.

I know, that the desciptions are not too detailed, so I took two screen shoots, that are attached.

Versions:

Kernel DRM Module from Kernel 2.6.28 (relevant modules: drm, i915)
Mesa from Debian experimental: 7.3-1
Intel-DDX: 2.6.1-1

I get similar result whether I use EXA or UXA acceleration (although I disable UXA now, as I get frequent look ups).

PS: The small squares indicating a picture in google earth are sometimes correctly show with their icon, but sometimes they are just shown as white squares.
Comment 1 Matthias Bläsing 2009-02-01 13:19:11 UTC
Created attachment 22440 [details]
diagonal line through image
Comment 2 Matthias Bläsing 2009-02-01 13:20:13 UTC
Created attachment 22441 [details]
messed up rendering viewed from low viewing angle
Comment 3 Matthias Bläsing 2009-02-01 13:22:48 UTC
Created attachment 22442 [details]
Output of glxinfo

mblaesing@enterprise:~$ LIBGL_DEBUG=verbose glxinfo 2>&1 1> glxinfo 
libGL: XF86DRIGetClientDriverName: 1.9.0 i965 (screen 0)
libGL: OpenDriver: trying /usr/lib/dri/tls/i965_dri.so
libGL: OpenDriver: trying /usr/lib/dri/i965_dri.so
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 4, (OK)
drmOpenByBusid: Searching for BusID pci:0000:00:02.0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 4, (OK)
drmOpenByBusid: drmOpenMinor returns 4
drmOpenByBusid: drmGetBusid reports pci:0000:00:02.0
libGL error: 
Can't open configuration file /etc/drirc: No such file or directory.
mblaesing@enterprise:~$
Comment 4 Eric Anholt 2009-02-03 17:09:34 UTC
my suspicion is that this effect is related to the RHW workaround, thus it'll be chipset-dependent.  Please attach Xorg.0.log and dmesg.
Comment 5 Matthias Bläsing 2009-02-04 11:02:39 UTC
Created attachment 22585 [details]
Dmesg
Comment 6 Matthias Bläsing 2009-02-04 11:03:31 UTC
Created attachment 22586 [details]
Xorg.0.log

What is the meaning of RHW?
Comment 7 haihao 2009-02-04 21:58:14 UTC
(In reply to comment #4)
> my suspicion is that this effect is related to the RHW workaround, thus it'll
> be chipset-dependent.  Please attach Xorg.0.log and dmesg.
> 

You are right. It works fine on GM45.
Comment 8 martin 2009-02-17 03:48:28 UTC
Maybe this is related, maybe not. We got several bug reports on 965 rendering glitches in ubuntu (bugs linked from the URL below).

I consistently see rendering glitches on 965 using ubuntu intrepid and also ubuntu jaunty as of feb 3rd. It looks like some textured are rendered black and/or possibly not aligned well. Running the atunnel screensaver is the best way to repro the glitches.

I've attached screenshots of atunnel on intrepid/jaunty here:
https://bugs.launchpad.net/xserver-xorg-video-intel/+bug/330476
Comment 9 haihao 2009-02-26 01:31:02 UTC
fixed in mesa

commit 68915fd6fac44dd000080298e3afb0669e8754aa
Author: Xiang, Haihao <haihao.xiang@intel.com>
Date:   Thu Feb 26 17:31:01 2009 +0800

    i965: fix for RHW workaround


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.