Shaders are broken since 0.17 on intel SNB & linux

Support for running, installing or compiling OpenMW

Before you submit a bug report for the first time, please read: Bug reporting guidelines
umd
Posts: 7
Joined: 01 Oct 2012, 18:56

Re: Shaders are broken since 0.17 on intel SNB & linux

Post by umd »

Same thing with nouveau driver and geforce 9800. Looks like something wrong to Mesa.
eshep
Posts: 5
Joined: 14 Dec 2012, 06:05

Re: Shaders are broken since 0.17 on intel SNB & linux

Post by eshep »

umd wrote:by umd » 29 Nov 2012, 16:41
I've tried running with LIBGL_ALWAYS_SOFTWARE=1 and still have black screen. I've also built 0.19 from sources, but it didn't help either.
I had some problems with the Shaders setting using as well. Here were my results:
$ omwlauncher
- glsl: All I got were ground textures and water, everything else is striped lines of white and transparent with the regular images underneath.
- off: I got everything except the ground, it was all white with no shading.
- cg: Everything turns a solid color (different/area) and is shaded, water being a solid light blue.

$ LIBGL_ALWAYS_SOFTWARE=1 omwlauncher
- glsl: Everything shows up but there is a huge fps drop normal is around 40-60, this time it was 3-9.
- off: Same as normal but with tremendous fps drop.
- cg: Same as normal but with tremendous fps drop.
umd
Posts: 7
Joined: 01 Oct 2012, 18:56

Re: Shaders are broken since 0.17 on intel SNB & linux

Post by umd »

eshep wrote: $ LIBGL_ALWAYS_SOFTWARE=1 omwlauncher
- glsl: Everything shows up but there is a huge fps drop normal is around 40-60, this time it was 3-9.
- off: Same as normal but with tremendous fps drop.
- cg: Same as normal but with tremendous fps drop.
Can you tell what software renderer are you using?

Code: Select all

LIBGL_ALWAYS_SOFTWARE=1 glxinfo | grep renderer
Mine is: "Gallium 0.4 on llvmpipe (LLVM 0x301)", but maybe it works on "softpipe".
gsedej
Posts: 6
Joined: 12 May 2012, 23:33

Re: Shaders are broken since 0.17 on intel SNB & linux

Post by gsedej »

Hi,

I have tried running openmw 0.20 on ubuntu 12.10 on multiple machines, but it always failed with error

Code: Select all

LLVM ERROR, Program used external function '' which could not be resolved!
can someone else check?

I tested on Atom z520+kubuntu 12.10, Celeron M1500+Kubuntu12.10

EDIT: it does work with glsl, but very slow (cpu C2D e6550) - almost 0 fps. without shaders, i can get 5 -10 fps outside
marzoul
Posts: 9
Joined: 09 Mar 2013, 12:18

Re: Shaders are broken since 0.17 on intel SNB & linux

Post by marzoul »

Hi, my screen is also black with OpenMW 0.21, under ArchLinux, x86-64, Nvidia hardware, Nouveau driver.

Well, not exacltly black: some shades appear sometimes, I think it is the reflect in water. Shapes of buildings, inverted, can be seen.
The minimap and health statuses are displayed correctly. I can move, see inventory, etc.
It seems this display problem is the only one I've got (but I can't play much like that).

My hardware is Nvidia 8600M GT (512MB dedicated), laptop Acer Aspire 5920G. I use the Nouveau driver.
As I used to play Morrowind on a Pentium III 500MHz with a 32MB video card, my current HW should NOT be bottleneck in any way ;)

The Ogre log contains useful information. However, this file is HUGE and errors are dumped several dozens a second. See attached .zip for the log files.

The first error in Ogre.log, also the most frequent error, is:
12:41:02: GLSL compile log: openmw_objects_vertex_8273605309678544390:6(91): preprocessor error: syntax error, unexpected OTHER, expecting INTEGER or INTEGER_STRING or NEWLINE

EDIT: another very important bug is that the meory usage steadily increases... until I close OpenMW. There is a huge memory leak in OpenMW (or Ogre ?)
Attachments
openmw.zip
OpenMW and Ogre logs when screen stays black
(41.14 KiB) Downloaded 235 times
marzoul
Posts: 9
Joined: 09 Mar 2013, 12:18

Re: Shaders are broken since 0.17 on intel SNB & linux

Post by marzoul »

Version 0.22 solves the issue for me.
Locked