Zsnes: Resolutions with OpenGL do not initiate: Black screen

General area for talk about ZSNES. The best place to ask for related questions as well as troubleshooting.

Moderator: ZSNES Mods

Post Reply
Kyo Olhos Demoniacos
New Member
Posts: 5
Joined: Wed Feb 21, 2007 1:00 am

Zsnes: Resolutions with OpenGL do not initiate: Black screen

Post by Kyo Olhos Demoniacos »

I compiled the last version of the Zsnes, the 1,51, with the following options:

./configure --enable-release

All normal one. When I go to adjust the video configurations, any mode that uses OpenGL simply does not initiate, and after 10 seconds, it returns for the way standard from 512x448 DR.

My System config:

OS: Linux Slackware 11.0 (full install)
Kernel: 2.6.18
Nvidia driver: 1.0-9631
Nasm: 0.98.39
SDL: 1.2.11

The result of the command ldd /usr/local/bin/zsnes
bash-3.1$ ldd /usr/local/bin/zsnes
linux-gate.so.1 => (0xffffe000)
libz.so.1 => /usr/lib/libz.so.1 (0xb7f78000)
libSDL-1.2.so.0 => /usr/lib/libSDL-1.2.so.0 (0xb7edf000)
libpthread.so.0 => /lib/tls/libpthread.so.0 (0xb7eb4000)
libpng.so.3 => /usr/lib/libpng.so.3 (0xb7e7b000)
libncurses.so.5 => /usr/lib/libncurses.so.5 (0xb7e39000)
libGL.so.1 => /usr/lib/libGL.so.1 (0xb7dad000)
libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb7cdf000)
libm.so.6 => /lib/tls/libm.so.6 (0xb7cbb000)
libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0xb7cb2000)
libc.so.6 => /lib/tls/libc.so.6 (0xb7b83000)
libdl.so.2 => /lib/tls/libdl.so.2 (0xb7b7f000)
libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0xb7ab2000)
libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0xb7aa4000)
libXrandr.so.2 => /usr/X11R6/lib/libXrandr.so.2 (0xb7a9f000)
libXrender.so.1 => /usr/X11R6/lib/libXrender.so.1 (0xb7a96000)
libvga.so.1 => /usr/lib/libvga.so.1 (0xb7a43000)
/lib/ld-linux.so.2 (0xb7f8b000)
libGLcore.so.1 => /usr/lib/libGLcore.so.1 (0xb71bd000)
libnvidia-tls.so.1 => /usr/lib/tls/libnvidia-tls.so.1 (0xb71bb000)
What it can be?
Deathlike2
ZSNES Developer
ZSNES Developer
Posts: 6747
Joined: Tue Dec 28, 2004 6:47 am

Post by Deathlike2 »

Do other OpenGL apps work fine? If not, reinstall your drivers or use a different set.
Continuing [url=http://slickproductions.org/forum/index.php?board=13.0]FF4[/url] Research...
Kyo Olhos Demoniacos
New Member
Posts: 5
Joined: Wed Feb 21, 2007 1:00 am

Post by Kyo Olhos Demoniacos »

Deathlike2 wrote:Do other OpenGL apps work fine? If not, reinstall your drivers or use a different set.
All others OpenGL app work fine! Glxgears it's normal. I compiling zsnes after having installed kernel 2.6.18 and Nvidia drivers. I don't update the drivers or reinstall :( .

Can i send the package of slackware to verify if the compilation this correct one?
Deathlike2
ZSNES Developer
ZSNES Developer
Posts: 6747
Joined: Tue Dec 28, 2004 6:47 am

Post by Deathlike2 »

Try editing the cfg file to use the OpenGL mode and see if that works.
Continuing [url=http://slickproductions.org/forum/index.php?board=13.0]FF4[/url] Research...
Kyo Olhos Demoniacos
New Member
Posts: 5
Joined: Wed Feb 21, 2007 1:00 am

Post by Kyo Olhos Demoniacos »

I did this and.... Don't work :( , the same black screen....
Deathlike2
ZSNES Developer
ZSNES Developer
Posts: 6747
Joined: Tue Dec 28, 2004 6:47 am

Post by Deathlike2 »

Apply the patch written in this thread and then recompile: http://board.zsnes.com/phpBB2/viewtopic.php?p=141349
Continuing [url=http://slickproductions.org/forum/index.php?board=13.0]FF4[/url] Research...
hpsolo
ZSNES Developer
ZSNES Developer
Posts: 3
Joined: Fri Aug 19, 2005 4:59 am

Post by hpsolo »

Try deleting your old settings when compiling new linux versions and obtaining display problems.
Kyo Olhos Demoniacos
New Member
Posts: 5
Joined: Wed Feb 21, 2007 1:00 am

Post by Kyo Olhos Demoniacos »

Deathlike2 wrote:Apply the patch written in this thread and then recompile: http://board.zsnes.com/phpBB2/viewtopic.php?p=141349
Patch did not function.

Confirming if I applied patch correctly:

I created an archive with the content of patch, gl_draw.patch and placed in the folder of the archive gl_draw.c and executed the command:

$ patch gl_draw.c gl_draw.patch

I do not know more well what to make…
Deathlike2
ZSNES Developer
ZSNES Developer
Posts: 6747
Joined: Tue Dec 28, 2004 6:47 am

Post by Deathlike2 »

You did recompile right?

I'm not entirely sure if the patch can be built against 1.51.. it is certainly supposed to be built against whatever is in SVN.
Continuing [url=http://slickproductions.org/forum/index.php?board=13.0]FF4[/url] Research...
Kyo Olhos Demoniacos
New Member
Posts: 5
Joined: Wed Feb 21, 2007 1:00 am

Post by Kyo Olhos Demoniacos »

Solved!

The problem was with drivers of the Nvidia. README of driver 1-0,9746 says that my GPU, GeForce4 MX Integrated GPU was classified as legacy, but in README of version 1-0.9631 it still appears as supported and was this driver that I had installed.

I decided to install the last version legacy, 1-0,7184 and the speed simply folded. the Zsnes functions now normal, glxgears presents the FPS double.

Well, simply, it was not nothing with the Zsnes. Thanks a lot :D
Deathlike2
ZSNES Developer
ZSNES Developer
Posts: 6747
Joined: Tue Dec 28, 2004 6:47 am

Post by Deathlike2 »

If not, reinstall your drivers or use a different set.
I did say this earlier. I remember a similar post like this and it was definately a driver issue.
Continuing [url=http://slickproductions.org/forum/index.php?board=13.0]FF4[/url] Research...
Post Reply