1440p/WQHD in external screen on Intel HD 4600 (4gen mobile CPU)

Rafi X

New Member
Joined
Mar 29, 2019
Messages
2
Reaction score
0
Credits
0
I have laptop with Intel HD 4600 (i7 4gen CPU) with 1080p screen. I want to connect my laptop to 1440p external screen by HDMI. By default my laptop see only 2048x1152 resolution.

I made xorg.conf file and modify using "Modeline" option in "Monitor" section and "Modes" option in "Screen" section. After that my laptop screen had 2560x1440 resolution (but of course didn't work, because laptop have only 1920x1080) but my external screen still have 2048x1152...

Any idea?
 


Yes, you could write a bash script which uses xrandr to set up your screen preferences and then have that set up to run when you log-in.
But the exact xrandr command would depend on what you want to do.

When the external monitor is plugged in, do you want to turn the laptop screen off and use ONLY the external monitor? Or do you want to use it as an additional monitor?
Whatever you want to do, you should be able to do it using xrandr.

Here's a brief article:
https://www.maketecheasier.com/how-to-setup-dual-monitors-with-xrandr/

And here is the Arch wiki page on xrandr:
https://wiki.archlinux.org/index.php/Xrandr
Even if you don't use Arch linux - the arch wiki contains a lot of detailed information about thousands of pieces of software and is an excellent resource! I haven't used Arch in years, but I still find myself referring to their wiki from time to time, when I get stuck on something!

Using xrandr, you can enable and disable different screens. With a multi-monitor setup, you can specify which screen is primary. You can also independently set up each screens resolution, rotation (if you have your wide-screen monitor rotated in portrait mode rather than landscape) and its position (relative to the primary screen) - e.g. left-of, right-of, above, below. You can also set up many other more advanced options like transformation matrices for each display and other advanced, or obscure features that a display may support. There is also an xrandr command that will show the available capabilities/options for all connected screens/outputs.

I use two scripts on my linux laptop at home. One called "hdmiscript" and another called "vgascript".
If I connect my laptop to the external monitor in my bedroom via VGA, I use vgascript to set it up as a secondary monitor to the right of my laptop screen.
If I connect my laptop to a TV via HDMI, I run my hdmiscript and it will set up the TV as a secondary monitor to the right of my laptop screen.
Why always to the right? - IDK - I just like the extra screen being to the right!

Both of my scripts use xrandr to connect my laptop to specific screens and sets the appropriate resolution for them. But I don't use external monitors/TVs very often, so I manually run my scripts when I need them. But there would be nothing stopping you from setting up a script that will run on startup, or when you log in.
 
In this configuration I want to use only 1440p screen.

Look at my config file:
Code:
Section "ServerLayout"
        Identifier     "X.org Configured"
        Screen      0  "Screen0" 0 0
        Screen      1  "Screen1" RightOf "Screen0"
        InputDevice    "Mouse0" "CorePointer"
        InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
        ModulePath   "/usr/lib64/xorg/modules"
        FontPath     "/usr/share/fonts/misc:unscaled"
        FontPath     "/usr/share/fonts/Type1/"
        FontPath     "/usr/share/fonts/100dpi:unscaled"
        FontPath     "/usr/share/fonts/75dpi:unscaled"
        FontPath     "/usr/share/fonts/ghostscript/"
        FontPath     "/usr/share/fonts/cyrillic:unscaled"
        FontPath     "/usr/share/fonts/misc/sgi:unscaled"
        FontPath     "/usr/share/fonts/truetype/"
        FontPath     "built-ins"
EndSection

Section "Module"
        Load  "glx"
        Load  "vnc"
EndSection
                                                                                                                                                                                                                                                          
Section "InputDevice"                                                                                                                                                                                                                                     
        Identifier  "Keyboard0"                                                                                                                                                                                                                           
        Driver      "kbd"                                                                                                                                                                                                                                 
EndSection                                                                                                                                                                                                                                                 
                                                                                                                                                                                                                                                          
Section "InputDevice"                                                                                                                                                                                                                                     
        Identifier  "Mouse0"                                                                                                                                                                                                                               
        Driver      "mouse"                                                                                                                                                                                                                               
        Option      "Protocol" "auto"                                                                                                                                                                                                                     
        Option      "Device" "/dev/input/mice"                                                                                                                                                                                                             
        Option      "ZAxisMapping" "4 5 6 7"                                                                                                                                                                                                               
EndSection                                                                                                                                                                                                                                                 
                                                                                                                                                                                                                                                          
Section "Monitor"                                                                                                                                                                                                                                         
        Identifier   "Monitor0"                                                                                                                                                                                                                           
        VendorName   "Dell 1080p"                                                                                                                                                                                                                         
        ModelName    "Dell"                                                                                                                                                                                                                               
  # 2560x1440 @ 60.00 Hz (GTF) hsync: 89.40 kHz; pclk: 311.83 MHz                                                                                                                                                                                         
  Modeline "2560x1440"  311.83  2560 2744 3024 3488  1440 1441 1444 1490  -HSync +Vsync                                                                                                                                                                   
  # 1920x1080 @ 60.00 Hz (GTF) hsync: 67.08 kHz; pclk: 172.80 MHz                                                                                                                                                                                         
  Modeline "1920x1080"  172.80  1920 2040 2248 2576  1080 1081 1084 1118  -HSync +Vsync                                                                                                                                                                   
EndSection                                                                                                                                                                                                                                                 
                                                                                                                                                                                                                                                          
Section "Monitor"                                                                                                                                                                                                                                         
        Identifier   "Monitor1"                                                                                                                                                                                                                           
        VendorName   "Iiyama 1440p"                                                                                                                                                                                                                       
        ModelName    "Iiyama"                                                                                                                                                                                                                             
  # 2560x1440 @ 60.00 Hz (GTF) hsync: 89.40 kHz; pclk: 311.83 MHz                                                                                                                                                                                         
  Modeline "2560x1440"  311.83  2560 2744 3024 3488  1440 1441 1444 1490  -HSync +Vsync                                                                                                                                                                   
  # 1920x1080 @ 60.00 Hz (GTF) hsync: 67.08 kHz; pclk: 172.80 MHz                                                                                                                                                                                         
  Modeline "1920x1080"  172.80  1920 2040 2248 2576  1080 1081 1084 1118  -HSync +Vsync                                                                                                                                                                   
EndSection                                                                                                                                                                                                                                                 
                                                                                                                                                                                                                                                          
Section "Device"                                                                                                                                                                                                                                           
        ### Available Driver options are:-                                                                                                                                                                                                                 
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz",
        ### <percent>: "<f>%"
        ### [arg]: arg optional
        #Option     "ShadowFB"                  # [<bool>]
        #Option     "DefaultRefresh"            # [<bool>]
        #Option     "ModeSetClearScreen"        # [<bool>]
        #Option         "ModeValidation"        "NoVesaModes, NoXServerModes"
        Identifier  "Card0"
        #Driver      "vesa"
        BusID       "PCI:0:2:0"
EndSection

Section "Screen"
        Identifier "Screen0"
        Device     "Card0"
        Monitor    "Monitor0"
        SubSection "Display"
                Viewport   0 0
                Depth     24
                Modes "2560x1440" "1920x1080"
                Virtual 4480 1440
        EndSubSection
EndSection

Section "Screen"
        Identifier "Screen1"
        Device     "Card0"
        Monitor    "Monitor1"
        SubSection "Display"
                Viewport   0 0
                Depth     24
                Modes "2560x1440" "1920x1080"
                Virtual 4480 1440
        EndSubSection
EndSection

And as you see - my laptop screen has "virtual" resolution 1440p, but external screen not:
Code:
Screen 0: minimum 320 x 200, current 2048 x 1152, maximum 8192 x 8192
eDP-1 connected (normal left inverted right x axis y axis)
  2560x1440     60.00 +
  1920x1080     60.01 +  60.01    59.97    59.96    60.00    59.93  
  1680x1050     59.95    59.88  
  1400x1050     59.98  
  1600x900      59.99    59.94    59.95    59.82  
  1280x1024     60.02
  1400x900      59.96    59.88
  1280x960      60.00
  1440x810      60.00    59.97
  1368x768      59.88    59.85
  1280x800      59.99    59.97    59.81    59.91
  1280x720      60.00    59.99    59.86    59.74
  1024x768      60.04    60.00
  960x720       60.00
  928x696       60.05
  896x672       60.01
  1024x576      59.95    59.96    59.90    59.82
  960x600       59.93    60.00
  960x540       59.96    59.99    59.63    59.82
  800x600       60.00    60.32    56.25
  840x525       60.01    59.88
  864x486       59.92    59.57
  700x525       59.98
  800x450       59.95    59.82
  640x512       60.02
  700x450       59.96    59.88
  640x480       60.00    59.94
  720x405       59.51    58.99
  684x384       59.88    59.85
  640x400       59.88    59.98
  640x360       59.86    59.83    59.84    59.32
  512x384       60.00
  512x288       60.00    59.92
  480x270       59.63    59.82
  400x300       60.32    56.34
  432x243       59.92    59.57
  320x240       60.05
  360x202       59.51    59.13
  320x180       59.84    59.32
VGA-1 disconnected (normal left inverted right x axis y axis)
HDMI-1 connected primary 2048x1152+0+0 (normal left inverted right x axis y axis) 597mm x 336mm
  2048x1152     60.00*
  1920x1200     59.95
  1920x1080     60.00    50.00    59.94
  1920x1080i    60.00    50.00    59.94
  1600x1200     60.00
  1680x1050     59.88
  1600x900      60.00
  1280x1024     75.02    60.02
  1440x900      59.90
  1152x864      75.00
  1280x720      60.00    50.00    59.94
  1024x768      75.03    70.07    60.00
  832x624       74.55
  800x600       72.19    75.00    60.32    56.25
  720x576       50.00
  720x576i      50.00
  720x480       60.00    59.94
  720x480i      60.00    59.94
  640x480       75.00    72.81    66.67    60.00    59.94
  720x400       70.08
DP-1 disconnected (normal left inverted right x axis y axis)
HDMI-2 disconnected (normal left inverted right x axis y axis)
DP-2 disconnected (normal left inverted right x axis y axis)
HDMI-3 disconnected (normal left inverted right x axis y axis)
VGA-1-1 disconnected (normal left inverted right x axis y axis)

As you see on screen, GUI tool don's see 1440p too.
 

Attachments

  • Screenshot_20190329_211339.png
    Screenshot_20190329_211339.png
    37.6 KB · Views: 795

Staff online

Members online


Top