Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

4K resolution in Debian stretch (testing) on INTEL graphics?

Need help with peripherals or devices?
Message
Author
akrueger
Posts: 68
Joined: 2017-01-13 19:09

Re: 4K resolution in Debian stretch (testing) on INTEL graph

#21 Post by akrueger »

Thanks A LOT!

Might have to postpone until after holidays, and then it might have changed again. Do not know how to access sid repo yet, but probably similar to experimental repo, right?


Until then, to get rid of the default booting of the wrong kernel, can I just do an

Code: Select all

sudo apt-get remove linux-image-4.10.0-rc6-amd64 
without danger ?

I now always have to manually select the 4.9 in the boot manager.

Thx

User avatar
GarryRicketson
Posts: 5644
Joined: 2015-01-20 22:16
Location: Durango, Mexico

Re: 4K resolution in Debian stretch (testing) on INTEL graph

#22 Post by GarryRicketson »

by akrueger »Do not know how to access sid repo yet, but probably similar to experimental repo, right?

how to access sid repo
------------------------------------------------------------------------
https://wiki.debian.org/DebianUnstable
------------------------------------------------------------------------
https://wiki.debian.org/DebianUnstable# ... o.27.27.3F
How do I install Sid?

The canonical answer is: Debian does not release unstable. You can only upgrade to it from testing. You do that by editing /etc/apt/sources.list and changing your sources from testing to unstable. (If you've currently got an installation of stable, then you should upgrade to testing first and then to unstable.)
The same would apply to your packages, the sources.list file would point t "unstable"
It might not be such a good idea to do this though,..you should read all of the documentation, to be sure if that is really what you want to do.

akrueger
Posts: 68
Joined: 2017-01-13 19:09

Re: 4K resolution in Debian stretch (testing) on INTEL graph

#23 Post by akrueger »

thx

to get rid of the default booting of the wrong kernel, can I just do an

Code: Select all

sudo apt-get remove linux-image-4.10.0-rc6-amd64 
without danger ?

I now always have to manually select the 4.9 in the boot manager.

Thx

User avatar
GarryRicketson
Posts: 5644
Joined: 2015-01-20 22:16
Location: Durango, Mexico

Re: 4K resolution in Debian stretch (testing) on INTEL graph

#24 Post by GarryRicketson »

I am not sure on that, I was hoping somebody else might be able to give a answer,
so did not reply immediately.

Sorry,...
I now always have to manually select the 4.9 in the boot manager.
Maybe you need to configure the boot manager ,to use the 4.9 one first, is it Grub ?
I do not know exactly on that, and it would depend on the boot manager.

milomak
Posts: 2168
Joined: 2009-06-09 22:20
Been thanked: 2 times

Re: 4K resolution in Debian stretch (testing) on INTEL graph

#25 Post by milomak »

yes you can just remove the kernel with apt
Desktop: A320M-A PRO MAX, AMD Ryzen 5 3600, GALAX GeForce RTX™ 2060 Super EX (1-Click OC) - Sid, Win10, Arch Linux, Gentoo, Solus
Laptop: hp 250 G8 i3 11th Gen - Sid
Kodi: AMD Athlon 5150 APU w/Radeon HD 8400 - Sid

User avatar
GarryRicketson
Posts: 5644
Joined: 2015-01-20 22:16
Location: Durango, Mexico

Re: 4K resolution in Debian stretch (testing) on INTEL graph

#26 Post by GarryRicketson »

Thanks milomak,
I was worried about this, and concerned that the OP or somebody else, might remove it, and then not be able to boot, glad you have clarified on this.

akrueger
Posts: 68
Joined: 2017-01-13 19:09

Re: 4K resolution in Debian stretch (testing) on INTEL graph

#27 Post by akrueger »

Thanks a lot, it went well:

Code: Select all

sudo apt-get remove linux-image-4.10.0-rc6-amd64
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages will be REMOVED:
  linux-image-4.10.0-rc6-amd64
0 upgraded, 0 newly installed, 1 to remove and 5 not upgraded.
After this operation, 189 MB disk space will be freed.
Do you want to continue? [Y/n] Y
(Reading database ... 281665 files and directories currently installed.)
Removing linux-image-4.10.0-rc6-amd64 (4.10~rc6-1~exp2) ...
I: /vmlinuz is now a symlink to boot/vmlinuz-4.9.0-3-amd64
I: /initrd.img is now a symlink to boot/initrd.img-4.9.0-3-amd64
/etc/kernel/postrm.d/initramfs-tools:
update-initramfs: Deleting /boot/initrd.img-4.10.0-rc6-amd64
/etc/kernel/postrm.d/zz-update-grub:
Generating grub configuration file ...
Found background image: /usr/share/images/desktop-base/desktop-grub.png
Found linux image: /boot/vmlinuz-4.9.0-3-amd64
Found initrd image: /boot/initrd.img-4.9.0-3-amd64
Found Windows Boot Manager on /dev/sda1@/EFI/Microsoft/Boot/bootmgfw.efi
Adding boot menu entry for EFI firmware configuration
done
and rebooting still worked. No danger, very good.


Still don't know how to do 4K - but at least that always-having-to-choose-the-old-kernel, so that VirtualBox still works ... is gone again.

Any ideas when a 4K supporting kernel will become part of the standard Debian system?

Thanks.

User avatar
pylkko
Posts: 1802
Joined: 2014-11-06 19:02

Re: 4K resolution in Debian stretch (testing) on INTEL graph

#28 Post by pylkko »

Did you install the blob that Skylake + require

User avatar
sunrat
Administrator
Administrator
Posts: 6458
Joined: 2006-08-29 09:12
Location: Melbourne, Australia
Has thanked: 116 times
Been thanked: 472 times

Re: 4K resolution in Debian stretch (testing) on INTEL graph

#29 Post by sunrat »

pylkko wrote:Did you install the blob that Skylake + require
If you mean intel-microcode, OP installed it.

You won't get a newer kernel in Stretch unless someone backports it and puts it in backports repo. 4.11 is now in testing.
May be worth trying siduction which has firmware included and 4.11.11 kernel (probably 4.12 now, I haven't updated this week) currently if you dist-upgrade after installing. It is based on Sid though and has massive amounts of upgrades almost every day. I'm running it and it works well. You can try it live before installing. https://forum.siduction.org/index.php?board=22.0

It may not even be the kernel that is your problem. Until someone else reports they have a working Kaby Lake system with 4k, we can only guess.
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ”
Remember to BACKUP!

User avatar
pylkko
Posts: 1802
Joined: 2014-11-06 19:02

Re: 4K resolution in Debian stretch (testing) on INTEL graph

#30 Post by pylkko »

no. I mean the extra non-free video firmware. the blobs required for GuC and DMC etc. i forget the package's name.
don't know if this can make you not see 4k though...

edit: found it

https://packages.debian.org/sid/firmware-misc-nonfree
* Intel "Kabylake" DMC firmware, version 1.01
(i915/kbl_dmc_ver1_01.bin, i915/kbl_dmc_ver1.bin)
* Intel "Kabylake" GuC firmware, version 9.14
(i915/kbl_guc_ver9_14.bin)
According to Intel you also need huc for kbl, but I believe that it is for hevc

akrueger
Posts: 68
Joined: 2017-01-13 19:09

Re: 4K resolution in Debian stretch (testing) on INTEL graph

#31 Post by akrueger »

No idea about sid. I am running stretch, and I am happy.

Code: Select all

sudo apt-get install firmware-misc-nonfree intel-microcode
Reading package lists... Done
Building dependency tree       
Reading state information... Done
firmware-misc-nonfree is already the newest version (20161130-3).
intel-microcode is already the newest version (3.20170707.1~deb9u1).
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
sunrat wrote: You won't get a newer kernel in Stretch unless someone backports it and puts it in backports repo.
Good to know, thanks. Difficult?

Does that ever happen?

Would a bounty help with making that more probable?
sunrat wrote: It is based on Sid though and has massive amounts of upgrades almost every day.
I refer stable over cutting edge, if I can avoid that.
sunrat wrote:It may not even be the kernel that is your problem. Until someone else reports they have a working Kaby Lake system with 4k, we can only guess.
True.
What else could I try?

So far I have resisted the tempation to make a thousand steps backwards, and switch back to Windows - but to not at all use this massive, and beautiful screen, what a waste.

Please please please, Debianwizards, help me.

Thanks.

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 71 times

Re: 4K resolution in Debian stretch (testing) on INTEL graph

#32 Post by stevepusser »

You could try adding the Liquorix kernel and headers, which is currently Stretch-compatible and incorporates kernel 4.12.8:

https://liquorix.net/

Don't remove the standard 4.9 kernel unless you really need the disk space--it's prudent to keep it as a backup.
MX Linux packager and developer

akrueger
Posts: 68
Joined: 2017-01-13 19:09

Re: 4K resolution in Debian stretch (testing) on INTEL graph

#33 Post by akrueger »

stevepusser wrote:You could try adding the Liquorix kernel and headers, which is currently Stretch-compatible and incorporates kernel 4.12.8:
https://liquorix.net/
Thank you VERY much. That seems to work. And ... virtualbox is also still working, this time.

I have kernel 4.12 now!

I am writing this on the new kernel:

Code: Select all

uname -a
Linux Dell13-5378 4.12.0-8.3-liquorix-amd64 #1 ZEN SMP PREEMPT liquorix 4.12-3 (2017-08-19) x86_64 GNU/Linux
BUT ... no high resolution.

I have gone through all hints in this thread once more.

My hardware & config:

Code: Select all

 inxi -GSM
System:    Host: Dell13-5378 Kernel: 4.12.0-8.3-liquorix-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
           Mobo: Dell model: 0P87CH v: A00 UEFI: Dell v: 1.6.1 date: 02/13/2017
Battery    BAT0: charge: 36.8 Wh 126.7% condition: 29.1/36.8 Wh (79%)
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


This is the highest I can go:
xrandr
HDMI-1 connected 2048x1152+1920+0 (normal left inverted right x axis y axis) 621mm x 341mm
2048x1152 60.00*
I found these instructions somewhere:

Code: Select all

cvt 3840 2160 30.00
xrandr --newmode "3840x2160_30"  338.75  3840 4080 4488 5136  2160 2163 2168 2200 -hsync +vsync
xrandr --addmode HDMI-1 3840x2160_30
But:

Code: Select all

xrandr --output HDMI-1 --mode 3840x2160_30
xrandr: Configure crtc 1 failed
Which software must I install apart from this?

Code: Select all

sudo apt install xserver-xorg-video-intel firmware-misc-nonfree
Reading package lists... Done
Building dependency tree       
Reading state information... Done
xserver-xorg-video-intel is already the newest version (2:2.99.917+git20161206-1).
firmware-misc-nonfree is already the newest version (20161130-3).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
What would you do now, if you had such a beautiful 4K screen, but cannot use it - go back to Windows?

akrueger
Posts: 68
Joined: 2017-01-13 19:09

Re: 4K resolution in Debian stretch (testing) on INTEL graph

#34 Post by akrueger »

I am looking at the tiniest text I have ever looked at ;-)

Hooray

I got it working, hoooooooray.

Like this:
https://www.x.org/wiki/FAQVideoModes/#o ... powerstrip
download PowerStrip (but not from entech because their server disconnects again and again and again ... but from some mirror, find by google)

Then windows, install PowerStrip, reboot(!), follow those instructions ... and end up with something like this, in your clipboard

Code: Select all

PowerStrip timing parameters:
3840x2400=3840,8,104,144,2400,1,2,21,148931,1

Generic timing details for 3840x2400:
HFP=8 HSW=104 HBP=144 kHz=36 VFP=1 VSW=2 VBP=21 Hz=15

VESA detailed timing:
PClk=148931.00 H.Active=3840 H.Blank=256 H.Offset=-8 HSW=104 V.Active=2400 V.Blank=24 V.Offset=1 VSW=2

Linux modeline parameters:
"3840x2400" 148.931 3840 3848 3952 4096 2400 2401 2403 2424 +hsync +vsync
Then reboot into linux, and:
xrandr --newmode "3840x2400" 148.931 3840 3848 3952 4096 2400 2401 2403 2424 +hsync +vsync
xrandr --addmode HDMI-1 "3840x2400"
xrandr --output HDMI-1 --mode "3840x2400"
And ooooops, suddenly I have 9.2 million pixels in front of me, a whopping 4.44 K screen. Wow.

The display OSD says:

Code: Select all

3840 x 2400 @ 15 Hz
H.Frequency: 36 KHz
V.Frequency: 15 HZ
Model Number: GB2888UHSU
so ... now back into Windows, and extracting more such settings. 15 Hz is a bit low - and 4.44 K resolution ... is a bit much ;-)



Wow, I guess this was the most painful and lengthy hardware problem I have had in 30+ years. Again, I have learned a lot, but still:
Why do I have to extract those settings via that strange Windows tool? Why does the IIYAMA screen not report by itself which resolutions it can do?

akrueger
Posts: 68
Joined: 2017-01-13 19:09

Re: 4K resolution in Debian stretch (testing) on INTEL graph

#35 Post by akrueger »

akrueger wrote: so ... now back into Windows, and extracting more such settings.
extracted the defaults:
PowerStrip timing parameters:
3840x2160=3840,176,88,296,2160,8,10,72,112707,518

Generic timing details for 3840x2160:
HFP=176 HSW=88 HBP=296 kHz=26 VFP=8 VSW=10 VBP=72 Hz=11

VESA detailed timing:
PClk=112.71 H.Active=3840 H.Blank=560 H.Offset=160 HSW=88 V.Active=2160 V.Blank=90 V.Offset=8 VSW=10

Linux modeline parameters:
"3840x2160" 112.707 3840 4016 4104 4400 2160 2168 2178 2250 -hsync -vsync
so

Code: Select all

xrandr --newmode "3840x2160" 112.707 3840 4016 4104 4400 2160 2168 2178 2250 -hsync -vsync
xrandr --addmode HDMI-1 "3840x2160"
xrandr --output HDMI-1 --mode "3840x2160" 
is resulting in (Display OSD ... stupidly short 3 seconds then it disappears):
3840 x 2160 @ 11Hz
H.Frequency: 25 KHz
V.Frequency: 11 Hz
Last edited by akrueger on 2017-08-25 23:49, edited 1 time in total.

akrueger
Posts: 68
Joined: 2017-01-13 19:09

Re: 4K resolution in Debian stretch (testing) on INTEL graph

#36 Post by akrueger »

These ones are working too:

Code: Select all

cvt 3840 2160 25.00
xrandr --newmode "3840x2160_25.00"  278.75  3840 4064 4464 5088  2160 2163 2168 2194 -hsync +vsync
xrandr --addmode HDMI-1 "3840x2160_25.00"
xrandr --output HDMI-1 --mode "3840x2160_25.00" 

Code: Select all

cvt 3840 2160 26.00
xrandr --newmode "3840x2160_26.00"  290.25  3840 4064 4464 5088  2160 2163 2168 2195 -hsync +vsync
xrandr --addmode HDMI-1 "3840x2160_26.00"
xrandr --output HDMI-1 --mode "3840x2160_26.00"

Code: Select all

cvt 3840 2160 26.50
xrandr --newmode "3840x2160_26.50"  296.75  3840 4072 4472 5104  2160 2163 2168 2195 -hsync +vsync
xrandr --addmode HDMI-1 "3840x2160_26.50"
xrandr --output HDMI-1 --mode "3840x2160_26.50" 
the highest one (26.50) results in an OSD display information of
"3840x2160@27Hz;
H.Frequency: 58KhZ;
V.Frequency: 27 Hz
"


but these ones are all not working:

Code: Select all

cvt 3840 2160 30.00
xrandr --newmode "3840x2160_30.00"  338.75  3840 4080 4488 5136  2160 2163 2168 2200 -hsync +vsync
xrandr --addmode HDMI-1 "3840x2160_30.00"
xrandr --output HDMI-1 --mode "3840x2160_30.00"

cvt 3840 2160 29.00
xrandr --newmode "3840x2160_29.00"  327.25  3840 4080 4488 5136  2160 2163 2168 2199 -hsync +vsync
xrandr --addmode HDMI-1 "3840x2160_29.00"
xrandr --output HDMI-1 --mode "3840x2160_29.00" 

cvt 3840 2160 28.00
xrandr --newmode "3840x2160_28.00"  314.75  3840 4072 4480 5120  2160 2163 2168 2197 -hsync +vsync
xrandr --addmode HDMI-1 "3840x2160_28.00"
xrandr --output HDMI-1 --mode "3840x2160_28.00" 

cvt 3840 2160 27.00
xrandr --newmode "3840x2160_27.00"  302.50  3840 4072 4472 5104  2160 2163 2168 2196 -hsync +vsync
xrandr --addmode HDMI-1 "3840x2160_27.00"
xrandr --output HDMI-1 --mode "3840x2160_27.00" 
and

Code: Select all

cvt 3840 2160 60.00
xrandr --newmode "3840x2160_60.00"  712.75  3840 4160 4576 5312  2160 2163 2168 2237 -hsync +vsync
xrandr --addmode HDMI-1 "3840x2160_60.00"
xrandr --output HDMI-1 --mode "3840x2160_60.00"
they are all resulting in
xrandr: Configure crtc 1 failed
So ... is IIYAMA actually lying about the refresh rate that this monitor is supposed to deliver?

Why not 60 Hz, why not even 30 Hz?

akrueger
Posts: 68
Joined: 2017-01-13 19:09

Re: 4K resolution in Debian stretch (testing) on INTEL graph

#37 Post by akrueger »

Upper limit, max frequency @ 4K:

26.79 Hz

Code: Select all

cvt 3840 2160 26.79
xrandr --newmode "3840x2160_26.79"  300.00  3840 4072 4472 5104  2160 2163 2168 2196 -hsync +vsync
xrandr --addmode HDMI-1 "3840x2160_26.79" 
xrandr --output HDMI-1 --mode "3840x2160_26.79"
And yes, the kernel matters not at all - that was a hugely misleading wrong way street, have a look:
uname -a
Linux Dell13-5378 4.9.0-3-amd64 #1 SMP Debian 4.9.30-2+deb9u3 (2017-08-06) x86_64 GNU/Linux
inxi -G
Graphics: Card: Intel Device 5916
Display Server: X.Org 1.19.2 drivers: modesetting (unloaded: fbdev,vesa)
Resolution: 1920x1080@60.05hz, 3840x2160@26.77hz
GLX Renderer: Mesa DRI Intel HD Graphics 620 (Kabylake GT2) GLX Version: 3.0 Mesa 13.0.6
But all this is soon forgotten, because it is finally ... sorted.

Final question:

How can I make those 26.79 Hz settings permanent, so that they come back after rebooting?
Thanks.
Last edited by akrueger on 2017-08-26 00:08, edited 2 times in total.

User avatar
sunrat
Administrator
Administrator
Posts: 6458
Joined: 2006-08-29 09:12
Location: Melbourne, Australia
Has thanked: 116 times
Been thanked: 472 times

Re: 4K resolution in Debian stretch (testing) on INTEL graph

#38 Post by sunrat »

Do you know what version of HDMI your hardware supports? Only version 2.0 or later can do 4K at 60Hz. DisplayPort also does it.

Code: Select all

$ xrandr
Screen 0: minimum 8 x 8, current 3840 x 2160, maximum 16384 x 16384
DVI-I-0 disconnected (normal left inverted right x axis y axis)
DVI-I-1 disconnected (normal left inverted right x axis y axis)
HDMI-0 disconnected (normal left inverted right x axis y axis)
DP-0 connected primary 3840x2160+0+0 (normal left inverted right x axis y axis) 600mm x 340mm
   3840x2160     60.00*+  30.00
...
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ”
Remember to BACKUP!

Post Reply