All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: 1.1.5.1-5 regressions and other bugs
@ 2003-07-17 15:52 Stas Sergeev
  2003-07-17 16:48 ` Vedran Rodic
  0 siblings, 1 reply; 12+ messages in thread
From: Stas Sergeev @ 2003-07-17 15:52 UTC (permalink / raw)
  To: linux-msdos

Hello.

Vedran Rodic wrote:
> Quake (I use 1.08) doesn't have sound anymore.
Is it possible to see a -D9+S log?
Would be better to open a bug-report on SF.

> I've tried that uses the mouse. Turning of the mouse input support 
> helps
Have you set $_hogthreshold=(0) ?


^ permalink raw reply	[flat|nested] 12+ messages in thread
* Re: 1.1.5.1-5 regressions and other bugs
@ 2003-07-19 22:05 Stas Sergeev
  0 siblings, 0 replies; 12+ messages in thread
From: Stas Sergeev @ 2003-07-19 22:05 UTC (permalink / raw)
  To: linux-msdos

Hello.

Robert Komar wrote:
> I'm curious as to why mouse events have this effect but 
> keyboard events don't.  I'm constantly hitting keys when 
> the slowdown occurs, but it takes a mouse event to break 
> out of it.  Is there something special about mouse 
> events?
That's how the hogthreshold code works.
When the program is polling the keyboard
and there are no keypresses, dosemu gives
up the CPU time. When the program is polling
the mouse and the mouse is inactive (you are
not moving it), same thing happens. dosemu
is not aware that you are targeting at a
monster so it is not an appropriate time to
release the CPU. Just disable the hogthreshold
for that.
Well, it happens that such a heuristic works
remarkably perfect with keyboard, but not with
the mouse. The solution I can think of, is to
make hogthreshold configurable separately for
keyboard, mouse and all other things and make
it disabled by default for mouse but not for
keyboard. There was someone wolunteering to do
that change but this didnt happen yet.

> I saw that the dosemu SB emulator had a sampling rate of 
> 11000 Hz, while I had Duke3D setup to use 44000 Hz.
You might be too lucky - my Duke's setup doesn't
allow me to set the rate above 22KHz even if
I choose AWE32 (setup version is 1.3D). I guess
you are either cheating your setup somehow
(probably with an incorrect settings of a
BLASTER var?) or maybe your setup program is newer?

> If this sounds like the sort of problem that many others 
> might have
Probably you are alone with that as normally
Duke's setup doesn't permit such a rate (for me
at least).


^ permalink raw reply	[flat|nested] 12+ messages in thread
* Re: 1.1.5.1-5 regressions and other bugs
@ 2003-07-18 16:25 Stas Sergeev
  2003-07-19 20:04 ` Robert Komar
  0 siblings, 1 reply; 12+ messages in thread
From: Stas Sergeev @ 2003-07-18 16:25 UTC (permalink / raw)
  To: linux-msdos

