2

So I've encountered this problem every time I installed linux on my laptop. I've asked it before here, but that didn't go well.

Now I'v installed Pop OS (22.04) and I'm fully committed to it, it's not dual boot anymore and it's the only OS I currently run. I did try gaming on it and works just fine, I actually have no problem right now with it, except the brightness of course xd

The situation: Brightness of the screen is stuck at maximum (I think, it's really bright), the actual_brightness file has 100 in it, the brightness slider changes the brightness file (both files on /sys/class/backlight/nvidia_0).
I CAN change the brightness using xrandr --output DP-2 --brightness 0.5 for example, but it won't stay that way and none of the files I mentioned change when I use xrandr.
Also, the keyboard backlight works just fine, I didn't install any RGB related software and it has the default red color but the brightness level is working perfect. Changing the brightness of the keyboard backlight will return the display brightness to maximum, if I've used xrandr before and changed it.

What I have done: I did dual boot Pop OS before wiping windows from the laptop, and in dual boot mode, I've changed the permissions of brightness and actual_brightness files (chmod 777), and also tried to manually write numbers in them but it didn't work (Used nano and vim for it, in sudo mode). I've searched for solutions but couldn't find working ones. There were somethings about older versions of nvidia drivers solving these problems, but:

  1. I need up to date drivers, because I game on it and can't keep an outdated driver for gaming. Basically everything I need to install (steam, wine, lutris) will update the drivers or need up to date drivers.
  2. This problem is not new, I had it every single time I've installed linux on this laptop (multiple times Ubuntu, I think I did manjaro one time and probably Pop OS before), and I think it's something related to how my hardware interacts with linux or something.

My specs: ASUS ROG GL503VS, Intel Corei7-7700HQ, Nvidia Geforce GTX 1070 (The only GPU on my laptop, and it is dedicated of course), 1920x1080 144hz GeSync capable display (I don't know if it helps at all).
Software: Pop OS 22.04, nvidia-smi output:

$ nvidia-smi
Mon Nov 20 16:50:39 2023       
+---------------------------------------------------------------------------------------+
| NVIDIA-SMI 545.29.02              Driver Version: 545.29.02    CUDA Version: 12.3     |
|-----------------------------------------+----------------------+----------------------+
| GPU  Name                 Persistence-M | Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp   Perf          Pwr:Usage/Cap |         Memory-Usage | GPU-Util  Compute M. |
|                                         |                      |               MIG M. |
|=========================================+======================+======================|
|   0  NVIDIA GeForce GTX 1070        Off | 00000000:01:00.0  On |                  N/A |
| N/A   60C    P0              35W / 115W |    380MiB /  8192MiB |      0%      Default |
|                                         |                      |                  N/A |
+-----------------------------------------+----------------------+----------------------+
                                                                                         
+---------------------------------------------------------------------------------------+
| Processes:                                                                            |
|  GPU   GI   CI        PID   Type   Process name                            GPU Memory |
|        ID   ID                                                             Usage      |
|=======================================================================================|
|    0   N/A  N/A      2130      G   /usr/lib/xorg/Xorg                          139MiB |
|    0   N/A  N/A      2234      G   /usr/bin/gnome-shell                         57MiB |
|    0   N/A  N/A      5027      G   ...RunOnOsLogin,WebAssemblyTrapHandler       88MiB |
|    0   N/A  N/A      5593      G   ...,WinRetrieveSuggestionsOnlyOnDemand       90MiB |
+---------------------------------------------------------------------------------------+

And uname -r output:

$ uname -r
6.5.6-76060506-generic

If any other information is needed, I can happily give it to you. I'm quite new to linux (despite many tries) and know a thing or two but not much at all. I really want to use it as my main OS, but I think I'm gonna lose my eyes in the process if I can't solve this problem XD. Many thanks in advance.

18
  • I've found this and I'd be very, VERY unlucky if I installed linux exactly every time there was a bug regarding the brightness. I'll keep this question open, wait for the update and see if it solves it. I hop it comes sooner rather than later, I'm on proprietary version and can't apply the patch xd. Will update when the driver update comes. Until then, xrandr it is...
    – III_phr
    Nov 20, 2023 at 17:02
  • Note: You have both an Intel iGPU (in the CPU) and the dGPU Nvidia. You can select one or the other with Nvidia X Server Settings (select profile and reboot) unless the iGPU has been disabled in the firmware (unlikely). Does it occur the same way with both? Nov 21, 2023 at 15:57
  • @ChanganAuto Thanks for the comment. I can't see profile settings in the X server, can you point out where it must be exactly?
    – III_phr
    Nov 21, 2023 at 17:21
  • 1
    Just wanted to say I'm also having the exact same issue. Exact same kernel version, and exact same Nvidia driver version. Thanks for documenting this. This helped me understand what the problem was. Hopefully Pop OS gets the newer driver into their repositories soon. Nov 26, 2023 at 21:55
  • 1
    As a work around, I found this suggestion to work: github.com/pop-os/nvidia-graphics-drivers/issues/… I had to switch from "Discrete Graphics" in BIOS to "Dynamic Graphics" in BIOS. I would like to switch back eventually because I believe my system sometimes freezes before reaching the login screen if I have "Dynamic Graphics" enabled. Nov 26, 2023 at 22:57

1 Answer 1

0

Update

From the research that I've done, I've come to the conclusion that I can't do anything about it. Feel free to point out where and why I'm wrong, I'll be very grateful.

I've found out that Linux apparently uses the integrated graphics card by default for backlight control, and I couldn't find a way to change it. I know there are NVIDIA files in /sys/class/backlight and those brightness files are getting changed, but from here (the post #4) it seems I need the igpu enabled. We'll get to the display connection later though.

I don't have an "Enable igpu" option in my bios, I've updated it to the latest one Asus has on their website for my laptop. And from this forum post, it seems like the igpu on my laptop is disabled by manufacturer. Which means I probably can't enable it at all.

I've dug a little deeper and I kinda got an answer for why the ipgu is disabled. My laptop has a G-Sync capable (apparently the term is important, I don't know) display, and for it to work, the display has to be directly connected to the dedicated gpu. I've checked and G-Sync is working in Linux for me. I don't have deep knowledge on this but these are all things that I could find on the internet.

But it begs the question that if my display is directly connected to my dedicated gpu, why I still need the igpu for the backlight to work? I don't have an answer for it and I hope the answer is "No I don't need it". But my google-fu and understanding of computer hardware are being pushed to their limits. Since I had this problem over the years and on multiple distros (I even installed Manjaro a few days ago as dual boot and although I didn't tinker with it that much, the brightness problem was also present there), I'm pretty sure it's a hardware problem and the igpu thing fits in the narrative.

If you know some thing that helps me, or invalidates my claims, I'm more than happy to hear them. Even a single word for a clue that I can do more research on may be of great help.


Previous answer:
It didn't fix my problem, but there was a bug ([here][1], [here][2]) that is fixed in 545.29.06. Be sure to update your drivers and see if it help. I'll add more details and accept this answer when I find something that works for me.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .