this post was submitted on 18 Jan 2025
22 points (100.0% liked)

Linux

49417 readers
1688 users here now

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.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

Hardware Information:

  • Model: HP Victus by HP Gaming Laptop 16-s1xxx
  • Memory: 16.0 GiB
  • Processor: AMD Ryzen™ 5 8645HS w/ Radeon™ 760M Graphics × 12
  • Graphics: AMD Radeon™ Graphics, NVIDIA GeForce RTX™ 4050 Laptop GPU
  • Disk Capacity: 512.1 GB

Software Information:

  • Firmware Version: F.13
  • OS Name: Fedora Linux 41 (Workstation Edition)
  • OS Build: (null)
  • OS Type: 64-bit
  • GNOME Version: 47
  • Windowing System: Wayland
  • Kernel Version: Linux 6.12.9-200.fc41.x86_64

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.

top 15 comments
sorted by: hot top controversial new old
[–] pokexpert30@lemmy.pussthecat.org 3 points 1 week ago* (last edited 1 week ago) (3 children)

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

blacklist hid_sensor_hub

Should fix your issues after a reboot

[–] mitexleo@buddyverse.one 1 points 4 days ago (1 children)

This didn't solve the issue; the display went black again today.

Huh, then no idea

[–] mitexleo@buddyverse.one 1 points 6 days ago

Blacklisted the module today. Hope it will fix the issue.

[–] mitexleo@buddyverse.one 1 points 1 week ago

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.

[–] vtoc@lemmy.world 3 points 1 week ago (1 children)

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

[–] mitexleo@buddyverse.one 1 points 1 week ago

I do not have this option.

[–] anon5621@lemmy.ml 2 points 1 week ago* (last edited 1 week ago) (1 children)

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 1 points 1 week ago (1 children)

No, I use AMD iGPU as the main card.

[–] anon5621@lemmy.ml 2 points 1 week ago* (last edited 1 week ago) (1 children)

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 1 points 1 week ago (1 children)

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 2 points 1 week ago* (last edited 1 week ago) (1 children)

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 1 points 1 week ago (1 children)

I don't have switcheroo-control or prime-run installed. Here's the driver details:

[–] anon5621@lemmy.ml 2 points 1 week ago (1 children)

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 1 points 1 week ago

It looks like I have the package installed. Not sure why it didn't show up earlier.