没有声音输出的奇怪问题,Toolbox后出现的问题

今天想用一下显示器自带的喇叭,忽然发现声音输出选项里HDMI的声音设备没了。之前开始使用这台显示器的时是用过一段时间的。

Installing Docker Toolbox on Windows with Hyper-V Installed

Installing Docker on Windows is a fairly simple and straightforward process. It is very well documented here. However if you have Hyper-V installed as I do, the instructions will not work right out of the box. If you try to start the Docker Quickstart Terminal, you'll get the following error message:

Running pre-create checks...
Error with pre-create check: "Hyper-V is installed. VirtualBox won't boot a 64bits VM when Hyper-V is activated. If it's installed but deactivated, you can use --virtualbox-no-vtx-check to try anyways"
Looks like something went wrong in step ´Checking if machine default exists´

没有声音输出的奇怪问题,Toolbox后出现的问题。The issue is that when you run the terminal the very first time, the startup script attempts to create the default virtual machine in which the docker containers will run. This step of the process fails if you have Hyper-V installed, even if it is disabled. In my case, I do have it installed but I have a boot option set up to disable it when I am not using it. This post describes how to change the Docker startup script to allow you to create the default virtual machine using the startup script and still keep Hyper-V installed.

Before you start with the installation of Docker, I would suggest disabling Hyper-V. If you don't know how to do this, follow these instructions. Once you have disabled Hyper-V, the first step is to install Docker using the installer for Windows. The installation should run without any issues before you proceed with the next steps.

Once you have installed Docker, we'll modify the startup file to allow it to create the default VM. The file we want to modify is located under C:Program FilesDocker Toolbox and is called called start.sh. To modify the file you'll have to open the file in an editor running as Administrator. If you don't open an elevated editor, you won't be able to save your changes.

It's now time to edit the file, but before you do so, you may want to save a copy of the original file. Just in case. In your editor, locate the following code snippet:

STEP="Checking if machine $VM exists"
if [ $VMEXISTSCODE -eq 1 ]; then
  "${DOCKERMACHINE}" rm -f "${VM}" &> /dev/null || :
  rm -rf ~/.docker/machine/machines/"${VM}"
  #set proxy variables if they exists
  if [ -n ${HTTPPROXY x} ]; then
    PROXYENV="$PROXYENV --engine-env HTTPPROXY=$HTTPPROXY"
  fi
  if [ -n ${HTTPSPROXY x} ]; then
    PROXYENV="$PROXYENV --engine-env HTTPSPROXY=$HTTPSPROXY"
  fi
  if [ -n ${NOPROXY x} ]; then
    PROXYENV="$PROXYENV --engine-env NOPROXY=$NOPROXY"
  fi

  "${DOCKERMACHINE}" create -d virtualbox $PROXYENV "${VM}"
fi

The second to last line is where the vm is created:

"${DOCKERMACHINE}" create -d virtualbox $PROXYENV "${VM}"

 

You will need to modify that line and add the --virtualbox-no-vtx-check switch to. The end result is that the line will look like this:

"${DOCKERMACHINE}" create -d virtualbox --virtualbox-no-vtx-check $PROXYENV "${VM}"

 

Save your changes and now you should be able to run the quickstart terminal without any issues.

百度了一番,没发现什么线索。后来去谷歌找到这么一段文字:

I'm not sure where to report this, but after I upgraded a Lenovo Y50 laptop to Win 10 64 Enterprise, the HDMI audio stopped working.

 

All the drivers were installed, and the correct options were selected in the audio panel.

After much research I stumbled upon a post on a message board which had a suggestion that didn't make any sense, but I tried it anyway, and it resolved the issue.

 

The suggestion was to uninstall Hyper-V.

Once the Hyper-V feature was uninstalled from Windows, HDMI audio started working again.

 

It seems that for whatever reason, Hyper-V is interfering with HDMI audio out in Windows 10.

This problem did not exist in 8.1

 

Can you guys look into this?

 

随便浏览一下,大概是跟Hyper-V有关系。我查看了一下,Hyper-V之前,因为一个什么原因,被我暂时卸载停用了。(记得当时HDMI有输出声音的时候,是有Hyper-V在的)

于是,重新把Hyper-V激活,重启电脑后,HDMI的声音输出设备又回来了。

 

貌似,我的情况跟上面搜索到的情况相反。但都是跟Hyper-V的启用和禁用有关系。

 

电脑配置:Dell XPS 15z,

操作系统:Windows10 专业版,英文版本

显示器: LG-29UC97C

 

本文由星彩网app下载发布于星彩网app下载,转载请注明出处:没有声音输出的奇怪问题,Toolbox后出现的问题

TAG标签: 星彩网app下载
Ctrl+D 将本页面保存为书签,全面了解最新资讯,方便快捷。