[-- Attachment #1: Type: text/plain, Size: 320 bytes --]

Hello.

Robert Komar wrote:
> The times between the slowdowns would get longer as I
> increased the hogthreshold, but would never go away
> entirely.  Is this expected or a bug?
I guess the "bug" is too rough definition
for such a small issue.
Anyway the attached patch will probably make
it a bit better.
Does it help?

[-- Attachment #2: m_sleep.diff --]
[-- Type: text/plain, Size: 650 bytes --]

--- src/base/async/int.c	Thu Jul 17 20:48:51 2003
+++ src/base/async/int.c	Fri Jul 18 20:17:04 2003
@@ -1790,9 +1790,10 @@
 /* Ok now we test to see if the mouse has been taking a break and we can let the 
  * system get on with some real work. :-) */
    if (trigger1 >= config.hogthreshold*200) {
-     if (config.hogthreshold && CAN_SLEEP() && ++trigger >= config.hogthreshold)  {
+     if (config.hogthreshold && CAN_SLEEP() &&
+        trigger++ > (config.hogthreshold - 1) * 20)  {
        m_printf("Ignoring the quiet mouse.\n");
-       usleep(INT2F_IDLE_USECS);
+       usleep(INT15_IDLE_USECS);
        trigger=0;
      }
      trigger1--;

^ permalink raw reply	[flat|nested] 12+ messages in thread
* Re: 1.1.5.1-5 regressions and other bugs
@ 2003-07-18 16:09 Stas Sergeev
       [not found] ` <20030719101122.GA29021@quark.fsb.hr>
  0 siblings, 1 reply; 12+ messages in thread
From: Stas Sergeev @ 2003-07-18 16:09 UTC (permalink / raw)
  To: linux-msdos

Hello.

Vedran Rodic wrote:
>> #define DMA_EXCESSIVE_DEBUG in a dma.c and do the
>> -D9+Sh log?
> Sure. http://quark.fsb.hr/vedran/dosemu/boot_dma.log.bz2
There is something wrong here.
The program is programming the DMA channel 1
but is trying to use a 16-bit output.
I highly suspect your program is misconfigured.
In particular please double-check the DMA
settings in program's setup and in a BLASTER
environment variable.
Perhaps you forgot to update your BLASTER var
for the newly added SB16 support which is why
the SB used to work for you previously (only
adding T6 is not sufficient).


^ permalink raw reply	[flat|nested] 12+ messages in thread
* Re: 1.1.5.1-5 regressions and other bugs
@ 2003-07-17 17:58 Stas Sergeev
  2003-07-17 19:07 ` Vedran Rodic
  2003-07-17 19:13 ` Robert Komar
  0 siblings, 2 replies; 12+ messages in thread
From: Stas Sergeev @ 2003-07-17 17:58 UTC (permalink / raw)
  To: linux-msdos

Hello.

Vedran Rodic wrote:
>> Is it possible to see a -D9+S log? Would be better to 
>> open a bug-report on SF.
> Sure. It's at 
> http://quark.fsb.hr/vedran/dosemu/boot.log.bz2
Hmm. DMA doesn't even start...
Could you please uncomment the
#define DMA_EXCESSIVE_DEBUG
in a dma.c and do the -D9+Sh log?

> Is there a way to disable internal dosemu mouse driver 
> and use mouse.com in xdosemu?
Practically no. You have to either plug
in a second mouse or configure your X to
not use the mouse. There should not be
multiple users for the single device, and
X server is already owning it.
You can use mouse.com under a console dosemu
however.
But what's the use? If you are unhappy with
a performance setting the $_hogthreshold=(0),
set it to another value, like 10, 50 etc.


^ permalink raw reply	[flat|nested] 12+ messages in thread
* 1.1.5.1-5 regressions and other bugs
@ 2003-07-16 19:45 Vedran Rodic
  2003-07-17 20:10 ` Bart Oldeman
  0 siblings, 1 reply; 12+ messages in thread
From: Vedran Rodic @ 2003-07-16 19:45 UTC (permalink / raw)
  To: linux-msdos

Hi. 


I've tested 1.1.5.5 and 1.1.5.1:

Quake (I use 1.08) doesn't have sound anymore. It says it detects and initializes
the device, but no sound is coming out. This stopped working in 1.1.5.1. 

Setting the BLASTER T variable doesn't help. 

Quake seems to get jerky somewhere after 1.1.5.1. I suspect that the mouse
code change in 1.1.5.3 has something to do with it, since the gameplay is
not jerky when I use the mouse for control, and I've experienced the same
issue in other games on older 1.1 versions.

BTW this (jerky game execution) is very annoying and happens in every game
I've tried that uses the mouse. Turning of the mouse input support helps
cure the problem but that's not possible in all games. It would be nice if
this got fixed before 1.2

Thanks
Vedran

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2003-07-19 22:05 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-07-17 15:52 1.1.5.1-5 regressions and other bugs Stas Sergeev
2003-07-17 16:48 ` Vedran Rodic
  -- strict thread matches above, loose matches on Subject: below --
2003-07-19 22:05 Stas Sergeev
2003-07-18 16:25 Stas Sergeev
2003-07-19 20:04 ` Robert Komar
2003-07-18 16:09 Stas Sergeev
     [not found] ` <20030719101122.GA29021@quark.fsb.hr>
2003-07-19 10:12   ` Vedran Rodic
2003-07-17 17:58 Stas Sergeev
2003-07-17 19:07 ` Vedran Rodic
2003-07-17 19:13 ` Robert Komar
2003-07-16 19:45 Vedran Rodic
2003-07-17 20:10 ` Bart Oldeman

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.