You are not logged in.

#1 2017-12-09 18:10:00

senufo
Member
Registered: 2014-09-23
Posts: 5

Resolution max problem since kernel 4.13

Hi,

Since upgrading kernel 4.12 to 4.13 or 4.14 I have a screen resolution problem.
My computer is a ZOTAC ZBOX CI547 nano with a graphics card Intel Corporation HD Graphics 620 (rev 02)
With kernel 4.12 I have a maximum resolution of 1920x1080
Here is the return of the xrandr command

Screen 0: minimum 8 x 8, current 1920 x 1080, maximum 32767 x 32767
DP1 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 530mm x 300mm
   1920x1080     60.00*+  50.00    59.94  
   1920x1080i    60.00    50.00    59.94  
   1600x1200     60.00  
   1680x1050     59.88  
   1280x1024     60.02  
   1440x900      59.90  
   1280x960      60.00  
   1280x720      60.00    50.00    59.94  
   1152x720      59.97  
   1024x768      60.00  
   800x600       60.32    56.25  
   720x576       50.00  
   720x480       60.00    59.94  
   640x480       66.67    60.00    59.94  
DP2 disconnected (normal left inverted right x axis y axis)
HDMI1 disconnected (normal left inverted right x axis y axis)
HDMI2 disconnected (normal left inverted right x axis y axis)
VIRTUAL1 disconnected (normal left inverted right x axis y axis)

but with a 4.13 or 4.14 kernel I have 1152x720

Screen 0: minimum 8 x 8, current 1152 x 720, maximum 32767 x 32767
DP1 connected primary 1152x720+0+0 (normal left inverted right x axis y axis) 530mm x 300mm
   1152x720      59.97* 
   1024x768      60.00  
   800x600       60.32    56.25  
   720x576       50.00  
   720x480       60.00    59.94  
   640x480       66.67    60.00    59.94  
DP2 disconnected (normal left inverted right x axis y axis)
HDMI1 disconnected (normal left inverted right x axis y axis)
HDMI2 disconnected (normal left inverted right x axis y axis)
VIRTUAL1 disconnected (normal left inverted right x axis y axis)

Any ideas ?

Thanks

Offline

#2 2017-12-09 19:07:04

seth
Member
Registered: 2012-09-03
Posts: 8,698

Re: Resolution max problem since kernel 4.13

I'd start by comparing the xorg logs.

Offline

#3 2017-12-10 10:38:24

senufo
Member
Registered: 2014-09-23
Posts: 5

Re: Resolution max problem since kernel 4.13

Here my Xorg log file for kernel 4.12.13-1-ARCH

https://pastebin.com/srjjir7R

and here Xorg log file for kernel 4.14.4-1-ARCH
https://pastebin.com/QbbHbs7C

the onlyd diffrence is

Kernel 4.14
[    13.047] (II) intel(0): Using Kernel Mode Setting driver: i915, version 1.6.0 20170403
[    13.283] (II) intel(0): switch to mode 1920x1080@60.0 on DP1 using pipe 0, position (0, 0), rotation normal, reflection none

Kernel 4.12
[    12.253] (II) intel(0): Using Kernel Mode Setting driver: i915, version 1.6.0 20170818
[    12.632] (II) intel(0): switch to mode 1152x720@60.0 on DP1 using pipe 0, position (0, 0), rotation normal, reflection none

it's the same with 4.13 kernel

Offline

#4 2017-12-10 11:35:26

loqs
Member
Registered: 2014-03-06
Posts: 6,219

Re: Resolution max problem since kernel 4.13

As a work around can you set a custom mode line and switch the display back to 1920x1080@60.0?

Offline

#5 2017-12-10 13:15:30

seth
Member
Registered: 2012-09-03
Posts: 8,698

Re: Resolution max problem since kernel 4.13

[    12.258] (--) intel(0): Output DP1 using initial mode 1152x720 on pipe 0
--
[    13.052] (--) intel(0): Output DP1 using initial mode 1920x1080 on pipe 0

/etc/X11/xorg.conf.d/11-monitor.conf

Section "Monitor"
   Identifier "DP1"
   Option "PreferredMode" "1920x1080"
EndSection

Do you end up on the same VT with both kernels?

Offline

#6 2017-12-10 13:58:25

senufo
Member
Registered: 2014-09-23
Posts: 5

Re: Resolution max problem since kernel 4.13

I have try to set custom mode with :

cvt 1920 1080

