OS: Ubuntu 21.04 x86_64
Kernel: 5.11.0-25-generic
CPU: Intel i7-4790S (8) @ 4.000GHz
GPU: NVIDIA GeForce GTX 1060 6GB
nvidia-driver-460
/configure --enable-arch=native --with-resid --enable-native-gtk3ui --enable-ethernet --with-pulse --with-alsa --enable-pdf-docs --enable-external-ffmpeg --enable-new8580filter
Builds fine but x64sc, xvic, x128, xpet et cetera, errors when running them. Vsid works. For example:
~/compiling/vice/vice/src$ ./x128
ffmpeg avformat lib has version 3a2d64, VICE expects 3a2d64: full match
ffmpeg avcodec lib has version 3a5b64, VICE expects 3a5b64: full match
ffmpeg avutil lib has version 383364, VICE expects 383364: full match
ffmpeg swscale lib has version 050764, VICE expects 050764: full match
ffmpeg swresample lib has version 030764, VICE expects 030764: full match
Detecting ISA HardSID boards.
Could not open '/dev/port'.
Cannot get permission to access $300.
Detecting PCI HardSID boards.
No PCI HardSID boards found.
Detecting PCI CatWeasel boards.
No PCI CatWeasel found.
Detecting Linux ParSIDs.
Could not open /dev/parport0.
Could not open /dev/parport1.
Could not open /dev/parport2.
No Linux ParSIDs found.
Detecting direct I/O ParSIDs.
Could not open '/dev/port'.
Could not get permission to access 3BC.
Could not open '/dev/port'.
Could not get permission to access 378.
Could not open '/dev/port'.
Could not get permission to access 278.
Detecting direct I/O ISA SSI2001.
Could not open '/dev/port'.
Cannot get permission to access $280.
*** VICE Version 3.5, rev 40417 ***
Welcome to x128, the free portable C128 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.
This is free software with ABSOLUTELY NO WARRANTY.
See the "About VICE" command for more info.
Loading system file `/usr/local/share/vice/C128/kernal'.
Loading system file `/usr/local/share/vice/C128/kernalde'.
Loading system file `/usr/local/share/vice/C128/kernalfi'.
Loading system file `/usr/local/share/vice/C128/kernalfr'.
Loading system file `/usr/local/share/vice/C128/kernalit'.
Loading system file `/usr/local/share/vice/C128/kernalno'.
Loading system file `/usr/local/share/vice/C128/kernalse'.
Loading system file `/usr/local/share/vice/C128/kernalch'.
C128MEM: Kernal rev #1.
Loading system file `/usr/local/share/vice/C128/basiclo'.
Loading system file `/usr/local/share/vice/C128/basichi'.
Loading system file `/usr/local/share/vice/C128/chargen'.
Loading system file `/usr/local/share/vice/C128/chargde'.
Loading system file `/usr/local/share/vice/C128/chargfr'.
Loading system file `/usr/local/share/vice/C128/chargse'.
Loading system file `/usr/local/share/vice/C128/chargch'.
Loading system file `/usr/local/share/vice/C128/chargno'.
Loading system file `/usr/local/share/vice/C128/kernal64'.
Loading system file `/usr/local/share/vice/C128/basic64'.
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 system file `/usr/local/share/vice/PRINTER/mps803'.
Palette: Loading palette `/usr/local/share/vice/PRINTER/mps803.vpl'.
Loading system file `/usr/local/share/vice/PRINTER/nl10-cbm'.
Palette: Loading palette `/usr/local/share/vice/PRINTER/nl10.vpl'.
NL10: Printer driver initialized.
Palette: Loading palette `/usr/local/share/vice/PRINTER/1520.vpl'.
Loading system file `/usr/local/share/vice/DRIVES/dos1540'.
Loading system file `/usr/local/share/vice/DRIVES/dos1541'.
Loading system file `/usr/local/share/vice/DRIVES/d1541II'.
Loading system file `/usr/local/share/vice/DRIVES/dos1570'.
Loading system file `/usr/local/share/vice/DRIVES/dos1571'.
Loading system file `/usr/local/share/vice/DRIVES/dos1581'.
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 `/usr/local/share/vice/DRIVES/d1571cr'.
Loading system file `/usr/local/share/vice/DRIVES/dos2031'.
Loading system file `/usr/local/share/vice/DRIVES/dos2040'.
Loading system file `/usr/local/share/vice/DRIVES/dos3040'.
Loading system file `/usr/local/share/vice/DRIVES/dos4040'.
Loading system file `/usr/local/share/vice/DRIVES/dos1001'.
Loading system file `/usr/local/share/vice/DRIVES/dos9000'.
Drive: Finished loading ROM images.
using GTK3 backend: OpenGL
GLX version: 1.4
Getting matching framebuffer configs
Found 22 matching FB configs.
Obtained OpenGL 3.2 context
Vendor: NVIDIA Corporation
Renderer: GeForce GTX 1060 6GB/PCIe/SSE2
Version: 3.2.0 NVIDIA 460.91.03
Legacy: no
Direct GLX rendering context obtained
Swap control support. glXSwapIntervalMESA: 0 glXSwapIntervalEXT: 1 glXSwapIntervalSGI: 1
Error - Failed to open /usr/local/share/vice/GLSL/viewport.vert for reading
(x128:42057): Gdk-CRITICAL **: 10:12:49.976: gdk_frame_clock_idle_end_updating: assertion 'priv->updating_count > 0' failed
For what its worth, 40126 works fine:
$ x128
ffmpeg avformat lib has version 3a2d64, VICE expects 3a2d64: full match
ffmpeg avcodec lib has version 3a5b64, VICE expects 3a5b64: full match
ffmpeg avutil lib has version 383364, VICE expects 383364: full match
ffmpeg swscale lib has version 050764, VICE expects 050764: full match
ffmpeg swresample lib has version 030764, VICE expects 030764: full match
Detecting ISA HardSID boards.
Could not open '/dev/port'.
Cannot get permission to access $300.
Detecting PCI HardSID boards.
No PCI HardSID boards found.
Detecting PCI CatWeasel boards.
No PCI CatWeasel found.
Detecting Linux ParSIDs.
Could not open /dev/parport0.
Could not open /dev/parport1.
Could not open /dev/parport2.
No Linux ParSIDs found.
Detecting direct I/O ParSIDs.
Could not open '/dev/port'.
Could not get permission to access 3BC.
Could not open '/dev/port'.
Could not get permission to access 378.
Could not open '/dev/port'.
Could not get permission to access 278.
Detecting direct I/O ISA SSI2001.
Could not open '/dev/port'.
Cannot get permission to access $280.
*** VICE Version 3.5, rev 40126 ***
Welcome to x128, the free portable C128 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.
This is free software with ABSOLUTELY NO WARRANTY.
See the "About VICE" command for more info.
Loading system file `/usr/local/share/vice/C128/kernal'.
Loading system file `/usr/local/share/vice/C128/kernalde'.
Loading system file `/usr/local/share/vice/C128/kernalfi'.
Loading system file `/usr/local/share/vice/C128/kernalfr'.
Loading system file `/usr/local/share/vice/C128/kernalit'.
Loading system file `/usr/local/share/vice/C128/kernalno'.
Loading system file `/usr/local/share/vice/C128/kernalse'.
Loading system file `/usr/local/share/vice/C128/kernalch'.
C128MEM: Kernal rev #1.
Loading system file `/usr/local/share/vice/C128/basiclo'.
Loading system file `/usr/local/share/vice/C128/basichi'.
Loading system file `/usr/local/share/vice/C128/chargen'.
Loading system file `/usr/local/share/vice/C128/chargde'.
Loading system file `/usr/local/share/vice/C128/chargfr'.
Loading system file `/usr/local/share/vice/C128/chargse'.
Loading system file `/usr/local/share/vice/C128/chargch'.
Loading system file `/usr/local/share/vice/C128/chargno'.
Loading system file `/usr/local/share/vice/C128/kernal64'.
Loading system file `/usr/local/share/vice/C128/basic64'.
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 system file `/usr/local/share/vice/PRINTER/mps803'.
Palette: Loading palette `/usr/local/share/vice/PRINTER/mps803.vpl'.
Loading system file `/usr/local/share/vice/PRINTER/nl10-cbm'.
Palette: Loading palette `/usr/local/share/vice/PRINTER/nl10.vpl'.
NL10: Printer driver initialized.
Palette: Loading palette `/usr/local/share/vice/PRINTER/1520.vpl'.
Loading system file `/usr/local/share/vice/DRIVES/dos1540'.
Loading system file `/usr/local/share/vice/DRIVES/dos1541'.
Loading system file `/usr/local/share/vice/DRIVES/d1541II'.
Loading system file `/usr/local/share/vice/DRIVES/dos1570'.
Loading system file `/usr/local/share/vice/DRIVES/dos1571'.
Loading system file `/usr/local/share/vice/DRIVES/dos1581'.
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 `/usr/local/share/vice/DRIVES/d1571cr'.
Loading system file `/usr/local/share/vice/DRIVES/dos2031'.
Loading system file `/usr/local/share/vice/DRIVES/dos2040'.
Loading system file `/usr/local/share/vice/DRIVES/dos3040'.
Loading system file `/usr/local/share/vice/DRIVES/dos4040'.
Loading system file `/usr/local/share/vice/DRIVES/dos1001'.
Loading system file `/usr/local/share/vice/DRIVES/dos9000'.
Drive: Finished loading ROM images.
using GTK3 backend: OpenGL
GLX version: 1.4
Getting matching framebuffer configs
Found 22 matching FB configs.
Obtained OpenGL 3.2 context
Vendor: NVIDIA Corporation
Renderer: GeForce GTX 1060 6GB/PCIe/SSE2
Version: 3.2.0 NVIDIA 460.91.03
Legacy: no
Direct GLX rendering context obtained
Swap control support. glXSwapIntervalMESA: 0 glXSwapIntervalEXT: 1 glXSwapIntervalSGI: 1
Created render thread 0
Render thread initialised
using GTK3 backend: OpenGL
Error - Error: hotkey already registered.
Error - adding hotkeys failed, see the log for details.
GLX version: 1.4
Getting matching framebuffer configs
Found 22 matching FB configs.
Obtained OpenGL 3.2 context
Vendor: NVIDIA Corporation
Renderer: GeForce GTX 1060 6GB/PCIe/SSE2
Version: 3.2.0 NVIDIA 460.91.03
Legacy: no
Direct GLX rendering context obtained
Swap control support. glXSwapIntervalMESA: 0 glXSwapIntervalEXT: 1 glXSwapIntervalSGI: 1
Created render thread 1
Render thread initialised
Sound: Available sound devices: pulse alsa dummy fs dump wav voc iff aiff soundmovie
Keyboard: Loading keymap `/usr/local/share/vice/C128/gtk3_sym.vkm'.
Keyboard: Warning - gtk3_sym.vkm:103: SHIFT-lock flag used but no !SHIFTL defined
Keyboard: Warning - gtk3_sym.vkm: !LCBM !VCBM !LCTRL !VCTRL !SHIFTL not defined.
Main CPU: starting at ($FFFC).
Main CPU: RESET.
Sound: Opened device `pulse', speed 44100Hz, fragment size 2,90ms, buffer size 26,12ms
reSID: MOS8580, filter on, sampling rate 44100Hz - resampling, pass to 19845Hz
Sync reset
Unit 8: RESET.
Initiating render thread 0 shutdown
Initiating render thread 1 shutdown
Joining render thread 0 ...
Render thread shutdown
Joined render thread 0.
Joining render thread 1 ...
Joined render thread 1.
Ignoring new render job as render thread 1 has shut down
VICE thread initiating shutdown
VICE thread is exiting
VICE thread has been joined.
Sound: Closing device `pulse'
Can you confirm the file is actually there? Did you run
sudo make installto install the GLSL directory and its contents?Aha, no I didn't. Usually I try the emulators directly in the /src-folder and if they for some reason stop working, I don't run "sudo make install" so that I continue to have a working c64-emulator on my system. But in this case, running "sudo make install" was the solution. Works fine now. :)
That won't work. "data/", not "src/" is the anchor. Therefore, you must copy the newly-built binaries from "src/" into "data/". Then, run them from "data/".
as long as the data directory was not changed/updated, it works just fine of course :) only in windows its a bit more complicated (you'll have to provide the data dirs on the commandline then)
Alright, problem solved, closing :)