Persistent Brightness and Display Issues on Fedora Workstation 41 (HP Victus Laptop)
from mitexleo@buddyverse.one to linux@lemmy.ml on 18 Jan 16:26
https://buddyverse.one/post/464711

Hardware Information:

Software Information:

Issue Description:

I’ve been experiencing persistent issues with brightness and display on my Fedora workstation. Sometimes, the brightness becomes very low, and I can’t fix it without rebooting the laptop. This issue also occurred on Ubuntu, and it happened twice recently.

Just a few minutes ago, my display went completely black, and I had to hold the power button to shut down and restart the laptop. Here are the relevant errors from the log:

nvidia 0000:01:00.0: [drm] Cannot find any crtc or sizes

...

ACPI BIOS Error (bug): Could not resolve symbol [_SB.PEP.DETY], AE_NOT_FOUND (20240827/psargs-332)

...

ACPI Error: Aborting method _SB.WMID.WMAA due to previous error (AE_NOT_FOUND) (20240827/psparse-529)

These issues don’t occur consistently, making it difficult to reproduce them. I can perform all tasks normally, including gaming, without encountering these problems most of the time.

If I cannot resolve this issue once and for all, I may revert to Windows 11. Any suggestions or solutions would be greatly appreciated.

#linux

threaded - newest

anon5621@lemmy.ml on 18 Jan 21:04 next collapse

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.

mitexleo@buddyverse.one on 19 Jan 01:34 collapse

No, I use AMD iGPU as the main card.

anon5621@lemmy.ml on 19 Jan 03:28 collapse

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

mitexleo@buddyverse.one on 19 Jan 04:13 collapse

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)

anon5621@lemmy.ml on 19 Jan 11:44 collapse

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?

mitexleo@buddyverse.one on 19 Jan 12:06 collapse

I don’t have switcheroo-control or prime-run installed. Here’s the driver details: <img alt="" src="https://buddyverse.one/pictrs/image/54db6808-1104-451f-b990-28143fb380c8.png">

anon5621@lemmy.ml on 19 Jan 12:27 collapse

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.

mitexleo@buddyverse.one on 20 Jan 03:37 collapse

It looks like I have the package installed. Not sure why it didn’t show up earlier. <img alt="" src="https://buddyverse.one/pictrs/image/3cea1611-6d06-42c6-92c9-fe1dd529fe28.png">

vtoc@lemmy.world on 19 Jan 02:22 next collapse

See if turning off the auto brightness in the power settings help

mitexleo@buddyverse.one on 19 Jan 04:11 collapse

I do not have this option.

pokexpert30@lemmy.pussthecat.org on 19 Jan 09:24 collapse

/etc/modprobe.d/stop-fucking-my-brightness.conf

blacklist hid_sensor_hub

Should fix your issues after a reboot

mitexleo@buddyverse.one on 19 Jan 12:31 collapse

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.