-
Notifications
You must be signed in to change notification settings - Fork 25
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
Trouble to install driver from release #5
Comments
Update, I was able to compile kernelmode and usermode, For usermode: need to perform some move to use a more recent version of flex and bison (use win-bison and win-flex, add a new environment variable path to this installation, rename winbison and winflex to bison and flex). Compilation completes For kernelmode: I found my issues, Certificate issue (as I do not know the password for the provided pfx file) I created via VS2022 my personal certificate by opening vgpu properties then Configuration properties>Driver signing>General : for the option Test certificate it will be written Tenclass.com [......], change this value to "Create test certificate", VS2022 will create a test certificate for you. Then update the file digest algorithm to SHA256 (as requested by VS 2022). Now you can compile the solution. I have all the required file, but, same behavior, Windows can not load my driver. Best regards, Nikos |
Oh, if you have compiled them successfully, the problem may be the OS environment. |
for the BSOD, I will try to reproduce it with the 21H2 version |
I tested the 22H2 and got BSOD just before entering installation program, am not sure it's related to vgpu driver but more on mvisor itself :
like this issue : tenclass/mvisor#1 (comment) Best regards, Nikos |
|
Got the same BSOD with virtio-block config, if you think this BSOD is similar to the one provided in my previous post, should we switch to this issue to diagnose the BSOD issue ? (to avoid poluting this issue) |
Post your host environment in detail. I will test it later. |
Here are the requested details : OS : Elementary 7.1 (based on Ubuntu 22.04.x LTS) To be noted, I do not have to patch src/vrend_renderer.c as it already contains the corresponding line :
However, I built and installed it :
Nikos |
Thank you for your patient assistance. as you see, AMD gpu doesn't need to be patch the libvirglrenderer to use BLOB feature.
|
I successfully compiled the user mode driver using mingw64. Using VS2019 was a waste of time. It generated a lot of compilation errors: VS2019 is more strict than GCC. Now I try to compile the kernel mode driver using VisualStudio 2019. Can you specify which VisualStudio version you used to successfully build the Kernel Module? I do have access to a Windows 11 machine. I can install teh latest VS2022 on it. However, I want to generate a driver than will run on Windows 10. |
VS2019 + WDK10.0 |
I faced this issue too, when installing Windows Driver Kit and Visual Studio 2019, it appears that Windows Driver Kit was not properly registered in Visual Studio 2019. You'll have a special program in the start menu that will perform the correct registration. Regards, Nikos |
#2 I have fixed it in release v1.0.1 |
Hello Team,
I try to install the provided driver from release pages, the following error occured :
Please find the VM Yaml configuration :
Windows version : Windows 10 Pro (1809 OS Build 17763.1)
To be noted, I was not able to install Windows 10 via Mvisor due to BSOD on installation, I had to create a VM on Qemu and then use the qcow2 file with mvisor.
Here are the steps I followed, to install the provided driver :
kernelmode
andusermode
folder toc:\windows\system32
.I also tried to compile driver, usermode does not seem to compile via Visual Studio 2022 (an issue with target architecture not set), and with kernelmode, it compiles up to file/step 583 then freeze.
Best regards,
Nikos
The text was updated successfully, but these errors were encountered: