VOGONS


First post, by asdinnie

User metadata
Rank Newbie
Rank
Newbie

Hi all.

Have used the default dosbox.conf file to try to get my sound working under Kubuntu. Wanted to get it to be a SB lookalike.

Have made some changes to simplify it (commented out some lines).

When I try to run DOSbox I get the following error from my Terminal program (Konsole):
"Konsole is unable to open a PTY (pseudo teletype). It is likely that this is due to an incorrect configuration of the PTY devices. Konsole needs to have read/write access to the PTY devices."

Have read the readme and also tried to cut the config down to work out the error source.

Can anybody please help/point me in the right direction.

System is as follows:
- OS: Kubunty Feisty
- Sound: Alsa
- Motherboard: Asus
- Audio device SiS

Thanks

Andy

--

dosbos.conf currently used: (active lines only)

[sdl]
fullscreen=true
fulldouble=false
fullresolution=original
windowresolution=original
output=surface
sensitivity=100
waitonerror=true
priority=higher,normal

[dosbox]
language=
machine=vga
captures=capture
memsize=16

[render]
frameskip=0
aspect=false
scaler=normal2x

[cpu]
core=normal
cycles=3000
cycleup=500
cycledown=20

[mixer]
nosound=false
rate=22050
blocksize=2048
prebuffer=10

[sblaster]
sbtype=sb16
sbbase=220
irq=7
dma=1
hdma=5
mixer=true
oplmode=auto
oplrate=22050

[speaker]
pcspeaker=true
pcrate=22050

Reply 1 of 8, by wd

User metadata
Rank DOSBox Author
Rank
DOSBox Author

There seem to be lots of threads regarding this, and a number of solutions,
all hinting at incorrect permissions etc., did you try any of those already?

Reply 2 of 8, by `Moe`

User metadata
Rank Oldbie
Rank
Oldbie

What on earth has konsole to do with dosbox? They are two totally unrelated programs. Why would konsole give any message at all when starting dosbox?

Reply 3 of 8, by Qbix

User metadata
Rank DOSBox Author
Rank
DOSBox Author

they probably start dosbox in a console or so

Water flows down the stream
How to ask questions the smart way!

Reply 4 of 8, by asdinnie

User metadata
Rank Newbie
Rank
Newbie

Hi wd et al.

I tried a search for PTR (in the General forum) but got no luck.
Also could not find any Linux posts related to permissions per se (searching for "Linux permissions" in the DOSBox General forum).

Curiously the Konsole reply got me thinking. So I tried the built-in KDE terminal. And it works, well, sort of.
Curiously this is also firing up Konsole (now that's wierd...).

I still get no sound but got some diagnostic errors (to do with ALSA wanting access to MIDI, yet I thought I disabled MIDI and activated SB in the config file?).
The errors are:
ALSA:Can't subscribe to MIDI port (65:0)
MIDI:Opened device:oss

I'll look at the other alsa posts. Any help in the meantime would be appreciated.

Thanks for continued help.

Cheers

Andy

(and yes Konsole is the default terminal for KDE under Kubuntu).

Reply 5 of 8, by wd

User metadata
Rank DOSBox Author
Rank
DOSBox Author

I tried a search for PTR (in the General forum) but got no luck.

There's another quite interesting search facility, google.

Anyways, about the sound thing, use the latest dosbox version.
If it doesn't work there, post your alsa settings.

Reply 6 of 8, by `Moe`

User metadata
Rank Oldbie
Rank
Oldbie

Those diagnostics are harmless. They don't do any harm, they just indicate that you don't have any MIDI hardware with ALSA drivers at config=65:0, which is quite common these days (think "onboard sound")
They don't influence your digital sound issue.

The PTY issue is, as I said, totally unrelated to dosbox, and is likely ubuntu-specific, so ask them about it if you care. Sorry I can't help more, since while I have one kubuntu box, the majority of my machines run gentoo here. This too doesn't have anything to do with your sound issue.

Some hints for diagnosis:
- Do you get sound on your desktop?
- Do you get sound when two different non-KDE programs are running (say, XMMS and xawtv)?
- Do you get sound in other SDL apps (say, scummvm or many other emulators)?
- Have you tried different ways to produce sound in DOSBox?

Reply 7 of 8, by wd

User metadata
Rank DOSBox Author
Rank
DOSBox Author

The latest dosbox version tries 17:0 besides 65:0 thus i was asking
for the version number to exclude the obvious.

Reply 8 of 8, by `Moe`

User metadata
Rank Oldbie
Rank
Oldbie

If dosbox is already trying to autodetect, then put 128:0 in there as well, that's a timidity software synth in ALSA mode.