Bug 21099 - [855GM UXA] Googleearth map very small, glxgears cann't be enlarged
Summary: [855GM UXA] Googleearth map very small, glxgears cann't be enlarged
Status: RESOLVED FIXED
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/DRI/i915 (show other bugs)
Version: git
Hardware: x86 (IA32) Linux (All)
: medium normal
Assignee: Eric Anholt
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-04-09 01:24 UTC by Jos van Wolput
Modified: 2009-08-24 12:32 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Jos van Wolput 2009-04-09 01:24:27 UTC
My system:
Debian kernel 2.6.29-1
Chipset: "852GM/855GM"
Driver: version 2.7, compiled for 1.6.0
libdrm: v. 2.4.6
mesa: v.7.4-1 (Debian)

 When using UXA the GoogleEarth map is very small, the size of glxgears
(ca 1 sq.inch).
Moreover when enlarging the glxgears, the glxgears window stays small although the gears are enlarged.
This is also the case with driver 2.6.3 with UXA.
 When using EXA the GoogleEarth map has the normal size and glxgears can be enlarged normally.
Comment 1 Christoph Gernert 2009-04-12 22:23:47 UTC
Same problem here.
I am using Ubuntu 9.04 beta and Intel 855GM

it looks like this
http://img95.imageshack.us/my.php?image=bildschirmfotogoogleear.png
Comment 2 Gordon Jin 2009-04-14 19:13:26 UTC
I can reproduce this "glxgears enlarge" problem on 855. More severely, I've been also met the tiling render issue (bug#20473).
Comment 3 Jos van Wolput 2009-04-14 20:45:01 UTC
(In reply to comment #2)
> I can reproduce this "glxgears enlarge" problem on 855. More severely, I've
> been also met the tiling render issue (bug#20473).
> 

Me too can reproduce the tiling render issue (with UXA).
Comment 4 Jos van Wolput 2009-04-17 21:44:45 UTC
mesa-d0edbbb3f36b569ab0ecce2dd10b8abfb41b8388 (as mentioned in bug 20473) fixes the GoogleEarth and glxgears resizing issue using UXA and no tiling.

Comment 5 Jos van Wolput 2009-04-20 21:04:25 UTC
This bug is caused by an error in /mesa-master/src/mesa/drivers/dri/i915/i915_state.c somewhere in "Update the viewport transformation matrix".
Replacing this file with the one of mesa-d0edbbb3f36b569ab0ecce2dd10b8abfb41b8388
fixes the issue.
Comment 6 Jos van Wolput 2009-05-08 22:45:37 UTC
I've just checked the master branch of mesa (Mesa 7.6-devel) and the master
branch of the video-intel driver (2.7.99).
I am using Debian kernel 2.6.30-rc4-686 with modesetting enabled.
Both issues (window resizing and bad rendering) are fixed.
In Mesa 7.5.rc1 the render issue is fixed but the window problem is still
present!

Comment 7 Jos van Wolput 2009-05-09 23:42:00 UTC
(In reply to comment #6)

> Both issues (window resizing and bad rendering) are fixed.

I'm sorry, I didn't notice the error (lib/i915_dri.so: undefined symbol:
intel_generate_mipmap,falling back to software rendering ).
 Window resizing is NOT yet fixed when using direct rendering.

Jos v.W.



Comment 8 Jos van Wolput 2009-05-20 22:50:47 UTC
This bug preventing to run Google Earth properly and also affecting glxgears is still present in all mesa versions (master, 7.5-rc2, 7.4) after
mesa-d0edbbb3f36b569ab0ecce2dd10b8abfb41b8388.

The bad rendering only occurs when tiling is enabled, the window resizing problem
doesn't depend on tiling, so it might be two different problems.

Could at least the window size issue please be fixed before the release of mesa-7.5?






Comment 9 Eric Anholt 2009-05-26 21:00:00 UTC
commit 0e83e8f51af07a3066519f169f07d9afbf23252e
Author: Eric Anholt <eric@anholt.net>
Date:   Tue May 26 19:48:08 2009 -0700

    i915: Restore the Viewport and DepthRange functions on 8xx.
    
    Fixes failed viewport updates on glxgears (and other apps) resize since
    e41780fedc2c1f22b43118da30a0103fa68b769f.
    
    Bug #20473.
Comment 10 Jos van Wolput 2009-05-26 21:50:35 UTC
(In reply to comment #9)
> commit 0e83e8f51af07a3066519f169f07d9afbf23252e

I just compiled your latest commit.
I am using Debian kernel 2.6.30-rc6-686, KMS enabled, Chipset 852GM/855GM.
The viewport issue is fixed when tiling option is disabled. Thanks!

With tiling enabled, the viewport issue is also fixed but the tiling render issue isn't. Moreover resizing the glxgears window freezes the screen.
It does seem the tiling render problem is another bug.




Comment 11 Adam Jackson 2009-08-24 12:32:01 UTC
Mass version move, cvs -> git


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.