Sunteți pe pagina 1din 2

CHANGE RESOLUTION ON WAYLAND NOV 2017

Tested on Ubuntu Gnome Wayland PC. Other resolutions may be tried using this example.

STEP-1

To change Resolution on Wayland, install following softwares

> sudo apt install zsh edid-decode automake dos2unix

> sudo apt-get install read-edid

STEP-2

Download EDID master zip with following command, unzip & login to it

> wget https://github.com/akatrevorjay/edid-generator/archive/master.zip

> unzip master.zip

> cd edid-generator-master/

STEP-3

Open another bash window and run following command to get your desired resolution configuration, for
example we need 1680x1050 resolution. Run following command :

> cvt 1680 1050

YOU WILL GET FOLLOWING OUTPUT

# 1680x1050 59.95 Hz (CVT 1.76MA) hsync: 65.29 kHz; pclk: 146.25 MHz
Modeline "1680x1050_60.00" 146.25 1680 1784 1960 2240 1050 1053 1059 1089 -hsync +vsync

COPY LINE STARTING WIHT Modeline & add '' to this line for example

'Modeline "1680x1050_60.00" 146.25 1680 1784 1960 2240 1050 1053 1059 1089 -hsync +vsync'

NOW ADD ( ./modeline2edid - <<< ) to this line for example

./modeline2edid - <<< 'Modeline "1680x1050_60.00" 146.25 1680 1784 1960 2240 1050 1053 1059 1089
-hsync +vsync'

STEP 4 (On first Bash window)


Run Command

> ./modeline2edid - <<< 'Modeline "1680x1050_60.00" 146.25 1680 1784 1960 2240 1050 1053 1059
1089 -hsync +vsync'

> make #output not posted

Last command will generate 1680x1050.bin file in edid-generator-master folder

STEP 5

Create edid folder with following command in firmaware

> sudo mkdir /lib/firmware/edid

Copy the file:

> sudo cp 1680x1050.bin /lib/firmware/edid

STEP 6

Edit grub to edit linux command to load this file in kms:

> sudo nano /etc/default/grub

Edit line, save & exit:

GRUB_CMDLINE_LINUX_DEFAULT="drm_kms_helper.edid_firmware=edid/1680x1050.bin quiet"

Now run command

> sudo update-grub

Reboot and test, if successfull enjoy new resolution on your Ubuntu Gnome Wayland PC.

S-ar putea să vă placă și