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.

  • @[email protected]
    link
    fedilink
    2
    edit-2
    14 hours ago

    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

    • Mitex LeoOP
      link
      fedilink
      113 hours ago

      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)

      • @[email protected]
        link
        fedilink
        2
        edit-2
        5 hours ago

        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?

        • Mitex LeoOP
          link
          fedilink
          15 hours ago

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

          • @[email protected]
            link
            fedilink
            15 hours ago

            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.