[NV42/NV30 gallium] UrbanTerror4.2 gets parts of images cut off
Submitted by Ronald
Assigned to Nouveau Project
The fairly recent nvfx -> nv30 driver rework causes a regression in UrbanTerror 4.2 (beta 5). I have not been able to test other beta's or games.
The card identifies itself as:
01:00.0 VGA compatible controller: NVIDIA Corporation G73 [GeForce 7300 GT] (rev a1) (prog-if 00 [VGA controller]) Subsystem: ASUSTeK Computer Inc. Device 820e 01:00.0 0300: 10de:0393 (rev a1) (prog-if 00 [VGA controller]) Subsystem: 1043:820e
[ 0.312762] nouveau [ DEVICE][0000:01:00.0] Chipset: G73 (NV4B) [ 0.312764] nouveau [ DEVICE][0000:01:00.0] Family : NV40
The problem, is that exactly after the 'big change' the gamescreen loads partially. I have screenshosts attached.
The game itself seems to work fine, but almost 75% to 90% of the loading screen is still on top of it. The first glitches appear during loading. After the game has loaded the map, then it seems that the screen 'rips'. Again check the screenshots for this. This behaviour only occurs on some maps, not all. Some of them:
- Maybe more...
The way the screen 'distorts' differs per map or per game setting. Sometimes it's a only a triangular shape on the top left upper corner of the game that is visible. So it doesn't have to be across the entire screen.
The tested git versions are:
bad mesa: f2509df9 libdrm: 292da616fe1f936ca78a3fa8e1b1b19883e343b6
good mesa: 1f2b5394 (5 commits difference) libdrm: 0d6350002d74848dd3d1e4d28d514a7ac9d580c9 (1 commit difference)
Testing latest git of mesa and libdrm did not fix the problem.
I could not test a single commit since the rework seems to take up several patches. I.e. removing and adding the new 3D driver is done in two seperate patches as is porting to libdrm2.0 which depends on this. So in order to test this without building errors I had to skip 5 patches instead of 1 unfortunately.
I have attached several logs and screenshots that will hopefully help you further.