It is currently March 28th, 2024, 10:45 am

Rainmeter crashing versions 4.5.14 - 4.5.15

Report bugs with the Rainmeter application and suggest features.
User avatar
Pflosch
Posts: 39
Joined: May 24th, 2020, 7:04 am
Location: Switzerland

Re: Rainmeter crashing versions 4.5.14 - 4.5.15

Post by Pflosch »

Hi Brian,

Still same for me, crash when unloading the Music Skins.
User avatar
Brian
Developer
Posts: 2673
Joined: November 24th, 2011, 1:42 am
Location: Utah

Re: Rainmeter crashing versions 4.5.14 - 4.5.15

Post by Brian »

Pflosch wrote: September 20th, 2022, 6:21 pm Still same for me, crash when unloading the Music Skins.
Can you attach an rmskin with the offending skin(s)?

Also, what Windows version are you using?

-Brian
User avatar
HiTBiT-PA
Posts: 38
Joined: July 24th, 2014, 5:14 pm
Location: Elche, Spain
Contact:

Re: Rainmeter crashing versions 4.5.14 - 4.5.15

Post by HiTBiT-PA »

Hi Brian. Now that I've had time I've tried the version 4.5.16 prerelease and the music skins no longer give me problems when closing or opening them. At the moment it works, before the operating system was blocked, perhaps because I did not restart when updating the version.
For some reason, version 4.5.15 is giving problems with high processor usage when closing or opening skins, causing crashes, at least for me.
I use Windows 11 Pro 21H2 on an Intel I7 11700F 2.50 Mhz
Thanks for everything.
User avatar
Pflosch
Posts: 39
Joined: May 24th, 2020, 7:04 am
Location: Switzerland

Re: Rainmeter crashing versions 4.5.14 - 4.5.15

Post by Pflosch »

Hi Brian,

WIn10 64 pro (21H1 19043 2006)

I'm not sure the skin run standalone...
This is one of the skins, but it relies on some external variables...

Code: Select all

[Rainmeter]
Update=#ButtonUpdate#
Group=AllButSettings

[Variables]
@include=#@#include\Variables.inc

[MsArtist]
Measure=NowPlaying
PlayerName=#Player#
PlayerPath=#PlayerPath#
PlayerType=ARTIST

[MsTitle]
Measure=NowPlaying
PlayerName=[MsArtist]
PlayerType=Title

