Page 1 of 1

Magicor game has a bug

Posted: Thu Dec 05, 2019 3:41 am
by calixtus06
Hello, my daughter used to play magicor but now it's impossible to move the penguin more than steps. I removed the game and re installed it . Nothing changed.

Code: Select all

System:    Host: mx Kernel: 4.19.0-6-amd64 x86_64 bits: 64 compiler: gcc v: 8.3.0 
           parameters: BOOT_IMAGE=/boot/vmlinuz-4.19.0-6-amd64 
           root=UUID=a0517fad-e900-4ac0-b67a-8ae94f4f5481 ro quiet splash 
           Desktop: Xfce 4.14.1 tk: Gtk 3.24.5 info: xfce4-panel wm: xfwm4 dm: LightDM 1.26.0 
           Distro: MX-19_x64 patito feo October 21  2019 base: Debian GNU/Linux 10 (buster) 
Machine:   Type: Laptop System: Dell product: Latitude E5420 v: 01 serial: <filter> Chassis: 
           type: 9 serial: <filter> 
           Mobo: Dell model: 0H5TG2 v: A01 serial: <filter> BIOS: Dell v: A05 date: 11/30/2011 
Battery:   ID-1: BAT0 charge: 44.6 Wh condition: 45.1/62.2 Wh (72%) volts: 12.8/11.1 
           model: Sanyo DELL 2VYF51A type: Li-ion serial: <filter> status: Charging 
CPU:       Topology: Dual Core model: Intel Core i5-2430M bits: 64 type: MT MCP 
           arch: Sandy Bridge family: 6 model-id: 2A (42) stepping: 7 microcode: 2F 
           L2 cache: 3072 KiB 
           flags: avx lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 19157 
           Speed: 836 MHz min/max: 800/3000 MHz Core speeds (MHz): 1: 990 2: 924 3: 1015 4: 873 
           Vulnerabilities: Type: l1tf 
           mitigation: PTE Inversion; VMX: conditional cache flushes, SMT vulnerable 
           Type: mds mitigation: Clear CPU buffers; SMT vulnerable 
           Type: meltdown mitigation: PTI 
           Type: spec_store_bypass 
           mitigation: Speculative Store Bypass disabled via prctl and seccomp 
           Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer sanitization 
           Type: spectre_v2 mitigation: Full generic retpoline, IBPB: conditional, IBRS_FW, 
           STIBP: conditional, RSB filling 
Graphics:  Device-1: Intel 2nd Generation Core Processor Family Integrated Graphics vendor: Dell 
           driver: i915 v: kernel bus ID: 00:02.0 chip ID: 8086:0116 
           Display: x11 server: X.Org 1.20.4 driver: modesetting unloaded: fbdev,vesa 
           resolution: 1366x768~60Hz 
           OpenGL: renderer: Mesa DRI Intel Sandybridge Mobile v: 3.3 Mesa 18.3.6 compat-v: 3.0 
           direct render: Yes 
Audio:     Device-1: Intel 6 Series/C200 Series Family High Definition Audio vendor: Dell 
           driver: snd_hda_intel v: kernel bus ID: 00:1b.0 chip ID: 8086:1c20 
           Sound Server: ALSA v: k4.19.0-6-amd64 
Network:   Device-1: Broadcom Limited BCM4313 802.11bgn Wireless Network Adapter 
           vendor: Dell Inspiron M5010 / XPS 8300 driver: wl v: kernel port: 7040 
           bus ID: 02:00.0 chip ID: 14e4:4727 
           IF: wlan0 state: up mac: <filter> 
           Device-2: Broadcom Limited NetXtreme BCM5761 Gigabit Ethernet PCIe vendor: Dell 
           driver: tg3 v: 3.137 port: 7040 bus ID: 0a:00.0 chip ID: 14e4:1681 
           IF: eth0 state: down mac: <filter> 
Drives:    Local Storage: total: 119.24 GiB used: 8.31 GiB (7.0%) 
           ID-1: /dev/sda vendor: Samsung model: MZ7PC128HAFU-000H1 size: 119.24 GiB block size: 
           physical: 512 B logical: 512 B speed: 6.0 Gb/s serial: <filter> rev: 5H1Q scheme: MBR 
Partition: ID-1: / raw size: 117.21 GiB size: 114.87 GiB (98.00%) used: 8.31 GiB (7.2%) fs: ext4 
           dev: /dev/sda1 
           ID-2: swap-1 size: 2.00 GiB used: 0 KiB (0.0%) fs: swap swappiness: 15 (default 60) 
           cache pressure: 100 (default) dev: /dev/sda2 
Sensors:   System Temperatures: cpu: 60.0 C mobo: 39.0 C sodimm: 45.0 C 
           Fan Speeds (RPM): cpu: 0 
Repos:     No active apt repos in: /etc/apt/sources.list 
           Active apt repos in: /etc/apt/sources.list.d/antix.list 
           1: deb http://iso.mxrepo.com/antix/buster buster main
           Active apt repos in: /etc/apt/sources.list.d/debian-stable-updates.list 
           1: deb http://deb.debian.org/debian buster-updates main contrib non-free
           Active apt repos in: /etc/apt/sources.list.d/debian.list 
           1: deb http://deb.debian.org/debian buster main contrib non-free
           2: deb http://deb.debian.org/debian-security buster/updates main contrib non-free
           Active apt repos in: /etc/apt/sources.list.d/mx.list 
           1: deb http://mxrepo.com/mx/repo/ buster main non-free
           Active apt repos in: /etc/apt/sources.list.d/steam.list 
           1: deb [arch=amd64,i386] http://repo.steampowered.com/steam/ precise steam
           2: deb-src [arch=amd64,i386] http://repo.steampowered.com/steam/ precise steam
           No active apt repos in: /etc/apt/sources.list.d/various.list 
Info:      Processes: 212 Uptime: 1h 20m Memory: 3.75 GiB used: 1.05 GiB (28.0%) Init: SysVinit 
           v: 2.93 runlevel: 5 default: 5 Compilers: gcc: 8.3.0 alt: 8 Shell: bash v: 5.0.3 
           running in: quick-system-in inxi: 3.0.36 
Thanks by advance

Nico from France

Re: Magicor game has a bug

Posted: Thu Dec 05, 2019 4:01 am
by JayM
What has changed since the last time it worked? (FYI I just installed and tested it real quick and it works fine for me.) If you create a new user and log in with the new account do you still experience the problem?

Re: Magicor game has a bug

Posted: Thu Dec 05, 2019 5:46 am
by asqwerth
Were you using an older version of MX on the machine the last time the game worked?

I noticed your steam repos are stated to be for Ubuntu's Precise Pangolin release. That was the 12.04 LTS release, which is way old. I have doubts about the compatibility with MX19, and that's before considering that MX is Debian-based, not Ubuntu.

Re: Magicor game has a bug

Posted: Thu Dec 05, 2019 9:38 am
by timkb4cq
I just tried in in MX-19 and neither the up nor down keys work in the game, although they do in the options menu.

Re: Magicor game has a bug

Posted: Thu Dec 05, 2019 3:33 pm
by calixtus06
JayM wrote: Thu Dec 05, 2019 4:01 am What has changed since the last time it worked? (FYI I just installed and tested it real quick and it works fine for me.) If you create a new user and log in with the new account do you still experience the problem?
I went in the session of my daugther and this is the same (??)

Re: Magicor game has a bug

Posted: Thu Dec 05, 2019 3:35 pm
by calixtus06
asqwerth wrote: Thu Dec 05, 2019 5:46 am Were you using an older version of MX on the machine the last time the game worked?

I noticed your steam repos are stated to be for Ubuntu's Precise Pangolin release. That was the 12.04 LTS release, which is way old. I have doubts about the compatibility with MX19, and that's before considering that MX is Debian-based, not Ubuntu.
In fact, I don't know why I 've got this repository..I 'm going to remove it

Re: Magicor game has a bug

Posted: Thu Dec 05, 2019 5:17 pm
by Stevo
calixtus06 wrote: Thu Dec 05, 2019 3:33 pm
JayM wrote: Thu Dec 05, 2019 4:01 am What has changed since the last time it worked? (FYI I just installed and tested it real quick and it works fine for me.) If you create a new user and log in with the new account do you still experience the problem?
I went in the session of my daugther and this is the same (??)
Jay, if you start Egypt Level 2, can you go down through the pipes?

Re: Magicor game has a bug

Posted: Thu Dec 05, 2019 6:38 pm
by timkb4cq
Not here.
It works properly on MX-15 & MX-17. The MX-17 deb doesn't work any better on MX-19
This game hasn"t been updated in a decade. I suspect something changed in python or sdl

Re: Magicor game has a bug

Posted: Thu Dec 05, 2019 6:40 pm
by JayM
Stevo wrote: Thu Dec 05, 2019 5:17 pm
calixtus06 wrote: Thu Dec 05, 2019 3:33 pm
JayM wrote: Thu Dec 05, 2019 4:01 am What has changed since the last time it worked? (FYI I just installed and tested it real quick and it works fine for me.) If you create a new user and log in with the new account do you still experience the problem?
I went in the session of my daugther and this is the same (??)
Jay, if you start Egypt Level 2, can you go down through the pipes?
I have no idea what that means. I just verified that I'm able to make the penguin move more than three steps without any lock-ups or crashes.