# 1920x1080 59.96 Hz (CVT 2.07M9) hsync: 67.16 kHz; pclk: 173.00 MHz
Modeline "1920x1080_60.00"  173.00  1920 2048 2248 2576  1080 1083 1088 1120 -hsync +vsync

xrandr --newmode "1920x1080_60.00"  173.00  1920 2048 2248 2576  1080 1083 1088 1120 -hsync +vsync
xrandr --addmode DP1 "1920x1080_60.00"

xrandr --output DP1 --mode "1920x1080_60.00"

xrandr: Configure crtc 0 failed

in dmesg  and journalctl I have this error

[dim. déc. 10 14:45:11 2017] [drm:intel_dp_get_link_train_fallback_values [i915]] *ERROR* Link Training Unsuccessful

when  I put /etc/X11/xorg.conf.d/11-monitor.conf the start resolution is 1024x768 and I can set to 1152x720 with xrandr but not to 1920x1080

Screen 0: minimum 8 x 8, current 1024 x 768, maximum 32767 x 32767
DP1 connected primary 1024x768+0+0 (normal left inverted right x axis y axis) 530mm x 300mm
   1152x720      59.97  
   1024x768      60.00* 
   800x600       60.32    56.25  
   720x576       50.00  
   720x480       60.00    59.94  
   640x480       66.67    60.00    59.94  
DP2 disconnected (normal left inverted right x axis y axis)
HDMI1 disconnected (normal left inverted right x axis y axis)
HDMI2 disconnected (normal left inverted right x axis y axis)
VIRTUAL1 disconnected (normal left inverted right x axis y axis)

Here https://pastebin.com/2e7R7BAS my new Xorg.0.log

The only change between that between the two configurations is the change of kernel with the following command:

sudo pacman -U /var/cache/pacman/pkg/linux-4.12.13-1-x86_64.pkg.tar.xz

Last edited by senufo (2017-12-10 14:07:17)

Offline

#7 2017-12-11 10:50:46

Xeno_Idaltu
Member
From: Open Source Technocracy
Registered: 2017-12-07
Posts: 19
Website

Re: Resolution max problem since kernel 4.13

I had the same problem when switching to Linux-Hardened.

The problem was solved after installing nvidia-dkms


"Open/Free Source the future!"

Offline

#8 2017-12-11 12:28:55

seth
Member
Registered: 2012-09-03
Posts: 8,698

Re: Resolution max problem since kernel 4.13

He's neither using linux-hardened nor does he have an nvidia chip.
This seems to be a display port related bug in the i915 module (unfortunately there's no vga output and hdmi is likely wired over DP)

Offline

#9 2017-12-12 18:14:11

senufo
Member
Registered: 2014-09-23
Posts: 5

Re: Resolution max problem since kernel 4.13

You are right.
On the ZBOX Zotac I have two outputs one in DP and one in HDMI. I use HDMI to get the sound.
With a DP to HDMI cable could I keep the sound on the HDMI?

Offline

#10 2017-12-12 18:52:05

seth
Member
Registered: 2012-09-03
Posts: 8,698

Re: Resolution max problem since kernel 4.13

"Could", both support audio - not sure about the reliability of adapters itr, though.

Or do you mean to wire the video from DP and audio from the HDMI port or vv?
I doubt this would work, in part because I assume it's actually the same output with different connectors (but I don't know for sure) - for a brief test on whether you get "better" resolution on hdmi that shouldn't matter though (and at some point the driver got to be fixed - you could use the lts kernel to cover that time)

Offline

#11 2017-12-13 16:24:32

haricot
Member
Registered: 2017-12-09
Posts: 7

Re: Resolution max problem since kernel 4.13

try putting the modeline:  Modeline "1920x1080_60.00"  173.00  1920 2048 2248 2576  1080 1083 1088 1120 -hsync +vsync
under the Section       "Monitor" 
                Identifier     " Monitor0"
                Modeline "1920x1080_60.00"  173.00  1920 2048 2248 2576  1080 1083 1088 1120 -hsync +vsync
                VendorName
                ModelName  etc,
Check that HorizSync is adequate for what you want. nvidia-xconfig fixes mine at 33.0 when it should be 83.

Offline

#12 2017-12-14 20:52:02

senufo
Member
Registered: 2014-09-23
Posts: 5

Re: Resolution max problem since kernel 4.13

Thnks.
I tried this modeline but it does not work. I have a black screen.
nvidia-config no work with Intel i915 chipset

Offline

Board footer

Powered by FluxBB