|
Audio Asylum Thread Printer Get a view of an entire thread on one page |
For Sale Ads |
196.25.255.195
In Reply to: It gets even better ... posted by cics on April 21, 2007 at 09:58:53:
Another process utility (pskill.exe) is needed to kill process and its dependencies. Instructions copied into .bat file has ‘[YOUR SOUNDCARD PROCESS]’ – put your soundcard’s process here (e.g. kX = kxmixer.exe and RME = hdsp32.exe). Also remove ‘rem ’ prefix. Next instruction kills RME’s mixer process (if ‘rem ’ prefix removed).1. Download PSTools.zip from link below
2. Open zip file and copy pskill.exe (183KB) to c:\ (root directory)
3. Run pskill.exe (double-click on it) to do away with license agreement confirmation
4. Edit .bat file and clear all contents
5. Copy following instructions into .bat file
@echo off
rem # Kill Windows UI
start /wait c:\process.exe -k explorer.exerem # Start Task Manager
start C:\WINDOWS\system32\taskmgr.exerem # Kill Windows & VTTimer.exe (for Biostar mobo using VIA chipset)
start /wait c:\process.exe -k VTTimer.exe
start /wait c:\process.exe -k smss.exe
start /wait c:\process.exe -k winlogon.exe
start /wait c:\pskill.exe -t lsass.exe
start /wait c:\pskill.exe -t svchost.exerem # Adjust priorities, eg. High, RealTime, BelowNormal, Low
start /wait c:\process.exe -p taskmgr.exe Normal
rem start /wait c:\process.exe -p [YOUR SOUNDCARD PROCESS] AboveNormal
rem start /wait c:\process.exe -k hdspmix.exerem # Start Foobar
start /wait /REALTIME c:\progra~1\foobar2000\foobar2000.exerem # Start UI after Foobar
start /wait /B c:\windows\explorer.exe6. Test by double-clicking .bat file
Follow Ups:
I wanted more of Windows culled without loosing Windows Explorer UI (after exiting Foobar) and came up with this solution. Explorer is suspended (that way all its inference stops) and resumed after Foobar is exited. This will work with all soundcard drivers. By suspending Explorer, no CPU resources are consumed but unfortunately, memory remains allocated to Explorer.I get best results using this option.
Please don’t minimize Foobar – you MUST exit to get back to Explorer. Once application is minimized, it cannot be restored (as explorer is suspended).
Under step 5 (of option 2), use these instructions:
@echo off
rem # Suspend Windows UI
start /b /wait c:\process.exe -s explorer.exerem # Start Task Manager
start /b C:\WINDOWS\system32\taskmgr.exerem # Kill Windows & VTTimer.exe (for Biostar mobo using VIA chipset)
start /b /wait c:\process.exe -k VTTimer.exe
start /b /wait c:\process.exe -k smss.exe
start /b /wait c:\process.exe -k winlogon.exe
start /b /wait c:\pskill.exe -t lsass.exe
start /b /wait c:\pskill.exe -t svchost.exerem # Adjust priorities, eg. High, RealTime, BelowNormal, Low
start /b /wait c:\process.exe -p taskmgr.exe Normal
rem start /b /wait c:\process.exe -p [YOUR SOUNDCARD PROCESS] AboveNormal
rem start /b /wait c:\process.exe -k hdspmix.exerem # Start Foobar
start /wait /REALTIME c:\progra~1\foobar2000\foobar2000.exerem # Resume Windows UI
start /b /wait c:\process.exe -r explorer.exe
This solution revises 'Signature Edition' and has no side effects! This means you can do a normal shutdown after Foobar or whatever else.Explorer is killed and started (before and after Foobar). Windows stuff is suspended & resumed. This will work with all soundcard drivers. By killing Explorer, memory is freed. Further improvement in sound is gained.
Other changes include:
1. Under rem #1 (remark #1) provision for Process Explorer - default starts Task Manager but if you prefer Process Explorer then copy procexp.exe file to c:\ and remove 'rem ' prefix from procexp.exe line. Also add 'rem ' prefix to rem #1 & #4 taskmgr.exe lines.
2. Don't need to use pskill.exe utility
3. Under rem #4, as before, you can change your soundcard driver setup utility priority. For RME, the mixer can also be killed. For Biostar mobo, VTTimer.exe can be killed. These are done by removing 'rem ' prefix in appropriate line
Under step 5 (of option 2), use these instructions:
@echo off
rem #1 Start Task Manager
start /b C:\WINDOWS\system32\taskmgr.exe
rem start /b c:\procexp.exe /p:nrem #2 Kill UI
start /b /wait c:\process.exe -k explorer.exerem #3 Suspend Windows
start /b /wait c:\process.exe -s smss.exe
start /b /wait c:\process.exe -s winlogon.exerem #4 Adjust priorities, eg. High, RealTime, BelowNormal, Low;
rem # and do housekeeping (other cleanups)
start /b /wait c:\process.exe -p taskmgr.exe Normal
rem start /b /wait c:\process.exe -p [YOUR SOUNDCARD PROCESS] AboveNormal
rem start /b /wait c:\process.exe -k hdspmix.exe
rem start /b /wait c:\process.exe -k VTTimer.exerem #5 Start Foobar2000
start /wait /REALTIME c:\progra~1\foobar2000\foobar2000.exerem #6 Resume Windows & Start UI
start /b /wait c:\process.exe -r winlogon.exe
start /b /wait c:\process.exe -r smss.exe
start /b c:\windows\explorer.exe
Noticed good sound improvements with this!In addition, I'm still experimenting with changing affinity. I can definitely hear a difference, but can't decide which sounds more accurate.
Ed,
See my latest reply to this post and try my setitings:
http://www.audioasylum.com/forums/pcaudio/messages/20187.html
don't forget to run process explorer by system internals (free) or some other program so you can change the settings for the cmd.exe which starts once the batch file has been executed.
Let me know if the changes are positive.
| ||||||||||||
|
This post is made possible by the generous support of people like you and our sponsors: