I installed "Brightness Controller", didn't help. I tried to change grub to acpi_osi=Linux
and similar. Nothing helps. It is on max setting by default unchangeable. When I remove nomodeset
, my screen starts blinking violently on each mouse move... What's going on?
uname -a
Linux x 5.11.0-27-generic #29~20.04.1-Ubuntu SMP Wed x86_64 x86_64 x86_64 GNU/Linux
ubuntu-drivers devices
- empty
Graphics: Device-1: Intel vendor: Lenovo driver: i915 v: kernel bus ID: 00:02.0
Display: x11 server: X.Org 1.20.11 driver: intel resolution: 2880x1800~90Hz
OpenGL: renderer: Mesa Intel Xe Graphics (TGL GT2) v: 4.6 Mesa 21.0.3 direct render: Yes
My computer is Lenovo Yoga. It's kinda better now that I use nvidia-drm.modeset=1
(doesn't flicker anymore) but it still has many issues, there are sometimes weird spots appearing on a screen. How can I force it to use NVIDIA drivers?
EDIT: For the Lenovo Yoga slim 7, the graphics cards is possibly Intel Iris Xe Graphics, and there is likely no NVIDIA GPU (yet to be confirmed).
The card apparently has some issues with the standard kernel of Ubuntu 20.04 (e.g., #1, #2).
Possible solutions:
sudo apt install linux-oem-20.04 && sudo reboot 0
. You could also try with the newerlinux-oem-20.04c
, and further check available options withapt-cache search linux-oem-2
.Alternatively, you could try building/installing a newer 5.12 or even 5.13/5.14 kernel, YMMV. Or you can wait a short time with a current, workable condition, until newer kernels become standard.
I am not sure which of these options takes full advantage of both graphic units.
You did not post all requested info. There are plenty of Lenovo Yoga models. This potential solution may work, depending on your hardware.
Post the output of
You will see one or two lines of output of
lspci...
The first line will likely be something likeThe first field
00:02.0
is the device ID. The second line (if present) will likely be something likeThen post the output of
If the second line reports an NVIDIA GPU, install the drivers with
and reboot. The first line provides the open source nouveau drivers, which might be useful on occasion (and having them doesn't hurt). The second line provides proprietary drivers, which are generally preferred if they work.
After booting post the output of
Source: (one of many) https://www.cyberciti.biz/faq/ubuntu-linux-install-nvidia-driver-latest-proprietary-driver/
The nomode set is for disabling the gpu drivers. When the GPU drivers are not loaded the brightness control won't work. Remove the nomodeset line. Then reboot normally. The brightness control should be working properly
Although it's like a brute force method it worked for me. Initially, when my Ubuntu was stuck at the purple screen:
Now the main part:
Congratulations! Now your system will work perfectly with normal boot, without nomodeset and you would be able to inc/dec the screen brightness.
Add
i915.enable_psr=0 i8042.direct i8042.dumbkbd
toGRUB_CMDLINE_LINUX_DEFAULT
.