[MsState]
Measure=NowPlaying
PlayerName=[MsArtist]
PlayerType=STATE
IfCondition=(#CURRENTSECTION#=1)
IfFalseAction=[!SetOption MtStartStop Text play]
IfTrueAction=[!SetOption MtStartStop Text pause]

[MsStatus]
Measure=NowPlaying
PlayerName=[MsArtist]
PlayerType=STATUS
IfCondition=(#CURRENTSECTION#=1)
IfFalseAction=[!Showmetergroup "Music"][!HideMetergroup "Controls"]
IfTrueAction=[!Hidemetergroup "Music"][!ShowMetergroup "Controls"]

[MsArtistToString]
Measure=String
DynamicVariables=1
String=[MsArtist]
Substitute=" ":"+"

[MsTitleToString]
Measure=String
DynamicVariables=1
String=[MsTitle]
Substitute=" ":"+"

[MsDynFontSizeTitle]
Measure=Calc
DynamicVariables=1
Formula=(#RawFontSize#*#NowPlayingScaling#*(#FontSizeAdjustment#/[MtTitleDummy:W]<1? #FontSizeAdjustment#/[MtTitleDummy:W] : 1))

[MsDynFontSizeArtist]
Measure=Calc
DynamicVariables=1
Formula=(#RawFontSize#*#NowPlayingScaling#*(#FontSizeAdjustment#/[MtArtistDummy:W]<1? #FontSizeAdjustment#/[MtArtistDummy:W] : 1))


[MtMusic]
Meter=String
Group=Music
FontFace=#fontface#
FontSize=(#RawFontSize#*#NowPlayingScaling#)
FontColor=#FontColor#,#FontAlphaPassive#
SolidColor=255,255,255,1
StringAlign=center
x=(9*#NowPlayingScaling#*#RawFontSize#)
Y=(2.5*#NowPlayingScaling#*#RawFontSize#)
Text=music
MouseOverAction=!SetOption MtMusic FontColor #FontColor#,#FontAlphaActive#
MouseLeaveAction=!SetOption MtMusic FontColor #FontColor#,#FontAlphaPassive#
LeftMouseUpAction=!CommandMeasure MsArtist OpenPlayer


[MtShowPlayer]
Meter=Image
Group=Controls
SolidColor=255,255,255,1
X=0
Y=0
W=(18*#NowPlayingScaling#*#RawFontSize#)
H=(2.5*#NowPlayingScaling#*#RawFontSize#)
MouseOverAction=[!SetOption MtArtist FontColor #FontColor#,#FontAlphaActive#][!SetOption MtTitle FontColor #FontColor#,#FontAlphaActive#]
MouseLeaveAction=[!SetOption MtArtist FontColor #FontColor#,#FontAlphaPassive#][!SetOption MtTitle FontColor #FontColor#,#FontAlphaPassive#]
LeftMouseUpAction=[!CommandMeasure MsArtist OpenPlayer]
MouseScrollDownAction = !CommandMeasure MsArtist "SetVolume -10"
MouseScrollUpAction = !CommandMeasure MsArtist "SetVolume +10"

[MtArtistDummy]
Meter=String
MeasureName = MsArtist
FontSize=10
FontColor=#FontColor#,1
X=0
Y=0
Text=%1

[MtTitleDummy]
Meter=String
MeasureName = MsTitle
FontSize=10
FontColor=#FontColor#,1
X=0
Y=0
Text=%1

[MtArtist]
Meter=String
Group=Controls
DynamicVariables=1
MeasureName = MsArtist
FontFace=#fontface#
FontSize=[MsDynFontSizeArtist]
FontColor=#FontColor#,#FontAlphaPassive#
StringAlign=center
x=(9*#NowPlayingScaling#*#RawFontSize#)
Y=0
Text=%1

[MtTitle]
Meter=String
Group=Controls
DynamicVariables=1
MeasureName = MsTitle
FontFace=#fontface#
FontSize=[MsDynFontSizeTitle]
FontColor=#FontColor#,#FontAlphaPassive#
StringAlign=center
X=(9*#NowPlayingScaling#*#RawFontSize#)
Y=(1.2*#NowPlayingScaling#*#RawFontSize#)
Text=%1

[MtStartStop]
Meter=String
Group=Controls
Text=start
FontFace=#fontface#
FontSize=((#RawFontSize#*#NowPlayingScaling#)*0.7)
FontColor=#FontColor#,#FontAlphaPassive#
SolidColor=255,255,255,1
StringAlign=center
x=(9*#NowPlayingScaling#*#RawFontSize#)
Y=(2.5*#NowPlayingScaling#*#RawFontSize#)
MouseOverAction=!SetOption MtStartStop FontColor #FontColor#,#FontAlphaActive#
MouseLeaveAction=!SetOption MtStartStop FontColor #FontColor#,#FontAlphaPassive#
LeftMouseUpAction=[!CommandMeasure MsArtist PlayPause]

[MtBACK]
Meter=String
Group=Controls
Text=3
FontFace=Marlett
FontSize=(#RawFontSize#*#NowPlayingScaling#)
FontColor=#FontColor#,#FontAlphaPassive#
SolidColor=255,255,255,1
StringAlign=center
x=(6.7*#NowPlayingScaling#*#RawFontSize#)
Y=(2.5*#NowPlayingScaling#*#RawFontSize#)
MouseOverAction=!SetOption MtBack FontColor #FontColor#,#FontAlphaActive#
MouseLeaveAction=!SetOption MtBack FontColor #FontColor#,#FontAlphaPassive#
LeftMouseUpAction=!CommandMeasure MsArtist Previous

[MtFWD]
Meter=String
Group=Controls
Text=4
FontFace=Marlett
FontSize=(#RawFontSize#*#NowPlayingScaling#)
FontColor=#FontColor#,#FontAlphaPassive#
SolidColor=255,255,255,1
StringAlign=center
x=(11.3*#NowPlayingScaling#*#RawFontSize#)
Y=(2.5*#NowPlayingScaling#*#RawFontSize#)
MouseOverAction=!SetOption MtFWD FontColor #FontColor#,#FontAlphaActive#
MouseLeaveAction=!SetOption MtFWD FontColor #FontColor#,#FontAlphaPassive#
LeftMouseUpAction=!CommandMeasure MsArtist Next

[MtShowDesktop]
Meter=String
Group=Controls

FontFace=Marlett
FontSize=(#RawFontSize#*#NowPlayingScaling#)
FontColor=#FontColor#,#FontAlphaPassive#
SolidColor=255,255,255,1
StringAlign=center
TEXT=6
x=(15*#NowPlayingScaling#*#RawFontSize#)
Y=(2.5*#NowPlayingScaling#*#RawFontSize#)
MouseOverAction=!SetOption MtShowDesktop FontColor #FontColor#,#FontAlphaActive#
MouseLeaveAction=!SetOption MtShowDesktop FontColor #FontColor#,#FontAlphaPassive#
LeftMouseUpAction=["#@#NirCmd\Show desktop.bat"]

[MtClosePlayer]
Meter=String
Group=Controls
FontFace=Marlett
FontSize=(#RawFontSize#*#NowPlayingScaling#*0.8)
FontColor=#FontColor#,#FontAlphaPassive#
SolidColor=255,255,255,1
StringAlign=center
TEXT=r
x=(17*#NowPlayingScaling#*#RawFontSize#)
Y=(2.7*#NowPlayingScaling#*#RawFontSize#)
MouseOverAction=!SetOption MtClosePlayer FontColor #FontColor#,#FontAlphaActive#
MouseLeaveAction=!SetOption MtClosePlayer FontColor #FontColor#,#FontAlphaPassive#
LeftMouseUpAction=["#@#PSkill\KillPlayer.bat"]

[MtLink1]
Meter=String
Group=Controls
FontFace=#fontface#
FontSize=(#RawFontSize#*#NowPlayingScaling#*0.8)
FontColor=#FontColor#,#FontAlphaPassive#
SolidColor=255,255,255,1
StringAlign=center
TEXT=#Link1Text#
x=(1*#NowPlayingScaling#*#RawFontSize#)
Y=(2.5*#NowPlayingScaling#*#RawFontSize#)
MouseOverAction=!SetOption MtLink1 FontColor #FontColor#,#FontAlphaActive#
MouseLeaveAction=!SetOption MtLink1 FontColor #FontColor#,#FontAlphaPassive#
LeftMouseUpAction= #Link1#

[MtLink2]
Meter=String
Group=Controls
FontFace=#fontface#
FontSize=(#RawFontSize#*#NowPlayingScaling#*0.8)
FontColor=#FontColor#,#FontAlphaPassive#
SolidColor=255,255,255,1
StringAlign=center
TEXT=#Link2Text#
x=(3*#NowPlayingScaling#*#RawFontSize#)
Y=(2.5*#NowPlayingScaling#*#RawFontSize#)
MouseOverAction=!SetOption MtLink2 FontColor #FontColor#,#FontAlphaActive#
MouseLeaveAction=!SetOption MtLink2 FontColor #FontColor#,#FontAlphaPassive#
LeftMouseUpAction=#Link2#
and here's the variable,inc (gets usually written by another "settings skin")

Code: Select all

[Variables]
;=======================================
;===========  SCALING  =================
;=======================================
;RawFontSize will scale all meters containing fonts.
;The scaling factors can resize individual meters.

;I recommend setting all factors to 1 and RawFontSize so every meter is big enough.
;From there you can reduce size of individual meters by reducing the scaling factors.

RawFontSize=30
ButtonScaling=1.3
FFTScaling=0.6
NowPlayingScaling=1.3
ClockScaling=1

;=======================================
;===========  UPDATESPEED  =============
;=======================================
;Increase FFTupdate if load on CPU is too high

ButtonUpdate=200
FFTupdate=16

;=======================================
;============  COLORS  =================
;=======================================
;FontColor is the main color
;The alphas are for normal/mouseOver
;ActionAreaColor is to show where the mouse clicks get registered

RD=74
GN=176
BU=199

FontColor = #RD#,#GN#,#BU#
FontAlphaPassive=127
FontAlphaActive=184
ActionAreaColor=1,1,1,1

;=======================================
;=========== FONT ======================
;=======================================
FontFace=chiller
FontWeight=999

;=======================================
;============  BUTTON SKINS  ===========
;=======================================
;In order to customize Buttongroups:
;- Copy the Buttongroup Folder, Rename it to whatever you want
;- Load it in Rainmeter
;- Rightclick the skin => edit skin
;- Change "Title", "Sub*Text", "Sub*Link" to suit your needs
;- Set "NoOfSubs" to the number of Sub-entries you have
;- Save, refresh in Rainmeter

;In order to customize individual Buttons:
;- Copy the Button Folder, Rename it to whatever you want
;- Load it in Rainmeter
;- Rightclick the skin => edit skin
;- Change "Text" and "Link" to suit your needs
;- Save, refresh in Rainmeter

; These Parameters are mainly to adjust the appearance when changing font family
StringAlign=center
TextPositionVertical=-2
ButtonWidth=(260*#ButtonScaling#)
FrameColor=1,1,1,1

;=======================================
;===========  CLOCK SKIN  ==============
;=======================================
; In some fonts numbers, signs and letters seem sized unevenly.
;To adjust "numbers (numerical) vs dashes (sign) vs letters" depending on the font
NumericalSize=1.1
SignSize=0.8
NumFontWeight=1
DateClickAction=!LoadLayout "Steamed"
SeparatorPosition=0.85

;=======================================
;=========== FFT SKIN  =================
;=======================================
;Width is the individual bar
;Spacing is the distance between bars
;LRspace is distance between left and right channel
FFTWidth=25
FFTspacing=3
LRspace=50
FFTcolorBottom=#FontColor#,20
FFTcolorTop=#FontColor#,#FontAlphaPassive#
EllipseSize=1.5
VUsize=1
VUalpha=40

;=======================================
;==========  NOW PLAYING  ==============
;=======================================
;Player can be:
;(fully supported): AIMP, Winamp, WMP, iTunes, CAD (foobar2000, MediaJukebox, MusicBee)
;(partially supported, good luck): Spotify, Last.fm Client, TTPlayer, OpenPandora, Zune

;PlayerPath is required if installed in non standard path, or the skin cannot find the player

;Link1/Link2 can be any website search query.
;[MsArtistToString]+[MsTitleToString] take Artist and Title and replace spaces by "+", as this is the syntax required for most searches.

;FontSizeAdjustment is regulating the Max width for the Title/Artist, which triggers font size reduction
Player=Winamp
PlayerPath=C:\Program Files (x86)\Winamp\Rock\Winamp\Winamp.exe
NowPlayingFontScaling=0.8
Link1Text =YT
Link1 =https://www.youtube.com/results?search_query=[MsArtistToString]+[MsTitleToString]
Link2Text=EM
Link2 =https://www.metal-archives.com/search?searchString=[&MsArtistToString]&type=band_name
FontSizeAdjustment=180

;=======================================
;==========  SETTINGS  ==============
;=======================================

SetScaling=1
SetFontFace=Calibri
SetFontSize=12
SetColor1=150,150,150
SetColor2=220,220,220
SetWindowH=400
SetWindowW=350

User avatar
Brian
Developer
Posts: 2673
Joined: November 24th, 2011, 1:42 am
Location: Utah

Re: Rainmeter crashing versions 4.5.14 - 4.5.15

Post by Brian »

@HiTBit-PA:
HiTBiT-PA wrote: September 20th, 2022, 6:56 pm For some reason, version 4.5.15 is giving problems with high processor usage when closing or opening skins, causing crashes, at least for me.
Does the high processor usage happen with the 4.5.16 version?

Otherwise, it looks like your issue is fixed.


@Pflosch:
I can't replicate this on Windows 7 and 10. Your test skin works for me. Both loading and unloading of the skin.

Are you sure you installed version 4.5.16?
Here is a link: https://forum.rainmeter.net/viewtopic.php?t=41346#p210071

-Brian
Levoxyl
Posts: 1
Joined: September 20th, 2022, 7:29 pm

Re: Rainmeter crashing versions 4.5.14 - 4.5.15

Post by Levoxyl »

I also have this problem. Also, I have a problem with"bad_module_info has stopped working" and when I debug it, that can't happen. I thought it was from my PC but I realized I had just updated the Rainmeter.
User avatar
Brian
Developer
Posts: 2673
Joined: November 24th, 2011, 1:42 am
Location: Utah

Re: Rainmeter crashing versions 4.5.14 - 4.5.15

Post by Brian »

Levoxyl wrote: September 20th, 2022, 7:35 pm I also have this problem. Also, I have a problem with"bad_module_info has stopped working" and when I debug it, that can't happen. I thought it was from my PC but I realized I had just updated the Rainmeter.
Did you try the 4.5.16 version?
https://forum.rainmeter.net/viewtopic.php?t=41346#p210071

-Brian
User avatar
HiTBiT-PA
Posts: 38
Joined: July 24th, 2014, 5:14 pm
Location: Elche, Spain
Contact:

Re: Rainmeter crashing versions 4.5.14 - 4.5.15

Post by HiTBiT-PA »

Hello. Processor usage increased when closing or opening skins, but the image would freeze and I couldn't see the system skin. My motherboard (Asus gaming) has some LEDs that change to red when it exceeds 90%, something that never happened with 5.4.14. As I told you before, it seems that the prerelease is more stable.
User avatar
Pflosch
Posts: 39
Joined: May 24th, 2020, 7:04 am
Location: Switzerland

Re: Rainmeter crashing versions 4.5.14 - 4.5.15

Post by Pflosch »

It says "4.5.15.3678" after I install "Rainmeter-4.5.16.3681-prerelease"
... sooo... I think maybe not quite mostly a bit.... but I wouldn't bet my arm on it...
User avatar
Brian
Developer
Posts: 2673
Joined: November 24th, 2011, 1:42 am
Location: Utah

Re: Rainmeter crashing versions 4.5.14 - 4.5.15

Post by Brian »

HiTBiT-PA wrote: September 20th, 2022, 8:18 pm Hello. Processor usage increased when closing or opening skins, but the image would freeze and I couldn't see the system skin. My motherboard (Asus gaming) has some LEDs that change to red when it exceeds 90%, something that never happened with 5.4.14. As I told you before, it seems that the prerelease is more stable.
Ahh, great. Thanks for all the testing.

-Brian
Post Reply