okay...
Posted: Thu Mar 19, 2009 11:13 pm
guess ill have to be the Guineae pig on this one.
*The* place for Snes9x related topics
https://www.snes9x.com/phpbb3/
Code: Select all
./configure --with-opengl --with-gtk --with-joystick --with-debugger
sudo apt-get install build-dep snes9x
sudo apt-get install zlibg1-dev
sudo apt-get install zlibgl-dev
(neither of which exist)
You need to do the configure and make process in the gtk subdirectory. It's a separate configure script now.WhyDoIHaveToRegister wrote:So I got rev 69 and did:and I am STILL getting "no rule to make unix/unix.o".Code: Select all
./configure --with-opengl --with-gtk --with-joystick --with-debugger sudo apt-get install build-dep snes9x sudo apt-get install zlibg1-dev sudo apt-get install zlibgl-dev (neither of which exist)
I tried --with-x as well.
There is a libgl-dev (as opposed to zlibg1-dev), but it has no installation candidate.
Code: Select all
snes9x_gtk-debug.o: In function `S9xDoDebug':
debug.cpp:(.text+0x41f8): undefined reference to `S9xTextMode'
debug.cpp:(.text+0x4280): undefined reference to `S9xGraphicsMode'
collect2: ld returned 1 exit status
make[1]: *** [snes9x-gtk] Error 1
You're trying to mangle together two different build configurations. You need to 'make clean'.WhyDoIHaveToRegister wrote:OK, now I get this error:The GTK configure script doesn't recognize --with-x. I also added --with-netplay (why not?), but I doubt that's causing this problem.Code: Select all
snes9x_gtk-debug.o: In function `S9xDoDebug': debug.cpp:(.text+0x41f8): undefined reference to `S9xTextMode' debug.cpp:(.text+0x4280): undefined reference to `S9xGraphicsMode' collect2: ld returned 1 exit status make[1]: *** [snes9x-gtk] Error 1
Start over by removing the directory and extracting again. Make sure to do everything with the gtk sub-directory as the current working directory.WhyDoIHaveToRegister wrote:Still the same error.
Code: Select all
[bill@localhost ~]$ ldd /usr/bin/snes9x-gtk
linux-vdso32.so.1 => (0x00100000)
libgtk-x11-2.0.so.0 => /usr/lib/libgtk-x11-2.0.so.0 (0x00f50000)
libgdk-x11-2.0.so.0 => /usr/lib/libgdk-x11-2.0.so.0 (0x00670000)
libatk-1.0.so.0 => /usr/lib/libatk-1.0.so.0 (0x0f690000)
libgdk_pixbuf-2.0.so.0 => /usr/lib/libgdk_pixbuf-2.0.so.0 (0x0f660000)
libpangocairo-1.0.so.0 => /usr/lib/libpangocairo-1.0.so.0 (0x0f640000)
libpango-1.0.so.0 => /usr/lib/libpango-1.0.so.0 (0x0eef0000)
libcairo.so.2 => /usr/lib/libcairo.so.2 (0x0f300000)
libgobject-2.0.so.0 => /lib/libgobject-2.0.so.0 (0x0f240000)
libgmodule-2.0.so.0 => /lib/libgmodule-2.0.so.0 (0x0fb80000)
libdl.so.2 => /lib/libdl.so.2 (0x0fe10000)
libglib-2.0.so.0 => /lib/libglib-2.0.so.0 (0x0ebf0000)
libgthread-2.0.so.0 => /lib/libgthread-2.0.so.0 (0x0fc00000)
libglade-2.0.so.0 => /usr/lib/libglade-2.0.so.0 (0x0fac0000)
libxml2.so.2 => /usr/lib/libxml2.so.2 (0x0ef90000)
libz.so.1 => /usr/lib/libz.so.1 (0x0fcc0000)
libm.so.6 => /lib/libm.so.6 (0x0fd30000)
libportaudio.so.2 => /usr/lib/libportaudio.so.2 (0x0f780000)
libpthread.so.0 => /lib/libpthread.so.0 (0x0fcf0000)
libpng12.so.0 => /usr/lib/libpng12.so.0 (0x0f3c0000)
libSDL-1.2.so.0 => /usr/lib/libSDL-1.2.so.0 (0x003e0000)
libXv.so.1 => /usr/lib/libXv.so.1 (0x0f1f0000)
libXtst.so.6 => /usr/lib/libXtst.so.6 (0x007b0000)
libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x00530000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x003b0000)
libc.so.6 => /lib/libc.so.6 (0x0fe40000)
libX11.so.6 => /usr/lib/libX11.so.6 (0x0f8e0000)
libXext.so.6 => /usr/lib/libXext.so.6 (0x0fa90000)
libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0x0f7f0000)
libXrender.so.1 => /usr/lib/libXrender.so.1 (0x0f7d0000)
libXinerama.so.1 => /usr/lib/libXinerama.so.1 (0x0f580000)
libXi.so.6 => /usr/lib/libXi.so.6 (0x0f210000)
libXrandr.so.2 => /usr/lib/libXrandr.so.2 (0x0f600000)
libXcursor.so.1 => /usr/lib/libXcursor.so.1 (0x0f5e0000)
libXfixes.so.3 => /usr/lib/libXfixes.so.3 (0x0f620000)
libpangoft2-1.0.so.0 => /usr/lib/libpangoft2-1.0.so.0 (0x0f2b0000)
libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x0f840000)
librt.so.1 => /lib/librt.so.1 (0x0fc90000)
/lib/ld.so.1 (0x0ffc0000)
libasound.so.2 => /lib/libasound.so.2 (0xf7ec1000)
libjack.so.0 => /usr/lib/libjack.so.0 (0x0fc60000)
libesd.so.0 => /usr/lib/libesd.so.0 (0x00390000)
libaudiofile.so.0 => /usr/lib/libaudiofile.so.0 (0x002d0000)
libaudio.so.2 => /usr/lib/libaudio.so.2 (0x001b0000)
libXt.so.6 => /usr/lib/libXt.so.6 (0x00ac0000)
libXau.so.6 => /usr/lib/libXau.so.6 (0x0fb60000)
libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0x0fb40000)
libexpat.so.0 => /lib/libexpat.so.0 (0x0fa50000)
libSM.so.6 => /usr/lib/libSM.so.6 (0x0ea30000)
libICE.so.6 => /usr/lib/libICE.so.6 (0x0ecc0000)
[bill@localhost ~]$ file /usr/bin/snes9x-gtk
/usr/bin/snes9x-gtk: ELF 32-bit MSB executable, PowerPC or cisco 4500, version 1 (SYSV), for GNU/Linux 2.6.9, dynamically linked (uses shared libs), for GNU/Linux 2.6.9, stripped
Yeah, I noticed the same problem. It's related to the screensaver disabling code. There's been a fix in SVN for several days. I'll release a new version momentarily.ps3bodega wrote:Hi -- I have been building snes9x-gtk RPM packages for YDL / PS3 since around version 27 or so.
Since updating from 67 to 69 there seems to be a problem ... I didn't notice it at first, but about every second or so games will "jerk" or freeze up. I'm seeing it in multiple games (tried Super Mario World and Donkey Kong Country) with the same result.
It's not your fault. I was tweaking things because XSync was forcing my XVideo driver to buffer swap early. The version I went back to is the XTestFakeKeyEvent lines without the XSyncs. I still see key-up, key-down events without them, and there's no big skips (these didn't happen with your code) or very small vsync hiccups with XVideo (these did).byuu wrote:Ah, sorry for the trouble that caused. There must be something else in my GTK+ codebase, as I've never had a problem with X-Video + XTestFakeKeyEvent. Anyway, not a huge deal. If I recall the only thing XResetScreenSaver didn't work with was the retro xscreensaver package, which nobody should be using anymore anyway.BearOso wrote:Yeah, I noticed the same problem. It's related to the screensaver disabling code. There's been a fix in SVN for several days. I'll release a new version momentarily.
Does the xdg-screensaver tool do the right thing?BearOso wrote:XResetScreenSaver seems to work with gnome-screensaver and kde3's screensaver at the least. Unfortunately, gnome-power-manager ignores it and blanks the monitor. They're supposed to standardize on a org.freedesktop.ScreenSaver dbus interface eventually, but gss/gpm doesn't provide it yet. So the best fix is still the fake key events.
It doesn't have support for KDE 4. I'm also not sure about GTK keeping the top-level window id the same. It's also another dependency. I don't really feel inclined to try yet another method, either.Screwtape wrote: Does the xdg-screensaver tool do the right thing?
How do I prevent xscreensaver from blanking the screen when I'm watching movies on my computer?
... You should ask the author of the movie-playing software you are using to add explicit support for xscreensaver to their program.
Ah, apparently that's bug 17537. The bug mentions that KDE 4 support has been applied to CVS but it's anybody's guess when a new version might be released. *sigh*BearOso wrote:It doesn't have support for KDE 4.Screwtape wrote: Does the xdg-screensaver tool do the right thing?
...huh? Window IDs are handed out by the X server, not by GTK+ as long as the top-level window is around (mapped or unmapped, maximized, minimized or shaded) it will have the same window ID. Of course, once the top-level window closes it won't have the same window ID, but at that point you don't care whether the screensaver comes on or not.BearOso wrote: I'm also not sure about GTK keeping the top-level window id the same.
Fair enough. I would expect it to be present on every modern Linux distro though - at least in Ubuntu, it's Recommended by ubuntu-desktop, kubuntu-desktop, xubuntu-desktop, ubuntustudio-desktop, ubuntu-mobile and most importantly lsb-desktop ("a standard core system that third-party applications written for Linux can depend upon."), which is also responsible for including GTK+ and Qt.It's also another dependency. I don't really feel inclined to try yet another method, either.
Well, that's kind of the point of xdg-screensaver, of course. It's a pity it seems so abandoned.All the desktop environment developers seem to think rolling their own screensavers is a good idea, then expect people to support every screensaver API under the sun.