[GH-ISSUE #55] No screen clear on Linux #16

Closed
opened 2026-03-17 03:05:28 +03:00 by kerem · 5 comments
Owner

Originally created by @libcg on GitHub (Nov 16, 2012).
Original GitHub issue: https://github.com/hrydgard/ppsspp/issues/55

I'm testing some of my personal homebrew on ppsspp.
First, and maybe only thing I notice on a basic game is that there is no screen clear...

Starting the game : http://image.noelshack.com/fichiers/2012/46/1353093175-capture-du-2012-11-16-20-08-22.png
After a while.. : http://image.noelshack.com/fichiers/2012/46/1353093175-capture-du-2012-11-16-20-08-09.png

This game uses my own graphics library : https://github.com/GeeckoDev/gLib2D/blob/master/glib2d.c#L292
I would like to fix this but I don't know where to start.

Linux 3.6.6 - Mesa 9.0 - Gnome 3.6.2

Originally created by @libcg on GitHub (Nov 16, 2012). Original GitHub issue: https://github.com/hrydgard/ppsspp/issues/55 I'm testing some of my personal homebrew on ppsspp. First, and maybe only thing I notice on a basic game is that there is no screen clear... Starting the game : http://image.noelshack.com/fichiers/2012/46/1353093175-capture-du-2012-11-16-20-08-22.png After a while.. : http://image.noelshack.com/fichiers/2012/46/1353093175-capture-du-2012-11-16-20-08-09.png This game uses my own graphics library : https://github.com/GeeckoDev/gLib2D/blob/master/glib2d.c#L292 I would like to fix this but I don't know where to start. Linux 3.6.6 - Mesa 9.0 - Gnome 3.6.2
kerem closed this issue 2026-03-17 03:05:33 +03:00
Author
Owner

@hrydgard commented on GitHub (Nov 16, 2012):

Play around with the code in /GPU and /GPU/GLES . I've seen a similar issue with cube.elf on MacOSX so there's something going on...

<!-- gh-comment-id:10461660 --> @hrydgard commented on GitHub (Nov 16, 2012): Play around with the code in /GPU and /GPU/GLES . I've seen a similar issue with cube.elf on MacOSX so there's something going on...
Author
Owner

@Xele02 commented on GitHub (Nov 16, 2012):

I've added in NativeApp.cpp in function NativeRender a glClear after glViewport to test. This has corrected problem with virtual key display refresh, and correct clean on a game load.

<!-- gh-comment-id:10466086 --> @Xele02 commented on GitHub (Nov 16, 2012): I've added in NativeApp.cpp in function NativeRender a glClear after glViewport to test. This has corrected problem with virtual key display refresh, and correct clean on a game load.
Author
Owner

@hrydgard commented on GitHub (Nov 17, 2012):

The game is supposed to clear the screen itself by drawing a rectangle, the emu shouldn't have to do it explicitly, so there's a real bug somewhere.

<!-- gh-comment-id:10474406 --> @hrydgard commented on GitHub (Nov 17, 2012): The game is supposed to clear the screen itself by drawing a rectangle, the emu shouldn't have to do it explicitly, so there's a real bug somewhere.
Author
Owner

@hrydgard commented on GitHub (Dec 5, 2012):

Try it now, I fixed an issue that had this effect on MacOSX for me.

<!-- gh-comment-id:11041964 --> @hrydgard commented on GitHub (Dec 5, 2012): Try it now, I fixed an issue that had this effect on MacOSX for me.
Author
Owner

@libcg commented on GitHub (Dec 6, 2012):

I can confirm this is now fixed. Awesome, thank you!

Also: ppsspp is on the AUR, can you add it to the website? https://aur.archlinux.org/packages/ppsspp-git/

<!-- gh-comment-id:11090125 --> @libcg commented on GitHub (Dec 6, 2012): I can confirm this is now fixed. Awesome, thank you! Also: ppsspp is on the AUR, can you add it to the website? https://aur.archlinux.org/packages/ppsspp-git/
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/ppsspp#16
No description provided.