Summary: | [r300c] [r300g] skybox in ut2004 is not seamless | ||
---|---|---|---|
Product: | Mesa | Reporter: | almos <aaalmosss> |
Component: | Drivers/Gallium/r300 | Assignee: | Default DRI bug account <dri-devel> |
Status: | RESOLVED NOTOURBUG | QA Contact: | |
Severity: | normal | ||
Priority: | medium | ||
Version: | git | ||
Hardware: | x86 (IA32) | ||
OS: | All | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: | sky |
Description
almos
2010-07-09 13:07:01 UTC
Created attachment 36928 [details]
sky
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. Is this still an issue in Mesa 7.9 or the latest version from git? The problem still exists. Tested with latest version from git. The skybox looks fine here, absolutely seamless. Closing as it works for me. 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. (In reply to comment #7) > 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... > > 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. (In reply to comment #8) > I wonder why the skybox renders correctly only on r5xx... Maybe you set world detail=low, which removes the clouds (and the visible skybox)... > > > > > 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. > > ..... Neat trick. Should be added to a readme or fd.o wiki. (In reply to comment #9) > (In reply to comment #8) > > 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. (In reply to comment #10) > (In reply to comment #9) > > (In reply to comment #8) > > > 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? > 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.
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. |
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.