-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
vgpu not detected by GpuTest #2
Comments
Can you post the mvisor log? did it output some error information? |
|
|
Use q35.yaml instead of i440fx.
|
@purplepalmdash how about other tests in GpuTest ? |
all of the tests in GpuTest under current config(i440fx) got the same result(blank window and no result), I'm currently trying the q35 way. |
You can use ProcessHack to check if the guest dll were loaded. |
GpuTest_GUI would create sub process to test opengl, check if the sub process loaded opengl32.dll. |
As you see, the MvisorVGPUx64.dll is the entrance of vgpu device, it implements the opengl api in opengl32.dll and transport all the request to kernel driver(Mvisor VGPU). |
oh~You may need to debug it why the IOCTL_VIRTIO_VGPU_GET_CAPS got failed. It was the beginning of VGPU initialization. |
Yes, I think so, I'll debug it later, thanks for the advice! |
If the driver didn't output anything error, the problem maybe the |
Of course, I will find a free time to test it. |
Hello nooodles, Happy New Year! Recently I try to debug MvisorVGPUx64.dll by following the steps:
At this time I found that gputest did not load MvisorVGPUx64.dll.
I found that the size of MvisorVGPUx64.dll I built was 23MB, but the pre-built dll was only 20MB. My compile command line is as follows: Some environmental information:
Did I make a mistake somewhere? |
Another question, Can you tell me what the function of opengl32.dll in the pre-built package? It doesn't seem to be used in install.bat. |
so, you made it !!!? |
Yes, the windows already got the openg32.dll in system32, the dll was just a interface collections, it needed implemention from GPU driver. |
Yes, I got MvisorVGPUx64.dll from sources code sucessfully and copy it to C:\Windows\System32, but gputest can not load it. |
Thanks, I get it, maybe I don't need to care about opengl32.dll that build from sources. |
Oh, maybe there are some other dlls depended lost. For example, zlib.dll or zstd.dll |
Maybe, I'll check the deps later. |
it's works after add dll deps, i print some information in But it looks like it returns a handle normally. |
failed=31 means that the vgpu device didn't work. it was windows error. Print the handle value |
Hi, I installed the prebuilt driver in win10 vm, but gputest could not use this device, during the test it shows nothing then exit.
From the issue #1 you could see GpuTest could detect graphical infos during testing , but in my vm it show nothing, just a blank window then exit.
From the mvisor's log I couldn't find any log related to
virtio_vgpu.cc
like in #1Mvisor VGPU
device seems OK in device manager:My enviroment is listed as following:
nvidia-smi output:
vgpu config:
Any suggestions?
The text was updated successfully, but these errors were encountered: