酷徒LOGO

驱动程序 - 检查wine是否使用GPU最简单的方法(d)?


问题:

我使用AMD GPU (HD 8570M ),它已经正确安装在系统中。


 *-display 


 description: Display controller


 product: Sun PRO [Radeon HD 8570A/8570M]


 vendor: Advanced Micro Devices, Inc. [AMD/ATI]


 physical id: 0


 bus info: pci@0000:01:00.0


 version: 00


 width: 64 bits


 clock: 33MHz


 capabilities: pm pciexpress msi bus_master cap_list rom


 configuration: driver=amdgpu latency=0


 resources: irq:26 memory:b0000000-b7ffffff memory:b8000000-b803ffff ioport:4000(size=256) memory:b8040000-b805ffff



我怀疑wine使用集成的Intel显卡了。

在wine,我怎么检查?有什么简单的方法可以解决?


答案1:

要检查使用的显卡,可以使用WINDEBUG环境变量和wgl通道。

例如:


WINEDEBUG=+wgl wine game.exe &> wine.log



然后,wine将输出类似于,


0036:trace:wgl:X11DRV_WineGL_InitOpenglInfo GL version : 3.0 Mesa 19.2.8.


0036:trace:wgl:X11DRV_WineGL_InitOpenglInfo GL renderer : Mesa DRI Intel(R) HD Graphics 630 (Kaby Lake GT2) .


0036:trace:wgl:X11DRV_WineGL_InitOpenglInfo GLX version : 1.4.


0036:trace:wgl:X11DRV_WineGL_InitOpenglInfo Server GLX version : 1.4.


0036:trace:wgl:X11DRV_WineGL_InitOpenglInfo Server GLX vendor: : SGI.


0036:trace:wgl:X11DRV_WineGL_InitOpenglInfo Client GLX version : 1.4.


0036:trace:wgl:X11DRV_WineGL_InitOpenglInfo Client GLX vendor: : Mesa Project and SGI.


0036:trace:wgl:X11DRV_WineGL_InitOpenglInfo Direct rendering enabled: True



参考:

https://wiki.winehq.org/Debug_Channelshttps://wiki.winehq.org/3D_Driver_Issues




Copyright © 2011 HelpLib All rights reserved.    知识分享协议 京ICP备17041772号-2  |  如果智培  |  酷兔英语  |  帮酷