Bug 26515

Summary: Corrupt textures
Product: Mesa Reporter: Marek Kubica <marek>
Component: Drivers/DRI/r300Assignee: Default DRI bug account <dri-devel>
Status: RESOLVED WONTFIX QA Contact:
Severity: normal    
Priority: medium    
Version: 7.6   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments: glibgl1-mesa-glx
libgl1-mesa-swx11
Screenshot on R100 (Arch Linux)

Description Marek Kubica 2010-02-10 07:18:28 UTC
Created attachment 33216 [details]
glibgl1-mesa-glx

When I start the Factor editor, I get broken textures. They seem to have some kind of "interlace" effect with empty lines between them.

The program that I am running is Factor: <http://factorcode.org> and I am using Debian squeeze amd64 with Mesa 7.6.1 and the Radeon driver 6.12.4 as well as XServer-Xorg 1.7.4 (not using KMS). My video card is a Radeon Xpress 1250.

Initially, I though it is a problem with Factor itself, but after switching to the software renderer, the textures look fine.

Attached are screenshots of both versions (broken and working).
Comment 1 Marek Kubica 2010-02-10 07:19:33 UTC
Created attachment 33217 [details]
libgl1-mesa-swx11
Comment 2 Marek Kubica 2010-02-17 14:57:47 UTC
Created attachment 33374 [details]
Screenshot on R100 (Arch Linux)

Here's how the program looks on Arch Linux, with an earlier chipset, the R100. No texture corruption.
Comment 3 Maciej Cencora 2010-03-15 11:30:22 UTC
Please check if you can reproduce the bug on mesa 7.7 and current mesa from git.
Comment 4 Marek Kubica 2010-03-15 12:59:13 UTC
(In reply to comment #3)
> Please check if you can reproduce the bug on mesa 7.7 and current mesa from
> git.

I tried Mesa 7.7 which migrated to Debian, still just as broken as before. Trying the git version would mean that I have to package the current git version as debian package to uninstall it cleanly afterwards, which is rather a lot of work.
Comment 5 Michel Dänzer 2010-03-16 10:58:49 UTC
(In reply to comment #4)
> Trying the git version would mean that I have to package the current git
> version as debian package to uninstall it cleanly afterwards, [...]

No need to install anything at all, just set LIBGL_DRIVERS_PATH to the directory containing the self-built r300_dri.so.
Comment 6 Marek Kubica 2010-03-16 13:00:07 UTC
Ok, I built todays Mesa from git, set LIBGL_DRIVERS_PATH and the corrupted textures are still there (I also checked gl-vendor-version which was "Mesa 7.9-devel" which looks about right).
Comment 7 Andreas Boll 2014-07-07 16:43:38 UTC
The classic r300 driver has been abandoned long ago.
It was replaced by the Gallium driver r300g.

If you have issues with r300g please file a new bug report with component Drivers/Gallium/r300

Thanks.

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.