It is currently December 10th, 2018, 8:57 pm

Rainmeter closes after Graphic card update.

Report bugs with the Rainmeter application and suggest features.
User avatar
kyriakos876
Posts: 849
Joined: January 30th, 2017, 2:01 am
Location: Greece

Rainmeter closes after Graphic card update.

kyriakos876 » November 8th, 2018, 6:34 pm

I don't know if this is Hardware-acceleration related, but after I installed the new update in my graphics card, rainmeter closed/crashed. I don't think that this used to be a thing before... No big deal obviously because all I had to was just run Rainmeter.exe again, just thought I'd report it. :confused:
Rainmeter 4.3.0.3260 beta (64-bit)
Language: English (1033)
Build time: 2018-10-16 8:38:34
Commit Hash: c99884c7
Windows 10 Pro 1809 64-bit (build 17763) - English (1033)
Path: C:\Program Files\Rainmeter\
SkinPath: C:\Users\Kyria\Documents\Rainmeter\Skins\
SettingsPath: C:\Users\Kyria\AppData\Roaming\Rainmeter\
IniFile: C:\Users\Kyria\AppData\Roaming\Rainmeter\Rainmeter.ini
User avatar
jsmorley
Developer
Posts: 18445
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

Re: Rainmeter closes after Graphic card update.

jsmorley » November 8th, 2018, 6:40 pm

Yep, does it for me as well, every time my nVIDA drivers are updated.
User avatar
kyriakos876
Posts: 849
Joined: January 30th, 2017, 2:01 am
Location: Greece

Re: Rainmeter closes after Graphic card update.

kyriakos876 » November 8th, 2018, 6:43 pm

jsmorley wrote:
November 8th, 2018, 6:40 pm
Yep, does it for me as well, every time my nVIDA drivers are updated.
By everytime you mean even with later Rainmeter versions that didn't support HW/AC?
User avatar
siliconman01
Posts: 15
Joined: April 26th, 2015, 1:47 pm
Location: St. Albans, West Virginia USA

Re: Rainmeter closes after Graphic card update.

siliconman01 » November 26th, 2018, 5:01 pm

Yep, crashes on my systems when I update my nvidia drivers to the latest version....just happened again on V417.01. Does it on 3 different systems with different models of Nvidia cards. Has been doing this since Nvidia drivers moved into the 400 series of drivers.
Windows 10 x64 Pro on ASUS Maximus VIII Extreme motherboard, i7-6700k CPU,H220 X2 Liquid Cooler, 64 gbyte RipJaws DDR4 3200 RAM, Samsung 970 Pro NVMe M.2 512 gbyte SSD + Samsung 850 Pro 512 gbyte SSD, EVGA Nvidia GeForce 980 Titan card (Home Built System);  Windows 10 x64 Pro on Dell 8700 SE desktop, Intel i7 4770 CPU, 24 gbyte RAM, Samsung 850 EVO mSATA 512 gbyte SSD, Samsung 850 Pro 512 gbyte SSD, Nvidia 750 Ti:  Windows 10 x64 Pro on Dell XPS 410 desktop, 16 gbyte RAM, Intel CPU, GeForce Nvidia 750 Ti graphics:  Windows 10x64 Pro on 128 gbyte MS Surface Pro tablet:  Windows 10x64 Pro on 512 gigabyte Dell XPS 15 2-in-1 Laptop/tablet.  ASUS RT-AC88U router, 8 tbyte WD My Cloud PR2100 NAS Server, 200 Mbps cable Internet, ExpressVPN, Google Chrome, MS Office 2019 (Local), Casper 10, DisplayFusion (3 Flat Panel Displays per system):   Norton Security Deluxe 2019, Malwarebytes 3, Sticky Password 8, WD Smartware, PowerDVD18, MSI Burner, Rainmeter, Windows Sidebar, and many more.
User avatar
theAzack9
Developer
Posts: 498
Joined: March 2nd, 2016, 6:23 pm

Re: Rainmeter closes after Graphic card update.

theAzack9 » November 27th, 2018, 10:52 am

To give some minor explanation on this... (Warning, possible technical speak...)

I can not say how rainmeter 4.2 and earlier handles this as i didn't have as much to do with the GDI+ backend.

