dartraiden / NVIDIA-patcher

Adds 3D acceleration support for P106-090 / P106-100 / P104-100 / P104-101 / P102-100 / CMP 30HX / CMP 40HX / CMP 50HX / CMP 70HX / CMP 90HX / CMP 170HX mining cards as well as RTX 3060 3840SP and RTX 3080 Ti 20GB.
275 stars 29 forks source link

RainCandy driver #140

Open dartraiden opened 1 month ago

dartraiden commented 1 month ago

I recently learned about a similar project — https://raincandy.tech/nvcmpgpu/

At first glance, this driver has advantages:

If this driver is better than mine in every way, then there is no point in continuing my project,

Please test it. If you find any performance degradation or problems with anti-cheats, please report it here (read this before!). Also, if you experience any problems with my driver on CMP cards (TDP, OpenGL, ray-tracing issues), please test this driver too.

Select "Signature Mode 2" during install!

All this is necessary to understand whether it makes any sense to continue my project if there is already a better alternative.

dartraiden commented 1 month ago

Known problems:

az-zamani commented 1 month ago

Reporting, im currently using Raincandy driver ver 556.12 shared on lol issues, its work well with vanguard or Riot anticheat, i've tried on Valorant, But its Wont work with face it, when i launched CS2 with FaceIt Anticheat enabled it says D3d driver not found, but its work well wen Faceit Anticheat disabled, btw i've tried Raincandy latest ver recently the same problem happened, and when im installing Raincandy Driver, if i Selected Signature Mode 1 my gpuz shows that the direct compute, DirectX and many features unticked, but its installed correctly when i choose Signature Mode 2, its happened on the latest ver and 556.12 in my case

edit : heres my error message Screenshot_2

Emogop commented 1 month ago

if i Selected Signature Mode 1 my gpuz shows that the direct compute, DirectX and many features unticked

I think it's because Microsoft bans these signatures with each passing Windows update so you can't install drivers in this mode if your Windows is up to date. In my case, I installed the drivers just fine since I stopped updating Windows since late June 2023.

А по китайскому драйверу, я не заметил каких-то отличий с этим. Но я не играю в онлайн игры, мне на античит так-то пофиг. В то же время DLSS не работает должны образом ни тут ни там (он по факту активируется, но фпс падает а не повышается) и нужно пользоваться артефачным FSR, если нужно больше кадров. Видимо тензорный блок залочен аппаратно или по крайней мере на уровне биоса.

kz3 1

dartraiden commented 1 month ago

I think it's because Microsoft bans these signatures

True. This cert was banned in 2023 because it was widely circulated in the public and many things were signed with it, including malware. "Signature Mode 2" uses other certificates that are not banned yet.

xardas228 commented 1 month ago

EA FC 24 doesn't work on raincandy drivers too, also when i download from first link, which is only one available for me because i don't have chinese number main file is 45B instead of 712MB.

operador777 commented 4 weeks ago

