Skip to contentSkip to conversation

New: Problem with Blender and big textures

Bug 35446 [email protected] 1 participant 11 messages Mar 19, 2011 – Dec 5, 2012

lore
Share & tools
lore
#0 lore raw

https://bugs.freedesktop.org/show_bug.cgi?id=35446

Summary: Problem with Blender and big textures
Product: Mesa
Version: git
Platform: x86-64 (AMD64)
OS/Version: Linux (All)
Status: NEW
Severity: normal
Priority: medium
Component: Drivers/Gallium/r300
AssignedTo: [email protected]
ReportedBy: [email protected]

When I try to use a big texture (4096x4096) in blender 2.56beta, I get following error:

r300: CS space validation failed. (not enough memory?) Skipping rendering.

and no texture is displayed. Smaller textures (tested 2048x2048) works fine. Also with LIBGL_ALWAYS_SOFTWARE=1 it works fine. When I try bigger texture (8000x6048), I get no error, but also no texture and I can see screen corruption with Compiz (bad window shadows, applets on panel, background on 2nd display etc).

Blender files with textures and image with corrupted display are here

http://devel.disnel.com/tmp/

(I dont'know, how big files can I attach here). I'am using mesa 7.11.0-git2011016+gallium from xorg-edgers with Ubuntu 10.10 x86_64. My graphics card is Radeon X1400.

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#1 lore raw

[Bug 35446] Problem with Blender and big textures

https://bugs.freedesktop.org/show_bug.cgi?id=35446

--- Comment #1 from Marek Olšák <[email protected]> 2011-03-19 05:41:01 PDT --- When the CS space validation fails, it means there is not enough space either in the video memory or in the GPU-accessible system memory.

How many bits per pixel does the texture have? 4096x4096 is the maximum hardware limit. Any larger texture is not loaded and OpenGL will return an error to the application (but Blender seems to ignore it), and can draw either a black or white color instead.

Please post the output of:

RADEON_DEBUG=info glxgears

I am interested in the lines beginning with "r300:"

Signature · 7 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
#2 lore raw

[Bug 35446] Problem with Blender and big textures

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=35446

--- Comment #2 from Marek Olšák <[email protected]> 2011-03-19 05:52:03 PDT --- Also please attach your dmesg.

Signature · 7 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
#3 lore raw

[Bug 35446] Problem with Blender and big textures

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=35446

--- Comment #3 from Vaclav Cermak <[email protected]> 2011-03-19 06:39:11 PDT --- Created an attachment (id=44615)
--> (https://bugs.freedesktop.org/attachment.cgi?id=44615)
dmesg output

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#4 lore raw

[Bug 35446] Problem with Blender and big textures

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=35446

--- Comment #4 from Vaclav Cermak <[email protected]> 2011-03-19 06:40:41 PDT --- glxgears does not write anything interesting:

disnel@infimi:~$ RADEON_DEBUG=info glxgears
Running synchronized to the vertical refresh.  The framerate should be
approximately the same as the monitor refresh rate.
304 frames in 5.0 seconds = 60.708 FPS
303 frames in 5.0 seconds = 60.565 FPS
^C
disnel@infimi:~$ 

dmesg attached. Texture has 24bit per pixel.

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#5 lore raw

[Bug 35446] Problem with Blender and big textures

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=35446

Alex Deucher <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

  Attachment #44615|application/octet-stream    |text/plain
          mime type|                            |
  Attachment #44615|0                           |1
           is patch|                            |
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#6 lore raw

[Bug 35446] Problem with Blender and big textures

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=35446

--- Comment #5 from Marek Olšák <[email protected]> 2011-03-19 12:42:19 PDT --- (In reply to comment #4)

Quoted 11 lines

glxgears does not write anything interesting:

disnel@infimi:~$ RADEON_DEBUG=info glxgears
Running synchronized to the vertical refresh.  The framerate should be
approximately the same as the monitor refresh rate.
304 frames in 5.0 seconds = 60.708 FPS
303 frames in 5.0 seconds = 60.565 FPS
^C
disnel@infimi:~$ 
Quoted 1 line

dmesg attached. Texture has 24bit per pixel.

You seem to be using indirect rendering. Please post the output of:

LIBGL_DEBUG=verbose glxgears

Signature · 7 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
#7 lore raw

[Bug 35446] Problem with Blender and big textures

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=35446

--- Comment #6 from Vaclav Cermak <[email protected]> 2011-03-19 12:50:15 PDT ---

disnel@infimi:~$ LIBGL_DEBUG=verbose glxgears
libGL: OpenDriver: trying /usr/lib/dri/tls/r300_dri.so
libGL: OpenDriver: trying /usr/lib/dri/r300_dri.so
libGL: Can't open configuration file /etc/drirc: No such file or directory.
libGL: Can't open configuration file /etc/drirc: No such file or directory.
Running synchronized to the vertical refresh.  The framerate should be
approximately the same as the monitor refresh rate.
304 frames in 5.0 seconds = 60.672 FPS
303 frames in 5.0 seconds = 60.560 FPS
302 frames in 5.0 seconds = 60.368 FPS
^C
disnel@infimi:~$
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#8 lore raw

[Bug 35446] Problem with Blender and big textures

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=35446

--- Comment #7 from Tomasz P. <[email protected]> --- Is there still a problem with that?

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#9 lore raw

[Bug 35446] Problem with Blender and big textures

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=35446

--- Comment #8 from Václav Čermák <[email protected]> ---
That old machine with Radeon X1400 is gone now (machine works, I can log in through ssh, but display shows nothing, it is hardware failure, because is does not show even setup), so I cannot test it. In new laptop I have Nvidia card....

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#10 lore raw

[Bug 35446] Problem with Blender and big textures

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=35446

Tomasz P. <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |RESOLVED
         Resolution|---                         |NOTABUG
Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel