Open auriamg opened 10 years ago
Author: auria Since this works correctly with other drivers, I will assume that this is a driver issue? Applying scissors isn't especially easy since we don't render directly to OpenGL, but use the irrlicht render engine. The proper thing to do would probably rather to report this bug to the developers of the nouveau driver so that they automatically apply scissors to an opened viewport, since that is the correct behavior, and I'm not sure we want to work around driver bugs in STK
Author: mungewell yes it is a limitation of the Nouveau driver (viewport does not clip).
However Ubunutu is moving most nvidia cards to the nouveau driver in the next release, so you may want to implement the 'scissor' before that comes out... :-)
Author: kroartem Replying to auria:
It happens for me too with such drivers:
OpenGL vendor string: Intel Open Source Technology Center
OpenGL renderer string: Mesa DRI Intel(R) Sandybridge Mobile
OpenGL version string: 3.0 Mesa 8.1-devel
OpenGL shading language version string: 1.30
Author: curaga Nouveau is correct here, GL viewport does not clip: see part 10 at http://www.opengl.org/archives/resources/features/KilgardTechniques/oglpitfall/
Whether this should be fixed in STK or irr remains to be decided.
Hi all, moved my machine over to the Nouveau driver (from Nvidia propriatory driver) and noticed that the split screens no longer function properly.
In a 2 player game the top screen is displayed full screen, and the lower screen is not seen (except a few things like the 'rescue bird' show through).
Exactly the same issue was seen with SpeedDreams, their bug report and patch here: https://sourceforge.net/apps/trac/speed-dreams/ticket/400
Basically you need a scissor to limit the drawing extremes of the split screen.
Cheers, Simon.
Migrated-From: https://sourceforge.net/apps/trac/supertuxkart/t/ticket/605