User:Compyx: Difference between revisions
Jump to navigation
Jump to search
(→Ports) |
m (→NetBSD) |
||
Line 42: | Line 42: | ||
Some notes/observations: | Some notes/observations: | ||
* It has few weird conflicts with library interdependencies: a lot of foo.so.x needed but foo.so.y found, etc. May need to test the pkgsrc system, see if that behave any better, and perhaps run the system on bare metal. | |||
* /dev/joy0 and /dev/joy1 can't be opened, <machine/joystick.h> is there and compiling against it works, same goes for USB joysticks, after installing libusb, usbhidapi and some others, configure sees the USB joystick support, but it doesn't work. Most likely a VirtualBox problem. | * /dev/joy0 and /dev/joy1 can't be opened, <machine/joystick.h> is there and compiling against it works, same goes for USB joysticks, after installing libusb, usbhidapi and some others, configure sees the USB joystick support, but it doesn't work. Most likely a VirtualBox problem. | ||
* HW rendering failed to build (failed at libdrm) while installing MesaLib7 through pkgsrc. So some ports had horrible performance. | * HW rendering failed to build (failed at libdrm) while installing MesaLib7 through pkgsrc. So some ports had horrible performance. |
Revision as of 14:55, 3 October 2016
Who am I =
TODO ;)
Personal devlog
TODO list
- 2016-09-xx: Try to build VICE on Minix 3.2.x
- 2016-09-29: Test Android SDL2 build
- 2016-09-29: Fix build system for *BSD ports (2016-10-2: Done for FreeBSD and NetBSD)
- 2016-10-02: Gtk2 crashes NetBSD VirtualBox VM, why? Logging doesn't help, empty log
BSD build system adventures
FreeBSD/PC-BSD
Version(s) tested: PC-BSD 10.3 amd64 (PC-BSD which is a preconfigured X11 install of FreeBSD)
Use gmake when building VICE! Use normal make when installing from the ports system.
Ports
- Xaw: builds and runs
- Gtk2: builds and runs
- Gtk3: builds and runs
- SDL1: builds and runs
- SDL2: builds and runs (very well even, best performance of the ports I've tested, most likely thanks to VirtualBox using HW rendering on my host)
(Tested in VirtualBox VM with guest additions). Still need to do a write-up on which libraries should be installed for building and for each specific port.
NetBSD
Version(s) tested: 7.0.1 amd64 (on VirtualBox 5.1.6)
Use gmake!
Some notes/observations:
- It has few weird conflicts with library interdependencies: a lot of foo.so.x needed but foo.so.y found, etc. May need to test the pkgsrc system, see if that behave any better, and perhaps run the system on bare metal.
- /dev/joy0 and /dev/joy1 can't be opened, <machine/joystick.h> is there and compiling against it works, same goes for USB joysticks, after installing libusb, usbhidapi and some others, configure sees the USB joystick support, but it doesn't work. Most likely a VirtualBox problem.
- HW rendering failed to build (failed at libdrm) while installing MesaLib7 through pkgsrc. So some ports had horrible performance.
- Sounds seems to work, but VBox doesn't output anything, most likely again a VBox issue, there are no guest-additions for NetBSD, there is an effort
started in 2013 to port FreeBSD's guest additions to NetBSD, but that was abandoned.
All issues are related to properly configuring NetBSD, not something for VICE to worry about.
Ports
- Xaw: builds and runs
- Gtk2: builds and runs
- Gtk3: builds, starts, but hangs on initializing the Gtk3 widget for displaying the actual screen ("Gtk-WARNING **: Allocating size to GtkWindow 0x7f7ff493cd20 without calling gtk_widget_get_preferred_width/height(). How does the code know the size to allocate?")
- SDL1: builds and runs, no HW acceleration yet, needs Mesa, which fails to build
- SDL2: builds and 'runs' (5fps, most likely due to Gallium using software rendering)
OpenBSD
Version(s) tested: 6.0 amd64
Can't get the bloody X server to behave :) (Again in VBox VM)
Dragonfly BSD
TODO