As for the new Direct2D based rendering might the graphics card still be used, even with HWA turned off. It won't be used for the rendering itself, but certain kinds of resources (image processing, offscreen surfaces or similar stuff) might still be offloaded to the GPU. This means that when the graphics card updates and restarts, then all the resources rainmeter depends on will suddenly be released, which causes undefined behaviour, and possibly a crash.

There are ways to handle it more gracefully and i do want to look into it in the future, but it is something that is a bit tricky to test since i need to somehow restart the graphics driver. ;) It is something that will be a bit tricky to look into, but as the 4.3 beta continues, is it something i hope we will be able to fix.
User avatar
jsmorley
Developer
Posts: 18445
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

Re: Rainmeter closes after Graphic card update.

jsmorley » November 27th, 2018, 12:13 pm

I don't see this as a terribly high priority. My HexChat client crashes when I install nVidia drivers as well. I'm sure it's due to the point where nVidia switches to some generic driver while it replaces the actual one.

This is what comes of all the years of whining about how you had to restart your PC when it was done installing drivers. Be careful what you wish for...
User avatar
kyriakos876
Posts: 849
Joined: January 30th, 2017, 2:01 am
Location: Greece

Re: Rainmeter closes after Graphic card update.

kyriakos876 » November 27th, 2018, 12:44 pm

theAzack9 wrote:
November 27th, 2018, 10:52 am
...but it is something that is a bit tricky to test since i need to somehow restart the graphics driver...
Don't quote me on this one, but my understanding is that simply restarting the graphics driver won't do the trick... You can actually do that by pressing Win+Ctrl+Shift+B (works for Windows 8+) but you won't get the crash. This is probably because when a Nvidia update happens, VRAM is cleared, but with a restart it isn't. So that's what you should probably try and figure how to do. Clear the VRAM. (Thus the solution could be something related to how Rainmeter utilizes/ relies on VRAM)

Now, again, I ain't no expert, so I wrote the above with the thought that Hardware acceleration is the cause. (I, personally, don't think I was experiencing this crash, say, one year ago.)

The obvious way to test it would be to uninstall and reinstall the driver, but I don't know how healthy this is going to be for your GPU.
User avatar
kyriakos876
Posts: 849
Joined: January 30th, 2017, 2:01 am
Location: Greece

Re: Rainmeter closes after Graphic card update.

kyriakos876 » November 27th, 2018, 12:49 pm

But as Jsmorley said above, this isn't something vital. Crashing once a month isn't something crazy... If only everything would crash as little as once a month... I only posted this to be sure something wasn't wrong with my system... Didn't really care that I had to click Rainmeter.exe to run it again.
User avatar
jsmorley
Developer
Posts: 18445
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

Re: Rainmeter closes after Graphic card update.

jsmorley » November 27th, 2018, 12:54 pm

kyriakos876 wrote:
November 27th, 2018, 12:49 pm
But as Jsmorley said above, this isn't something vital. Crashing once a month isn't something crazy... If only everything would crash as little as once a month... I only posted this to be sure something wasn't wrong with my system... Didn't really care that I had to click Rainmeter.exe to run it again.
What I do is close Rainmeter and HexChat, before I start the driver upgrade. Then when it is done, I restart my PC. I do it this way as I don't really want the crashing of the applications generating a lot of Windows error log or memory dump stuff that I then have to clean up with DiskClean later, due to my anal-retentive nature.

Speaking of anal-retentive, be aware that nVidia stores and keeps all the different versions of the drivers it downloads and installs, and that can really eat up some hard drive space over time. These are like 500MB each. This can be cleaned up by going to C:\ProgramData\NVIDIA Corporation\Downloader, and deleting all folders that have just a long hash number as the folder name.
User avatar
kyriakos876
Posts: 849
Joined: January 30th, 2017, 2:01 am
Location: Greece

Re: Rainmeter closes after Graphic card update.

kyriakos876 » November 27th, 2018, 1:07 pm

Wow... Zero respect for SSD owners... Thanks for that info. I'll start deleting as soon as I'm back home. I'll check if I can change the path, which I highly doubt. As for restarting, that's probably a good idea after any driver update.