[OPEN] Cannot hold 5k2k resolution on UW display

Post Reply
AGNI3030
Crewman
Posts: 4
Joined: Fri Nov 26, 2021 2:59 pm

[OPEN] Cannot hold 5k2k resolution on UW display

Post by AGNI3030 »

Linux noob here. Apologies if I do not state the right language while talking about the Linux OS.

I have been a 20+ year windows user and have installed various versions of Linux for few days, That changed with Windows 11 - I have been running ArcoLinux for 2 months. I have decided not to go back to windows. It has been interesting journey so far and have been reading up as much as I can. ArcoLinux YT channel has been great help along with this subreddit and manuals.

My setup: Intel 4th gen Laptop with FHD resolution (eDP1) and an external 5K display on DP1. I don't like using multiple displays. I'm essentially using laptop like a desktop replacement with the lid of the laptop closed. The default resolution that Display shows when i first setup the system was 2560x1080. Monitor supports 5120x2160 at 30Hz and I use that resolution. It survives restart/updates (lockscreen looks like 2560x1080) EXCEPT when the monitor is turned off and turned back on. It seems like for some reason it resets the resolution back to 2560x1080 and I have to go back to display and change resolution. I am using xfce DE.

I have seen couple of YT videos where there is instructions to create monitor.conf file so it sets it permanently and can survive a restart, which I am not sure my situation is. Below is my monitor.conf

Code: Select all

## /etc/X11/xorg.conf.d
Section "Monitor"
	Identifier	"eDP1"
	Option		"PreferredMode" "1920x1080_60.00"
EndSection

Section "Monitor"
	Identifier	"DP1"
	Option		"LeftOf" "eDP1"
	Option		"Primary" "true"
	Option		"PreferredMode" "5120x2160_30.00"
