I wanted to resize my screen resolution on my old Lenovo T430 laptop but I couldn’t. To do that I tried to use xrandr
but that didn’t work and I got an error message. I searched on the internet but didn’t find a solution. Until I put different pieces of information together and easily managed to solve the issue. In this article, I go through how resolve ow to resolve failed to get size of gamma on Manjaro.
Root of failed to get size of gamma
error
Manjaro supports two different video drivers, video-vesa
and video-linux
. Apparently, video-linux
is the new open-source one, from my understanding. The community also recommends using video-linux
. I personally, spent sometimes to find the exact differences but failed. If anyone knows more please let me know.
Anyhow, these two drivers cannot be installed both at the same time. Otherwise, they cause some weird issues. Sometimes the system doesn’t boot. Sometimes, like my situation, everything works fine on the surface.
Long story short, to solve the problem of xrandr
and get rid of failed to get size of gamma
on Manjaro, all you have to first to check how many video drivers installed on your system by running,
$ mhwd -li
If you saw two outputs video-vesa
and video-linux
, then you need to get rid of one. In my case I removed video-vesa
. You can do by running,
$ sudo mhwd -r pci video-vesa
Then restart your system. After that run xrandr
, then error should be gone.
A word of caution
Back up before doing anything, or at least know how to restore if things went wrong. This approach tested and worked on Lenovo T430 with the integrated Intel graphic. To my understanding, it might not be the same for all devices, especially those with dual GPU.
Interested in Linux related articles, check here.
Sources
- https://archived.forum.manjaro.org/t/what-is-video-linux-solved/41253
- https://wiki.manjaro.org/index.php/Configure_Graphics_Cards
- https://www.reddit.com/r/pcmasterrace/comments/atv449/yes_i_dont_have_a_graphics_card_i_play_on/
Inline/featured images credits
- Intel vs AMD vs nVidia image by Mocha_Bean on Reddit
- Intel featured image by shaksk7 on Reddit