All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bug 29762] New: [r300g] Coldest: Buffer too small for color buffer 0 (need 3407872 have 2023424) !
@ 2010-08-23 18:54 bugzilla-daemon
  2010-08-25 21:25 ` [Bug 29762] " bugzilla-daemon
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: bugzilla-daemon @ 2010-08-23 18:54 UTC (permalink / raw)
  To: dri-devel

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

           Summary: [r300g] Coldest: Buffer too small for color buffer 0
                    (need 3407872 have 2023424) !
           Product: Mesa
           Version: git
          Platform: Other
               URL: http://www.coldestgame.com/site/
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Drivers/DRI/r300
        AssignedTo: dri-devel@lists.freedesktop.org
        ReportedBy: sa@whiz.se


Hi,

The game "Coldest" isn't rendering properly when run with r300g, quite a lot of
objects seems to be missing. This error is logged: "The kernel rejected CS, see
dmesg for more information." and dmesg reveals:

[   60.158478] [drm:r100_cs_track_check] *ERROR* [drm] Buffer too small for
color buffer 0 (need 3407872 have 2023424) !
[   60.158482] [drm:r100_cs_track_check] *ERROR* [drm] color buffer 0 (832 4 0
1024)
[   60.158483] [drm:radeon_cs_ioctl] *ERROR* Invalid command stream !

Coldest is FLOSS, so source is available if that's helpful to figure this out.


System environment:
-- system architecture: 32-bit
-- Linux distribution: Debian unstable
-- GPU: RV570
-- Model: Asus EAX1950Pro 256MB
-- Display connector: DVI
-- xf86-video-ati: fd686668289258ffaf6b81057545e50612aac6a8
-- xserver: 1.8.99.904 (1.9.0 RC 5)
-- mesa: 4b2b5f8e30347ce0a1818524f8825335d47eb5ca
-- drm: b61e81a191d3a5c269c5f7c40199aebc9ebc034c
-- kernel: 2.6.35

-- 
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] 7+ messages in thread

* [Bug 29762] [r300g] Coldest: Buffer too small for color buffer 0 (need 3407872 have 2023424) !
  2010-08-23 18:54 [Bug 29762] New: [r300g] Coldest: Buffer too small for color buffer 0 (need 3407872 have 2023424) ! bugzilla-daemon
@ 2010-08-25 21:25 ` bugzilla-daemon
  2010-08-26  1:35 ` bugzilla-daemon
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: bugzilla-daemon @ 2010-08-25 21:25 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #1 from Sven Arvidsson <sa@whiz.se> 2010-08-25 14:25:03 PDT ---
Looks like Coldest also needs loop unrolling(?), if that's so it could explain
the missing objects.

r300 FP: Compiler Error:
Fragment program does not support relative addressing  of source operands.

-- 
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] 7+ messages in thread

* [Bug 29762] [r300g] Coldest: Buffer too small for color buffer 0 (need 3407872 have 2023424) !
  2010-08-23 18:54 [Bug 29762] New: [r300g] Coldest: Buffer too small for color buffer 0 (need 3407872 have 2023424) ! bugzilla-daemon
  2010-08-25 21:25 ` [Bug 29762] " bugzilla-daemon
@ 2010-08-26  1:35 ` bugzilla-daemon
  2010-08-26  2:27 ` bugzilla-daemon
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: bugzilla-daemon @ 2010-08-26  1:35 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #2 from Marek Olšák <maraeo@gmail.com> 2010-08-25 18:35:47 PDT ---
The compiler error is valid. Relative addressing (array indexing) is not
implemented for fragment shaders.

The hardware only suppports relative addressing using the loop counter and only
on r500. The loop counter register type has been removed in Gallium so it
cannot be implemented directly. Some non-trivial work is needed in the
compiler.

-- 
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] 7+ messages in thread

* [Bug 29762] [r300g] Coldest: Buffer too small for color buffer 0 (need 3407872 have 2023424) !
  2010-08-23 18:54 [Bug 29762] New: [r300g] Coldest: Buffer too small for color buffer 0 (need 3407872 have 2023424) ! bugzilla-daemon
  2010-08-25 21:25 ` [Bug 29762] " bugzilla-daemon
  2010-08-26  1:35 ` bugzilla-daemon
