tordanik / OSM2World

converter that creates three-dimensional models of the world from OpenStreetMap data
http://osm2world.org/
GNU Lesser General Public License v3.0
563 stars 124 forks source link

hedges turn to black #58

Closed Matthias84 closed 11 years ago

Matthias84 commented 11 years ago

Hi, the newest rendering of the O2W web map contains hedges with just black colour oO http://maps.osm2world.org/?zoom=18&lat=54.07464&lon=12.10841&layers=B0TTFF

I guess this is a bug?

PedaB commented 11 years ago

That's a bug in the linux intel graphics drivers which one of the render servers uses. We're aware of the problem and as a workaround we can reboot that server every 3-4 days. I fixed that tile manually for now.

Matthias84 commented 11 years ago

Again, there seems to be a server problem and green turns to black: http://maps.osm2world.org/?zoom=17&lat=54.07486&lon=12.11155 :(

tordanik commented 11 years ago

We forgot to reboot the server this time. Unfortunately, we still haven't found a proper solution for the root issue.

tordanik commented 11 years ago

Reopened because there are no robust mechanisms in place yet to prevent it from occurring again.

For the record, this is how the problem typically appears (in this case for surfaces with a grass texture):

black spots instead of grass

hjanetzek commented 11 years ago

Have you compared performance with mesas software gl implementation? I guess it could be more reliable

http://www.mesa3d.org/llvmpipe.html

PedaB commented 11 years ago

@hjanetzek we actually use software rendering on the slower servers. On the fast servers hardware gl is about twice as fast as software rendering (although last performance tests were quite a while back)

@tordanik you can close this bug as the problem is fixed.

For the solution: This seems to be a problem with the intel driver running out of descriptors for buffered objects which in turn cause black textures. Switching to the non-default acceleration method "sna" fixes the problem. Add Option "AccelMethod" "sna" to xorg.conf to switch to "sna".