/etc/modprobe.d/stop-fucking-my-brightness.conf
blacklist hid_sensor_hub
Should fix your issues after a reboot
From Wikipedia, the free encyclopedia
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0
/etc/modprobe.d/stop-fucking-my-brightness.conf
blacklist hid_sensor_hub
Should fix your issues after a reboot
This didn't solve the issue; the display went black again today.
Huh, then no idea
Blacklisted the module today. Hope it will fix the issue.
I only experienced screen blackness once after reinstalling Fedora; I have not experienced the low brightness issue. The problem is that I do not encounter this problem frequently and do not know how to replicate it.
See if turning off the auto brightness in the power settings help
I do not have this option.
Do u use nvidia as main card, not as 3d accerelstion only for games? I personally use for all cases Intel graphics for everything and nvidia as accelerator with switcheroo-control to call nvidia rendering.DM to me don't wanna spam in comments.
No, I use AMD iGPU as the main card.
weird then,try add this parametrs
options nvidia NVreg_UsePageAttributeTable=1 \
NVreg_InitializeSystemMemoryAllocations=0 \
NVreg_DynamicPowerManagement=0x02 \
NVreg_EnableGpuFirmware=0
options nvidia_drm modeset=1 fbdev=1
in /usr/lib/modprobe.d/nvidia.conf
save and reboot
What will this do? Kindly explain. I'm new to this.
Also, the renderer seems to be the iGPU:
➤ glxinfo | grep "OpenGL renderer" OpenGL renderer string: AMD Radeon Graphics (radeonsi, gfx1103_r1, LLVM 19.1.5, DRM 3.59, 6.12.9-200.fc41.x86_64)
yeah it's looks fine,it's using igpu.Tell me also which version of nvidia driver u have in system.About parameters ,we tell to nvidia driver to
NVreg_UsePageAttributeTable=1 (Default 0) - Activating the better memory
management method (PAT). The PAT method creates a partition type table at a
specific address mapped inside the register and utilizes the memory
architecture and instruction set more efficiently and faster. If your system
can support this feature, it should improve CPU performance.
NVreg_InitializeSystemMemoryAllocations=0 (Default 1) - Disables clearing
system memory allocation before using it for the GPU. Potentially improves
performance, but at the cost of increased security risks. Write "options
nvidia NVreg_InitializeSystemMemoryAllocations=1" in
/etc/modprobe.d/nvidia.conf, if you want to return the default value. Note:
It is possible to use more memory (?)
NVreg_DynamicPowerManagement=0x02 - Enables the use of dynamic power
management for Turing generation mobile cards, allowing the dGPU to be
powered down during idle time.
NVreg_EnableGpuFirmware=0 (Default 1) - Disables GSP Firmware on NVIDIA's
closed source kernel modules. This option is ignored when using NVIDIA's
open kernel modules.
nvidia_drm.modeset=1 (default 0) - Enables modesetting support for the NVIDIA
driver. Critical for Wayland support and proper PRIME Offload operation.
nvidia_drm.fbdev=1 - Enables hardware framebuffer support. Allows to use
native display resolution in tty. This option has no effect on PRIME laptops,
as the framebuffer is handled by the iGPU. This parameter is marked as
experimental, so bugs may occur.
General common parametrs used for nvidia on modern hardware. Also do u have installed prime-run or switcheroo-control in system?
I don't have switcheroo-control or prime-run installed. Here's the driver details:
Please apply options for nvidia which i provided and install switcheroo-control (if u wonder it let dynamically set enviroment variables to use nvidia for ur running app example
[user@computer ~]$ switcherooctl glxinfo | grep "OpenGL renderer"
OpenGL renderer string: NVIDIA GeForce 940MX/PCIe/SSE2
and if issue with brightness will persist let me know.
It looks like I have the package installed. Not sure why it didn't show up earlier.