Graphical crash with amdgpu #118

Closed
opened 2022-09-05 16:14:31 +02:00 by kazhnuz · 1 comment
Owner

Seems that with current sonic-radiance with Ubuntu 22.04, there is a crash on the amdgpu driver:

  • The screen goes entirely black
  • An error message is present in the console

Some possibilities to investigates:

  • Test with Love 11.4
  • Test if it is affected by vsynch
  • Test on other versions of the driver (test on my Fedora laptop, and on a windows computer)
  • Add a frame redraw counter to test if there isn't too much redraw/too much textures in memory
    • Test that with a form of 12 redraw this frame (14f since last change)
  • Rewrite/fork love.run in order to better handle performance

Possibile fixes found:

  • Only redraw visible menu items
  • Add self.visible = false to every "menu" gui element of the overworld to avoid mass redraw first frame
  • Dispose of every element when a screen have been hidden
  • Use invalidation on sprite/visual change instead of invalidating every frame for animated element
Seems that with current sonic-radiance with Ubuntu 22.04, there is a crash on the amdgpu driver: - The screen goes entirely black - An error message is present in the console Some possibilities to investigates: - [x] Test with Love 11.4 - [ ] Test if it is affected by vsynch - [ ] Test on other versions of the driver (test on my Fedora laptop, and on a windows computer) - [ ] Add a frame redraw counter to test if there isn't too much redraw/too much textures in memory - Test that with a form of `12 redraw this frame (14f since last change)` - [ ] Rewrite/fork love.run in order to better handle performance Possibile fixes found: - [ ] Only redraw visible menu items - [ ] Add self.visible = false to every "menu" gui element of the overworld to avoid mass redraw first frame - [ ] Dispose of every element when a screen have been hidden - [ ] Use invalidation on sprite/visual change instead of invalidating every frame for animated element
kazhnuz added the
1. Bug
3. Question
4. Overworld
4. Menus
labels 2022-09-05 16:14:31 +02:00
kazhnuz added this to the 0 - Basic engine project 2022-09-05 16:14:33 +02:00
Author
Owner

Fix'd

Fix'd
Sign in to join this conversation.
No description provided.