You are not logged in.

#1 2017-11-22 08:55:55

quellen
Member
From: Italy
Registered: 2014-05-24
Posts: 274

zsnes crashes when i change resolution

hi,
zsnes crashes when i change video resolution (it works only with 512x448).

Schermata_del_2017-11-22_09-58-15.png
i think is an opengl problem.

$ zsnes
ZSNES v1.51, (c) 1997-2007, ZSNES Team
Be sure to check http://www.zsnes.com/ for the latest version.

ZSNES is written by the ZSNES Team (See AUTHORS.TXT)
ZSNES comes with ABSOLUTELY NO WARRANTY.  This is free software,
and you are welcome to redistribute it under certain conditions;
please read 'LICENSE.TXT' thoroughly before doing so.

Use ZSNES -? for command line definitions.

Starting Mouse detection.
Unable to poll /dev/input/event12. Make sure you have read permissions to it.
Unable to poll /dev/input/event11. Make sure you have read permissions to it.
Unable to poll /dev/input/event10. Make sure you have read permissions to it.
Unable to poll /dev/input/event9. Make sure you have read permissions to it.
Unable to poll /dev/input/event8. Make sure you have read permissions to it.
Unable to poll /dev/input/event7. Make sure you have read permissions to it.
Unable to poll /dev/input/event6. Make sure you have read permissions to it.
Unable to poll /dev/input/event5. Make sure you have read permissions to it.
Unable to poll /dev/input/event4. Make sure you have read permissions to it.
Unable to poll /dev/input/event3. Make sure you have read permissions to it.
Unable to poll /dev/input/event2. Make sure you have read permissions to it.
Unable to poll /dev/input/event1. Make sure you have read permissions to it.
Unable to poll /dev/input/event0. Make sure you have read permissions to it.
ManyMouse: 0 mice detected.

Audio Opened.
Driver: Simple DirectMedia Layer output
Channels: 2
Rate: 32000

ZSNES could not find any joysticks.
Errore di segmentazione (core dump creato)
$ xrandr 
Screen 0: minimum 320 x 200, current 1024 x 768, maximum 8192 x 8192
VGA-1 connected primary 1024x768+0+0 (normal left inverted right x axis y axis) 708mm x 398mm
   1280x720      50.00 +
   1024x768      75.03*   70.07    60.00  
   832x624       74.55  
   800x600       72.19    75.00    60.32    56.25  
   640x480       75.00    72.81    66.67    59.94  
   720x400       70.08  
DP-1 disconnected (normal left inverted right x axis y axis)
HDMI-1 disconnected (normal left inverted right x axis y axis)
DP-2 disconnected (normal left inverted right x axis y axis)
HDMI-2 disconnected (normal left inverted right x axis y axis)
$ lspci|grep -i vga
00:02.0 VGA compatible controller: Intel Corporation Atom Processor Z36xxx/Z37xxx Series Graphics & Display (rev 0e)
$ pacman -Q|grep video
videoproto 2.3.3-1
xf86-video-vesa 2.3.4-4
$ pacman -Q|grep mesa
lib32-mesa 17.2.4-1
mesa 17.2.4-1
mesa-demos 8.3.0-4
$ lsmod|grep i915
i915                 1683456  8
video                  36864  1 i915
button                 16384  1 i915
intel_gtt              20480  1 i915
i2c_algo_bit           16384  1 i915
drm_kms_helper        131072  1 i915
drm                   303104  6 i915,drm_kms_helper

i have tried to edit manually "~/.zsnes/zsnesl.cfg" but i haven't solved.

Last edited by quellen (2017-11-22 09:16:41)


sorry for my bad english

Offline

#2 2017-11-22 09:02:55

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,668

Re: zsnes crashes when i change resolution

ZSNES hasn't seen an update in 10 years and never had all that good of an emulation and is mostly written in assembler and hard to update. It's not too surprising that it might run into issues on modern systems. Do you have a particular reason for wanting to use ZSNES? Snes9x doesn't have much higher system requirements and just 2 or 3 days ago had a new release.

Edit: Details on that coredump might be interesting. check

man coredumpctl

for information on how to investigate a coredump, but still, don't hold your breath that that is going to be reasonably fixable. Also giving the output of

glxinfo | grep OpenGL

will likely be more interesting than most of these other outputs.

Last edited by V1del (2017-11-22 09:07:03)

Offline

#3 2017-11-22 09:14:59

quellen
Member
From: Italy
Registered: 2014-05-24
Posts: 274

Re: zsnes crashes when i change resolution

Thanks for reply.
i have used zsnes some months ago and it worked perfeclty with all video resolution.

$ glxinfo | grep OpenGL
OpenGL vendor string: Intel Open Source Technology Center
OpenGL renderer string: Mesa DRI Intel(R) Bay Trail 
OpenGL core profile version string: 4.2 (Core Profile) Mesa 17.2.4
OpenGL core profile shading language version string: 4.20
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
OpenGL version string: 3.0 Mesa 17.2.4
OpenGL shading language version string: 1.30
OpenGL context flags: (none)
OpenGL extensions:
OpenGL ES profile version string: OpenGL ES 3.0 Mesa 17.2.4
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.00
OpenGL ES profile extensions:

sorry for my bad english

Offline

#4 2017-11-22 09:35:57

frostschutz
Member
Registered: 2013-11-15
Posts: 1,417

Re: zsnes crashes when i change resolution

quellen wrote:

i have used zsnes some months ago and it worked perfeclty with all video resolution.

Does it work in a new profile? That sometimes happens to me, it stores some strange setting in its config, and that makes it crash repeatedly.

Offline

#5 2017-11-22 09:43:26

quellen
Member
From: Italy
Registered: 2014-05-24
Posts: 274

Re: zsnes crashes when i change resolution

i tried with other user, it crashed :-|


sorry for my bad english

Offline

#6 2017-11-22 12:50:44

quellen
Member
From: Italy
Registered: 2014-05-24
Posts: 274

Re: zsnes crashes when i change resolution

V1del wrote:

Edit: Details on that coredump might be interesting. check

man coredumpctl

for information on how to investigate a coredump,

$ coredumpctl gdb zsnes
           PID: 9752 (zsnes)
           UID: 1000 (pippo)
           GID: 1000 (pippo)
        Signal: 11 (SEGV)
     Timestamp: Wed 2017-11-22 13:46:30 CET (4min 0s ago)
  Command Line: zsnes
    Executable: /usr/bin/zsnes
 Control Group: /user.slice/user-1000.slice/session-c1.scope
          Unit: session-c1.scope
         Slice: user-1000.slice
       Session: c1
     Owner UID: 1000 (pippo)
       Boot ID: 390704a33671432e97cd86396105e45a
    Machine ID: 4c7bb880213c4386a39895e1023b7200
      Hostname: linux
       Storage: /var/lib/systemd/coredump/core.zsnes.1000.390704a33671432e97cd86396105e45a.9752.1511354790000000.lz4
       Message: Process 9752 (zsnes) of user 1000 dumped core.
                
                Stack trace of thread 9752:
                #0  0x00000000f43ab0c5 n/a (i965_dri.so)
                #1  0x00000000f43ab273 n/a (i965_dri.so)
                #2  0x00000000f43ad0d7 n/a (i965_dri.so)
                #3  0x00000000f43ad104 n/a (i965_dri.so)
                #4  0x00000000f43a2dd5 n/a (i965_dri.so)
                #5  0x00000000f4393119 n/a (i965_dri.so)
                #6  0x00000000f4147d34 n/a (i965_dri.so)
                #7  0x00000000f412b922 n/a (i965_dri.so)
                #8  0x00000000f4144c25 n/a (i965_dri.so)
                #9  0x00000000f43c09bc n/a (i965_dri.so)
                #10 0x00000000f49c21c1 n/a (libGLX_mesa.so.0)
                #11 0x00000000f49bb9ed n/a (libGLX_mesa.so.0)
                #12 0x00000000f49c26f4 n/a (libGLX_mesa.so.0)
                #13 0x00000000f49bbc64 n/a (libGLX_mesa.so.0)
                #14 0x00000000f498b9f9 n/a (libGLX_mesa.so.0)
                #15 0x00000000f7ef55dc n/a (libSDL-1.2.so.0)
                #16 0x00000000f7ee8379 SDL_GL_SwapBuffers (libSDL-1.2.so.0)
                #17 0x0000000008301cc0 n/a (zsnes)

Failed to invoke gdb: File o directory non esistente

sorry for my bad english

Offline

#7 2020-12-02 01:04:22

ice
Member
From: Argentina
Registered: 2015-12-10
Posts: 28
Website

Re: zsnes crashes when i change resolution

sabés que a mi me funciona perfectamente zsnes cuando selecciono el 640x480 pero fullscreen, si lo quiero ver en una ventana se queda tildado. Probé eliminando el directorio .zsnes, pero lo mismo. Me sucede en i3wm, en los DE que usé hace años tipo Gnome Shell o Cinnamon no tenía ése problema. Terminé usando snes9x-gtk, me funcionó perfecto. :-)

Last edited by ice (2020-12-02 01:31:55)


My Blog Archer
Telegram Group Arch Linux in Spanish.
Telegram Group LinuxerOS GNU/Linux in Spanish.

Offline

Board footer

Powered by FluxBB