-
Notifications
You must be signed in to change notification settings - Fork 49
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Shaders do not work with open-source Radeon drivers (r600) #25
Comments
Looking at r600_state_common.c:
r600_shader_from_tgsi() is a 700 line monster :D |
o.o;; I have no idea what's going on there, but, we are doing some crazy things and I would wager that it's a good bit out of the open source driver's league. |
takes offence at your classicism of drivers :P Radeon has improved a lot of the last few years and ATI now pays devs to work on it. Would it be possible to report a bug upstream to mesa for this? |
You absolutely can. Though the shader is so complicated it's likely going to be difficult for them to diagnose the exact problem. Perhaps you could take to editing the various .vert and .frag's to see if you can get it to work. |
References for when I have more of a stab at this: |
I found my way here through the links in the previous post, to the pioneer issue 2176, whcih we now understand better: pioneerspacesim/pioneer#3721, if it helps. |
Terrain is not rendered properly, but HUD text is. Moving the mouse and entering commands (movement, noclip, etc) does not change the view in the slightest, but it very subtly appears that I'm falling.
![noeuclid](https://cloud.githubusercontent.com/assets/6168874/4990315/b6172282-69d9-11e4-941f-3e7e17057082.png)
Console log spams this message:
Apparently r600_shader.c does not support TGSI (unrelated project, might not be true):
Workaround
Force software rendering (completely unplayable, ~1FPS):
$ export LIBGL_ALWAYS_SOFTWARE=1
$ ./noeuclid
Hardware & Software
mesa 10.3.3-1
Radeon Radeon HD 6790 (Barts LE)
Linux 3.17.2-1-ARCH #1 SMP PREEMPT x86_64
(graphics drivers tied to kernel version)
EDIT: Small changes in problem after I updated my system. Originally the game was completely black except for the HUD text.
The text was updated successfully, but these errors were encountered: