Cursor disappears in fullscreen mode

Found a bug? Please report it, but remember to follow the bug reporting guidelines.
Missing a sane feature? Let us know!
But please do NOT request ports to other systems.

Moderator: ZSNES Mods

Post Reply
nornagon
New Member
Posts: 5
Joined: Sat Jul 09, 2005 9:05 am

Cursor disappears in fullscreen mode

Post by nornagon »

Hi all. I'm running Debian linux; the newly-released sarge. I have zsnes 1.42, and my kernel is one I compiled myself, version 2.6.8.

Zsnes works fine for most things -- it emulates fine in fullscreen mode, with the only nuance being that I cannot use the cursor. It simply disappears from sight.

When I switch to any fullscreen mode (I haven't actually tested that the same thing happens on every mode), the cursor will sometimes be visible until I move it. If there is no menu open, I have to hit Ctrl+Alt+F1 and killall zsnes, which seems to restart X.

I guess I can live without a cursor (or fullscreen), but I'd be much obliged if someone could tell me what is going on. As far as I know, the cursor did not disappear when I was using the debian stock kernel 2.6.8-2-386.

Thanks, zsnes, for being a really awesome emulator. ^^
Cyrus
Trooper
Posts: 480
Joined: Tue May 31, 2005 8:12 am
Location: Canada

Post by Cyrus »

I know next to nothing about linux... but did you use any sort of compression after you compiled it?
nornagon
New Member
Posts: 5
Joined: Sat Jul 09, 2005 9:05 am

Post by nornagon »

Compression on what? The executable?
paulguy
Zealot
Posts: 1076
Joined: Sat Jul 02, 2005 2:01 am
Contact:

Post by paulguy »

I think he's talking about 'strip' or UPX but your answer implies no. Did you try updating your graphics drivers?
Noxious Ninja
Dark Wind
Posts: 1271
Joined: Thu Jul 29, 2004 8:58 pm
Location: Texas
Contact:

Post by Noxious Ninja »

FireKnight wrote:I know next to nothing about linux

...


Can you try reverting to the stock kernel?
[u][url=http://bash.org/?577451]#577451[/url][/u]
nornagon
New Member
Posts: 5
Joined: Sat Jul 09, 2005 9:05 am

Post by nornagon »

I could, I guess. But I'd rather not.

My graphics drivers are the same in this kernel as they were in the stock kernel -- the fglrx drivers for my ATI Radeon 9600. I don't think that has anything to do with the cursor, though, as zsnes is SDL and the way SDL handles custom cursors has nothing to do with graphics drivers.

What I can think of is that maybe SDL is reporting the mouse position incorrectly.

I'll have a look through the code and try to work out what's going on. I wish I knew how to use gdb...

[edit] I looked through linux/sdllink.c and linux/sw_draw.c and linux/gl_draw.c and I couldn't find the source of the problem... I also looked at gui/guimouse.asm, but I don't know assembler so :?
Post Reply