EndSection
I have searched all I can to get help and I am not sure if monitor.conf can help with my situation. Any guidance to help resolve this would be awesome!
HWPROBE (I've removed some information)

Code: Select all

arch:x86_64
boot_mode:EFI
cores:2
current_desktop:XFCE
de:XFCE
display_manager:LightDM
display_server:X11
dual_boot:0
dual_boot_win:0
filesystem:ext4
kernel:5.15.4-zen1-1-zen
lang:en_US.UTF-8
microarch:Haswell
monitors:2
nics:1
op_modes:32-bit, 64-bit
probe_ver:1.6
ram_total:8040920
ram_used:6518152
sockets:1
space_total:234.3
space_used:54
system:arco-rolling
system_version:rolling
threads:2
type:portable
pci:8086-08b1-8086-c470;02-80;works;network;iwlwifi;Intel Corporation;Wireless 7260;Intel Corporation;Dual Band Wireless-AC 7260
pci:8086-0a04-1028-060a;06-00;detected;bridge;hsw_uncore;Intel Corporation;Haswell-ULT DRAM Controller;Dell
pci:8086-0a0c-1028-060a;04-03;detected;sound;snd_hda_intel;Intel Corporation;Haswell-ULT HD Audio Controller;Dell
pci:8086-0a16-1028-060a;03-00;works;graphics card;i915;Intel Corporation;Haswell-ULT Integrated Graphics Controller;Dell
pci:8086-9c03-1028-060a;01-06-01;works;storage;ahci;Intel Corporation;8 Series SATA Controller 1 [AHCI mode];Dell
pci:8086-9c10-1028-060a;06-04;detected;bridge;pcieport;Intel Corporation;8 Series PCI Express Root Port 1;Dell
pci:8086-9c14-1028-060a;06-04;works;bridge;pcieport;Intel Corporation;8 Series PCI Express Root Port 3;Dell
pci:8086-9c20-1028-060a;04-03;detected;sound;snd_hda_intel;Intel Corporation;8 Series HD Audio Controller;Dell
pci:8086-9c22-1028-060a;0c-05;detected;smbus;i2c_i801;Intel Corporation;8 Series SMBus Controller;Dell
pci:8086-9c26-1028-060a;0c-03-20;detected;usb controller;ehci_pci;Intel Corporation;8 Series USB EHCI #1;Dell
pci:8086-9c31-1028-060a;0c-03-30;detected;usb controller;xhci_pci;Intel Corporation;8 Series USB xHCI HC;Dell
pci:8086-9c3a-1028-060a;07-80;detected;communication controller;mei_me;Intel Corporation;8 Series HECI #0;Dell
pci:8086-9c43-1028-060a;06-01;detected;bridge;lpc_ich;Intel Corporation;8 Series LPC Controller;Dell
usb:046d-c52b;03-01-01;detected;mouse;usbhid;Logitech, Inc.;Unifying Receiver;Logitech
usb:06cb-0af8;03-00-00;detected;mouse;usbhid;Synaptics, Inc.;Large Touch Screen;SYNAPTICS
usb:0bda-0483;09-00-00;detected;hub;hub;Realtek Semiconductor Corp.;4-Port USB 3.0 Hub
usb:0bda-0483;09-00-00;detected;hub;hub;Realtek Semiconductor Corp.;4-Port USB 3.0 Hub
usb:0bda-1100;03-00-00;detected;human interface;usbhid;Realtek Semiconductor Corp.;USB2.0 HID;Realtek
usb:0bda-5483;09-00-01;detected;hub;hub;Realtek Semiconductor Corp.;4-Port USB 2.0 Hub
usb:0bda-5483;09-00-01;detected;hub;hub;Realtek Semiconductor Corp.;4-Port USB 2.0 Hub
usb:0bda-8153;ff-ff-00;detected;network;r8152;Realtek Semiconductor Corp.;RTL8153 Gigabit Ethernet Adapter;Realtek;USB 10/100/1000 LAN
usb:1d6b-0002;09-00-00;detected;hub;hub;Linux Foundation;2.0 root hub
usb:1d6b-0002;09-00-00;detected;hub;hub;Linux Foundation;2.0 root hub
usb:1d6b-0003;09-00-00;detected;hub;hub;Linux Foundation;3.0 root hub
usb:8087-07dc;e0-01-01;detected;bluetooth;btusb;Intel Corp.;Bluetooth wireless interface
usb:8087-8000;09-00-00;detected;hub;hub;Intel Corp.;Integrated Rate Matching Hub
cpu:intel-6-69-1-core-i7-4500u;;works;cpu;;Intel;Core i7-4500U CPU @ 1.80GHz
cpu:intel-6-69-1-core-i7-4500u;;works;cpu;;Intel;Core i7-4500U CPU @ 1.80GHz
cpu:intel-6-69-1-core-i7-4500u;;works;cpu;;Intel;Core i7-4500U CPU @ 1.80GHz
cpu:intel-6-69-1-core-i7-4500u;;works;cpu;;Intel;Core i7-4500U CPU @ 1.80GHz
eisa:;;works;monitor;;LCD Monitor 1920x1080 293x165mm 13.2-inch
;;works;monitor;;Dell;U4021QW 2560x1080 929x392mm 39.7-inch

I am surprised at the last line. When I took this report, the screen resolution is 5120x2160 @ 30.00 Hz. While the above displays the 2560x1080 - may be that's why its going back to that resolution when i turn off and on the monitor.

AGNI3030
Crewman
Posts: 4
Joined: Fri Nov 26, 2021 2:59 pm

Re: [OPEN] Cannot hold 5k2k resolution on UW display

Post by AGNI3030 »

I could finally get this to hold the resolution if i turn off and on the monitor. Created a display profile and have it load each time the display is connected.

I am still not able to figure out why it doesn't hold the resolution during boot. I tried awesome window manager and that won't allow me to set 5k resolution at all. Always defaults to 2560x1080. Any guidance is really appreciated.

User avatar
erikdubois
Captain
Posts: 5109
Joined: Tue Nov 07, 2017 3:45 pm
Location: Belgium
Contact:

Re: [OPEN] Cannot hold 5k2k resolution on UW display

Post by erikdubois »

The only conclusion I make for myself personally is not buy any of these monitors.
Learn, have fun and enjoy.
But first use the power of the Arch Wiki
use the tutorials on https://www.youtube.com/erikdubois
then use the power of google
then use the power of our moderators.

User avatar
erikdubois
Captain
Posts: 5109
Joined: Tue Nov 07, 2017 3:45 pm
Location: Belgium
Contact:

Re: [OPEN] Cannot hold 5k2k resolution on UW display

Post by erikdubois »

I have zero expertise as I do not have the hardware.

That said - I would see the arch wiki

https://wiki.archlinux.org/title/HiDPI

https://wiki.archlinux.org/title/Xrandr ... esolutions

search with "arch linux 5k monitor"
Learn, have fun and enjoy.
But first use the power of the Arch Wiki
use the tutorials on https://www.youtube.com/erikdubois
then use the power of google
then use the power of our moderators.

AGNI3030
Crewman
Posts: 4
Joined: Fri Nov 26, 2021 2:59 pm

Re: [OPEN] Cannot hold 5k2k resolution on UW display

Post by AGNI3030 »

Hopefully I am not annoying anyone with my brain dumps and my sharing learning path.

Its been interesting couple of weeks.. I think I found out what the issue was - thanks to reading through the arch wiki page and screwing up setting and fixing through bootable keys to revert monitor.conf.
Below is my old monitor.conf

Code: Select all

## /etc/X11/xorg.conf.d
Section "Monitor"
	Identifier	"eDP1"
	Option		"PreferredMode" "1920x1080_60.00"
EndSection

Section "Monitor"
	Identifier	"DP1"
	Option		"LeftOf" "eDP1"
	Option		"Primary" "true"
	Option		"PreferredMode" "5120x2160_30.00"
EndSection
I had to split the "5120x2160_30.00" to 2 lines. Preferedmode with resolution and added "TargetRefresh" = "30" into it to set it default from the lockscreen itself. That was very interesting to me as I had not found targetrefresh being used in any "official" documentation.
After that an interesting lesson I had forgotten. Tried playing with power options and screwed up beyond my ability to return to older settings. Reinstalled ArcolinuxB. Then added monitor.conf and it did not work. Forgot the basics of checking identifier. This time identifier had changed to eDP-1 and DP-1. Changed it and started working. I tried turning the laptop display inactive at boot, but still not able to figure that setting out. Enable "fasle" doesn't seem to do anything.. In randr in awesome, it seems still active, but can uncheck active (its a little annoying when i move mouse to top right it disappears into the "edp-1" for few seconds. Otherwise its been great.

I still have to learn about Power Management - I see there are few ways, install laptop tools, xfce power options - all seem to get my wifi card to goto sleep when i move away from my desk (or turn off monitor) and never wakes up - but then it survived entire night yesterday without that. But it wifi card stopped working an hour later in wake state. Power options has been a paint to read and understand.

Appreciate the pointers to learning stuff and the excitement is still on.

Post Reply

Return to “Laptop”