在今天的博文中,我们将探讨为什么OpenGL应用程序不能在Windows 10的(Windows 10)Miracast无线显示器上运行。Microsoft已确认这是适用于最新版本的Windows 11/10的问题。
什么是 Miracast

Miracast 是一种屏幕镜像协议(Miracast is a screen-mirroring protocol),可让您将任何内容从Android设备或最新的英特尔(Intel)计算机广播到您的电视。无论你在小屏幕上看到什么,都会出现在大屏幕上。如果一切都正确同步,则几乎没有延迟,非常适合观看视频或使用生产力软件,尽管它不够可靠,无法运行大多数游戏。
搭载Android 4.2 (Android 4.2) Jelly Bean或更高版本的手机和平板电脑可以访问Miracast,大多数配备英特尔(Intel)芯片的现代Windows PC也是如此。(Windows PCs)
什么是OpenGL

OpenGL(开放图形库)(Open Graphics Library)) 是一种应用程序编程接口(API),专为渲染 2D 和 3D 图形而设计。它提供了一组通用命令,可用于管理不同应用程序和多个平台上的图形。
通过使用OpenGL ,开发人员可以使用相同的代码在(OpenGL)Mac、PC 或移动设备上渲染图形。几乎所有现代操作系统和硬件设备都支持OpenGL,使其成为图形开发的轻松选择。此外,许多视频卡和集成GPU(GPUs)都针对OpenGL进行了优化,使它们能够比其他图形库更有效地处理OpenGL命令。(OpenGL)
OpenGL应用程序无法在Windows 11/10Miracast无线显示器上运行
已知在以下Miracast配置中会出现此问题:
- Windows 设置为以复制模式投影,并将Miracast显示器设置为主显示器。
- Windows 设置为以扩展模式投影,并且OpenGL应用程序位于Miracast显示器上。
- Windows 设置为以第二个仅屏幕模式进行投影,并且OpenGL应用程序位于Miracast显示器上。
此问题的主要原因是Windows 10中的(Windows 10)Miracast管道尚不支持Miracast视频驱动程序 ( MiraDisp.dll )上的OpenGL应用程序。
以下是流行的(Below)OpenGL应用程序的非详尽列表。许多使用OpenGL的程序都是游戏。
游戏(Games)
- Sauerbraten是一款开源 3D FPS(第一人称射击游戏(First Person Shooter))和游戏引擎。
- 平台游戏。
- 末日(2016 年电子游戏)FPS。
摄影和录像(Photography and video)
- Adobe After Effects。
- Adobe Photoshop。
- Adobe 首映专业版。
- ArtRage。
- 科迪。
建模和 CAD(Modeling and CAD)
- 3D 工作室最大。
- 欧特克 AutoCAD,2D/3D CAD。
- 欧特克玛雅。
- 节奏快板。
- 谷歌速写。
- Modo(软件)、高端 3D 建模、动画、绑定、渲染和视觉效果包。
- (Houdini)由Side Effects Software开发的(Side Effects Software)Houdini,建模、动画、效果、渲染和合成包。
- Rhinoceros,Windows的NURBS 建模(NURBS Modeling)。
- SAP2000。
- Blender、3D CAD、动画和游戏引擎。
- 拉萨4D。
- Scilab,数学(Mathematical)工具,MATLAB的克隆。
- VirtualMec ,用于Meccano构造系统的3D CAD 。
可视化和杂项(Visualization and miscellaneous)
- 阿尔戈杜
- 阿伏伽德罗
- 谷歌地球
- InVesalius,一个跨平台的软件,可视化医学图像和重建
- Mari(软件),3D 纹理和绘画软件
- PyMOL,3D 分子查看器
- QuteMol,3D分子渲染器
- 真正光滑的屏幕保护程序(Slick Screensavers),3D 屏幕保护程序
- SpaceEngine ,真实(Real)和程序化的 3D 天文馆软件
- Stellarium,高(High)品质夜空模拟器
- Universe Sandbox,一个交互式空间和重力模拟器
- Vectorworks,用于建筑和景观设计的跨平台Mac/Windows 2D和 3D CAD
- Virtools,实时 3D 引擎
- 球视
- Celestia,3D天文学程序
- 增强型机器控制器(Enhanced Machine Controller)( EMC2 ),CNC机器的G 代码(G-code)解释器
- Vizard,由WorldViz开发的用于构建和渲染企业和学术虚拟现实应用程序的平台(WorldViz)
- VSXu ,一个用于(VSXu)OpenGL的跨平台模块化可视化编程语言引擎
如果您知道任何其他OpenGL应用程序,请在下面的评论部分告诉我们。(OpenGL)
OpenGL apps do not run on Miracast wireless display in Windows 11/10
In today’s pоst, we explоre why OpenGL applications do not run on a Miracast wireless display in Windows 10. Microsoft has confirmed that this is a problem that applies to the recent versions of Windows 11/10.
What is Miracast

Miracast is a screen-mirroring protocol that lets you broadcast anything from an Android device or recent Intel computer to your TV. Whatever you see on the small screen will appear on the big screen. If everything syncs up properly, there’s almost no lag, making it ideal for watching videos or using productivity software, although it’s not quite reliable enough to run most games.
Phones and tablets with Android 4.2 Jelly Bean or later have access to Miracast, as do most modern Windows PCs with Intel chips.
What is OpenGL

OpenGL (Open Graphics Library) is an application programming interface (API) designed for rendering 2D and 3D graphics. It provides a common set of commands that can be used to manage graphics in different applications and on multiple platforms.
By using OpenGL, a developer can use the same code to render graphics on a Mac, PC, or mobile device. Nearly all modern operating systems and hardware devices support OpenGL, making it an easy choice for graphics development. Additionally, many video cards and integrated GPUs are optimized for OpenGL, allowing them to process OpenGL commands more efficiently than other graphics libraries.
OpenGL apps do not run on Miracast wireless display in Windows 11/10
This problem is known to occur in the following Miracast configurations:
- Windows is set to project in duplicate mode, and the Miracast display is set as the primary display.
- Windows is set to project in extended mode, and the OpenGL application is on the Miracast display.
- Windows is set to project in the second screen-only mode, and the OpenGL application is on the Miracast display.
The main cause of this problem is that the Miracast pipeline in Windows 10 does not yet support OpenGL applications on the Miracast video driver (MiraDisp.dll).
Below is a non-exhaustive list of popular OpenGL applications. Many programs that use OpenGL are games.
Games
- Sauerbraten an open-source 3D FPS (First Person Shooter) and also a game engine.
- Platform games.
- Doom (2016 video game) an FPS.
Photography and video
- Adobe After Effects.
- Adobe Photoshop.
- Adobe Premiere Pro.
- ArtRage.
- Kodi.
Modeling and CAD
- 3D Studio Max.
- Autodesk AutoCAD, 2D/3D CAD.
- Autodesk Maya.
- Cadence Allegro.
- Google SketchUp.
- Modo (software), high-end 3D modeling, animation, rigging, rendering and visual effects package.
- Houdini, modeling, animation, effects, rendering and compositing package developed by Side Effects Software.
- Rhinoceros, NURBS Modeling for Windows.
- SAP2000.
- Blender, 3D CAD, animation and game engine.
- LARSA4D.
- Scilab, Mathematical tool, a clone of MATLAB.
- VirtualMec, 3D CAD for the Meccano construction system.
Visualization and miscellaneous
- Algodoo
- Avogadro
- Google Earth
- InVesalius, a cross-platform software, visualization medical images and reconstruction
- Mari (software), 3D texturing and painting software
- PyMOL, a 3D molecular viewer
- QuteMol, a 3D molecular renderer
- Really Slick Screensavers, 3D Screensavers
- SpaceEngine, Real and procedural 3D planetarium software
- Stellarium, High quality night sky simulator
- Universe Sandbox, an interactive space and gravity simulator
- Vectorworks, a cross-platform Mac/Windows 2D and 3D CAD for architectural & landscape design
- Virtools, a real-time 3D engine
- BALLView
- Celestia, 3D astronomy program
- Enhanced Machine Controller (EMC2), G-code interpreter for CNC machines
- Vizard, a platform for building and rendering enterprise and academic virtual reality applications developed by WorldViz
- VSXu, a cross-platform modular visual programming language engine for OpenGL
Tell us in the comments section below if there are any other OpenGL applications you know of.