libretro / common-shaders

Collection of commonly used Cg shaders. These shaders are usable by either HLSL and/or Cg runtime compilers. The cg2glsl script will translate most of these into GLSL shaders.
http://www.libretro.com
1.03k stars 250 forks source link

crt-royale-fake-bloom-intel.cgp freeze retroarch on linux #29

Open mac1202 opened 9 years ago

mac1202 commented 9 years ago

Hello trying to use crt royale on my Intel® HD Graphics 4600 on linux but it causes a black screen and this error in console : Mesa 10.2.4 implementation error: Failed to compile vertex shader: vec4 compile failed: no register to spill

hizzlekizzle commented 9 years ago

Is that even with the crt-royale-intel.cgp variant?

almostalive commented 9 years ago

I get the same error with an Iris pro 5200. I have tried both. I've been meaning to get around to posting an issuse about this for a while but kept forgetting to but since there is one now I'm just confirming it for another gpu. When I was testing it out I tried it out in gdb to see if it would say anything and then recompiled everything needed with debug symbols to get a full output. Sadly that was before I realized that gdb backtrace shows something for everything killed with control-c, but I saved the log anyways since something might be useful in it.

https://gist.github.com/almostalive/8f18b11ed2048f3e2386

mac1202 commented 9 years ago

Sorry for late answer i was on vacation. I have the same problem with all crt royal variant fake bloom or not, intel or not.

HeuristicPerson commented 9 years ago

NUC D54250WYKH + Linux Mint 17.1 xcfe + Latest version of libretro from stable ppa (sorry, I don't have access to the computer right now so I don't know the exact version of the software installed). Same problem, I cannot use any of the crt-royale shaders.

hizzlekizzle commented 8 years ago

This issue is super-old but I just ran into it myself. I think it must be a Mesa bug/issue but I'll look into it more.