Graphic driver freeze
Posted: Tue Aug 21, 2018 10:23 pm
Hi,
I'm developing graphic application in C++ with SFML library.
I'm using Raspberri Pi 3 b+ with GL driver with fake KMS.
Everything is going well until I make some bigger reload of textures.
I think the graphic driver runs out of memory or there is some overflow.
After that mentioned reload, the whole screen isn't re-drawed anymore.
I didn't mean just my application screen, but it looks like whole system (including all other applications), except mouse.
So, I tried to kill Xorg but I just get a black screen with mouse. Only reboot helped.
On /var/logs/messages I found
BTW setting memory split didn't make any change. I've tried 128,256,512 values.
Is there any other logs to check what is going wrong?
Is there a possibility to turn on some diagnostic logs or check memory allocations on GPU?
Thanks
I'm developing graphic application in C++ with SFML library.
I'm using Raspberri Pi 3 b+ with GL driver with fake KMS.
Everything is going well until I make some bigger reload of textures.
I think the graphic driver runs out of memory or there is some overflow.
After that mentioned reload, the whole screen isn't re-drawed anymore.
I didn't mean just my application screen, but it looks like whole system (including all other applications), except mouse.
So, I tried to kill Xorg but I just get a black screen with mouse. Only reboot helped.
On /var/logs/messages I found
Code: Select all
Aug 21 21:40:04 raspberrypi kernel: [ 196.627196] [drm] kernel: 9000kb BOs (1)
Aug 21 21:40:04 raspberrypi kernel: [ 196.627204] [drm] V3D: 219628kb BOs (92)
Aug 21 21:40:04 raspberrypi kernel: [ 196.627210] [drm] V3D shader: 208kb BOs (50)
Aug 21 21:40:04 raspberrypi kernel: [ 196.627217] [drm] dumb: 16kb BOs (1)
Aug 21 21:40:12 raspberrypi kernel: [ 203.903494] Voltage normalised (0x00000000)
Aug 21 21:40:20 raspberrypi kernel: [ 211.794425] [drm] kernel: 9000kb BOs (1)
Aug 21 21:40:20 raspberrypi kernel: [ 211.794429] [drm] V3D: 222740kb BOs (109)
Aug 21 21:40:20 raspberrypi kernel: [ 211.794432] [drm] V3D shader: 208kb BOs (50)
Aug 21 21:40:20 raspberrypi kernel: [ 211.794435] [drm] dumb: 16kb BOs (1)
Aug 21 21:40:20 raspberrypi kernel: [ 211.795019] [drm] kernel: 9000kb BOs (1)
Aug 21 21:40:20 raspberrypi kernel: [ 211.795023] [drm] V3D: 221716kb BOs (108)
Aug 21 21:40:20 raspberrypi kernel: [ 211.795026] [drm] V3D shader: 208kb BOs (50)
Aug 21 21:40:20 raspberrypi kernel: [ 211.795029] [drm] dumb: 16kb BOs (1)
Aug 21 21:40:20 raspberrypi kernel: [ 211.795296] [drm] kernel: 9000kb BOs (1)
Aug 21 21:40:20 raspberrypi kernel: [ 211.795300] [drm] V3D: 221716kb BOs (108)
Aug 21 21:40:20 raspberrypi kernel: [ 211.795303] [drm] V3D shader: 208kb BOs (50)
Aug 21 21:40:20 raspberrypi kernel: [ 211.795306] [drm] dumb: 16kb BOs (1)
Is there any other logs to check what is going wrong?
Is there a possibility to turn on some diagnostic logs or check memory allocations on GPU?
Thanks