Brightness controls are working, But brightness always remains at MAX

I use an Acer Nitro 5 i5-12500H with RTX 3050. I installed fedora 41 yesterday and the fn keys and brightness slider works but brightness is always MAX. Someone please help! My eyes are burning.