Well, it seems that the RainCandy driver is only working well for league of legeds and keeps failing like other anti cheats (Face it, EA FC's anticheat...) so I don't see so viable to stop the project. Regarding the support for more GPU's, this is because the driver in its Studio version has built in more support for QUADRO cards.

As a frequent user of the Dartraiden driver and contributor I can assure that:

  1. League of legends/Vanguard works without any problem in the latest version of Windows 11 23H2 with the Dartraiden diver (I have not tested yet if Faceit works in this version of Windows)

  2. Dartraiden driver has problems with anticheat in the latest version of Windows 10, but it works fine with the other games/applications, it also works very well with windows 10 version prior to the update that blocks vulnerable drivers.

Considering the above, in my spare time I am debugging the most common anitcheat and working on a bypass or a kernel level method to bypass any checks by Anticheat that compromises the Dartraiden driver, in case I don't make it, at least I will be trying to get a certificate that is not blocked and we can only use it for the purpose of the patch.

Pd: if I manage to make a bypass, it will not be shared in open source form to avoid that it can be used or altered maliciously by cheaters. The main purpose will be to make it work only with Dartraiden's files, so in case I succeed, I will share them directly and it will be integrated with the patch, I will also add a MD5 or some other type of verification so that the bypass will only allow to skip the verification process to the dll generated by Dartraiden and not by anyone else.

Alexandroid06 commented 3 weeks ago

I recently learned about a similar project — https://raincandy.tech/nvcmpgpu/

At first glance, this driver has advantages:

  • supports many more GPUs
  • better anti-cheat compatibility

If this driver is better than mine in every way, then there is no point in continuing my project,

Please test it. If you find any performance degradation or problems with anti-cheats, please report it here (read this before!). Also, if you experience any problems with my driver on CMP cards (TDP, OpenGL, ray-tracing issues), please test this driver too.

Select "Signature Mode 2" during install!

All this is necessary to understand whether it makes any sense to continue my project if there is already a better alternative.

There's no need to despair ahead of time. Remember that RainCandy has a Studio driver, you are Game Ready with GeForce Experience, already for this reason the project should be developed further. And I hope you will do better than this Chinese driver, it's just a matter of time and good luck with it!

Alexandroid06 commented 3 weeks ago

And while we're on the subject of drivers. I wanted to ask everyone on this forum. AIDA 64 showed me that my card Asus CMP 30HX bus type PCI-E 2.0 x16, but it works in mode 1.1 x16, hence the question appeared, where this limitation of bus speed arises from, because of video drivers? From the BIOS of the card itself or because of the fact that the image is output through the i-GPU of the processor? And is it possible to flash Asus GTX 1660 Super Dual EVO BIOS through a programmer so that it works on CMP 30HX and I can put official NVIDIA drivers without patches? (I have the chip model TU116-100, first revision). It's a bit strange that the card runs at an increased frequency of 1920 Mhz instead of 1785 Mhz and has a constant 100% Video Engine Load. It doesn't interfere with the card's work, but it looks suspicious, I can't understand what it's related to, and not only me.

AIDA64_GPU

I plan to go to a service center the other day to solder the HDMI port and try to run the image directly from the video card, I will also service it, clean it, replace the thermal interface for better cooling.

IMG_20240809_174039 IMG_20240803_031620 IMG_20240803_031820 IMG_20240803_032911

Also techpowerup site claims that my card supports NVENC hardware, but it doesn't work in OBS Studio and GeForce Experience (ShadowPlay), it only works in Outplayed application ( https://www.techpowerup.com/gpu-specs/asus-cmp-30hx.b8757 ).

TU116 Notes

operador777 commented 3 weeks ago

And while we're on the subject of drivers. I wanted to ask everyone on this forum. AIDA 64 showed me that my card Asus CMP 30HX bus type PCI-E 2.0 x16, but it works in mode 1.1 x16, hence the question appeared, where this limitation of bus speed arises from, because of video drivers?

The pci line is physically limited due to the lack of some capacitors, in the repository a couple of videos are shared (in English and Russian) where it is explained how to unlock the pci 2.0 by soldering the capacitors (you will have a slight performance improvement when you do it).

https://github.com/dartraiden/NVIDIA-patcher?tab=readme-ov-file#unlocking-full-x16-pci-e-lines-on-the-cmp-cards

I plan to go to a service center the other day to solder the HDMI port and try to run the image directly from the video card, I will also service it, clean it, replace the thermal interface for better cooling.

Soldering the hdmi port is unnecessary and will not give you any result (it has been tried before) as these graphics cards are "castrated" at the hardware level which makes it almost impossible for them to output video.

And is it possible to flash Asus GTX 1660 Super Dual EVO BIOS through a programmer so that it works on CMP 30HX and I can put official NVIDIA drivers without patches? (I have the chip model TU116-100, first revision).

No, many people (including myself) have tried to flash bios via software and programmer and in none of the cases it gave positive results.

Regarding NVENC support can you share a gpu z image to see that all the features are working fine on the graphics? I have a CMP 40hx and it works great in OBS, ShadowPlay and other software that use encoder.

Emogop commented 3 weeks ago

is explained how to unlock the pci 2.0 by soldering the capacitors

No. In the video they were unlocking PCI-E lines, from X4 => X16, and not bumping the PCI-E mode. How his card got pci-e 2.0 instead 1.1 like everyone else's is beyond me. Maybe the previous owner did some experiments to it? @Alexandroid06 Could you post GPU-Z screenshot of your card? Did you buy it from a miner or some enthusiast?

Alexandroid06 commented 3 weeks ago

And while we're on the subject of drivers. I wanted to ask everyone on this forum. AIDA 64 showed me that my card Asus CMP 30HX bus type PCI-E 2.0 x16, but it works in mode 1.1 x16, hence the question appeared, where this limitation of bus speed arises from, because of video drivers?

The pci line is physically limited due to the lack of some capacitors, in the repository a couple of videos are shared (in English and Russian) where it is explained how to unlock the pci 2.0 by soldering the capacitors (you will have a slight performance improvement when you do it).

https://github.com/dartraiden/NVIDIA-patcher?tab=readme-ov-file#unlocking-full-x16-pci-e-lines-on-the-cmp-cards

I plan to go to a service center the other day to solder the HDMI port and try to run the image directly from the video card, I will also service it, clean it, replace the thermal interface for better cooling.

Soldering the hdmi port is unnecessary and will not give you any result (it has been tried before) as these graphics cards are "castrated" at the hardware level which makes it almost impossible for them to output video.

And is it possible to flash Asus GTX 1660 Super Dual EVO BIOS through a programmer so that it works on CMP 30HX and I can put official NVIDIA drivers without patches? (I have the chip model TU116-100, first revision).

No, many people (including myself) have tried to flash bios via software and programmer and in none of the cases it gave positive results.

Regarding NVENC support can you share a gpu z image to see that all the features are working fine on the graphics? I have a CMP 40hx and it works great in OBS, ShadowPlay and other software that use encoder.

I was lucky, I already had all 16 PCI-E lanes when I bought the card. And they seem to have been soldered out of production. I'm specifically interested in unlocking the PCI generation, since there is twice the difference between x16 1.1 and 2.0 versions (4 and 8 GB/s). HDMI port I'll make anyway, it's inexpensive, at least for a nice look to cover the hole. I don't know what the problem is with NVENC, this model of card supports this codec, moreover it works in Outplayed and loads the video card (I checked, did tests). Tried dartraiden drivers with NVENC patch - I have crash program OBS happens, I need it very much to stream on Twitch, otherwise if you use x264 codec (CPU), it is a very heavy load on the processor and I have a FPS drop in games. ShadowPlay (through the shortcut command and through the application itself does not work, just a little blinking loading cursor and that's all, the panel does not appear at all). RainSandy Studio driver is without GeForce Experience, it doesn't support NVENC for ShadowPlay, so I'm waiting for more development of this project than the Chinese one.

is explained how to unlock the pci 2.0 by soldering the capacitors

No. In the video they were unlocking PCI-E lines, from X4 => X16, and not bumping the PCI-E mode. How his card got pci-e 2.0 instead 1.1 like everyone else's is beyond me. Maybe the previous owner did some experiments to it? @Alexandroid06 Could you post GPU-Z screenshot of your card? Did you buy it from a miner or some enthusiast?

Bought a video card from a miner a week and a half ago for $56, in good condition, does not get very hot, fan-stop works, only a little rustling (noise) coolers. She worked in mining for about 10 months. First in China for 3 months, then 7 months in Russia.

Here is a screenshot of GPU-Z, help with NVENC very much need this function as well as ShadowPlay, used to them for a long time on GTX 750 previous card.

CMP30 HX (GTX 1660 Super)

Emogop commented 3 weeks ago

RainSandy Studio driver is without GeForce Experience

Не знаю пробовал ли ты или нет, но GeForce Experience можно поставить отдельно. Я так и сделал и поверх китайского драйвера накатил GeForce Experience, затем по местному гайду прописал приблуду в ярлык NVIDIA Share.exe и вуаля! Запись работает. Стриминг - хз, не пробовал.

Here is a screenshot of GPU-Z

Ну, это другое дело. Не знаю почему твоя AIDA64 пишет что 2.0 версию поддерживает. У меня CMP 40HX с кондёрами, и аида выводит правильные данные как и в GPU-Z.

Alexandroid06 commented 3 weeks ago

RainSandy Studio driver is without GeForce Experience

Не знаю пробовал ли ты или нет, но GeForce Experience можно поставить отдельно. Я так и сделал и поверх китайского драйвера накатил GeForce Experience, затем по местному гайду прописал приблуду в ярлык NVIDIA Share.exe и вуаля! Запись работает. Стриминг - хз, не пробовал.

Here is a screenshot of GPU-Z

Ну, это другое дело. Не знаю почему твоя AIDA64 пишет что 2.0 версию поддерживает. У меня CMP 40HX с кондёрами, и аида выводит правильные данные как и в GPU-Z.

Спасибо, я бы сам не догадался отдельно найти GeForce Experience и его поставить. Окно на Alt+Z появилось, однако запись не запускается - резко сразу старт и конец на Alt+F9. Также писал, что запись можно включить только в поддерживаемой игре (запись рабочего стола невозможна, хотя на старой карте я мог это делать). Скорее всего это из-за китайского драйвера, так как NVENC кодека в нём нет, это Studio драйвер. На счёт PCI-E 2.0 версии я уверен здесь есть что-то особенное в этой карте, вдруг получится вывести изображение через видео порты и активировать эту версию PCI, я попробую.

ParSor2 commented 1 week ago

CMP 90HX NVENC/CUDA, decoding/encoding, not work. Testing on ffmpeg.

image