Summary: | Google Earth rendering trouble with Unichrome IGP | ||
---|---|---|---|
Product: | Mesa | Reporter: | Andrey Melentyev <rikz> |
Component: | Drivers/DRI/Unichrome | Assignee: | Default DRI bug account <dri-devel> |
Status: | RESOLVED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | medium | CC: | bensberg, miguelmarte, xavier |
Version: | 6.5 | ||
Hardware: | x86 (IA32) | ||
OS: | Linux (All) | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: |
Google Earth fullscreen screenshot without buttom part of the image
Google Earth in windowed mode. We can see only one half of image. fix hardware clipping |
Description
Andrey Melentyev
2007-02-25 11:47:23 UTC
Created attachment 8844 [details]
Google Earth fullscreen screenshot without buttom part of the image
Created attachment 8845 [details]
Google Earth in windowed mode. We can see only one half of image.
LOL how did you get google earth to run? Well check my new patch on the other issue, the viewport one, i posted a new patch that should fix a lot of issues, maybe this one too. (In reply to comment #3) > LOL how did you get google earth to run? > Well check my new patch on the other issue, the viewport one, i posted a new > patch that should fix a lot of issues, maybe this one too. > I'm already using your patch :) Google Earth works from the box. Fullscreen is even useful sometimes. Created attachment 8867 [details]
fix hardware clipping
I have a patch for you to test :) this depends on the other fix for the viewport, but you should already have that one. Have fun with google earth, i know i am.
(In reply to comment #5) > Created an attachment (id=8867) [details] > fix hardware clipping > > I have a patch for you to test :) this depends on the other fix for the > viewport, but you should already have that one. Have fun with google earth, i > know i am. > Works like a charm! Miguel, are you commiting patches to mesa-git tree? I'm interested if current mesa-git includes your fixes. In bzflag the patch in comment #5 makes the world continue outside of the radar box. This is not correct, as far as i know. There is a patch in the other bug that should fix that. The problem was that drawXoff was still affecting the backbuffer. http://bugs.freedesktop.org/show_bug.cgi?id=9965 that should fix that problem and the problem Xavier reported about the preview of opengl screensaver in xscreensaver. Comment on attachment 8867 [details]
fix hardware clipping
yup wrong fix. Looking at the code again the way it was was fine.
OK to more accurately describe the bug, it seems that the hardware clipping is being applied to the screen coardinates and not the buffer, but this only happens for google earth because bzflag is fine. What is probably going on is this. Google earth calls clipping before it draws anything, so the clipping is applied to screen origin. The fix from what i can see is going to be pretty hefty. Basically rework the way the buffers are filled and read and make the origin the same as the screen origin. I think this should wait for when porting the driver to use the new memory manager. With current Mesa from Git the stability of 3D driver is a little bit better. Thanks for the latest commits. But this bug is still there with some visible changes. Here's fullscreen snapshot from Google Earth: http://img135.imageshack.us/img135/7694/90199024fo3.png And here's the one from windowed mode: http://img69.imageshack.us/img69/5551/50485021jn1.png The problem with black screen at startup is still there too. When I just start GE, black rectangle is displayed on the place where the Earth picture must be. I have to switch to fullscreen mode multiple times before I get any real picture. Openchrome is no longer supported by Mesa |
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.