GNU bug report logs - #65890
VICE encounters illegal instruction

Previous Next

Package: guix;

Reported by: Csepp <raingloom <at> riseup.net>

Date: Tue, 12 Sep 2023 11:34:02 UTC

Severity: normal

To reply to this bug, email your comments to 65890 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#65890; Package guix. (Tue, 12 Sep 2023 11:34:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Csepp <raingloom <at> riseup.net>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Tue, 12 Sep 2023 11:34:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Csepp <raingloom <at> riseup.net>
To: bug-guix <at> gnu.org
Subject: VICE encounters illegal instruction
Date: Tue, 12 Sep 2023 13:27:08 +0200
trying to run a music disk, but even if I pass no parameter, I get the
same error at the end

% xplus4 TED-Vibes-2.d64                            :(
Detecting ISA HardSID boards.
Could not open '/dev/port'.
Cannot get permission to access $300.
Detecting PCI HardSID boards.
No PCI HardSID boards found.
 
*** VICE Version 3.7.1 ***
 
Welcome to xplus4, the free portable PLUS4 Emulator.
 
Current VICE team members:
Martin Pottendorfer, Marco van den Heuvel, Fabrizio Gennari, Groepaz, 
Errol Smith, Ingo Korb, Olaf Seibert, Marcus Sutton, Kajtar Zsolt, AreaScout, 
Bas Wassink, Michael C. Martin, Christopher Phillips, David Hogan, 
Empathic Qubit, Roberto Muscedere, June Tate-Gans, Pablo Roldan.
 
This is free software with ABSOLUTELY NO WARRANTY.
See the "About VICE" command for more info.
 
random seed was: 0x65004c19
command line was: xplus4 TED-Vibes-2.d64
Loading system file `/gnu/store/xl99j30yh624c4zzq3wzrkqv1v4zs9lm-vice-3.7.1/share/vice/PLUS4/kernal-318004-05.bin'.
Loading system file `/gnu/store/xl99j30yh624c4zzq3wzrkqv1v4zs9lm-vice-3.7.1/share/vice/PLUS4/basic-318006-01.bin'.
Loading system file `/gnu/store/xl99j30yh624c4zzq3wzrkqv1v4zs9lm-vice-3.7.1/share/vice/PLUS4/3plus1-317053-01.bin'.
Loading system file `/gnu/store/xl99j30yh624c4zzq3wzrkqv1v4zs9lm-vice-3.7.1/share/vice/PLUS4/3plus1-317054-01.bin'.
GTK3MOUSE: Status changed: 0 (disabled)
Loading system file `/gnu/store/xl99j30yh624c4zzq3wzrkqv1v4zs9lm-vice-3.7.1/share/vice/PRINTER/mps803.bin'.
Palette: Loading palette `/gnu/store/xl99j30yh624c4zzq3wzrkqv1v4zs9lm-vice-3.7.1/share/vice/PRINTER/mps803.vpl'.
Loading system file `/gnu/store/xl99j30yh624c4zzq3wzrkqv1v4zs9lm-vice-3.7.1/share/vice/PRINTER/nl10.bin'.
Palette: Loading palette `/gnu/store/xl99j30yh624c4zzq3wzrkqv1v4zs9lm-vice-3.7.1/share/vice/PRINTER/nl10.vpl'.
NL10: Printer driver initialized.
Palette: Loading palette `/gnu/store/xl99j30yh624c4zzq3wzrkqv1v4zs9lm-vice-3.7.1/share/vice/PRINTER/1520.vpl'.
Loading system file `/gnu/store/xl99j30yh624c4zzq3wzrkqv1v4zs9lm-vice-3.7.1/share/vice/DRIVES/dos1540-325302+3-01.bin'.
Loading system file `/gnu/store/xl99j30yh624c4zzq3wzrkqv1v4zs9lm-vice-3.7.1/share/vice/DRIVES/dos1541-325302-01+901229-05.bin'.
Loading system file `/gnu/store/xl99j30yh624c4zzq3wzrkqv1v4zs9lm-vice-3.7.1/share/vice/DRIVES/dos1541ii-251968-03.bin'.
Loading system file `/gnu/store/xl99j30yh624c4zzq3wzrkqv1v4zs9lm-vice-3.7.1/share/vice/DRIVES/dos1570-315090-01.bin'.
Loading system file `/gnu/store/xl99j30yh624c4zzq3wzrkqv1v4zs9lm-vice-3.7.1/share/vice/DRIVES/dos1571-310654-05.bin'.
Loading system file `/gnu/store/xl99j30yh624c4zzq3wzrkqv1v4zs9lm-vice-3.7.1/share/vice/DRIVES/dos1581-318045-02.bin'.
DriveROM: Error - 2000 ROM image not found. Hardware-level 2000 emulation is not available.
DriveROM: Error - 4000 ROM image not found. Hardware-level 4000 emulation is not available.
DriveROM: Error - CMDHD ROM image not found. Hardware-level CMDHD emulation is not available.
Loading system file `/gnu/store/xl99j30yh624c4zzq3wzrkqv1v4zs9lm-vice-3.7.1/share/vice/DRIVES/dos1551-318008-01.bin'.
Drive: Finished loading ROM images.
Sound: Available sound devices: pulse alsa dummy fs dump wav voc iff aiff soundmovie
using GTK3 backend: OpenGL
chip_name: TED
 screen_size: 384 x 312
 first/lastline: 0 x 0
 gfx_size: 320 x 200
 gfx_position: 32 x 59
 first/last displayed line: 19 x 306
 extra offscreen border left/right: 28 x 228
 screen_display_wh: 0.000000 x 0.000000
 canvas_physical_wh: 0 x 0
 scalexy: 2 x 2
 sizexy: 1 x 1
 rmode: 1
 aspect ratio: 1.037435
 hstretch: 0
 vstretch: 0
 initializing with width, height: 704 x 574
GLX version: 1.4
Getting matching framebuffer configs
Found 6 matching FB configs.
Error - Failed to obtain an OpenGL 3.2 context, requesting a legacy context

Obtained OpenGL 2.1 context
	  Vendor: Intel
	Renderer: Mesa Mobile Intel® GM45 Express Chipset (CTG)
	 Version: 2.1 Mesa 23.1.4
	  Legacy: yes
Direct GLX rendering context obtained
Swap control support. glXSwapIntervalMESA: 1 glXSwapIntervalEXT: 1 glXSwapIntervalSGI: 1
Created render thread 0
Render thread initialised
Joystick: Linux joystick interface initialization...
Joystick: Warning - Cannot open joystick device `/dev/input/js0'.
Joystick: Warning - Cannot open joystick device `/dev/input/js1'.
Joystick: Warning - Cannot open joystick device `/dev/input/js2'.
Joystick: Warning - Cannot open joystick device `/dev/input/js3'.
Joystick: Warning - Cannot open joystick device `/dev/input/js4'.
Joystick: Warning - Cannot open joystick device `/dev/input/js5'.
Joystick: Warning - Cannot open joystick device `/dev/input/js6'.
Joystick: Warning - Cannot open joystick device `/dev/input/js7'.
Loading keymap `/gnu/store/xl99j30yh624c4zzq3wzrkqv1v4zs9lm-vice-3.7.1/share/vice/PLUS4/gtk3_sym.vkm'.
HOTKEYS: Hotkeys: Initializing.
HOTKEYS: Hotkeys: Parsing PLUS4 hotkeys file:
HOTKEYS: Hotkeys: OK.
AUTOSTART: Autodetecting image type of `TED-Vibes-2.d64'.
AUTOSTART: Attached file `TED-Vibes-2.d64' as a disk image.
AUTOSTART: mounted image is type: 1541, not changing drive.
AUTOSTART: Resetting drive 8
AUTOSTART: Resetting the machine to autostart '*'
Sound: Opened device `pulse', speed 48000Hz, fragment size 2.67ms, buffer size 32.00ms
[1]    4880 illegal hardware instruction  xplus4 TED-Vibes-2.d64




Information forwarded to bug-guix <at> gnu.org:
bug#65890; Package guix. (Wed, 13 Sep 2023 03:00:02 GMT) Full text and rfc822 format available.

Message #8 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Csepp <raingloom <at> riseup.net>
To: Csepp <raingloom <at> riseup.net>
Cc: bug-guix <at> gnu.org, 65890 <at> debbugs.gnu.org
Subject: Re: bug#65890: VICE encounters illegal instruction
Date: Wed, 13 Sep 2023 04:55:51 +0200
Csepp <raingloom <at> riseup.net> writes:

> trying to run a music disk, but even if I pass no parameter, I get the
> same error at the end
>
> % xplus4 TED-Vibes-2.d64                            :(
> Detecting ISA HardSID boards.
> Could not open '/dev/port'.
> Cannot get permission to access $300.
> Detecting PCI HardSID boards.
> No PCI HardSID boards found.
>  
> *** VICE Version 3.7.1 ***
>  
> Welcome to xplus4, the free portable PLUS4 Emulator.
>  
> Current VICE team members:
> Martin Pottendorfer, Marco van den Heuvel, Fabrizio Gennari, Groepaz, 
> Errol Smith, Ingo Korb, Olaf Seibert, Marcus Sutton, Kajtar Zsolt, AreaScout, 
> Bas Wassink, Michael C. Martin, Christopher Phillips, David Hogan, 
> Empathic Qubit, Roberto Muscedere, June Tate-Gans, Pablo Roldan.
>  
> This is free software with ABSOLUTELY NO WARRANTY.
> See the "About VICE" command for more info.
>  
> random seed was: 0x65004c19
> command line was: xplus4 TED-Vibes-2.d64
> Loading system file `/gnu/store/xl99j30yh624c4zzq3wzrkqv1v4zs9lm-vice-3.7.1/share/vice/PLUS4/kernal-318004-05.bin'.
> Loading system file `/gnu/store/xl99j30yh624c4zzq3wzrkqv1v4zs9lm-vice-3.7.1/share/vice/PLUS4/basic-318006-01.bin'.
> Loading system file `/gnu/store/xl99j30yh624c4zzq3wzrkqv1v4zs9lm-vice-3.7.1/share/vice/PLUS4/3plus1-317053-01.bin'.
> Loading system file `/gnu/store/xl99j30yh624c4zzq3wzrkqv1v4zs9lm-vice-3.7.1/share/vice/PLUS4/3plus1-317054-01.bin'.
> GTK3MOUSE: Status changed: 0 (disabled)
> Loading system file `/gnu/store/xl99j30yh624c4zzq3wzrkqv1v4zs9lm-vice-3.7.1/share/vice/PRINTER/mps803.bin'.
> Palette: Loading palette `/gnu/store/xl99j30yh624c4zzq3wzrkqv1v4zs9lm-vice-3.7.1/share/vice/PRINTER/mps803.vpl'.
> Loading system file `/gnu/store/xl99j30yh624c4zzq3wzrkqv1v4zs9lm-vice-3.7.1/share/vice/PRINTER/nl10.bin'.
> Palette: Loading palette `/gnu/store/xl99j30yh624c4zzq3wzrkqv1v4zs9lm-vice-3.7.1/share/vice/PRINTER/nl10.vpl'.
> NL10: Printer driver initialized.
> Palette: Loading palette `/gnu/store/xl99j30yh624c4zzq3wzrkqv1v4zs9lm-vice-3.7.1/share/vice/PRINTER/1520.vpl'.
> Loading system file `/gnu/store/xl99j30yh624c4zzq3wzrkqv1v4zs9lm-vice-3.7.1/share/vice/DRIVES/dos1540-325302+3-01.bin'.
> Loading system file `/gnu/store/xl99j30yh624c4zzq3wzrkqv1v4zs9lm-vice-3.7.1/share/vice/DRIVES/dos1541-325302-01+901229-05.bin'.
> Loading system file `/gnu/store/xl99j30yh624c4zzq3wzrkqv1v4zs9lm-vice-3.7.1/share/vice/DRIVES/dos1541ii-251968-03.bin'.
> Loading system file `/gnu/store/xl99j30yh624c4zzq3wzrkqv1v4zs9lm-vice-3.7.1/share/vice/DRIVES/dos1570-315090-01.bin'.
> Loading system file `/gnu/store/xl99j30yh624c4zzq3wzrkqv1v4zs9lm-vice-3.7.1/share/vice/DRIVES/dos1571-310654-05.bin'.
> Loading system file `/gnu/store/xl99j30yh624c4zzq3wzrkqv1v4zs9lm-vice-3.7.1/share/vice/DRIVES/dos1581-318045-02.bin'.
> DriveROM: Error - 2000 ROM image not found. Hardware-level 2000 emulation is not available.
> DriveROM: Error - 4000 ROM image not found. Hardware-level 4000 emulation is not available.
> DriveROM: Error - CMDHD ROM image not found. Hardware-level CMDHD emulation is not available.
> Loading system file `/gnu/store/xl99j30yh624c4zzq3wzrkqv1v4zs9lm-vice-3.7.1/share/vice/DRIVES/dos1551-318008-01.bin'.
> Drive: Finished loading ROM images.
> Sound: Available sound devices: pulse alsa dummy fs dump wav voc iff aiff soundmovie
> using GTK3 backend: OpenGL
> chip_name: TED
>  screen_size: 384 x 312
>  first/lastline: 0 x 0
>  gfx_size: 320 x 200
>  gfx_position: 32 x 59
>  first/last displayed line: 19 x 306
>  extra offscreen border left/right: 28 x 228
>  screen_display_wh: 0.000000 x 0.000000
>  canvas_physical_wh: 0 x 0
>  scalexy: 2 x 2
>  sizexy: 1 x 1
>  rmode: 1
>  aspect ratio: 1.037435
>  hstretch: 0
>  vstretch: 0
>  initializing with width, height: 704 x 574
> GLX version: 1.4
> Getting matching framebuffer configs
> Found 6 matching FB configs.
> Error - Failed to obtain an OpenGL 3.2 context, requesting a legacy context
>
> Obtained OpenGL 2.1 context
> 	  Vendor: Intel
> 	Renderer: Mesa Mobile Intel® GM45 Express Chipset (CTG)
> 	 Version: 2.1 Mesa 23.1.4
> 	  Legacy: yes
> Direct GLX rendering context obtained
> Swap control support. glXSwapIntervalMESA: 1 glXSwapIntervalEXT: 1 glXSwapIntervalSGI: 1
> Created render thread 0
> Render thread initialised
> Joystick: Linux joystick interface initialization...
> Joystick: Warning - Cannot open joystick device `/dev/input/js0'.
> Joystick: Warning - Cannot open joystick device `/dev/input/js1'.
> Joystick: Warning - Cannot open joystick device `/dev/input/js2'.
> Joystick: Warning - Cannot open joystick device `/dev/input/js3'.
> Joystick: Warning - Cannot open joystick device `/dev/input/js4'.
> Joystick: Warning - Cannot open joystick device `/dev/input/js5'.
> Joystick: Warning - Cannot open joystick device `/dev/input/js6'.
> Joystick: Warning - Cannot open joystick device `/dev/input/js7'.
> Loading keymap `/gnu/store/xl99j30yh624c4zzq3wzrkqv1v4zs9lm-vice-3.7.1/share/vice/PLUS4/gtk3_sym.vkm'.
> HOTKEYS: Hotkeys: Initializing.
> HOTKEYS: Hotkeys: Parsing PLUS4 hotkeys file:
> HOTKEYS: Hotkeys: OK.
> AUTOSTART: Autodetecting image type of `TED-Vibes-2.d64'.
> AUTOSTART: Attached file `TED-Vibes-2.d64' as a disk image.
> AUTOSTART: mounted image is type: 1541, not changing drive.
> AUTOSTART: Resetting drive 8
> AUTOSTART: Resetting the machine to autostart '*'
> Sound: Opened device `pulse', speed 48000Hz, fragment size 2.67ms, buffer size 32.00ms
> [1]    4880 illegal hardware instruction  xplus4 TED-Vibes-2.d64

Looks to be an AVX instruction.
The backtrace looks roughly like this:
1: AVX instruction
2-10: ??
11: libc.so.6 start_thread
12: libc.so.6 clone3

Haven't yet found an obvious way to compile VICE without AVX.




Information forwarded to bug-guix <at> gnu.org:
bug#65890; Package guix. (Wed, 13 Sep 2023 03:00:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-guix <at> gnu.org:
bug#65890; Package guix. (Wed, 13 Sep 2023 03:51:03 GMT) Full text and rfc822 format available.

Message #14 received at 65890 <at> debbugs.gnu.org (full text, mbox):

From: raingloom <raingloom <at> riseup.net>
To: guix-patches <at> gnu.org
Cc: 65890 <at> debbugs.gnu.org, Csepp <raingloom <at> riseup.net>
Subject: [PATCH] gnu: Make vice tunable.
Date: Wed, 13 Sep 2023 05:48:54 +0200
From: Csepp <raingloom <at> riseup.net>

* gnu/packages/emulators.scm (vice)[properties]: Set tunable? to #t.
---
This fixes the issue with unsupported AVX instructions.

 gnu/packages/emulators.scm | 1 +
 1 file changed, 1 insertion(+)

diff --git a/gnu/packages/emulators.scm b/gnu/packages/emulators.scm
index 1d50c9ef01..dd1e3e877f 100644
--- a/gnu/packages/emulators.scm
+++ b/gnu/packages/emulators.scm
@@ -118,6 +118,7 @@ (define-public vice
   (package
     (name "vice")
     (version "3.7.1")
+    (properties '((tunable? . #t)))
     (source
      (origin
        (method url-fetch)

base-commit: 07d43c66d5c11fef61f9846fefb97fa18e4764f1
-- 
2.41.0





Information forwarded to bug-guix <at> gnu.org:
bug#65890; Package guix. (Thu, 14 Sep 2023 14:47:02 GMT) Full text and rfc822 format available.

Message #17 received at 65890 <at> debbugs.gnu.org (full text, mbox):

From: Ludovic Courtès <ludo <at> gnu.org>
To: raingloom <raingloom <at> riseup.net>
Cc: 65903 <at> debbugs.gnu.org, 65890 <at> debbugs.gnu.org
Subject: Re: bug#65903: [PATCH] gnu: Make vice tunable.
Date: Thu, 14 Sep 2023 16:46:04 +0200
Hi,

raingloom <raingloom <at> riseup.net> skribis:

> From: Csepp <raingloom <at> riseup.net>
>
> * gnu/packages/emulators.scm (vice)[properties]: Set tunable? to #t.
> ---
> This fixes the issue with unsupported AVX instructions.

Could you clarify what this means, ideally as a comment above the
property?

Thanks,
Ludo’.




This bug report was last modified 1 year and 273 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.