snapcrafters / dosbox-x Goto Github PK
View Code? Open in Web Editor NEWA community-maintained package to easily install DOSBox-X on Linux
A community-maintained package to easily install DOSBox-X on Linux
There is no audio output.
Tested with wolfenstein 3D and "skunny kart".
Using --edge build
Regular non-snapped dosbox from ppa:i30817/dosbox-patched works fine with audio.
I use Linux Mint 19.1.
Might be because the games use midi?
/var/log/syslog
contained the following spam:
Mar 12 20:00:33 jayschwa-desktop dosbox-x_dosbox-x.desktop[134923]: You have not selected a valid path. Do you want to run DOSBox-X with the current path as the DOSBo>
Mar 12 20:00:33 jayschwa-desktop dosbox-x_dosbox-x.desktop[134923]: DOSBox-X will exit if you select No.
Mar 12 20:00:33 jayschwa-desktop dosbox-x_dosbox-x.desktop[134923]: y/n:
Because this was happening thousands of times a second for awhile, my syslog ended up consuming hundreds of gigabytes.
Preferably, the app should have launched. In lieu of that, a user-facing error message would have been nice. Not the log spam 😆
snap info $snap_name
name: dosbox-x
summary: DOSBox-X fork of the DOSBox project
publisher: Snapcrafters
store-url: https://snapcraft.io/dosbox-x
contact: https://github.com/snapcrafters/dosbox-x/issues
license: unset
description: |
DOSBox-X is a x86 emulator with Tandy/Hercules/CGA/EGA/VGA/SVGA graphics
sound and DOS. It's been designed to run old DOS games under platforms that
don't support it.
This snap is maintained by the Snapcrafters community, and is not necessarily endorsed or
officially maintained by the upstream developers.
commands:
- dosbox-x
snap-id: ogcav3zrjqBXdDx8ofgJYMEPSLVRs9ID
tracking: latest/stable
refresh-date: today at 00:23 EST
channels:
latest/stable: 0.83.14 2021-06-02 (840) 81MB -
latest/candidate: ↑
latest/beta: 0.83.12 2021-04-02 (776) 81MB -
latest/edge: 0.83.21 2022-01-11 (1028) 82MB -
installed: 0.83.14 (840) 81MB -
snap connections $snap_name
Interface Plug Slot Notes
audio-playback dosbox-x:audio-playback :audio-playback -
desktop dosbox-x:desktop :desktop -
desktop-legacy dosbox-x:desktop-legacy :desktop-legacy -
home dosbox-x:home :home -
network dosbox-x:network :network -
network-bind dosbox-x:network-bind :network-bind -
opengl dosbox-x:opengl :opengl -
removable-media dosbox-x:removable-media - -
unity7 dosbox-x:unity7 :unity7 -
snap version
snap 2.54.3.2
snapd 2.54.3.2
series 16
ubuntu 21.10
kernel 5.13.0-35-generic
Mar 12 20:00:33 jayschwa-desktop dosbox-x_dosbox-x.desktop[134923]: You have not selected a valid path. Do you want to run DOSBox-X with the current path as the DOSBo>
Mar 12 20:00:33 jayschwa-desktop dosbox-x_dosbox-x.desktop[134923]: DOSBox-X will exit if you select No.
Mar 12 20:00:33 jayschwa-desktop dosbox-x_dosbox-x.desktop[134923]: y/n:
No response
0.82.20 requires a newer ffmpeg.
g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I../../src/aviwriter -I../../src/hardware/snd_pc98/sound -I../../src/hardware/snd_pc98/common -I../../src/hardware/snd_pc98/generic -I../../src/hardware/snd_pc98/sound/getsnd -I../../src/hardware/snd_pc98/x11 -I../../src/hardware/snd_pc98/cbus -I../../src -Wno-extended-offsetof -Wno-int-to-void-pointer-cast -Wno-address-of-packed-member -Wno-format-zero-length -Wno-missing-field-initializers -Wno-strict-aliasing -Wno-implicit-fallthrough -Wno-deprecated-declarations -Wconversion-null -Wsign-promo -Wlogical-op -pedantic -Wunused -Wextra -Wall -Wno-unknown-warning -I/build/dosbox-x/parts/dosbox-x/build/vs2015/sdl/linux-host/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/build/dosbox-x/parts/dosbox-x/build/vs2015/sdlnet/linux-host/include -I/build/dosbox-x/parts/dosbox-x/build/vs2015/sdlnet/linux-host/include/SDL -I/usr/include/x86_64-linux-gnu -g -std=gnu++11 -O2 -msse -Wno-unknown-warning -Wall -Wextra -Wunused -pedantic -Wlogical-op -Wsign-promo -Wconversion-null -Wno-deprecated-declarations -Wno-implicit-fallthrough -Wno-strict-aliasing -Wno-missing-field-initializers -Wno-format-zero-length -Wno-address-of-packed-member -Wno-int-to-void-pointer-cast -Wno-extended-offsetof -D_XOPEN_SOURCE=700 -D_POSIX_C_SOURCE=200809L -I/build/dosbox-x/parts/dosbox-x/build/vs2015/sdlnet/linux-host/include -I/build/dosbox-x/parts/dosbox-x/build/vs2015/sdlnet/linux-host/include/SDL -MT hardware.o -MD -MP -MF $depbase.Tpo -c -o hardware.o hardware.cpp &&\
mv -f $depbase.Tpo $depbase.Po
hardware.cpp:57:4: error: #error Your libavcodec is too old. Update FFMPEG.
# error Your libavcodec is too old. Update FFMPEG.
Perhaps we can use a stage snap?
@popey I decided to have a look at the Snap package, to see how it compares to the Flatpak I made. And if I could perhaps add some contributions. But I immediately run into a problem. Namely, it does not start. Neither from the desktop by clicking on the icon or from the command line. The command line though gives at least a hint as to what is going on.
$ snap info dosbox-x
name: dosbox-x
summary: DOSBox-X fork of the DOSBox project
publisher: Snapcrafters
store-url: https://snapcraft.io/dosbox-x
contact: https://github.com/snapcrafters/dosbox-x/issues
license: unset
description: |
DOSBox-X is a x86 emulator with Tandy/Hercules/CGA/EGA/VGA/SVGA graphics
sound and DOS. It's been designed to run old DOS games under platforms that
don't support it.
This snap is maintained by the Snapcrafters community, and is not necessarily endorsed or
officially maintained by the upstream developers.
commands:
- dosbox-x
snap-id: ogcav3zrjqBXdDx8ofgJYMEPSLVRs9ID
tracking: latest/stable
refresh-date: today at 09:17 CEST
channels:
latest/stable: 0.83.6 2020-10-02 (597) 80MB -
latest/candidate: ↑
latest/beta: 0.83.6 2020-10-02 (597) 80MB -
latest/edge: 0.83.5 2020-10-06 (603) 79MB -
installed: 0.83.6 (597) 80MB -
$ snap run dosbox-x
WARNING: cgroup v2 is not fully supported yet, proceeding with partial confinement
LOG: Early LOG Init complete
LOG: Logging init: beginning logging proper. This is the end of the early init logging
LOG: Logging: No logfile was given. All further logging will be discarded.
LOG: DOSBox-X version 0.83.6 (Linux SDL1)
LOG: E_Exit: Can't init SDL No available video device
E_Exit: Can't init SDL No available video device
Any idea what may be causing this? I'm running Fedora 33 beta with Wayland.
Two other things I noticed.
Config option "clip_key_modifier" does not exist.
Copy and paste work in v0.83.1 for Windows properly.
Looks like it needs to build using the supplied libsdl not from the repo.
-D_POSIX_C_SOURCE=200809L -mmmx -msse -msse2 -MT render.o -MD -MP -MF $depbase.Tpo -c -o render.o render.cpp &&\
mv -f $depbase.Tpo $depbase.Po
sdlmain.cpp:109:4: error: #error This code must be compiled using the SDL 1.x library provided in this source repository
# error This code must be compiled using the SDL 1.x library provided in this source repository
^
sdlmain_linux.cpp: In function ‘void Linux_JPXKBFix()’:
sdlmain_linux.cpp:58:30: warning: ‘KeySym XKeycodeToKeysym(Display*, KeyCode, int)’ is deprecated [-Wdeprecated-declarations]
sym[j] = XKeycodeToKeysym(wminfo.info.x11.display,(KeyCode)i,j);
^
HI there. The file dosbox-x-.conf file is not included, and configurations from the GUI won't save.
Only reason I went with the Snap package is because Dosbox-x is not packaged for Ubuntu.
I also tried to compile it from source which didn't work because there were missing libraries.
As per https://forum.snapcraft.io/t/dosbox-x-crashes-when-trying-to-use-opengl-output/11453/2
When switching from software to OpenGl output in dosbox-x (by going to Video->Output->OpenGL), it crashes.
The terminal output seems to suggest that it can’t find the appropriate libraries:
libGL error: unable to load driver: i965_dri.so
libGL error: driver pointer missing
libGL error: failed to load driver: i965
libGL error: unable to load driver: i965_dri.so
libGL error: driver pointer missing
libGL error: failed to load driver: i965
libGL error: unable to load driver: swrast_dri.so
libGL error: failed to load driver: swrast
X Error: BadValue
Request Major code 152 (GLX)
Request Minor code 3 ()
Value 0x0
Error Serial #218
Current Serial #219
When trying to snap install Dosbox-x, I got following error message:
snap "dosbox-x" is not available on stable for this architecture (armhf) but exists on other architectures (amd64, i386)
I'm running Linux Debian Buster (32bit) on a Raspberry Pi 3.
Is it possible to create a snap version for this platform?
/dev/ttyS0 couldn't be opened while the user running dosbox-x had read-write permisson.
The "serial-port" plug should be configured in snapcraft.yaml.
snap info $snap_name
store-url: https://snapcraft.io/dosbox-x
contact: https://github.com/snapcrafters/dosbox-x/issues
...
installed: 0.83.14 (840) 81MB
snap connections $snap_name
Interface Plug Slot Notes
audio-playback dosbox-x:audio-playback :audio-playback -
desktop dosbox-x:desktop :desktop -
desktop-legacy dosbox-x:desktop-legacy :desktop-legacy -
home dosbox-x:home :home -
network dosbox-x:network :network -
network-bind dosbox-x:network-bind :network-bind -
opengl dosbox-x:opengl :opengl -
removable-media dosbox-x:removable-media - -
unity7 dosbox-x:unity7 :unity7 -
snap version
snap 2.53.4
snapd 2.53.4
series 16
ubuntu 20.04
kernel 5.13.0-27-generic
strace:
openat(AT_FDCWD, "/dev/ttyS0", O_RDWR|O_NOCTTY|O_NONBLOCK) = -1 EPERM
LOG: DOSBox-X version 0.83.14 (Linux SDL1)
...
LOG: Serial1: BASE 3f8h
LOG: Serial1: Opening ttyS0
LOG: Serial1: Serial Port "ttyS0" could not be opened.
LOG: System error 9.
I'm trying to make DosBox-X to work with MUNT emulator for MT-32.
I have the following lines to my dosbox.conf
mpu401 = intelligent
mididevice = default
midiconfig = 128:0
When I start DosBox-X from command line I get the following errors:
ALSA lib conf.c:3916:(snd_config_update_r) Cannot access file /usr/share/alsa/alsa.conf
ALSA lib seq.c:935:(snd_seq_open_noupdate) Unknown SEQ hw
You can find some recent screenshots here: https://github.com/joncampbell123/dosbox-x/tree/master/contrib/linux
Hi,
I would like to ask for a few things to be changed for building the snap package. Such that the snap and flatpak experiences are more in-line with each other. fyi, I created the flatpak package.
A new dosbox-x release should be out around the 1st of the month, and I will be preparing some minor updates to the flatpak yaml for the next version. For instance, right now the flatpak page does not show any screenshots, but once the new build is done with the updated metainfo.xml, screenshots will be shown.
ldd indicates not compiled with libpcap support? - version 0.83.1
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.