| Summary: | radeon-rewrite R200 driver doesn't clip opengl context if there is overlapping window | ||
|---|---|---|---|
| Product: | Mesa | Reporter: | Pauli <suokkos> |
| Component: | Drivers/DRI/r200 | Assignee: | Default DRI bug account <dri-devel> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | medium | ||
| Version: | git | ||
| Hardware: | x86 (IA32) | ||
| OS: | Linux (All) | ||
| Whiteboard: | |||
| i915 platform: | i915 features: | ||
| Attachments: | xmoto video reduced size | ||
Is this any better with recent checkout of xf86-video-ati radeon-gem-cs3 branch, mesa radeon-rewrite branch and recent xserver ? Created attachment 26058 [details]
xmoto video reduced size
In KMS mode cliping for overlapping widows works correctly now.
But If I run stock 2.6.30 kernel there is problems that in dri mode I get only black window and in indirect mode I get GPU hang. So KMS is requirement to run the latest radeon-rewrite with r200 card.
attached video shows xmoto cliping failing with KMS/DRI2/radeon-rewrite. In bottom left corner is minimap that should stay inside white rectangle. But gray blocks can be seen outside of minimap area.
PS. I noticed that mplayer xv and sdl back-ends have some color conversion errors. In unscaled version everything has green channel too strong. In downscaled version everything has pink pigment and there is some artifacts too. Is that known problem?
As of 9dee2f20a204f375eb4321092cf5dea6476c1c24 in mesa, all the issue you reported should be fixed (at least xmoto now works here dri1 or dri2) so i am closing the bug, please reopen if this is not the case for you. 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.
I'm running the the latest radeon-rewrite branch with modesetting-gem drm modules using stock Ubuntu Jaunty xorg/kernel. System is: Mobile AMD Athlon(tm) XP 2800+ M9+ 5C61 [Radeon Mobility 9200 (AGP)] VIA VT8378 [KM400/A] Chipset Host Bridge Steps to reproduce bug: 1. start glxgears 2. move a window over gears window 3. gears will render over 2nd window xorg.conf device section: Identifier "Configured Video Device" Option "AccelMethod" "EXA" Option "MigrationHeuristic" "smart" Option "EnablePageFlip" "on" Option "ClockGating" "on" Option "DynamicClocks" "on" Option "ColorTiling" "on" driconf settings: <option name="force_s3tc_enable" value="false" /> <option name="no_rast" value="false" /> <option name="fthrottle_mode" value="2" /> <option name="tcl_mode" value="3" /> <option name="texture_depth" value="0" /> <option name="def_max_anisotropy" value="2.0" /> <option name="no_neg_lod_bias" value="false" /> <option name="command_buffer_size" value="32" /> <option name="texture_units" value="6" /> <option name="dither_mode" value="0" /> <option name="hyperz" value="true" /> <option name="round_mode" value="0" /> <option name="allow_large_textures" value="2" /> <option name="nv_vertex_program" value="false" /> <option name="color_reduction" value="1" /> <option name="vblank_mode" value="1" /> <option name="texture_blend_quality" value="1.0" /> libraries compiled from the latest git: libXxf86vm commit f2a1073b3027c508e01beca9ca34bbc6c90f5e6b xf86vidmodeproto commit 7efd16a110ea4e8a7deab405fba7e1f5ceb4add2 drm commit 1edb70f1b909d06f1c0ee7c9c794aec99454e488 pthread-stubs commit ef2431f5bdef1da9f2f7701232def164910b191b dri2proto commit 66c56ab10d917e3f47f93178d7eac6430970d3c4 libXmu commit 88bd2d387fbb068339b65506331136085082def6 macros commit 21a957428aa69b03f585378dc6e70ad9f5c513c6 mesa commit ce0d10dd6cd688d16e004c33ea4418cd7254a7f7 xf86-video-ati commit abd565ae71d9844d5afcd658628ca7778ce26ab1