Win7系统如何开启/关闭硬件加速?

栏目:Win7教程 | 时间:2023-05-01 03:33
{if:"148"=142}

  很如果一款视频播放器在播放超清或是蓝光视频,就会需要占用很大的内存资源,限于硬件的运行效率,这类视频并不能完美的播放,很可能会有卡顿感,这时候就需要硬件加速的帮助,如果你开启了硬件加速,这项功能当然是没有问题的,如果你并没有开启硬件加速可以了解关闭硬件加速的方法。

Win7系统如何开启/关闭硬件加速?

  修改硬件加速:

  将一下内容复制到记事本中,保存成 .bat 格式,直接运行即可!

  1、关闭硬件加速:

  1. 01@echo off
  2. 02title 开启DirectDraw
  3. 03mode con:cols=50 lines=12
  4. 04color ff
  5. 05echo 正在开启DirectDraw加速...
  6. 06reg add "HKLM/SOFTWARE/Microsoft/Direct3D/Drivers" /v SoftwareOnly /t REG_DWORD /d 0 /f 0>nul 1>nul
  7. 07reg add "HKLM/SOFTWARE/Microsoft/DirectDraw" /v EmulationOnly /t REG_DWORD /d 0 /f 0>nul 1>nul
  8. 08gpupdate /force 0>nul 1>nul
复制代码

@echo off title 开启DirectDraw mode con:cols=50 lines=12 color ff echo 正在开启DirectDraw加速... reg add "HKLM/SOFTWARE/Microsoft/Direct3D/Drivers" /v SoftwareOnly /t REG_DWORD /d 0 /f 0>nul 1>nul reg add "HKLM/SOFTWARE/Microsoft/DirectDraw" /v EmulationOnly /t REG_DWORD /d 0 /f 0>nul 1>nul gpupdate /force 0>nul 1>nul

  2、打开硬件加速:

  1. 01@echo off
  2. 02title 关闭DirectDraw
  3. 03mode con:cols=50 lines=12
  4. 04color ff
  5. 05echo 正在关闭DirectDraw加速...
  6. 06reg add "HKLM/SOFTWARE/Microsoft/Direct3D/Drivers" /v SoftwareOnly /t REG_DWORD /d 1 /f 0>nul 1>nul
  7. 07reg add "HKLM/SOFTWARE/Microsoft/DirectDraw" /v EmulationOnly /t REG_DWORD /d 1 /f 0>nul 1>nul
  8. 08gpupdate /force 0>nul 1>nul
复制代码

@echo off title 关闭DirectDraw mode con:cols=50 lines=12 color ff echo 正在关闭DirectDraw加速... reg add "HKLM/SOFTWARE/Microsoft/Direct3D/Drivers" /v SoftwareOnly /t REG_DWORD /d 1 /f 0>nul 1>nul reg add "HKLM/SOFTWARE/Microsoft/DirectDraw" /v EmulationOnly /t REG_DWORD /d 1 /f 0>nul 1>nul gpupdate /force 0>nul 1>nul

  不过硬件加速有一个缺点,就是会加速消耗硬件寿命,非必要情况,用户还是将硬件加速关闭吧。

{else}

  很如果一款视频播放器在播放超清或是蓝光视频,就会需要占用很大的内存资源,限于硬件的运行效率,这类视频并不能完美的播放,很可能会有卡顿感,这时候就需要硬件加速的帮助,如果你开启了硬件加速,这项功能当然是没有问题的,如果你并没有开启硬件加速可以了解关闭硬件加速的方法。

Win7系统如何开启/关闭硬件加速?

  修改硬件加速:

  将一下内容复制到记事本中,保存成 .bat 格式,直接运行即可!

  1、关闭硬件加速:

  1. 01@echo off
  2. 02title 开启DirectDraw
  3. 03mode con:cols=50 lines=12
  4. 04color ff
  5. 05echo 正在开启DirectDraw加速...
  6. 06reg add "HKLM/SOFTWARE/Microsoft/Direct3D/Drivers" /v SoftwareOnly /t REG_DWORD /d 0 /f 0>nul 1>nul
  7. 07reg add "HKLM/SOFTWARE/Microsoft/DirectDraw" /v EmulationOnly /t REG_DWORD /d 0 /f 0>nul 1>nul
  8. 08gpupdate /force 0>nul 1>nul
复制代码

@echo off title 开启DirectDraw mode con:cols=50 lines=12 color ff echo 正在开启DirectDraw加速... reg add "HKLM/SOFTWARE/Microsoft/Direct3D/Drivers" /v SoftwareOnly /t REG_DWORD /d 0 /f 0>nul 1>nul reg add "HKLM/SOFTWARE/Microsoft/DirectDraw" /v EmulationOnly /t REG_DWORD /d 0 /f 0>nul 1>nul gpupdate /force 0>nul 1>nul

  2、打开硬件加速:

  1. 01@echo off
  2. 02title 关闭DirectDraw
  3. 03mode con:cols=50 lines=12
  4. 04color ff
  5. 05echo 正在关闭DirectDraw加速...
  6. 06reg add "HKLM/SOFTWARE/Microsoft/Direct3D/Drivers" /v SoftwareOnly /t REG_DWORD /d 1 /f 0>nul 1>nul
  7. 07reg add "HKLM/SOFTWARE/Microsoft/DirectDraw" /v EmulationOnly /t REG_DWORD /d 1 /f 0>nul 1>nul
  8. 08gpupdate /force 0>nul 1>nul
复制代码

@echo off title 关闭DirectDraw mode con:cols=50 lines=12 color ff echo 正在关闭DirectDraw加速... reg add "HKLM/SOFTWARE/Microsoft/Direct3D/Drivers" /v SoftwareOnly /t REG_DWORD /d 1 /f 0>nul 1>nul reg add "HKLM/SOFTWARE/Microsoft/DirectDraw" /v EmulationOnly /t REG_DWORD /d 1 /f 0>nul 1>nul gpupdate /force 0>nul 1>nul

  不过硬件加速有一个缺点,就是会加速消耗硬件寿命,非必要情况,用户还是将硬件加速关闭吧。

{end if}

显示全部

加载中