Author Topic: Strange problems about the nesemu  (Read 2619 times)

vimrc (OP)

  • Posts: 66
Strange problems about the nesemu
« on: October 29, 2009, 10:55:11 pm »
Hi, guys,

Update: I am sorry, it's not the nesemu's fault. Problem solved.  

I met four strange problems when I tried to execute the latest nesemu 0.2 for Dingux:

1. I found if I enable the IPU in zImage, nesemu will cause segment fault 100% even though I am in telnet mode or use dmenu0.3, Maybe IPU will occupy about 4MB memory?

2. dmenu 0.4 will crash the nesemu, it's known. Still more memory compared with the dmenu 0.3?

3. Well, disable IPU and it works well if you execute it in telnet. However, If I use GDB to execute it in telnet, it will display segment fault in memset() function. (I think the latest version of nesemu is complied with the debug parameter, thank you. ) GDB will eat some memory...

4. When the nesemu is running (Just the GUI, no game is runing), the whole system becomes quite slow (You can comment the dmenu in /sbin/main file, and add nesemu to /sbin/main/. Now the terminal cursor should be released, then you can use "top" to see sth. Maybe you want to execute it using "nesemu &", but the system will become much slower than the previous case, you can do nothing.). I tried to edit one file via vim, and vim almost freezed. Memory again.

Don't you think the memset() is the source of problems? Or nesemu is very memory-hungry? Maybe it's better to decrease the size of memory assigned to memset().  What do you think about these strange problems? Thank you for your suggestions because I still prefer the dmenu0.4.  :)
« Last Edit: November 01, 2009, 05:44:18 pm by vimrc »

DEADBEEF

  • Posts: 25
    • たのしいDINGUX
Re: Strange problems about the nesemu
« Reply #1 on: November 03, 2009, 12:58:33 pm »
Hi, vimrc.

Thank you for your testing.
I give up the key-sound at this time.
And I build a dmenu-0.4 without key-sound.
Please test this.

http://www.mediafire.com/file/gmmln2tzmuz/dmenu-0.4-oldstyle-r91.zip

Please be careful.
I wrote in readme.txt , you must edit your theme.cfg to use this dmenu.

I can launch nesemu from this dmenu. :D
But I push X button, I got Segmentation fault again. ???

vimrc (OP)

  • Posts: 66
Re: Strange problems about the nesemu
« Reply #2 on: November 03, 2009, 03:49:44 pm »
Roger that. You are working hard. Thank you. I will check it later and give you
feedback as soon as possible.


DEADBEEF

  • Posts: 25
    • たのしいDINGUX
Re: Strange problems about the nesemu
« Reply #3 on: November 03, 2009, 11:37:52 pm »
I found some strange problem.

When I use "Grab ScreenShot" button, nesemu gone with Segmentation fault.
When I use "Save State" button in playing some game, nesemu becomes much slower.

Does anyone have same problem ?
Or ,is This problem mine only ?

Thanks.

Bouvrie

  • Posts: 124
Re: Strange problems about the nesemu
« Reply #4 on: November 05, 2009, 12:21:51 pm »
I found some strange problem.

When I use "Grab ScreenShot" button, nesemu gone with Segmentation fault.
Segmentation faults and SD card corruption on write actions (like grabbing screenshots) is a common problem. Check out my Troubleshooting and FAQ guide for possible resolutions (perhaps a modified -32K- FAT32 cluster size does the trick for now).
« Last Edit: November 05, 2009, 12:23:59 pm by Bouvrie »
Write/save problems? Segmentation faults? Black screens? Read the Troubleshooting and FAQ guide first to fix your issues! :)
SD Card readonly/corruption issues? Chkdisk /F and steer clear from DMenu: use GMenu instead!

vimrc (OP)

  • Posts: 66
Re: Strange problems about the nesemu
« Reply #5 on: November 05, 2009, 09:10:32 pm »
Hi, vimrc.

Thank you for your testing.
I give up the key-sound at this time.
And I build a dmenu-0.4 without key-sound.
Please test this.

http://www.mediafire.com/file/gmmln2tzmuz/dmenu-0.4-oldstyle-r91.zip

Please be careful.
I wrote in readme.txt , you must edit your theme.cfg to use this dmenu.

I can launch nesemu from this dmenu. :D
But I push X button, I got Segmentation fault again. ???

I have mentioned the sound problem in issue list of dmenu. For X button, it works well for me.

I found the source of dmenu updated frequently recently, so I decide to svn the stable version later. Thanks for your great work!

DEADBEEF

  • Posts: 25
    • たのしいDINGUX
Re: Strange problems about the nesemu
« Reply #6 on: November 09, 2009, 11:06:33 am »
Dmenu 0.5 released.
http://boards.dingoonity.org/dingux-releases/dmenu-0-5-release/

I can start nesemu from dmenu0.5  :D

vimrc (OP)

  • Posts: 66
Re: Strange problems about the nesemu
« Reply #7 on: November 09, 2009, 08:03:18 pm »
Well done! I will try it soon!

codiak

  • Guest
Re: Strange problems about the nesemu
« Reply #8 on: November 10, 2009, 08:08:46 pm »
I can confirm that too. It works with dmenu 0.5