포럼: ユーザフォーラム (Thread #39858)

Rel113, 099fのリリース (2018-08-24 00:44 by yyagi #81762)

某氏のGGP(夏)に連動する形で、Rel113/099fをリリースしようと思っています。
正式リリース予定日は9/1。今週末にテストビルドを出します。

目玉の更新内容は、サウンド処理の負荷軽減です。
特にギター演奏時、WASAPI/ASIOだとサウンド処理の負荷がとても大きくて、演奏に悪影響を与えることもあったと
思います。この負荷を、TimeStretch=OFFの時限定ではありますが、従来の半分にできました。
(なのでGGP(夏)に合わせて公開しようと思いました)

リリメモは概ね以下のようになる予定です。

== 新機能 ==
* #38404 選曲画面でDeleteを押すと、以後選曲中の曲のデータ(とset.defファイル)のフルパス名を表示する機能を追加。
 再度Deleteを押すと非表示に戻る。
曲データの整理にどうぞ。
* #38362 FullAVI有効時の、動画の表示座標指定機能を追加。CONFIGURATION/System/Display Option/の
 FullAVICentering, FullAVIX, FullAVIYで設定する。
 * FullAVICenteringは、(FullAVI=ONの時に) 従来通り動画をセンタリングして背景表示するか、それとも
 座標指定して表示するかを選択するもの。これがOFFの時、FullAVIX, FullAVIYで指定された座標に動画を
 表示する。
 * FullAVIX, FullAVIYには負の値も指定可能。

== 機能強化/変更 ==
* #37271 これまで、WASAPI/ASIOでのサウンド処理の負荷が大きかったが、TimeStretch=OFFの時に限り、
 この負荷を従来の半分にした。

* #38474 PolyphonicSoundsの初期値を、4から2に変更。
サウンドのミキシング負荷が非常に大きいため、
 サウンドの同時多重再生数の初期を2にすることで、負荷軽減を図る。
これでサウンドが物足りなくなった方は、
 CONFIGURATION/System/Sound Option/PolyphonicSoundsの値を増やしてください。
 (その代わり演奏時の負荷が大きくなります)


== バグ修正 ==
* #38034, #38035 DTX2WAV対応で追加したMixerの解放処理が不十分だったのを修正。
 また、従来のMixerの存在有無の判定条件を誤っていたのを修正(といっても実害はまず無かったのだが)
* #38233 曲検索終了の直後にCActSelect曲リストの活性化とリソース生成が行われないよう修正。(by kairera0467)
* #38244 LoadDTXDetail=ON時、起動後(enumerate時)に例外が発生する場合がある問題を修正。
* #38531 CONFIGを抜けると、TimeStretchの設定がbUseOSTimerの設定で上書きされてしまう問題を修正。
*

#xxxxx BGA表示において、Use556x718BGAAVIフラグが正しく反映されるようにした。

* #xxxxx DTX2WAVがDTXMania本体を最小化起動する際に、ウインドウのフォーカスが変わらないよう修正。

== その他 ==
* #38036 CTexture(), CPrivateFont(), CPrivateFastFont()クラスのIDisposable I/Fの実装を、
同デザインパターンに準拠したものに見直し。(ファイナライザ実装の追加)

* #38036 画面遷移時のGarbage Collection動作を見直し。(LOHのCompressionを追加で実施)
* #38036 CTexture()について、ファイナライザでアンマネージドリソースをDisposeしないよう修正。
 また、ファイナライズ時にSharpDXのTextureリソースが残っている場合はログに警告を出すようにした。
* #xxxxx 個々のスキンフォルダにResources.csvファイルがない時のログレベルを、ErrorからWarningに変更。

Reply to #81762×

You can use Wiki syntax
You are not logged in. To discriminate your posts from the rest, you need to pick a nickname. (The uniqueness of nickname is not reserved. It is possible that someone else could use the exactly same nickname. If you want assurance of your identity, you are recommended to login before posting.) Login

Re: Rel113, 099fのリリース (2018-08-26 02:37 by yyagi #81775)

テストビルドです。

113: https://osdn.net/users/yyagi/pf/DTXMania_TestBuilds/dl/DTXMania/DTXMania113(180901)_DTXC034(180101).zip

099f: https://osdn.net/users/yyagi/pf/DTXMania_TestBuilds/dl/DTXMania/DTXMania099f(180901).zip


099fの更新点は以下の通りです。

* #37189 DirectSoundモード時のサウンド読み込みが遅かった問題の修正 (rev. 5f2ec2ae430cea60288005a5aef386190854f0e7 の、099系列へのバックポート。)
* #37243 Win10モードで動作させると、WASAPI排他の設定に失敗する問題の修正 (rev. a8284a3db39cae530dbe95d75ac52c6fda64239b び、099系列へのバックポート。)
これに伴い、最新のCSoundDeviceWASAPI.cs をほぼ099系列へデッドコピーした。(Win10固有対応部と、event driven対応部は削除した)
* #36376 プラグインについて、拡張子.dllを持つものだけをプラグインとして扱うようにした。
* #37271 TimeStretch=OFFの時に限り、ミキシング負荷を従来の半分にした。
Reply to #81762

Reply to #81775×

You can use Wiki syntax
You are not logged in. To discriminate your posts from the rest, you need to pick a nickname. (The uniqueness of nickname is not reserved. It is possible that someone else could use the exactly same nickname. If you want assurance of your identity, you are recommended to login before posting.) Login

Re: Rel113, 099fのリリース (2018-08-26 13:41 by reo #81776)

[メッセージ #81775 への返信]

Windows10でのテストビルド113の動作報告です。

112ビルドより動作が若干重くなっているようです、特にBMS系の曲をプレイ時に顕著で
プレイ中にプチプチと短く音が途切れたり、一瞬フリーズするようになりました。
念のためCoordinates.xmlとConfig.xmlをドロップボックスへアップ致しました。

https://www.dropbox.com/sh/i7ib7oj4r935p09/AAAsvH2gJVwtGvaueVFiYlfKa?dl=0
Reply to #81775

Reply to #81776×

You can use Wiki syntax
You are not logged in. To discriminate your posts from the rest, you need to pick a nickname. (The uniqueness of nickname is not reserved. It is possible that someone else could use the exactly same nickname. If you want assurance of your identity, you are recommended to login before posting.) Login

Re: Rel113, 099fのリリース (2018-08-26 16:07 by yyagi #81777)

reoさん、こんにちは。

動作が重くなっているとのことですが、一度PCを再起動してから再確認いただけますでしょうか。
(私の自宅のPCでも同じ現象が出ることがありますが、再起動すると直っていました)

もし再起動してもなお同じ現象が出続けるようでしたら、
113のConfig.xmlと、113のDTXManiaLog.txtをお見せいただけないでしょうか。
Reply to #81776

Reply to #81777×

You can use Wiki syntax
You are not logged in. To discriminate your posts from the rest, you need to pick a nickname. (The uniqueness of nickname is not reserved. It is possible that someone else could use the exactly same nickname. If you want assurance of your identity, you are recommended to login before posting.) Login

Re: Rel113, 099fのリリース (2018-08-26 21:57 by reo #81778)

[メッセージ #81777 への返信]

申し訳ありません、113の設定ではSound TypeがDSoundだったので同じように変更したら
問題なくプレイできるようになりました。
先に再起動も試しましたが効果はありませんでした。

念の為、WASAPI共有で一度プレイ(プレイ中に若干音切れする状態)した時のログとConfig.xmlを
ドロップボックスへアップしました。
https://www.dropbox.com/sh/i7ib7oj4r935p09/AAAsvH2gJVwtGvaueVFiYlfKa?dl=0

使用しているPCスペックは以下の通りです。
https://www.dospara.co.jp/5shopping/detail_prime/3/143/6784/2684/
Windows 10 Home
バージョン 1803
OSビルド 17134.228
Reply to #81777

Reply to #81778×

You can use Wiki syntax
You are not logged in. To discriminate your posts from the rest, you need to pick a nickname. (The uniqueness of nickname is not reserved. It is possible that someone else could use the exactly same nickname. If you want assurance of your identity, you are recommended to login before posting.) Login

Re: Rel113, 099fのリリース (2018-08-26 22:19 by yyagi #81779)

> 申し訳ありません、113の設定ではSound TypeがDSoundだったので同じように変更したら
> 問題なくプレイできるようになりました。
> 先に再起動も試しましたが効果はありませんでした。

すみません、これは、正しくは、
WASAPIだと問題ありで、DSoundだと問題なし
ということであってますか?
Reply to #81778

Reply to #81779×

You can use Wiki syntax
You are not logged in. To discriminate your posts from the rest, you need to pick a nickname. (The uniqueness of nickname is not reserved. It is possible that someone else could use the exactly same nickname. If you want assurance of your identity, you are recommended to login before posting.) Login

Re: Rel113, 099fのリリース (2018-08-26 22:57 by reo #81781)

[メッセージ #81779 への返信]

> すみません、これは、正しくは、
> WASAPIだと問題ありで、DSoundだと問題なし
> ということであってますか?

はい、なぜかWASAPI共有だとプツプツ音が途切れるというか一瞬止まるようです。
レーンも少しカクカクした描画になっていました。
Reply to #81779

Reply to #81781×

You can use Wiki syntax
You are not logged in. To discriminate your posts from the rest, you need to pick a nickname. (The uniqueness of nickname is not reserved. It is possible that someone else could use the exactly same nickname. If you want assurance of your identity, you are recommended to login before posting.) Login

Re: Rel113, 099fのリリース (2018-08-26 22:33 by yyagi #81780)

念のためリビルドしたものを、同じURLに再登録しました。
もう一度ダウンロードして、お試しいただけますでしょうか。
Reply to #81778

Reply to #81780×

You can use Wiki syntax
You are not logged in. To discriminate your posts from the rest, you need to pick a nickname. (The uniqueness of nickname is not reserved. It is possible that someone else could use the exactly same nickname. If you want assurance of your identity, you are recommended to login before posting.) Login

Re: Rel113, 099fのリリース (2018-08-26 23:09 by reo #81782)

[メッセージ #81780 への返信]
> 念のためリビルドしたものを、同じURLに再登録しました。
> もう一度ダウンロードして、お試しいただけますでしょうか。

最新版をダウンロードしなおしてもう一度試してみましたが症状は変わりませんでした。
DropBoxへログと設定ファイルをアップしなおしましたので、ご覧頂けますでしょうか?
Reply to #81780

Reply to #81782×

You can use Wiki syntax
You are not logged in. To discriminate your posts from the rest, you need to pick a nickname. (The uniqueness of nickname is not reserved. It is possible that someone else could use the exactly same nickname. If you want assurance of your identity, you are recommended to login before posting.) Login

Re: Rel113, 099fのリリース (2018-08-27 00:00 by yyagi #81783)

ログを拝見しました。
このスペックで、WASAPI共有のバッファサイズが44msになるのが不思議です。
(私の環境はこれに劣りますが、11msになります)

いくつか確認させてください。
・フルスクリーンではなく、ウインドウモードにしても同じでしょうか。
・WASAPIBufSizeを0でなく10程度に設定しても同じでしょうか。
・WASAPI EvendDrivenをOnにしても同じでしょうか。
・グラフドライバやサウンドドライバを更新しても同じでしょうか。
 (サウンドドライバは、デバイスマネージャーから自動更新できます)
Reply to #81782

Reply to #81783×

You can use Wiki syntax
You are not logged in. To discriminate your posts from the rest, you need to pick a nickname. (The uniqueness of nickname is not reserved. It is possible that someone else could use the exactly same nickname. If you want assurance of your identity, you are recommended to login before posting.) Login

Re: Rel113, 099fのリリース (2018-08-27 12:21 by reo #81784)

> ・フルスクリーンではなく、ウインドウモードにしても同じでしょうか。
> ・WASAPIBufSizeを0でなく10程度に設定しても同じでしょうか。
> ・WASAPI EvendDrivenをOnにしても同じでしょうか。
> ・グラフドライバやサウンドドライバを更新しても同じでしょうか。

上記の設定を行ってみましたが何度やってもWASAPI共有のバッファサイズが44msになってしまうようです。
サウンドドライバが少し古かったようで更新されましたが現象は変わりませんでした。
WASAPI排他であれば13msになり問題なくプレイ出来るようです。
Reply to #81783

Reply to #81784×

You can use Wiki syntax
You are not logged in. To discriminate your posts from the rest, you need to pick a nickname. (The uniqueness of nickname is not reserved. It is possible that someone else could use the exactly same nickname. If you want assurance of your identity, you are recommended to login before posting.) Login

Re: Rel113, 099fのリリース (2018-08-28 01:35 by yyagi #81808)

それでは、WASAPIBufSizeを0でなく10程度ではなく
2か3か4くらいに設定しても同じでしょうか。

WASAPI共有とWASAPI排他とで、ここの数値の意味が少し異なるので
(共有:バッファ更新間隔, 排他:バッファサイズ)
これでお試しいただけますか。

これでもダメな場合は、正直言って私には原因がわからないです。
(112と113は、WASAPIの初期化のコードは全く同じなのです)

Reply to #81784

Reply to #81808×

You can use Wiki syntax
You are not logged in. To discriminate your posts from the rest, you need to pick a nickname. (The uniqueness of nickname is not reserved. It is possible that someone else could use the exactly same nickname. If you want assurance of your identity, you are recommended to login before posting.) Login

Re: Rel113, 099fのリリース (2018-08-28 13:28 by reo #81812)

共有と排他で意味が異なっているのですね。
共有モードで1~5まで設定しましたが44msから変化することはありませんでした。
おそらく自分のPC固有の問題となるようですね…お手数をおかけして申し訳ありませんでした。
Reply to #81808

Reply to #81812×

You can use Wiki syntax
You are not logged in. To discriminate your posts from the rest, you need to pick a nickname. (The uniqueness of nickname is not reserved. It is possible that someone else could use the exactly same nickname. If you want assurance of your identity, you are recommended to login before posting.) Login

Re: Rel113, 099fのリリース (2018-08-28 21:35 by yyagi #81813)

ダメでしたか・・・

それでは、大変申し訳ないのですが、WASAPI排他にてお楽しみいただければと思います。

なお、共有と排他で意味が変わってしまっているのは分かりにくいですので、
次期バージョンでは設定項目を分けて対応するつもりです。

Reply to #81812

Reply to #81813×

You can use Wiki syntax
You are not logged in. To discriminate your posts from the rest, you need to pick a nickname. (The uniqueness of nickname is not reserved. It is possible that someone else could use the exactly same nickname. If you want assurance of your identity, you are recommended to login before posting.) Login

Re: Rel113, 099fのリリース (2018-08-29 23:17 by yyagi #81814)

すみません、ダメ元レベルではありますが、ビルド後の後処理を若干変えたものを 同じURLに再アップしました。何度もすみませんが、お試しいただけますでしょうか。

(まあ、影響はないと思うんですけどね・・お力になれてなくてすみません)

Reply to #81812

Reply to #81814×

You can use Wiki syntax
You are not logged in. To discriminate your posts from the rest, you need to pick a nickname. (The uniqueness of nickname is not reserved. It is possible that someone else could use the exactly same nickname. If you want assurance of your identity, you are recommended to login before posting.) Login

Re: Rel113, 099fのリリース (2018-09-02 20:37 by reo #81836)

ご対応頂き有難うございました。 相変わらずWASAPI共有はダメでしたが、その他のモードでは問題なくプレイできています。 他にこの手の話題が上がっていないので、恐らくはゲーミングPCとしていろいろソフトが 突っ込まれてるこちらの固有問題でしょうね…

Reply to #81814

Reply to #81836×

You can use Wiki syntax
You are not logged in. To discriminate your posts from the rest, you need to pick a nickname. (The uniqueness of nickname is not reserved. It is possible that someone else could use the exactly same nickname. If you want assurance of your identity, you are recommended to login before posting.) Login