impressive icon indicating copy to clipboard operation
impressive copied to clipboard

Segmentation error

Open ik8vrq opened this issue 1 year ago • 2 comments

Hi, my name is Angelo and I'm using Linux Mint 21.2, Xfce 4.18, i5-2520M (4) @ 3.200GHz. 4Gb Ram

When I start impressive I have the following error:

angelo@T420:~/test$ impressive ./* Welcome to Impressive version 0.13.0-beta2 (SVN r298) pygame 2.1.2 (SDL 2.0.20, Python 3.10.12) Hello from the pygame community. https://www.pygame.org/contribute.html Detected screen size: 1366x768 pixels PDF renderer: MuPDF 1.4 or newer Errore di segmentazione (core dump creato)

Xrand output is as follow:

angelo@T420:~$ xrandr Screen 0: minimum 320 x 200, current 1366 x 768, maximum 8192 x 8192 LVDS-1 connected primary 1366x768+0+0 (normal left inverted right x axis y axis) 309mm x 173mm 1366x768 60.10*+ 1280x720 60.10
1024x768 60.10
960x720 60.10
928x696 60.10
896x672 60.10
1024x576 60.10
960x600 60.10
960x540 60.10
800x600 60.10
840x525 60.10
864x486 60.10
700x525 60.10
800x450 60.10
640x512 60.10
700x450 60.10
640x480 60.10
720x405 60.10
684x384 60.10
640x360 60.10
512x384 60.10
512x288 60.10
480x270 60.10
400x300 60.10
432x243 60.10
320x240 60.10
360x202 60.10
320x180 60.09
VGA-1 disconnected (normal left inverted right x axis y axis) HDMI-1 disconnected (normal left inverted right x axis y axis) DP-1 disconnected (normal left inverted right x axis y axis) HDMI-2 disconnected (normal left inverted right x axis y axis) HDMI-3 disconnected (normal left inverted right x axis y axis) DP-2 disconnected (normal left inverted right x axis y axis) DP-3 disconnected (normal left inverted right x axis y axis) angelo@T420:~$

Any advice? Many thank for your support.

Regards, Angelo

ik8vrq avatar Nov 23 '23 11:11 ik8vrq

Hi Angelo,

you could try

  • a different computer with a different graphics card
  • or try a newer or older version of pygame

to isolate the cause.

If you have a look at the source code, it is pure python. So unfortunately I can not help with segmentation fault debugging - it must be in some of the underlying libraries or drivers. But you can post your findings here, so at least the known problems are documented

geekq avatar Nov 26 '23 09:11 geekq

Hi,

the problem was fixed. Instead of install impressive from Linux Mint repository , I installed all dipendencies and installed the application as indicated into documentation. So the steps are:

a) sudo apt install python3-pygame python3-pil pdftk mupdf-tools xdg-utils mplayer ffmpeg

b) download impressive code (... tar.gz) and extract it. Move in this folder (mine is Impressive-0.13.2) and then:

c) sudo install -m 755 impressive /usr/local/bin/

Perhaps this can help someone. Kind regards and happy 2024.

Angelo

ik8vrq avatar Jan 02 '24 07:01 ik8vrq