Skip to contentSkip to conversation

New: [r300c] [r300g] skybox in ut2004 is not seamless

Bug 28994 [email protected] 1 participant 15 messages Jul 9, 2010 – Dec 22, 2010

lore
Share & tools
lore
#0 lore raw

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

           Summary: [r300c] [r300g] skybox in ut2004 is not seamless
           Product: Mesa
           Version: git
          Platform: x86 (IA32)
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Drivers/DRI/r300
        AssignedTo: [email protected]
        ReportedBy: [email protected]

As the attached screenshot shows, the polygon onto which the sky is rendered has sharp contours, which should not be visible at all.

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 28994] [r300c] [r300g] skybox in ut2004 is not seamless

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

--- Comment #1 from Álmos <[email protected]> 2010-07-09 13:07:44 PDT --- Created an attachment (id=36928)
--> (https://bugs.freedesktop.org/attachment.cgi?id=36928)
sky

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 28994] [r300c] [r300g] skybox in ut2004 is not seamless

In reply to [email protected]

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

--- Comment #2 from Jon Sturm <[email protected]> 2010-07-10 08:07:05 PDT --- This is also noticeable on my 2 rv730 cards so it seems to be a mesa or radeon bug in general and not r300 specific.

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.
#3 lore raw

[Bug 28994] [r300c] [r300g] skybox in ut2004 is not seamless

In reply to [email protected]

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

Marek Olšák <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------
Component|Drivers/DRI/r300 |Drivers/Gallium/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
#4 lore raw

[Bug 28994] [r300c] [r300g] skybox in ut2004 is not seamless

In reply to [email protected]

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

--- Comment #3 from Tom Stellard <[email protected]> 2010-10-29 17:30:22 PDT --- Is this still an issue in Mesa 7.9 or the latest version from git?

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 28994] [r300c] [r300g] skybox in ut2004 is not seamless

In reply to [email protected]

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

--- Comment #4 from Álmos <[email protected]> 2010-10-30 07:16:24 PDT --- The problem still exists. Tested with latest version from git.

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
#6 lore raw

[Bug 28994] [r300c] [r300g] skybox in ut2004 is not seamless

In reply to [email protected]

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

--- Comment #5 from Marek Olšák <[email protected]> 2010-12-17 05:50:14 PST --- The skybox looks fine here, absolutely seamless.

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 28994] [r300c] [r300g] skybox in ut2004 is not seamless

In reply to [email protected]

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

Marek Olšák <[email protected]> changed:

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

             Status|NEW                         |RESOLVED
         Resolution|                            |WORKSFORME

--- Comment #6 from Marek Olšák <[email protected]> 2010-12-17 09:34:00 PST --- Closing as it works for me.

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
#8 lore raw

[Bug 28994] [r300c] [r300g] skybox in ut2004 is not seamless

In reply to [email protected]

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

Álmos <[email protected]> changed:

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

             Status|RESOLVED                    |REOPENED
         Resolution|WORKSFORME                  |

--- Comment #7 from Álmos <[email protected]> 2010-12-17 10:49:58 PST --- You were a bit hasty (less than 4 hours between the question and the bug close?). Here it still looks exactly like on the attached screenshot. I also checked it with softpipe, and that looks same as well.

BTW I found absolutely no docs about how to change the driver to softpipe from r300g. After hours of googling the only clue I found was 'LIBGL_ALWAYS_SOFTWARE=1' in a comment on a phoronix forum.

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
#9 lore raw

[Bug 28994] [r300c] [r300g] skybox in ut2004 is not seamless

In reply to [email protected]

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

--- Comment #8 from Marek Olšák <[email protected]> 2010-12-17 11:32:44 PST --- (In reply to comment #7)

Quoted 3 lines

You were a bit hasty (less than 4 hours between the question and the bug close?). Here it still looks exactly like on the attached screenshot. I also checked it with softpipe, and that looks same as well.

I wonder why the skybox renders correctly only on r5xx...

Quoted 4 lines

BTW I found absolutely no docs about how to change the driver to softpipe from r300g. After hours of googling the only clue I found was 'LIBGL_ALWAYS_SOFTWARE=1' in a comment on a phoronix forum.

Create an empty directory, add a swrast_dri.so symlink there that points to swrastg_dri.so or whatever driver you need. Set LIBGL_DRIVERS_PATH for it to contain the path to that directory. Every 3D application will then look for $LIBGL_DRIVERS_PATH/r300_dri.so, which wouldn't be there. Then it will look for $LIBGL_DRIVERS_PATH/swrast_dri.so and load it.

