LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-12-2019, 08:06 AM   #1
keikari
LQ Newbie
 
Registered: May 2018
Posts: 18

Rep: Reputation: Disabled
Any way to make HD and UHD monitors have good picture at the same time? i3wm


Hi

I have 2 monitors. One HD 1080p monitor and other UHD 4K monitor.
I have set dpi of screens to 144 in "~/.Xresources" file and this makes 4K screen look nice and readable. And 1080p screen goes with everything zoomed to too large of course.So I scale it to "intended" size with this command
Code:
xrandr --fb 6720x2160 --output HDMI-1 --primary --scale 1.5x1.5 --pos 0x0 --output DP-1 --mode 3840x2160 --pos 2880x0
This makes everything in 1080p screen look well in size, but everything is very blurry.
So is there anyway to have both screens look good? I tried to google something about having different dpi for both monitors, but I mainly just ran into "xrandr --scale" threads.

I'm using i3 window manager(on Xorg).

Any ideas are appreciated.

Last edited by keikari; 01-12-2019 at 12:22 PM.
 
Old 01-13-2019, 04:11 AM   #2
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 10,381
Blog Entries: 7

Rep: Reputation: 2566Reputation: 2566Reputation: 2566Reputation: 2566Reputation: 2566Reputation: 2566Reputation: 2566Reputation: 2566Reputation: 2566Reputation: 2566Reputation: 2566
don't use --scale, it's ugly.

what you really need is separate dpi values for each monitor.
try these results:
https://www.startpage.com/do/dsearch...erent+monitors
 
Old 01-13-2019, 04:26 AM   #3
keikari
LQ Newbie
 
Registered: May 2018
Posts: 18

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by ondoho View Post
don't use --scale, it's ugly.

what you really need is separate dpi values for each monitor.
try these results:
https://www.startpage.com/do/dsearch...erent+monitors
That's the problem. I have re-checked sites from your search but they only talk about --scale.
Do you know if it is possible to have different dpi for both monitors?
Xrandr --dpi does nothing for me or I don't know when it should be run. Though I've understood that no matter how you use it, it will only affect both monitors.

EDIT:
Well this time I got the work around method from reddit post to work. Thanks.
Code:
xrdb -merge <(echo "Xft.dpi: 96")
This only changes dpi by per program and not per monitor.

Last edited by keikari; 01-13-2019 at 04:47 AM.
 
Old 01-13-2019, 11:21 AM   #4
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 10,381
Blog Entries: 7

Rep: Reputation: 2566Reputation: 2566Reputation: 2566Reputation: 2566Reputation: 2566Reputation: 2566Reputation: 2566Reputation: 2566Reputation: 2566Reputation: 2566Reputation: 2566
Quote:
Originally Posted by keikari View Post
That's the problem. I have re-checked sites from your search but they only talk about --scale.
i'm sorry, it appears people talk about DPI options a lot but Xorg does not offer it per monitor.
it seems you're stuck with either waiting for wayland or using --scale; i suggest you use only exactly --scale 2x2 or --scale 0.5x0.5, everything else will look horrible.
apparently --dpi is NOT a per-monitor setting, i.e. it always applies globally.
this article goes through the whole process, explaining it well.
a nice hack on this reddit article.

there is also the option to run 2 separate Xorg sessions (probably not what you want), or the magic word "Xinerama" (personally i never quite understood what that is, but afaiu it's useful for multi-monitor users).
 
Old 01-13-2019, 11:47 AM   #5
keikari
LQ Newbie
 
Registered: May 2018
Posts: 18

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by ondoho View Post
i'm sorry, it appears people talk about DPI options a lot but Xorg does not offer it per monitor.
it seems you're stuck with either waiting for wayland or using --scale; i suggest you use only exactly --scale 2x2 or --scale 0.5x0.5, everything else will look horrible.
apparently --dpi is NOT a per-monitor setting, i.e. it always applies globally.
this article goes through the whole process, explaining it well.
a nice hack on this reddit article.

there is also the option to run 2 separate Xorg sessions (probably not what you want), or the magic word "Xinerama" (personally i never quite understood what that is, but afaiu it's useful for multi-monitor users).
Never heard about xinerama, thanks. I checked about it and if I understood correctly, I just need to do things like they were done before xrandr and I probably don't even need to figure out how to use xinerama. (I'm using tiling window manager, so loosing ability to move windows between monitors isn't high price for good quality picture)
Well I guess I will spent few days figuring this out.

EDIT:
Forgot to add.
I need to use 1.5x scaling because good dpi for HD monitor is 96 and the dpi which I need for 4k monitor is 144. If I wanted to use 2x2 scaling I would need to change dpi to 192 and scale both screens, which would make both screens blurry.

Last edited by keikari; 01-13-2019 at 12:00 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
8th Gen Intel (UHD 630) and Centos 6 xX_Kryptos_Xx Linux - Hardware 4 04-10-2018 01:42 PM
LXer: Firefox OS Still Alive, Powering New Panasonic UHD TV LXer Syndicated Linux News 0 01-06-2016 03:24 PM
LXer: Firefox OS will Power New Panasonic UHD TVs Unveiled at CES LXer Syndicated Linux News 0 01-06-2016 03:01 AM
LXer: Shotcut Video Editor Based on MLT Framework and Support for 4K UHD LXer Syndicated Linux News 0 08-24-2015 04:42 PM
How do I make picture icons larger when selecting a picture file to open? Truepioneer Linux - Newbie 1 07-27-2011 10:26 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:09 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration