Page 1 of 1

Debian stretch does not do 4K on Intel 620

PostPosted: June 8th, 2017, 10:59 pm
by akrueger
Got a 4K screen working on Windows, YESSSS
on a Dell 13-5378 (Inspiron 13 5000 i5). So I can see 3840 pixels × 2160 (HDMI, 30Hz). Superb.

Now same hardware, with Debian stretch (testing) ... I only get a max resolution of 2048 x 1152

The experts in the Debian.net forum and in Intel forum have already tried to help me - but so far, no success.

Any idea what to do?

Thanks!

See Debian.net forum: http://forums.debian.net/viewtopic.php?f=7&t=133136
See Intel forum: https://communities.intel.com/message/480013

Re: Debian stretch does not do 4K on Intel 620

PostPosted: June 8th, 2017, 11:01 pm
by akrueger


what else but these outputs do you need to debug the problem?

Code: Select all
uname -a
Linux Dell13-5378 4.9.0-3-amd64 #1 SMP Debian 4.9.30-1 (2017-06-04) x86_64 GNU/Linux


Code: Select all
inxi -GSM
System:    Host: Dell13-5378 Kernel: 4.9.0-3-amd64 x86_64 (64 bit) Desktop: Cinnamon 3.2.7
           Distro: Debian GNU/Linux 9 (stretch)
Machine:   Device: laptop System: Dell product: Inspiron 13-5378 serial: ...
           Mobo: Dell model: 0P87CH v: A00 serial: .... UEFI: Dell v: 1.6.1 date: 02/13/2017
Graphics:  Card: Intel Device 5916
           Display Server: X.org 1.19.2 drivers: modesetting (unloaded: fbdev,vesa)


Code: Select all
xrandr
Screen 0: ....
HDMI-1 connected primary 2048x1152+1920+0 (normal left inverted right x axis y axis) 621mm x 341mm
   2048x1152     60.00*
   1920x1200     59.95
   1920x1080     60.00    60.00    50.00    59.94
   1920x1080i    60.00    50.00    59.94
   1600x1200     60.00
...
DP-1 disconnected (normal left inverted right x axis y axis)
HDMI-2 disconnected (normal left inverted right x axis y axis)

Re: Debian stretch does not do 4K on Intel 620

PostPosted: June 9th, 2017, 3:25 pm
by cynwulf
akrueger wrote:


what else but these outputs do you need to debug the problem?

Code: Select all
uname -a
Linux Dell13-5378 4.9.0-3-amd64 #1 SMP Debian 4.9.30-1 (2017-06-04) x86_64 GNU/Linux


Code: Select all
Graphics:  Card: Intel Device 5916
           Display Server: X.org 1.19.2 drivers: modesetting (unloaded: fbdev,vesa)

The "Kaby Lake" seems to require non-free firmware.

Did you enable the non-free repository and install the firmware-misc-nonfree package?

https://packages.debian.org/sid/firmware-misc-nonfree

I don't think the intel xf86 driver is used for this chip either so don't try to load it:

https://packages.debian.org/stretch/xse ... ideo-intel

Seems like the "modesetting" driver might be correct for those...

Give it a try.

Re: Debian stretch does not do 4K on Intel 620

PostPosted: June 9th, 2017, 4:10 pm
by akrueger
cynwulf wrote:The "Kaby Lake" seems to require non-free firmware.

Did you enable the non-free repository and install the firmware-misc-nonfree package?

https://packages.debian.org/sid/firmware-misc-nonfree

I don't think the intel xf86 driver is used for this chip either so don't try to load it:

https://packages.debian.org/stretch/xse ... ideo-intel

Oh, finally, someone seems to be knowledgable. Thanks a lot for your time!

I have now done these two things:

Code: Select all
apt install firmware-misc-nonfree
reboot

apt remove xserver-xorg-video-intel
reboot


But ... no change so far. The max resolution is still "2048x1152 @60.00" and not 4k

What else do I have to do now?


cynwulf wrote:Seems like the "modesetting" driver might be correct for those...

hmmm ... but wasn't "modesetting" enabled anyways?


Now after the above changes, I am doing these commands again (tell me what else you want to know to debug this):

Code: Select all
inxi -G
Graphics:  Card: Intel Device 5916
           Display Server: X.Org 1.19.2 drivers: modesetting (unloaded: fbdev,vesa)
           Resolution: 1920x1080@60.05hz, 2048x1152@60.00hz
           GLX Renderer: Mesa DRI Intel HD Graphics 620 (Kabylake GT2) GLX Version: 3.0 Mesa 13.0.6



Code: Select all
xrandr
Screen 0: minimum 320 x 200, current 3968 x 1152, maximum 8192 x 8192
eDP-1 connected 1920x1080+0+72 (normal left inverted right x axis y axis) 293mm x 165mm
...
HDMI-1 connected primary 2048x1152+1920+0 (normal left inverted right x axis y axis) 621mm x 341mm
   2048x1152     60.00*
   1920x1200     59.95 
   1920x1080     60.00    60.00    50.00    59.94 
   1920x1080i    60.00    50.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)




cynwulf wrote:Give it a try.

Done.

What's next to try?

Thanks a lot!
Andreas

Re: Debian stretch does not do 4K on Intel 620

PostPosted: June 9th, 2017, 6:50 pm
by cynwulf
akrueger wrote:Oh, finally, someone seems to be knowledgable.

Nope. I haven't used Debian in years, but just had a quick search of your problem and found that "non-free" firmware is needed and the modesetting driver appears to be used instead of the xf86-video-intel driver (the Debian "xserver-xorg-video-intel" package).

As you've seen from the script you've run, you now have DRI acceleration, so probably the first step - beyond that I've no more ideas, not having any similar hardware.

It's probably best that you examine the X.org server logs, you find some clue as to why tthe higher resolution isn't being supported if you search on any errors or warnings therein.

The other forum sees more activity, you could explain that you've now installed the firmware and try and proceed from there - but without pissing off the locals (remember that no one really owes you a "solution").

The intel forum was probably a waste of effort, that was the typical vendor's windows centric support forum. The intel Linux driver does not really have any kind of support. It's part of the kernel, you can try the kernel mailing lists - otherwise it's forums, etc. As it's a kernel issue, the problem and "solution" isn't necessarily distribution specific so it's worth searching and reading anywhere and everywhere.

Last of all you could try posting on the linuxquestions.org site, that gets more traffic and it's more likely to get you more exposure - but again how you scructure your question along with your willingess to make some effort and do some research will be a big factor. For those who do not wish to make any effort, there are proprietary, supported, operating systems or paid support.

Good luck.

Re: Debian stretch does not do 4K on Intel 620

PostPosted: June 9th, 2017, 11:16 pm
by akrueger
Thx. Perhaps you are right. I have already spent much more time one this that I could afford. Perhaps I should really simply forget Linux, and live with Windows.