You are not logged in.

#1 2016-07-01 09:24:49

Raam
Member
Registered: 2016-07-01
Posts: 11

[SOLVED] Higan: system logs out when setting input

Hello.

I installed Higan and tried to set input from settings->configuration, input tab. I select a console and double click on one item, then I press a key (on the keyboard or joypad).
Now I double click on another item and the system logs out: I find myself on the login screen.

Why? What do I do?

Last edited by Raam (2016-08-27 15:50:40)

Offline

#2 2016-07-01 11:01:47

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

Re: [SOLVED] Higan: system logs out when setting input

Can't confirm, does something crash? Do you get a coredump (

man coredumpctl

for more info) is there anything interesting in journal/dmesg and or your Xorg log? What's your hardware?

Last edited by V1del (2016-07-01 11:02:17)

Offline

#3 2016-07-01 12:36:15

Raam
Member
Registered: 2016-07-01
Posts: 11

Re: [SOLVED] Higan: system logs out when setting input

coredump:

PID: 24496 (higan)
UID: 1000 (lorenzo)
GID: 1000 (lorenzo)
Signal: 11 (SEGV)
Timestamp: Fri 2016-07-01 14:07:59 CEST (13min ago)
Command Line: higan
Executable: /usr/bin/higan
Control Group: /user.slice/user-1000.slice/session-c23.scope
Unit: session-c23.scope
Slice: user-1000.slice
Session: c23
Owner UID: 1000 (lorenzo)
Boot ID: 24f443ba007c4947bc34985e0d147927
Machine ID: f7d5654d3698433c822d28794d666026
Hostname: lorenzopc
Coredump: /var/lib/systemd/coredump/core.higan.1000.24f443ba007c4947bc34985e0d147927.24496.1467374879000000000000.lz4
Message: Process 24496 (higan) of user 1000 dumped core.

Stack trace of thread 24496:
#0  0x00007fa64cca82db XRenderComposite (libXrender.so.1)
#1  0x00007fa652dccb19 n/a (libcairo.so.2)
#2  0x00007fa652db6381 n/a (libcairo.so.2)
#3  0x00007fa652db6659 n/a (libcairo.so.2)

dmesg:

[40167.414705] higan[24496]: segfault at 1 ip 00007fa64cca82db sp 00007ffd41b42910 error 6 in libXrender.so.1.3.0[7fa64cca6000+9000]

For xorg logs I did:

cat /var/log/Xorg.0.log

But I guess those logs are after the crash and the restart.


I have an old laptop, Acer Extensa 5235: 2x1.9Ghz (64Bit), 2Gb Ram, Intel GMA4500, ...

Offline

#4 2016-07-01 15:02:21

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

Re: [SOLVED] Higan: system logs out when setting input

Disclaimer: Your system will not be happy with higan, it is way too slow to actually  emulate at fullspeed should this even be workable in any shape or form. Use snes9x(-gtk) instead.

This said it still shouldn't kill your XServer like that. Does acceleration work normally? Can you post

glxinfo | grep OpenGL

. Still, chances are very likely that it tries to allocate some sort of buffer that is way too big for your hardware to handle, can you post an actual backtrace

coredumpctl gdb 24496
bt

Especially if you havent started a game yet it still might be a bug because it shouldn't attempt to do much fancy stuff already....

As for the Xorg log, in modern xorg and with the open drivers it should be at ~/.local/share/xorg/ if your xorg is started in rootless mode. Maybe ~/.xsession-errors contains some more info as well

Last edited by V1del (2016-07-01 15:13:28)

Offline

#5 2016-07-02 09:01:08

Raam
Member
Registered: 2016-07-01
Posts: 11

Re: [SOLVED] Higan: system logs out when setting input

$ glxinfo | grep OpenGL
OpenGL vendor string: Intel Open Source Technology Center
OpenGL renderer string: Mesa DRI Mobile Intel® GM45 Express Chipset 
OpenGL version string: 2.1 Mesa 11.2.2
OpenGL shading language version string: 1.20
OpenGL extensions:
OpenGL ES profile version string: OpenGL ES 2.0 Mesa 11.2.2
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 1.0.16
OpenGL ES profile extensions:

$ coredumpctl gdb 24496
...
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x00007fa64cca82db in XRenderComposite () from /usr/lib/libXrender.so.1
[Current thread is 1 (Thread 0x7fa655997a00 (LWP 24496))]

Anyway, now magically I can set the input, but I encountered a number of other issues: missing files that prevent a rom from starting; blank screen and distorted sound, I guess it's like you said, I cannot run higan in this machine.
Not much luck even with zsnes, it crashes when I set fullscreen.

Offline

#6 2016-07-02 11:44:51

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

Re: [SOLVED] Higan: system logs out when setting input

Use snes9x, zsnes hasn't seen updates in a long time, and is overall less compatible than  either higan or snes9x.

Offline

#7 2016-07-02 21:59:16

Raam
Member
Registered: 2016-07-01
Posts: 11

Re: [SOLVED] Higan: system logs out when setting input

Yes, thank you, at least snes9x works. And sorry for this useless topic.

Offline

#8 2016-07-04 11:05:07

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

Re: [SOLVED] Higan: system logs out when setting input

Well its a strange problem, likely not something in higan itself, but some crash in the underlying layer. The only thing I could think of is that cairo tripped up because higan requested a OpenGL 3 core profile which doesn't work on your card and then ran into some cornercase that killed your xserver. But this shouldn't happen until you start a game so from that aspect it is still weird.

But yeah your machine is definitely too slow for higan, for reference I couldn't get a stable 60 fps on my 4.6 GHz  skylake. This turned out to be a problem in the intel_pstate powersave governor which didn't recognize the workload of higan to need a constant 4.6 GHz and it constantly switched frequencies and these switching differences made it stutter and jump between 55-60 fps. There switching the governor to performance helped, but your system in general is too old to be able to run it in fullspeed.

You can prepend [SOLVED] to the title of your topic if it is solved in your point of view.

Offline

Board footer

Powered by FluxBB