To get r300g:
LIBGL_DRIVERS_PATH=/home/..../mesa/lib/gallium glxinfo

To get r300c:
LIBGL_DRIVERS_PATH=/home/..../mesa/lib glxinfo

To get swrast:
ln -s /home/..../mesa/lib/swrast_dri.so /some-path/swrast_dri.so LIBGL_DRIVERS_PATH=/some-path glxinfo

To get llvmpipe (assumming you build with --enable-gallium-llvm):
ln -s /home/..../mesa/lib/gallium/swrastg_dri.so /some-path/swrast_dri.so LIBGL_DRIVERS_PATH=/some-path glxinfo

To get softpipe (assumming you build with --enable-gallium-llvm):
ln -s /home/..../mesa/lib/gallium/swrastg_dri.so /some-path/swrast_dri.so LIBGL_DRIVERS_PATH=/some-path GALLIUM_DRIVER=softpipe glxinfo

Or you may use LIBGL_ALWAYS_SOFTWARE, but I don't use that.

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
#10 lore raw

[Bug 28994] [r300c] [r300g] skybox in ut2004 is not seamless

In reply to [email protected]

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

--- Comment #9 from Álmos <[email protected]> 2010-12-17 13:21:36 PST --- (In reply to comment #8)

Quoted 1 line

I wonder why the skybox renders correctly only on r5xx...

Maybe you set world detail=low, which removes the clouds (and the visible skybox)...

Quoted 6 lines
Quoted 5 lines

BTW I found absolutely no docs about how to change the driver to softpipe from r300g. After hours of googling the only clue I found was 'LIBGL_ALWAYS_SOFTWARE=1' in a comment on a phoronix forum.

Quoted 7 lines

Create an empty directory, add a swrast_dri.so symlink there that points to swrastg_dri.so or whatever driver you need. Set LIBGL_DRIVERS_PATH for it to contain the path to that directory. Every 3D application will then look for $LIBGL_DRIVERS_PATH/r300_dri.so, which wouldn't be there. Then it will look for $LIBGL_DRIVERS_PATH/swrast_dri.so and load it.

.....

Neat trick. Should be added to a readme or fd.o wiki.

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
#11 lore raw

[Bug 28994] [r300c] [r300g] skybox in ut2004 is not seamless

In reply to [email protected]

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

--- Comment #10 from Marek Olšák <[email protected]> 2010-12-17 13:31:22 PST --- (In reply to comment #9)

Quoted 5 lines

(In reply to comment #8)

Quoted 1 line

I wonder why the skybox renders correctly only on r5xx...

Maybe you set world detail=low, which removes the clouds (and the visible skybox)...

I have "world detail" set to high.

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
#12 lore raw

[Bug 28994] [r300c] [r300g] skybox in ut2004 is not seamless

In reply to [email protected]

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

--- Comment #11 from Álmos <[email protected]> 2010-12-17 14:15:16 PST --- (In reply to comment #10)

Quoted 8 lines

(In reply to comment #9)

Quoted 5 lines

(In reply to comment #8)

Quoted 1 line

I wonder why the skybox renders correctly only on r5xx...

Maybe you set world detail=low, which removes the clouds (and the visible skybox)...

I have "world detail" set to high.

I'm out of ideas then. What's the situation on i965 or nouveau or r600g?

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
#13 lore raw

[Bug 28994] [r300c] [r300g] skybox in ut2004 is not seamless

In reply to [email protected]

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

--- Comment #12 from Álmos <[email protected]> 2010-12-21 12:41:58 PST ---

Quoted 1 line

I wonder why the skybox renders correctly only on r5xx...

I found out what the possible difference is between our setups: you are running it with UseVBO=False, and I'm running it with UseVBO=True in the UT2004.ini. The former renders the sky correctly, the latter renders much faster.

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
#14 lore raw

[Bug 28994] [r300c] [r300g] skybox in ut2004 is not seamless

In reply to [email protected]

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

Álmos <[email protected]> changed:

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

             Status|REOPENED                    |RESOLVED
         Resolution|                            |NOTOURBUG

--- Comment #13 from Álmos <[email protected]> 2010-12-22 07:27:54 PST --- Today I had the chance to try it on a geforce fx5200 with the blob driver, and the skybox is visible on the torlan level with usevbo=true; thus, it is a bug in the game. Sorry for the false alarm.

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