Re: Magicor game has a bug

Posted: Thu Dec 05, 2019 6:48 pm
by gimcrack
timkb4cq wrote: Thu Dec 05, 2019 6:38 pm Not here.
It works properly on MX-15 & MX-17. The MX-17 deb doesn't work any better on MX-19
This game hasn"t been updated in a decade. I suspect something changed in python or sdl
I say your right on that one.

Both the Magicor and Magicor Data files are needed to play. Additional requirements are:

python 2.4, http://www.python.org
pygame 1.7.1, http://www.pygame.org/
libsdl 1.2 (required by pygame), http://www.libsdl.org/
SDL_mixer, http://www.libsdl.org/projects/SDL_mixer/
SDL_image, http://www.libsdl.org/projects/SDL_image/
GNU make (or equivalent, optional for proper installation; not needed to run the game)
rsync (optional for making dist target; not needed to run the game)

Additional requirements for the editor:

GTK 2.0 http://www.gtk.org
libglade2 http://www.jamesh.id.au/software/libglade/
PyGTK http://www.pygtk.org

https://packages.debian.org/unstable/games/magicor

https://packages.debian.org/sid/all/magicor/filelist

Since this game base on a old NES game call Solomon's Key. I would just pickup a NES Emulator and play the original game instead this old unmaintained Linux version.

https://www.youtube.com/watch?v=2T85vIGJ7WM

Re: Magicor game has a bug

Posted: Thu Dec 05, 2019 10:35 pm
by timkb4cq
I tracked it down to python-pygame. Installing the stretch version in MX-19 allows magicor to work.
Someone who actually programs with python-pygame could probably patch magicor pretty easily. But that's not me...

Re: Magicor game has a bug

Posted: Fri Dec 06, 2019 1:10 am
by Route99
calixtus06 wrote: Thu Dec 05, 2019 3:41 am Partition: ID-1: / raw size: 117.21 GiB size: 114.87 GiB (98.00%) used: 8.31 GiB (7.2%) fs: ext4
dev: /dev/sda1
ID-2: swap-1 size: 2.00 GiB used: 0 KiB (0.0%) fs: swap swappiness: 15 (default 60)
cache pressure: 100 (default) dev: /dev/sda2
Isn't the free space of the SSD to small, 98.00% used so just 2% left fee?
How does the system react on that? Like she now experiences?
And technically spoken: a SSD with so little free space will undergo an extreme high rate of writing on a very limited amount of disk sectors, which is known for SSD's to be very bad and may lead to problems.

The advice is often to have at least 20% free space left on a SSD for proper and safe working so only 2% ..what may happen even apart from getting worn by the high rate of writing on a very limited amount of disk sectors?

So free up as much as possible (~20%) of space or if not possible... take a laregr disk?

Re: Magicor game has a bug

Posted: Fri Dec 06, 2019 1:19 am
by junoluna
Sure it means only 7.2% is used

Re: Magicor game has a bug

Posted: Fri Dec 06, 2019 1:40 am
by JayM
Route99 wrote: Fri Dec 06, 2019 1:10 am
calixtus06 wrote: Thu Dec 05, 2019 3:41 am Partition: ID-1: / raw size: 117.21 GiB size: 114.87 GiB (98.00%) used: 8.31 GiB (7.2%) fs: ext4
dev: /dev/sda1
ID-2: swap-1 size: 2.00 GiB used: 0 KiB (0.0%) fs: swap swappiness: 15 (default 60)
cache pressure: 100 (default) dev: /dev/sda2
Isn't the free space of the SSD to small, 98.00% used so just 2% left fee?
How does the system react on that? Like she now experiences?
And technically spoken: a SSD with so little free space will undergo an extreme high rate of writing on a very limited amount of disk sectors, which is known for SSD's to be very bad and may lead to problems.

The advice is often to have at least 20% free space left on a SSD for proper and safe working so only 2% ..what may happen even apart from getting worn by the high rate of writing on a very limited amount of disk sectors?

So free up as much as possible (~20%) of space or if not possible... take a laregr disk?
You're reading it wrong. That's caught me before too. Read it like this
Partition:
ID-1: /
raw size: 117.21 GiB
size: 114.87 GiB (98.00%)
used: 8.31 GiB (7.2%)
fs: ext4
dev: /dev/sda1

Raw size is unformatted, size is formatted.
:happy:

Re: Magicor game has a bug

Posted: Fri Dec 06, 2019 1:57 am
by Route99
Thanks for the update.. my awakening was far from 100%....... :hitoverhead: