Skip to content
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

Linux bypass #2

Open
MakiseKurisu opened this issue Aug 23, 2022 · 11 comments
Open

Linux bypass #2

MakiseKurisu opened this issue Aug 23, 2022 · 11 comments

Comments

@MakiseKurisu
Copy link

Just want to drop this here since I don't know a better place to put it. I got the following script from Kenny.ch from GPU Unlocking discord:

echo 'options nvidia NVreg_RegistryDwords="UnlicensedUnrestrictedStateTimeout=0x5A0;UnlicensedRestricted1StateTimeout=0x5A0"' | sudo tee /etc/modprobe.d/nvidia.conf
sudo update-initramfs -u
reboot
@DreamOfIce
Copy link

Just want to drop this here since I don't know a better place to put it. I got the following script from Kenny.ch from GPU Unlocking discord:

echo 'options nvidia NVreg_RegistryDwords="UnlicensedUnrestrictedStateTimeout=0x5A0;UnlicensedRestricted1StateTimeout=0x5A0"' | sudo tee /etc/modprobe.d/nvidia.conf
sudo update-initramfs -u
reboot

Maybe create a pull request?

@dzxx36gyy
Copy link

Seems we can use this to reset/reload the driver, so that we can reset the trial. Just like the way used in the ps.

echo "1" > /sys/bus/pci/devices/pci_id_of_vgpu/rescan

@dzxx36gyy
Copy link

Seems we can use this to reset/reload the driver, so that we can reset the trial. Just like the way used in the ps.

echo "1" > /sys/bus/pci/devices/pci_id_of_vgpu/rescan

I found run this will call the nvidia-vgpu-mgr load the driver again, just like the old-way rmmod & modprobe

rmmod nvidia_drm && rmmod nvidia_modeset && rmmod nvidia
modprobe nvidia_drm

@MinsGoing
Copy link

How to obtain permission without reboot?

@YajunDeng
Copy link

Just want to drop this here since I don't know a better place to put it. I got the following script from Kenny.ch from GPU Unlocking discord:

echo 'options nvidia NVreg_RegistryDwords="UnlicensedUnrestrictedStateTimeout=0x5A0;UnlicensedRestricted1StateTimeout=0x5A0"' | sudo tee /etc/modprobe.d/nvidia.conf
sudo update-initramfs -u
reboot

Is that effective? I use 'nvidia-smi -q' to check the license and it didn't change, libopengl is also not available.

@dzxx36gyy
Copy link

Just want to drop this here since I don't know a better place to put it. I got the following script from Kenny.ch from GPU Unlocking discord:

echo 'options nvidia NVreg_RegistryDwords="UnlicensedUnrestrictedStateTimeout=0x5A0;UnlicensedRestricted1StateTimeout=0x5A0"' | sudo tee /etc/modprobe.d/nvidia.conf
sudo update-initramfs -u
reboot

Is that effective? I use 'nvidia-smi -q' to check the license and it didn't change, libopengl is also not available.

Also, please make sure you are using the grid version lower than 14 since it only works in this condition.

@YajunDeng
Copy link

Just want to drop this here since I don't know a better place to put it. I got the following script from Kenny.ch from GPU Unlocking discord:

echo 'options nvidia NVreg_RegistryDwords="UnlicensedUnrestrictedStateTimeout=0x5A0;UnlicensedRestricted1StateTimeout=0x5A0"' | sudo tee /etc/modprobe.d/nvidia.conf
sudo update-initramfs -u
reboot

Is that effective? I use 'nvidia-smi -q' to check the license and it didn't change, libopengl is also not available.

Also, please make sure you are using the grid version lower than 14 since it only works in this condition.

It is the same. What does it show: 'nvidia-smi -q | grep "License Status"' ? Am I change the vgpu-kvm version lower than 14 in host?

@dzxx36gyy
Copy link

@YajunDeng In my case, it shows Unlicensed (Unrestricted), and as said in the README of this repo
The registry keys that are added by this tool only work up to Nividia's vGPU version 14.1 and has been reported to not work on later versions.
I think it should be the same as the Linux driver, considering the grid driver was limited to the host driver, both of them, at least I think, should be lower than 14.1. And I'm using grid 13.2

@YajunDeng
Copy link

@dzxx36gyy Thanks, Is opengl available?

@dzxx36gyy
Copy link

@dzxx36gyy Thanks, Is opengl available?

Sorry, I didn't use it as Linux desktop, so I can't test with that.

@QiuMike
Copy link

QiuMike commented Jun 14, 2023

@dzxx36gyy Thanks, Is opengl available?

You should test with unload driver using normal GPU, to check if the opengl work correctly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants