You are not logged in.

#1 2017-12-03 17:01:59

modnoob
Member
Registered: 2017-10-17
Posts: 23

[SOLVED]Kernel 4.14: low refresh rate on internal Monitor of Notebooks

Hi,
today i got the update for Linux 4.14.
I using a ProBook 450g3 with intel 520 graphics with modesetting. I got 60 fps in Plasma. Now its limited to 40 fps and its defenetly Kernel related. If i do an downgrade it works with 60 fps again.
Anyone here can help me or have the same Problem?
edit: the problem seems to be with refreshrate of the internal monitor. if i use only an externam monitor i get 60 hz with internal only 40 hz. Any help with that?
edit2:
now i learned the problem is only in fhd. Can i remove the 40 hz mode in fhd? maybe it will work?
output of xrandr
Screen 0: minimum 320 x 200, current 1920 x 1080, maximum 8192 x 8192
eDP-1 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 344mm x 193mm
   1920x1080     60.06*+  40.04 
   1400x1050     59.98 
   1280x1024     60.02 
   1280x960      60.00 
   1024x768      60.04    60.00 
   960x720       60.00 
   928x696       60.05 
   896x672       60.01 
   800x600       60.00    60.32    56.25 
   700x525       59.98 
   640x512       60.02 
   640x480       60.00    59.94 
   512x384       60.00 
   400x300       60.32    56.34 
   320x240       60.05 
HDMI-1 disconnected (normal left inverted right x axis y axis)
DP-1 disconnected (normal left inverted right x axis y axis)
HDMI-2 disconnected (normal left inverted right x axis y axis)

Last edited by modnoob (2018-01-10 07:54:51)

Offline

#2 2017-12-04 04:47:20

flargen
Member
Registered: 2012-10-27
Posts: 13

Re: [SOLVED]Kernel 4.14: low refresh rate on internal Monitor of Notebooks

I'm experiencing this as well on an HP Spectre 13 with Intel HD 4400 graphics using the modesetting driver. Looks like a number of people on Manjaro (https://forum.manjaro.org/t/poor-opengl … 4-14/35453) and NixOS (https://github.com/NixOS/nixpkgs/issues/31999) are having the same problem.

Last edited by flargen (2017-12-04 04:47:37)

Offline

#3 2017-12-04 04:55:00

kailashkatheth
Member
From: nepal
Registered: 2017-06-14
Posts: 18
Website

Re: [SOLVED]Kernel 4.14: low refresh rate on internal Monitor of Notebooks

mine couldnt start X after upgrading to kernel 4.14 on intel hd 4400 switched back to linux-lts any fixes

Offline

#4 2017-12-04 07:15:26

Head_on_a_Stick
Member
From: London
Registered: 2014-02-20
Posts: 4,940
Website

Re: [SOLVED]Kernel 4.14: low refresh rate on internal Monitor of Notebooks

@modnoob: can you create and use a custom modeline with the correct refresh rate and if so does it fix the problem?

@flargen: do you also have a reduced refresh rate?

For the record, I have been using 4.14 with my HD4600 for a while now with no problems (but with xf86-video-intel rather than the modesetting DDX driver).

@kailashkatheth: your problem sounds different, please start a new thread and include your Xorg log file for the failed session.

Last edited by Head_on_a_Stick (2017-12-04 07:15:42)

Offline

#5 2017-12-04 07:45:53

modnoob
Member
Registered: 2017-10-17
Posts: 23

Re: [SOLVED]Kernel 4.14: low refresh rate on internal Monitor of Notebooks

@Head_on_a_Stick
i did. It so not solve the problem. For unknown reason it shows the right refresh-rate but it  only uses 40hz
I use linux-lts till an solotion is shown but i will test if an update or an solution is availale

Offline

#6 2017-12-04 07:57:13

c00ter
Member
From: Alaskan in Washington State
Registered: 2014-08-28
Posts: 269

Re: [SOLVED]Kernel 4.14: low refresh rate on internal Monitor of Notebooks

I can report the same issue under 4.14.3 with a Dell Inspiron Intel/Intel HD4400M laptop with or without the xf86-video-intel driver and modesetting. LTS does not have this issue. I haven't searched or filed a bug report as of yet. Nor have I created an xorg.conf file--yet--though I have considered it. I don't necessarily have to fall-back to habits of 2015--yet. *sigh* LOL!

Last edited by c00ter (2017-12-04 08:01:30)


UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things. -- Doug Gwyn

Offline

#7 2017-12-04 09:13:51

seth
Member
Registered: 2012-09-03
Posts: 12,274

Re: [SOLVED]Kernel 4.14: low refresh rate on internal Monitor of Notebooks

Are we sure about the 40Hz (check glxgears, also with suspended compositing, it should still print the capped framerate)?
If it's more like 30Hz there might be two vblank waits in the stack (eg. once in the compositor and once in the ddx driver)

Offline

#8 2017-12-04 09:39:44

modnoob
Member
Registered: 2017-10-17
Posts: 23

Re: [SOLVED]Kernel 4.14: low refresh rate on internal Monitor of Notebooks

I double checked with and without compositing.
Kernel 4.9 lts and 4.13 has 60 fps and 4.14 only 40 fps

Offline

#9 2017-12-04 12:46:22

loqs
Member
Registered: 2014-03-06
Posts: 8,417

Re: [SOLVED]Kernel 4.14: low refresh rate on internal Monitor of Notebooks

Might be a bit early to check linux 4.15-rc2 or bisect back to 4.13 but if you can not discover anything after trying adjusting all the i915 module options.
Try adding the kernel parameters drm.debug=0x1e log_buf_len=2M and compare the output with 4.13.y

Offline

#10 2017-12-04 12:47:44

modnoob
Member
Registered: 2017-10-17
Posts: 23

Re: [SOLVED]Kernel 4.14: low refresh rate on internal Monitor of Notebooks

@Head_on_a_Stick
I tryed it with the constum modeline setting again.
It did not work with 60 hz. But then i tryed it with 72 and 120 hz
Both did change the refresh rate to 60 according to glxgears.
It seams to work still not correctly but it solves the problem wink
for all who do not work how to set costum modeline i did li like shown here:
https://github.com/kevinlekiller/linux_ … erclocking

Offline

#11 2017-12-04 12:50:08

loqs
Member
Registered: 2014-03-06
Posts: 8,417

Re: [SOLVED]Kernel 4.14: low refresh rate on internal Monitor of Notebooks

Custom mode lines are also covered on the wiki Xrandr#Adding_undetected_resolutions.

Offline

#12 2017-12-04 13:25:42

modnoob
Member
Registered: 2017-10-17
Posts: 23

Re: [SOLVED]Kernel 4.14: low refresh rate on internal Monitor of Notebooks

Yep thats right.
But all in all it do not solve the problem. I add an costum mode with fhd 75 hz and the monitor only uses 60 hz.
But its better than 40 hz wink

Last edited by modnoob (2017-12-04 13:26:05)

Offline

#13 2017-12-04 13:43:17

modnoob
Member
Registered: 2017-10-17
Posts: 23

Re: [SOLVED]Kernel 4.14: low refresh rate on internal Monitor of Notebooks

i tryed it with drm.debug=0x1e log_buf_len=2M with Kernel 4.9 and 4.14 and found no importent differences in the log
I looked in the kernel log. Was that right?

Offline

#14 2017-12-04 13:45:06

Sherlock-Holo
Member
Registered: 2017-01-06
Posts: 1

Re: [SOLVED]Kernel 4.14: low refresh rate on internal Monitor of Notebooks

I updated my kernel to 4.14.3 yesterday, I found my mouse looks different and I feel uncomfortable, I thought the FPS is lower than before, I run glxgears and found it was 40 FPS, I downgrade to 4.13 and run glxgears, 60FPS.
I use Intel Graphics card, I have a NVIDIA GPU and installed bumblebee, NVIDIA drivers and bbswitch, but I thought I never use it because I never play game on Arch Linux

Offline

#15 2017-12-04 18:31:49

loqs
Member
Registered: 2014-03-06
Posts: 8,417

Re: [SOLVED]Kernel 4.14: low refresh rate on internal Monitor of Notebooks

@modnoob yes in the dmesg / kernel log from the journal.
Edit:
You could report the bug upstream or bisect the kernel between 4.13 and 4.14 and or try linux 4.15/linux drmtip then report the issue upstream.
Note there was a data corruption issue at least affecting bcachefs between 4.13 and 4.14 so have full backups (which is good practise) before attempting the suggestions.

Last edited by loqs (2017-12-04 20:55:39)

Offline

#16 2017-12-05 01:28:00

flargen
Member
Registered: 2012-10-27
Posts: 13

Re: [SOLVED]Kernel 4.14: low refresh rate on internal Monitor of Notebooks

Head_on_a_Stick wrote:

@modnoob: can you create and use a custom modeline with the correct refresh rate and if so does it fix the problem?

@flargen: do you also have a reduced refresh rate?

For the record, I have been using 4.14 with my HD4600 for a while now with no problems (but with xf86-video-intel rather than the modesetting DDX driver).

@kailashkatheth: your problem sounds different, please start a new thread and include your Xorg log file for the failed session.

Yes - here glxgears shows a refresh rate of 40Hz while xrandr reports that the monitor is set to 60Hz.

Last edited by flargen (2017-12-05 01:28:36)

Offline

#17 2017-12-05 01:43:11

finale
Member
Registered: 2012-01-16
Posts: 19

Re: [SOLVED]Kernel 4.14: low refresh rate on internal Monitor of Notebooks

I just wanted to add that I also have this problem immediately after updating to Linux 4.14.3-1. I'm using the modesetting driver on a laptop's internal display, Intel HD4600, on a Toshiba P75-A7200. Glxgears is running at 40fps under Xorg with no compositing and mouse cursor and other on-screen motion is choppy.

Last edited by finale (2017-12-05 01:52:12)

Offline

#18 2017-12-09 00:35:42

Pook
Member
Registered: 2014-03-09
Posts: 4

Re: [SOLVED]Kernel 4.14: low refresh rate on internal Monitor of Notebooks

Can confirm 40Hz with glxgears
Dell Precision 3520.
xf86-video-intel
xf86-video-nouveau.

Downgrading kernel and headers to 4.13.12-1 was the easiest fix for me.

Has anyone here reported this upstream yet?

If not we probably should...

Offline

#19 2017-12-09 10:18:08

heisenberg
Member
Registered: 2017-05-27
Posts: 87

Re: [SOLVED]Kernel 4.14: low refresh rate on internal Monitor of Notebooks

Running 4.14.4-1-ARCH, getting 60fps in plasma. AMD Radeon R6 M340DX.

Maybe it affects only Intel cards ? :\

Offline

#20 2017-12-09 14:39:56

Uriel_Bernhard48
Member
Registered: 2017-08-08
Posts: 29

Re: [SOLVED]Kernel 4.14: low refresh rate on internal Monitor of Notebooks

AFAIK it's intel and hybrid intel issue.

Offline

#21 2017-12-09 17:17:53

renatofdds
Member
Registered: 2014-06-16
Posts: 4

Re: [SOLVED]Kernel 4.14: low refresh rate on internal Monitor of Notebooks

I believe i'm having the same problem with a little twist:

My laptop's external connected hdmi monitor is stuttery on scrolling (seems to be running at 40hz), but laptop's eDP1 display is smooth. If i switch off laptop's internal eDP1 monitor the external monitor becomes buttery smooth.

A curious thing happens when i run Xorg with NVidia gfx offloading rendering with xrandr (normally nvidia's gpu is disabled through bbswitch): the situation reverses. HDMI is smooth and eDP is stuttery. If i turn off either the problem stops.

I posted the problem on intel-gfx ml:
https://lists.freedesktop.org/archives/ … 49699.html

Offline

#22 2017-12-11 00:47:22

flargen
Member
Registered: 2012-10-27
Posts: 13

Re: [SOLVED]Kernel 4.14: low refresh rate on internal Monitor of Notebooks

Adding a custom mode (generated using https://arachnoid.com/modelines/) fixes the problem for me. I used the native resolution of my laptop display (1920x1080) and 60Hz, and this is what glxgears reports after switching modes using randr. Things are also noticeably back to being smooth again in Plasma.

I have only tried adding a mode using xrandr, not by putting it in the xorg config.

Offline

#23 2017-12-11 07:27:49

Head_on_a_Stick
Member
From: London
Registered: 2014-02-20
Posts: 4,940
Website

Re: [SOLVED]Kernel 4.14: low refresh rate on internal Monitor of Notebooks

Pook wrote:

Has anyone here reported this upstream yet?

If not we probably should...

^ This.

+1 posts and workarounds will _not_ solve this problem, please take this issue upstream.

I would do it myself but my HD4600 performs flawlessly with 4.14 (Zen & Hardened variants).

Offline

#24 2017-12-11 09:17:57

modnoob
Member
Registered: 2017-10-17
Posts: 23

Re: [SOLVED]Kernel 4.14: low refresh rate on internal Monitor of Notebooks

I will do it but i'm not sure what to report because i never did and I'm pretty new with Arch.
I would write my hardware specs and Kernel cersion and that it happens with modesetting an with xf86 driver. Should I add some logs? Even if I  found nothing interesting

Offline

#25 2017-12-11 17:06:06

loqs
Member
Registered: 2014-03-06
Posts: 8,417

Re: [SOLVED]Kernel 4.14: low refresh rate on internal Monitor of Notebooks

@modnoob see link in post #15

Offline

Board footer

Powered by FluxBB