All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bug 41744] New: Unigine Heaven shows black textures (Radeon HD4250)
@ 2011-10-13 13:18 bugzilla-daemon
  2011-10-13 13:20 ` [Bug 41744] " bugzilla-daemon
                   ` (13 more replies)
  0 siblings, 14 replies; 15+ messages in thread
From: bugzilla-daemon @ 2011-10-13 13:18 UTC (permalink / raw)
  To: dri-devel

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

           Summary: Unigine Heaven shows black textures (Radeon HD4250)
           Product: Mesa
           Version: git
          Platform: x86-64 (AMD64)
        OS/Version: Linux (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Drivers/Gallium/r600
        AssignedTo: dri-devel@lists.freedesktop.org
        ReportedBy: gsedej@gmail.com


Unigine Heaven benchmark shows black textures. It looks like this:
http://imageshack.us/photo/my-images/842/slika322.jpg/
It looks like it's problem with floating-point textures.

This is output of program: http://pastebin.com/GKWmbhV9
Here is my glxinfo: http://pastebin.com/BM9Vw8vm

I am using Ubuntu 11.04 with "oibaf" PPA build. Do I need to provide more data?

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 15+ messages in thread

* [Bug 41744] Unigine Heaven shows black textures (Radeon HD4250)
  2011-10-13 13:18 [Bug 41744] New: Unigine Heaven shows black textures (Radeon HD4250) bugzilla-daemon
@ 2011-10-13 13:20 ` bugzilla-daemon
  2011-10-13 13:20 ` bugzilla-daemon
                   ` (12 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: bugzilla-daemon @ 2011-10-13 13:20 UTC (permalink / raw)
  To: dri-devel

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

Gašper Sedej <gsedej@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
              Alias|                            |it

-- 
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
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 15+ messages in thread

* [Bug 41744] Unigine Heaven shows black textures (Radeon HD4250)
  2011-10-13 13:18 [Bug 41744] New: Unigine Heaven shows black textures (Radeon HD4250) bugzilla-daemon
  2011-10-13 13:20 ` [Bug 41744] " bugzilla-daemon
@ 2011-10-13 13:20 ` bugzilla-daemon
  2011-10-13 13:21 ` bugzilla-daemon
                   ` (11 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: bugzilla-daemon @ 2011-10-13 13:20 UTC (permalink / raw)
  To: dri-devel

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

Gašper Sedej <gsedej@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
              Alias|it                          |

-- 
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
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 15+ messages in thread

* [Bug 41744] Unigine Heaven shows black textures (Radeon HD4250)
  2011-10-13 13:18 [Bug 41744] New: Unigine Heaven shows black textures (Radeon HD4250) bugzilla-daemon
  2011-10-13 13:20 ` [Bug 41744] " bugzilla-daemon
  2011-10-13 13:20 ` bugzilla-daemon
@ 2011-10-13 13:21 ` bugzilla-daemon
  2011-10-13 18:04 ` bugzilla-daemon
                   ` (10 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: bugzilla-daemon @ 2011-10-13 13:21 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #1 from Gašper Sedej <gsedej@gmail.com> 2011-10-13 06:21:10 PDT ---
Also, FrozenByte games are missing textures (ShadowGrounds and Trine)

-- 
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
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 15+ messages in thread

* [Bug 41744] Unigine Heaven shows black textures (Radeon HD4250)
  2011-10-13 13:18 [Bug 41744] New: Unigine Heaven shows black textures (Radeon HD4250) bugzilla-daemon
                   ` (2 preceding siblings ...)
  2011-10-13 13:21 ` bugzilla-daemon
@ 2011-10-13 18:04 ` bugzilla-daemon
  2011-10-17  7:02 ` bugzilla-daemon
                   ` (9 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: bugzilla-daemon @ 2011-10-13 18:04 UTC (permalink / raw)
  To: dri-devel

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

Sven Arvidsson <sa@whiz.se> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |sa@whiz.se

--- Comment #2 from Sven Arvidsson <sa@whiz.se> 2011-10-13 11:04:23 PDT ---
>From the glxinfo output you seem to be missing S3TC support. If so, you need to
install libtxc_dxtn

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 15+ messages in thread

* [Bug 41744] Unigine Heaven shows black textures (Radeon HD4250)
  2011-10-13 13:18 [Bug 41744] New: Unigine Heaven shows black textures (Radeon HD4250) bugzilla-daemon
                   ` (3 preceding siblings ...)
  2011-10-13 18:04 ` bugzilla-daemon
@ 2011-10-17  7:02 ` bugzilla-daemon
  2011-10-17 13:57 ` bugzilla-daemon
                   ` (8 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: bugzilla-daemon @ 2011-10-17  7:02 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #3 from Gašper Sedej <gsedej@gmail.com> 2011-10-17 00:02:20 PDT ---
gsedej@seraph:~/Prenosi/Unigine_Heaven$ dpkg -l | grep libtxc
ii libtxc-dxtn0 1.0.1-0.2 S3 Texture Compression (S3TC) library

glxinfo:
http://pastebin.com/96JdRUQp

I found out that I need to use R600_ENABLE_S3TC=1
But then I get: 

radeon: The kernel rejected CS, see dmesg for more information.
radeon: The kernel rejected CS, see dmesg for more information.
radeon: The kernel rejected CS, see dmesg for more information.
radeon: The kernel rejected CS, see dmesg for more information.
...
dmesg:
[577112.943190] radeon 0000:01:05.0: r600_check_texture_resource:1214 texture
invalid format 49
[577112.943196] [drm:radeon_cs_ioctl] *ERROR* Invalid command stream !
[577112.945640] radeon 0000:01:05.0: r600_check_texture_resource:1214 texture
invalid format 49
[577112.945650] [drm:radeon_cs_ioctl] *ERROR* Invalid command stream !
[577112.946185] radeon 0000:01:05.0: r600_check_texture_resource:1214 texture
invalid format 52
[577112.946190] [drm:radeon_cs_ioctl] *ERROR* Invalid command stream !
[577112.946467] radeon 0000:01:05.0: r600_check_texture_resource:1214 texture
invalid format 51
[577112.946469] [drm:radeon_cs_ioctl] *ERROR* Invalid command stream !
[577112.947521] radeon 0000:01:05.0: r600_check_texture_resource:1214 texture
invalid format 51
....
so formats are 49 51 and 52

Probably some error with kernel?

-- 
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
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 15+ messages in thread

* [Bug 41744] Unigine Heaven shows black textures (Radeon HD4250)
  2011-10-13 13:18 [Bug 41744] New: Unigine Heaven shows black textures (Radeon HD4250) bugzilla-daemon
                   ` (4 preceding siblings ...)
  2011-10-17  7:02 ` bugzilla-daemon
@ 2011-10-17 13:57 ` bugzilla-daemon
  2011-10-18 13:14 ` bugzilla-daemon
                   ` (7 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: bugzilla-daemon @ 2011-10-17 13:57 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #4 from Alex Deucher <agd5f@yahoo.com> 2011-10-17 06:57:32 PDT ---
(In reply to comment #3)
> 
> Probably some error with kernel?

You need a newer kernel to use that feature.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 15+ messages in thread

* [Bug 41744] Unigine Heaven shows black textures (Radeon HD4250)
  2011-10-13 13:18 [Bug 41744] New: Unigine Heaven shows black textures (Radeon HD4250) bugzilla-daemon
                   ` (5 preceding siblings ...)
  2011-10-17 13:57 ` bugzilla-daemon
@ 2011-10-18 13:14 ` bugzilla-daemon
  2011-10-19  0:34 ` bugzilla-daemon
                   ` (6 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: bugzilla-daemon @ 2011-10-18 13:14 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #5 from Gašper Sedej <gsedej@gmail.com> 2011-10-18 06:14:37 PDT ---
Thanks. Kernel 3.0 solved the problem.
Render is still not perfect and speed is bad, but it's wokring :).
I see odd shading and odd image in dark (ignore tearing, it's only because of
sceenshot): http://imgur.com/a/HxtlE
And output: http://pastebin.com/qAcrn2Um

Should I open new bug?

-- 
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
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 15+ messages in thread

* [Bug 41744] Unigine Heaven shows black textures (Radeon HD4250)
  2011-10-13 13:18 [Bug 41744] New: Unigine Heaven shows black textures (Radeon HD4250) bugzilla-daemon
                   ` (6 preceding siblings ...)
  2011-10-18 13:14 ` bugzilla-daemon
@ 2011-10-19  0:34 ` bugzilla-daemon
  2011-10-19  8:31 ` bugzilla-daemon
                   ` (5 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: bugzilla-daemon @ 2011-10-19  0:34 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #6 from Vadim <ptpzz@yandex.ru> 2011-10-18 17:34:26 PDT ---
(In reply to comment #5)
> Thanks. Kernel 3.0 solved the problem.
> Render is still not perfect and speed is bad, but it's wokring :).
> I see odd shading and odd image in dark (ignore tearing, it's only because of
> sceenshot): http://imgur.com/a/HxtlE
> And output: http://pastebin.com/qAcrn2Um
> 
> Should I open new bug?

Unigine demos have a bug, disabling GL_EXT_texture_array extension should help.
You could use environment variable to disable it:

MESA_EXTENSION_OVERRIDE=-GL_EXT_texture_array

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 15+ messages in thread

* [Bug 41744] Unigine Heaven shows black textures (Radeon HD4250)
  2011-10-13 13:18 [Bug 41744] New: Unigine Heaven shows black textures (Radeon HD4250) bugzilla-daemon
                   ` (7 preceding siblings ...)
  2011-10-19  0:34 ` bugzilla-daemon
@ 2011-10-19  8:31 ` bugzilla-daemon
  2011-11-12 13:18 ` bugzilla-daemon
                   ` (4 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: bugzilla-daemon @ 2011-10-19  8:31 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #7 from Gašper Sedej <gsedej@gmail.com> 2011-10-19 01:31:36 PDT ---
I tried disabling extension but still wrong shading. (like it was some "net" on
sun)
variable is working because I don't see  any output when I do
:$ MESA_EXTENSION_OVERRIDE=-GL_EXT_texture_array glxinfo | grep
GL_EXT_texture_array
(if I don't put variable I see this extention)

-- 
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
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 15+ messages in thread

* [Bug 41744] Unigine Heaven shows black textures (Radeon HD4250)
  2011-10-13 13:18 [Bug 41744] New: Unigine Heaven shows black textures (Radeon HD4250) bugzilla-daemon
                   ` (8 preceding siblings ...)
  2011-10-19  8:31 ` bugzilla-daemon
@ 2011-11-12 13:18 ` bugzilla-daemon
  2011-11-12 13:19 ` bugzilla-daemon
                   ` (3 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: bugzilla-daemon @ 2011-11-12 13:18 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #8 from kao_chen <kaochen2@gmail.com> 2011-11-12 05:18:54 PST ---
Created attachment 53449
  --> https://bugs.freedesktop.org/attachment.cgi?id=53449
starting log of oilrush

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 15+ messages in thread

* [Bug 41744] Unigine Heaven shows black textures (Radeon HD4250)
  2011-10-13 13:18 [Bug 41744] New: Unigine Heaven shows black textures (Radeon HD4250) bugzilla-daemon
                   ` (9 preceding siblings ...)
  2011-11-12 13:18 ` bugzilla-daemon
@ 2011-11-12 13:19 ` bugzilla-daemon
  2011-11-12 13:21 ` bugzilla-daemon
                   ` (2 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: bugzilla-daemon @ 2011-11-12 13:19 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #9 from kao_chen <kaochen2@gmail.com> 2011-11-12 05:19:14 PST ---
Created attachment 53450
  --> https://bugs.freedesktop.org/attachment.cgi?id=53450
my glxinfo

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 15+ messages in thread

* [Bug 41744] Unigine Heaven shows black textures (Radeon HD4250)
  2011-10-13 13:18 [Bug 41744] New: Unigine Heaven shows black textures (Radeon HD4250) bugzilla-daemon
                   ` (10 preceding siblings ...)
  2011-11-12 13:19 ` bugzilla-daemon
@ 2011-11-12 13:21 ` bugzilla-daemon
  2011-11-15 17:03 ` bugzilla-daemon
  2012-08-23 11:26 ` bugzilla-daemon
  13 siblings, 0 replies; 15+ messages in thread
From: bugzilla-daemon @ 2011-11-12 13:21 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #10 from kao_chen <kaochen2@gmail.com> 2011-11-12 05:21:24 PST ---
Hello!

I also get the same issue with the unigine game "Oilrush". Textures are black. 
I tried this two commands without success:
kao@kao-64:/opt/oilrush$ MESA_EXTENSION_OVERRIDE=-GL_EXT_texture_array
./oilrush
kao@kao-64:/opt/oilrush$ MESA_EXTENSION_OVERRIDE=+GL_ARB_half_float_pixel
./oilrush

I use Ubuntu 10.10 with the update "xorg-edgers/ppa" 

OpenGL vendor:   X.Org
OpenGL renderer: Gallium 0.4 on AMD RV670
OpenGL version:  2.1 Mesa 7.12-devel
System: Linux 3.0.0-13-generic x86_64


I attached the starting log of Oilrush, and my glxinfo output.

Regards
Kao

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 15+ messages in thread

* [Bug 41744] Unigine Heaven shows black textures (Radeon HD4250)
  2011-10-13 13:18 [Bug 41744] New: Unigine Heaven shows black textures (Radeon HD4250) bugzilla-daemon
                   ` (11 preceding siblings ...)
  2011-11-12 13:21 ` bugzilla-daemon
@ 2011-11-15 17:03 ` bugzilla-daemon
  2012-08-23 11:26 ` bugzilla-daemon
  13 siblings, 0 replies; 15+ messages in thread
From: bugzilla-daemon @ 2011-11-15 17:03 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #11 from kao_chen <kaochen2@gmail.com> 2011-11-15 09:03:51 PST ---
Sorry I have done a mistake, the libtxc-dxtn library was not installed properly
on my PC.

I found the source code here:
http://debian-multimedia.org/pool/main/libt/libtxc-dxtn/libtxc-dxtn.php

It's working better for me on both Unigine Heaven and Unigine Oilrush game. I
still have some graphics artifacts but they probably  come from another bug.

Here:
Unigine Heaven with wrong shadows:
http://pix.toile-libre.org/upload/original/1321376279.png

And

Oilrush, the crane is flying
http://pix.toile-libre.org/upload/original/1321376118.png

Regards
Kao

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 15+ messages in thread

* [Bug 41744] Unigine Heaven shows black textures (Radeon HD4250)
  2011-10-13 13:18 [Bug 41744] New: Unigine Heaven shows black textures (Radeon HD4250) bugzilla-daemon
                   ` (12 preceding siblings ...)
  2011-11-15 17:03 ` bugzilla-daemon
@ 2012-08-23 11:26 ` bugzilla-daemon
  13 siblings, 0 replies; 15+ messages in thread
From: bugzilla-daemon @ 2012-08-23 11:26 UTC (permalink / raw)
  To: dri-devel

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

Andreas Boll <andreas.boll.dev@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #12 from Andreas Boll <andreas.boll.dev@gmail.com> 2012-08-23 11:26:44 UTC ---
As mentioned above in Comment 5 and Comment 11
properly installing libtxc-dxtn library fixed the black textures.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2012-08-23 11:26 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-10-13 13:18 [Bug 41744] New: Unigine Heaven shows black textures (Radeon HD4250) bugzilla-daemon
2011-10-13 13:20 ` [Bug 41744] " bugzilla-daemon
2011-10-13 13:20 ` bugzilla-daemon
2011-10-13 13:21 ` bugzilla-daemon
2011-10-13 18:04 ` bugzilla-daemon
2011-10-17  7:02 ` bugzilla-daemon
2011-10-17 13:57 ` bugzilla-daemon
2011-10-18 13:14 ` bugzilla-daemon
2011-10-19  0:34 ` bugzilla-daemon
2011-10-19  8:31 ` bugzilla-daemon
2011-11-12 13:18 ` bugzilla-daemon
2011-11-12 13:19 ` bugzilla-daemon
2011-11-12 13:21 ` bugzilla-daemon
2011-11-15 17:03 ` bugzilla-daemon
2012-08-23 11:26 ` bugzilla-daemon

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.