VICE problem in Ubuntu 16.04.1

You need an actual VIC.

Moderator: Moderators

User avatar
ral-clan
plays wooden flutes
Posts: 3531
Joined: Thu Jan 26, 2006 2:01 pm
Location: Canada

Re: VICE problem in Ubuntu 16.04.1

Postby ral-clan » Sun Sep 25, 2016 8:44 am

Hi Groepaz,

Thanks for all your help. I finally got it working perfectly! I compiled it with these parameters:

./configure --disable-option-checking '--prefix=/usr/local' '--enable-fullscreen' '--with-pulse' '--with-x' '--enable-gnomeui' --c

It runs full-screen very well and now I have sound. There was a slight glitch I needed to overcome:

For some reason I was not able to use my keyboard within the VICE emulation - VICE would recognize CTRL-D etc, but the emulated commodore machine will not respond to my keyboard (i.e. I cannot type commands like LOAD, RUN, etc.)! Solved by copying missing .vpl and .vkm files into home/user/.vice/C64 ....etc.

A couple of final (?) questions:
    - If I want to "lock" this version so it doesn't get upgraded and cause me problems in future, do I need to? Is there a way to?
    - If I ever want to un-install this manually compiled software, how is that done? Can it still be done if I have not kept the compile work directory?
    - In PET emulation, is there such a setting as NTSC vs. PAL? I cannot find it, and the startup messages from terminal seem to indicate it is running at 55Hz (PET: cycles per frame set to 17913, refresh to 55.825Hz / PET: cycles per frame set to 17920, refresh to 55.803Hz)
    - no icons were installed in my LXDE start menu - I have to start from terminal. I assume this is not really a problem you can answer, since you are not a Lubuntu user....I'll have to figure out how to make shortcuts manually.

Here's the configure summary:

Code: Select all

configure summary:

Platform canonical: i686-pc-linux-gnu
Architecture      : Unix
GUI               : GTK2

SCREEN/UI
---------
Fullscreen support             : yes (--enable/disable-fullscreen)
Hardware scaling support       : yes
OpenGL sync support            : no
Cairo rendering support        : yes
Pango support                  : yes
XF86 extensions support        : yes
MITSHM extensions support      : no
XF86 VidMode extensions support: yes
XVideo support                 : no
XRandR support                 : yes
Multithreaded UI support       : no  (--with/without-uithreads)
LibXpm support                 : no
VTE support                    : no  (--enable/disable-vte)

SOUND
-----
PortAudio sound input support: no
OSS sound support            : yes (--with/without-oss)
ALSA sound support           : no  (--with/without-alsa)
ARTS sound support           : no  (--with/without-arts)
Pulseaudio sound support     : yes (--with/without-pulse)
SDL sound support            : no  (--with/without-sdlsound)
NetBSD/Solaris sound support : no
AIX sound support            : no
HPUX sound support           : no
SGI sound support            : no
MIDI support                 : yes (--enable/disable-midi)
Catweasel MK3 support        : yes
HardSID support              : yes
ParSID support               : yes (--enable/disable-parsid)
SSI2001 support              : yes (--enable/disable-ssi2001)
direct I/O access support    : no
lpt port access              : yes
PCI utils support            : no
MP3 encoding support         : no  (--enable/disable-lame)
MP3 decoding support         : no
FLAC en/de-coding support    : no
OGG en/de-coding support     : no

SCREENSHOTS
-----------
GIF encoding support : no
JPEG encoding support: no
PNG encoding support : yes (--with/without-png)

VIDEO RECORDING
---------------
FFMPEG support                : no  (--enable-shared-ffmpeg/--enable-static-ffmpeg/--enable-external-ffmpeg)
FFMPEG swscale support        : no
FFMPEG swresample support     : no
FFMPEG avresample support     : no
included shared FFMPEG support: no  (--enable-shared-ffmpeg)
included static FFMPEG support: no  (--enable-static-ffmpeg)

INPUT
-----
Joystick support            : yes
Mouse support               : yes
Lightpen support            : yes
Linux style joystick support: yes
BSD style joystick support  : no
Digital joystick support    : no
USB joystick support        : no

MODEM/NETWORK
-------------
RS232 device support             : yes (--enable/disable-rs232)
Network support                  : yes
RS232 network support            : yes
IPv6 network support             : yes (--enable/disable-ipv6)
Network capture/injection support: no  (--enable/disable-ethernet)

DRIVE
-----
Raw drive support: yes
OpenCBM support  : yes (--enable/disable-realdevice)

LIBS
----
Dynamic linking support: yes
Zlib support           : yes (--with/without-zlib)
Libieee1284 support    : no
NLS support            : yes (--enable/disable-nls)

MISC
----
ReSID support              : yes (--with/without-resid)
Memmap support             : no  (--enable/disable-memmap)
Debug support              : no  (--enable/disable-debug)
Embedded data files support: no  (--enable/disable-embedded)