@ 2010-08-26  2:27 ` bugzilla-daemon
  2010-08-26  6:19 ` bugzilla-daemon
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: bugzilla-daemon @ 2010-08-26  2:27 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #3 from Andrew Randrianasulu <randrik@mail.ru> 2010-08-25 19:27:22 PDT ---
(In reply to comment #2)
> The compiler error is valid. Relative addressing (array indexing) is not
> implemented for fragment shaders.
> 
> The hardware only suppports relative addressing using the loop counter and only
> on r500. The loop counter register type has been removed in Gallium so it
> cannot be implemented directly. Some non-trivial work is needed in the
> compiler.

May be it will be not  too bad idea to restore this register type support in
Gallium first? Anyone remember why it was removed?

-- 
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] 7+ messages in thread

* [Bug 29762] [r300g] Coldest: Buffer too small for color buffer 0 (need 3407872 have 2023424) !
  2010-08-23 18:54 [Bug 29762] New: [r300g] Coldest: Buffer too small for color buffer 0 (need 3407872 have 2023424) ! bugzilla-daemon
                   ` (2 preceding siblings ...)
  2010-08-26  2:27 ` bugzilla-daemon
@ 2010-08-26  6:19 ` bugzilla-daemon
  2010-09-10 22:18 ` bugzilla-daemon
  2010-09-12  4:16 ` bugzilla-daemon
  5 siblings, 0 replies; 7+ messages in thread
From: bugzilla-daemon @ 2010-08-26  6:19 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #4 from Marek Olšák <maraeo@gmail.com> 2010-08-25 23:19:49 PDT ---
(In reply to comment #3)
> May be it will be not  too bad idea to restore this register type support in
> Gallium first? Anyone remember why it was removed?

I guess no one was using it, so I would not call it "support". Either way, we
have to start from scratch. Tom Stellard might know how hard it would be to
implement relative addressing in fragment shaders.

-- 
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] 7+ messages in thread

* [Bug 29762] [r300g] Coldest: Buffer too small for color buffer 0 (need 3407872 have 2023424) !
  2010-08-23 18:54 [Bug 29762] New: [r300g] Coldest: Buffer too small for color buffer 0 (need 3407872 have 2023424) ! bugzilla-daemon
                   ` (3 preceding siblings ...)
  2010-08-26  6:19 ` bugzilla-daemon
@ 2010-09-10 22:18 ` bugzilla-daemon
  2010-09-12  4:16 ` bugzilla-daemon
  5 siblings, 0 replies; 7+ messages in thread
From: bugzilla-daemon @ 2010-09-10 22:18 UTC (permalink / raw)
  To: dri-devel

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

Matt Turner <mattst88@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|Drivers/DRI/r300            |Drivers/Gallium/r300

-- 
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] 7+ messages in thread

* [Bug 29762] [r300g] Coldest: Buffer too small for color buffer 0 (need 3407872 have 2023424) !
  2010-08-23 18:54 [Bug 29762] New: [r300g] Coldest: Buffer too small for color buffer 0 (need 3407872 have 2023424) ! bugzilla-daemon
                   ` (4 preceding siblings ...)
  2010-09-10 22:18 ` bugzilla-daemon
@ 2010-09-12  4:16 ` bugzilla-daemon
  5 siblings, 0 replies; 7+ messages in thread
From: bugzilla-daemon @ 2010-09-12  4:16 UTC (permalink / raw)
  To: dri-devel

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

Marek Olšák <maraeo@gmail.com> changed:

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

--- Comment #5 from Marek Olšák <maraeo@gmail.com> 2010-09-11 21:16:39 PDT ---
The DRM errors are fixed by this kernel patch, which will hopefully end up in
2.6.36:

http://lists.freedesktop.org/archives/dri-devel/2010-September/003830.html

For loop unrolling issues, see other bugs, e.g. bug 30007.

-- 
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] 7+ messages in thread

end of thread, other threads:[~2010-09-12  4:16 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-08-23 18:54 [Bug 29762] New: [r300g] Coldest: Buffer too small for color buffer 0 (need 3407872 have 2023424) ! bugzilla-daemon
2010-08-25 21:25 ` [Bug 29762] " bugzilla-daemon
2010-08-26  1:35 ` bugzilla-daemon
2010-08-26  2:27 ` bugzilla-daemon
2010-08-26  6:19 ` bugzilla-daemon
2010-09-10 22:18 ` bugzilla-daemon
2010-09-12  4:16 ` 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.