forums.ps2dev.org Forum Index forums.ps2dev.org
Homebrew PS2, PSP & PS3 Development Discussions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Weird rendering problem: render 2 times at 1/4 size

 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development
View previous topic :: View next topic  
Author Message
dr_watson



Joined: 28 Nov 2005
Posts: 42

PostPosted: Sun Oct 28, 2007 11:21 pm    Post subject: Weird rendering problem: render 2 times at 1/4 size Reply with quote

Has anyone experienced this before? As shown in the screen shot below, the screen is rendered 2 times at 1/4 size.

The display mode used was set to 8888 and it seemed like the screen was rendered as it was 4444 or other 16bit pixel format.

The weird thing about it was that the problem seemed to be quite random. Sometimes few lines of code changes would make it go away but then sometimes it happens again with no obvious reason.

It was suggested the problem could be related to cache so I put a "sceKernelDcacheWritebackAll();" at the end of my render function but it didn't solve the problem completely.

Anyone has any ideas?


Back to top
View user's profile Send private message
Raphael



Joined: 17 Jan 2006
Posts: 646
Location: Germany

PostPosted: Mon Oct 29, 2007 12:04 am    Post subject: Reply with quote

Try increasing your display list. Also, check your whole program for any possible buffer/stack overflows.
_________________
<Don't push the river, it flows.>
http://wordpress.fx-world.org - my devblog
http://wiki.fx-world.org - VFPU documentation wiki

Alexander Berl
Back to top
View user's profile Send private message Visit poster's website
ufoz



Joined: 10 Nov 2005
Posts: 86
Location: Tokyo

PostPosted: Mon Oct 29, 2007 3:29 am    Post subject: Reply with quote

I used to get this randomly and the problem would go away on its own in a different build with irrelevant changes (also randomly depending on wether or not I was using psplink at the time)
Back to top
View user's profile Send private message Visit poster's website AIM Address MSN Messenger
dot_blank



Joined: 28 Sep 2005
Posts: 498
Location: Brasil

PostPosted: Mon Oct 29, 2007 8:37 am    Post subject: Reply with quote

also this could happen if you set your framebuffers to 1/4 the size
if you change FRAME SIZE to lower than 512

also check sceDisplayBuffer & sceDrawBuffer
_________________
10011011 00101010 11010111 10001001 10111010
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development All times are GMT + 10 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group