----------------------------------------------------------------------
Image Music I've made with 1980s electronics, synths and other retro-instruments: http://theovoids.bandcamp.com

groepaz
Vic 20 Nerd
Posts: 636
Joined: Wed Aug 25, 2010 5:30 pm

Re: VICE problem in Ubuntu 16.04.1

Postby groepaz » Sun Sep 25, 2016 12:24 pm

sounds like you did not do "sudo make install" as a last step (typical sign is that keyboard maps are not found :))

is that the full configure line? looks like it was truncated (wth is --c ?) and could you please list the extra -dev packages that you had to install to make it work?

- If I want to "lock" this version so it doesn't get upgraded and cause me problems in future, do I need to? Is there a way to?

if you dont have the VICE package from your distro installed, then you dont have to do anything, it will not touch our remove software that installed yourself (it doesnt even know about it)
- If I ever want to un-install this manually compiled software, how is that done? Can it still be done if I have not kept the compile work directory?

you can use "sudo make uninstall" for that, but you'll have to keep the configured source directory. i recommend that anyway, since now you can easily stay up to date and get the most recent svn version by simply doing "svn up && make && sudo make install"
- In PET emulation, is there such a setting as NTSC vs. PAL? I cannot find it, and the startup messages from terminal seem to indicate it is running at 55Hz (PET: cycles per frame set to 17913, refresh to 55.825Hz / PET: cycles per frame set to 17920, refresh to 55.803Hz)

no, there is no such thing, all PETs are the same
- no icons were installed in my LXDE start menu - I have to start from terminal. I assume this is not really a problem you can answer, since you are not a Lubuntu user....I'll have to figure out how to make shortcuts manually.

yes, the barebones VICE install does not do that... icons and startmenu entries are usually added by the distro maintainers

User avatar
ral-clan
plays wooden flutes
Posts: 3531
Joined: Thu Jan 26, 2006 2:01 pm
Location: Canada

Re: VICE problem in Ubuntu 16.04.1

Postby ral-clan » Sun Sep 25, 2016 6:11 pm

The full configure line I used was:

./configure --enable-fullscreen --with-pulse --with-x --enable-gnomeui

I have no idea how the --c got added to the message above! I'm sure I needed "pulse" and "gnomeeui" but I'm not sure if I needed to use "with-x", I just took a guess as I thought it might have something to do with my graphics setup (xorg?). I know nothing about what --with-x actually does.

If I accidentally ever deleted the source directory, would there still be a way to uninstall a manually compiled VICE?

As for the extra -dev packages I installed:

$ sudo apt-get install build-essential # (contains gcc, make)
$ sudo apt-get install byacc
$ sudo apt-get install texi2html
$ sudo apt-get install flex
$ sudo apt-get install libreadline-dev
$ sudo apt-get install libxaw7-dev
$ sudo apt-get install texinfo

and:

$ sudo apt-get install libgtk2.0-cil-dev # for GTK2 UI
$ sudo apt-get install libgtkglext1-dev # for hardware scaling/openGL support
$ sudo apt-get install libpulse-dev # for pulse audio support

I'm not sure if In needed to use all of the dev packages I installed - the GTK2, openGL and Pulse Audio ones seemed pretty obvious. I left out ones that allowed for ethernet support, video recording, etc. as they didn't seem like ones I would use.

Again, thanks for the help. It was really bugging me that the upgraded VICE in the Lubuntu repository actually took a step backward and disabled hardware scaling. With your help, my Commodore emulation looks just like a real machine again (proper aspect ratios and full screen).
Image Music I've made with 1980s electronics, synths and other retro-instruments: http://theovoids.bandcamp.com

groepaz
Vic 20 Nerd
Posts: 636
Joined: Wed Aug 25, 2010 5:30 pm

Re: VICE problem in Ubuntu 16.04.1

Postby groepaz » Fri Sep 30, 2016 6:19 am

ok, thanks... apparently the current howto covers this already, so no need to add anything :)

User avatar
ral-clan
plays wooden flutes
Posts: 3531
Joined: Thu Jan 26, 2006 2:01 pm
Location: Canada

Re: VICE problem in Ubuntu 16.04.1

Postby ral-clan » Fri Sep 30, 2016 1:27 pm

groepaz wrote:ok, thanks... apparently the current howto covers this already, so no need to add anything :)


What does the --with-x line do? I wasn't sure if I needed it for my purposes.

Thanks.
Image Music I've made with 1980s electronics, synths and other retro-instruments: http://theovoids.bandcamp.com

groepaz
Vic 20 Nerd
Posts: 636
Joined: Wed Aug 25, 2010 5:30 pm

Re: VICE problem in Ubuntu 16.04.1

Postby groepaz » Fri Sep 30, 2016 2:49 pm

not sure either =D i think its not actually needed if you use gnomeui anyways.... if you only want the xaw gui, then its required, i think


Return to “Emulation and Cross Development”

Who is online

Users browsing this forum: No registered users and 1 guest