PDA

View Full Version : [ubuntu] Broken 144Hz mode after update



furioness
July 27th, 2018, 03:58 PM
I'm using ubuntu 16.04 LTS first of all because it can get my monitor (LG 24gm77 with DVI-D) work on 144Hz. Previously only with amd-pro drivers from their site, and, before this **** happened, by default drivers.
I can't remember what happened that day, worst that I changed - apt upgrade. On next boot screen started to work in 60Hz only and only this mode shows xrandr.
To get 144Hz again I need to install that amd drivers again, but that is extremely laggy and makes strange bug with google-chrome - that shows any text as white colored on white font.
I tried to install older 17.30 amd-gpu-pro driver but that required older kernel and even with that same bug with chrome.
I don't imagine what possible answer I can get here with so unclear description, more about does anyone else get affected by this problem.

Latest Ubuntu 16.04.X LTS with updates, RX 460, i5-2500k, LG 24gm77 with DVI-D.
Parameters used from started with boot script that included "xrandr --output DVI-D-0 --mode 1920x1080 --rate 144 --primary". If I try to add this mode manually and run it (as in this command) I get error kind of
configure crtc 0 failed even if I trying to add any else resolution. Actually, I can't remember did it previously worked as is or after addiding 144Hz mode by xrandr, but now it shows that error.
I'm using 2 monitors, but disconnecting second changing nothing.configure crtc 0 failed
This to show that it's not hardware problem (with amd drivers)

DVI-D-0 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 531mm x 298mm
1920x1080 60.00 + 144.00* 119.98 99.93 59.94
1680x1050 60.00
1280x1024 119.96 75.02 60.02
1440x900 119.85
1280x800 60.00
1152x864 75.00
1280x720 60.00
1024x768 119.99 75.03 60.00
832x624 74.55
800x600 119.97 75.00 60.32 56.25
640x480 119.99 75.00 60.00 59.94


term.log from probably day of problem beginning


Log started: 2018-07-25 06:22:10
Selecting previously unselected package linux-modules-4.15.0-29-generic.
(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 246228 files and directories currently installed.)
Preparing to unpack .../linux-modules-4.15.0-29-generic_4.15.0-29.31~16.04.1_amd64.deb ...
Unpacking linux-modules-4.15.0-29-generic (4.15.0-29.31~16.04.1) ...
Selecting previously unselected package linux-image-4.15.0-29-generic.
Preparing to unpack .../linux-image-4.15.0-29-generic_4.15.0-29.31~16.04.1_amd64.deb ...
Unpacking linux-image-4.15.0-29-generic (4.15.0-29.31~16.04.1) ...
Selecting previously unselected package linux-modules-extra-4.15.0-29-generic.
Preparing to unpack .../linux-modules-extra-4.15.0-29-generic_4.15.0-29.31~16.04.1_amd64.deb ...
Unpacking linux-modules-extra-4.15.0-29-generic (4.15.0-29.31~16.04.1) ...
Preparing to unpack .../linux-generic-hwe-16.04_4.15.0.29.51_amd64.deb ...
Unpacking linux-generic-hwe-16.04 (4.15.0.29.51) over (4.13.0.45.64) ...
Preparing to unpack .../linux-image-generic-hwe-16.04_4.15.0.29.51_amd64.deb ...
Unpacking linux-image-generic-hwe-16.04 (4.15.0.29.51) over (4.13.0.45.64) ...
Preparing to unpack .../linux-signed-generic-hwe-16.04_4.15.0.29.51_amd64.deb ...
Unpacking linux-signed-generic-hwe-16.04 (4.15.0.29.51) over (4.13.0.45.64) ...
Selecting previously unselected package linux-headers-4.15.0-29.
Preparing to unpack .../linux-headers-4.15.0-29_4.15.0-29.31~16.04.1_all.deb ...
Unpacking linux-headers-4.15.0-29 (4.15.0-29.31~16.04.1) ...
Selecting previously unselected package linux-headers-4.15.0-29-generic.
Preparing to unpack .../linux-headers-4.15.0-29-generic_4.15.0-29.31~16.04.1_amd64.deb ...
Unpacking linux-headers-4.15.0-29-generic (4.15.0-29.31~16.04.1) ...
Preparing to unpack .../linux-headers-generic-hwe-16.04_4.15.0.29.51_amd64.deb ...
Unpacking linux-headers-generic-hwe-16.04 (4.15.0.29.51) over (4.13.0.45.64) ...
Preparing to unpack .../linux-signed-image-generic-hwe-16.04_4.15.0.29.51_amd64.deb ...
Unpacking linux-signed-image-generic-hwe-16.04 (4.15.0.29.51) over (4.13.0.45.64) ...
Setting up linux-modules-4.15.0-29-generic (4.15.0-29.31~16.04.1) ...
Setting up linux-image-4.15.0-29-generic (4.15.0-29.31~16.04.1) ...
I: /vmlinuz.old is now a symlink to boot/vmlinuz-4.13.0-45-generic
I: /initrd.img.old is now a symlink to boot/initrd.img-4.13.0-45-generic
I: /vmlinuz is now a symlink to boot/vmlinuz-4.15.0-29-generic
I: /initrd.img is now a symlink to boot/initrd.img-4.15.0-29-generic
Setting up linux-modules-extra-4.15.0-29-generic (4.15.0-29.31~16.04.1) ...
Setting up linux-image-generic-hwe-16.04 (4.15.0.29.51) ...
Setting up linux-headers-4.15.0-29 (4.15.0-29.31~16.04.1) ...
Setting up linux-headers-4.15.0-29-generic (4.15.0-29.31~16.04.1) ...
Setting up linux-headers-generic-hwe-16.04 (4.15.0.29.51) ...
Setting up linux-generic-hwe-16.04 (4.15.0.29.51) ...
Setting up linux-signed-generic-hwe-16.04 (4.15.0.29.51) ...
Setting up linux-signed-image-generic-hwe-16.04 (4.15.0.29.51) ...
Processing triggers for linux-image-4.15.0-29-generic (4.15.0-29.31~16.04.1) ...
/etc/kernel/postinst.d/initramfs-tools:
update-initramfs: Generating /boot/initrd.img-4.15.0-29-generic
/etc/kernel/postinst.d/zz-update-grub:
Generating grub configuration file ...
Warning: Setting GRUB_TIMEOUT to a non-zero value when GRUB_HIDDEN_TIMEOUT is set is no longer supported.
Found linux image: /boot/vmlinuz-4.15.0-29-generic
Found initrd image: /boot/initrd.img-4.15.0-29-generic
Found linux image: /boot/vmlinuz-4.13.0-45-generic
Found initrd image: /boot/initrd.img-4.13.0-45-generic
Found linux image: /boot/vmlinuz-4.13.0-43-generic
Found initrd image: /boot/initrd.img-4.13.0-43-generic
done
Log ended: 2018-07-25 06:22:30

Log started: 2018-07-25 06:22:34
(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 281829 files and directories currently installed.)
Removing linux-signed-image-generic-hwe-16.04 (4.15.0.29.51) ...
Log ended: 2018-07-25 06:22:34

Log started: 2018-07-25 08:05:09
(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 281827 files and directories currently installed.)
Preparing to unpack .../base-files_9.4ubuntu4.7_amd64.deb ...
Unpacking base-files (9.4ubuntu4.7) over (9.4ubuntu4.6) ...
Processing triggers for cracklib-runtime (2.9.2-1ubuntu1) ...
Processing triggers for man-db (2.7.5-1) ...
Processing triggers for install-info (6.1.0.dfsg.1-5) ...
Processing triggers for plymouth-theme-ubuntu-text (0.9.2-3ubuntu13.5) ...
update-initramfs: deferring update (trigger activated)
Processing triggers for initramfs-tools (0.122ubuntu8.11) ...
update-initramfs: Generating /boot/initrd.img-4.15.0-29-generic
Setting up base-files (9.4ubuntu4.7) ...
Installing new version of config file /etc/issue ...
Installing new version of config file /etc/issue.net ...
Installing new version of config file /etc/lsb-release ...
Processing triggers for plymouth-theme-ubuntu-text (0.9.2-3ubuntu13.5) ...
update-initramfs: deferring update (trigger activated)
Processing triggers for initramfs-tools (0.122ubuntu8.11) ...
update-initramfs: Generating /boot/initrd.img-4.15.0-29-generic
(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 281827 files and directories currently installed.)
Preparing to unpack .../google-chrome-stable_68.0.3440.75-1_amd64.deb ...
Unpacking google-chrome-stable (68.0.3440.75-1) over (67.0.3396.99-1) ...
Preparing to unpack .../linux-libc-dev_4.4.0-131.157_i386.deb ...
De-configuring linux-libc-dev:amd64 (4.4.0-130.156) ...
Unpacking linux-libc-dev:i386 (4.4.0-131.157) over (4.4.0-130.156) ...
Preparing to unpack .../linux-libc-dev_4.4.0-131.157_amd64.deb ...
Unpacking linux-libc-dev:amd64 (4.4.0-131.157) over (4.4.0-130.156) ...
Processing triggers for menu (2.1.47ubuntu1.16.04.1) ...
Processing triggers for desktop-file-utils (0.22-1ubuntu5.2) ...
Processing triggers for bamfdaemon (0.5.3~bzr0+16.04.20180209-0ubuntu1) ...
Rebuilding /usr/share/applications/bamf-2.index...
Processing triggers for gnome-menus (3.13.3-6ubuntu3.1) ...
Processing triggers for mime-support (3.59ubuntu1) ...
Processing triggers for man-db (2.7.5-1) ...
Setting up google-chrome-stable (68.0.3440.75-1) ...
Setting up linux-libc-dev:amd64 (4.4.0-131.157) ...
Setting up linux-libc-dev:i386 (4.4.0-131.157) ...
Processing triggers for menu (2.1.47ubuntu1.16.04.1) ...
Log ended: 2018-07-25 08:05:36

Log started: 2018-07-25 08:05:44
(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 281826 files and directories currently installed.)
Removing linux-headers-4.13.0-43-generic (4.13.0-43.48~16.04.1) ...
Removing linux-headers-4.13.0-43 (4.13.0-43.48~16.04.1) ...
Removing linux-signed-image-4.13.0-43-generic (4.13.0-43.48~16.04.1) ...
Generating grub configuration file ...
Warning: Setting GRUB_TIMEOUT to a non-zero value when GRUB_HIDDEN_TIMEOUT is set is no longer supported.
Found linux image: /boot/vmlinuz-4.15.0-29-generic
Found initrd image: /boot/initrd.img-4.15.0-29-generic
Found linux image: /boot/vmlinuz-4.13.0-45-generic
Found initrd image: /boot/initrd.img-4.13.0-45-generic
Found linux image: /boot/vmlinuz-4.13.0-43-generic
Found initrd image: /boot/initrd.img-4.13.0-43-generic
done
Removing linux-image-extra-4.13.0-43-generic (4.13.0-43.48~16.04.1) ...
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 4.13.0-43-generic /boot/vmlinuz-4.13.0-43-generic
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 4.13.0-43-generic /boot/vmlinuz-4.13.0-43-generic
update-initramfs: Generating /boot/initrd.img-4.13.0-43-generic
run-parts: executing /etc/kernel/postinst.d/pm-utils 4.13.0-43-generic /boot/vmlinuz-4.13.0-43-generic
run-parts: executing /etc/kernel/postinst.d/unattended-upgrades 4.13.0-43-generic /boot/vmlinuz-4.13.0-43-generic
run-parts: executing /etc/kernel/postinst.d/update-notifier 4.13.0-43-generic /boot/vmlinuz-4.13.0-43-generic
run-parts: executing /etc/kernel/postinst.d/zz-update-grub 4.13.0-43-generic /boot/vmlinuz-4.13.0-43-generic
Generating grub configuration file ...
Warning: Setting GRUB_TIMEOUT to a non-zero value when GRUB_HIDDEN_TIMEOUT is set is no longer supported.
Found linux image: /boot/vmlinuz-4.15.0-29-generic
Found initrd image: /boot/initrd.img-4.15.0-29-generic
Found linux image: /boot/vmlinuz-4.13.0-45-generic
Found initrd image: /boot/initrd.img-4.13.0-45-generic
Found linux image: /boot/vmlinuz-4.13.0-43-generic
Found initrd image: /boot/initrd.img-4.13.0-43-generic
done
Removing linux-image-4.13.0-43-generic (4.13.0-43.48~16.04.1) ...
Examining /etc/kernel/postrm.d .
run-parts: executing /etc/kernel/postrm.d/initramfs-tools 4.13.0-43-generic /boot/vmlinuz-4.13.0-43-generic
update-initramfs: Deleting /boot/initrd.img-4.13.0-43-generic
run-parts: executing /etc/kernel/postrm.d/zz-update-grub 4.13.0-43-generic /boot/vmlinuz-4.13.0-43-generic
Generating grub configuration file ...
Warning: Setting GRUB_TIMEOUT to a non-zero value when GRUB_HIDDEN_TIMEOUT is set is no longer supported.
Found linux image: /boot/vmlinuz-4.15.0-29-generic
Found initrd image: /boot/initrd.img-4.15.0-29-generic
Found linux image: /boot/vmlinuz-4.13.0-45-generic
Found initrd image: /boot/initrd.img-4.13.0-45-generic
done
Log ended: 2018-07-25 08:05:54
Here figurating 4.13 kernel, maybe that was latest worked.
Sry for noobing (and bad English), I just did apt upgrade all the time (with update ofc) and didn't expected this kind of problems. I can provide any another info by request.

furioness
July 27th, 2018, 04:09 PM
So, I just swiched to kernel 4.13 using grub-customizer (Linux fs-hpc 4.13.0-45-generic #50~16.04.1-Ubuntu SMP Wed May 30 11:18:27 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux) and it works now as before without the problem.
Hence, I here is some bug that I'm asking you guys to describe correctly for bug reportable format.

furioness
July 27th, 2018, 04:17 PM
Maybe will be useful, with that 4.15 kernel some gpu drivers came (that shows if try to remove that kernel by apt) that probably is the root of the problem. Anyway, reverting to old kernel isn't the solution.

The following packages were automatically installed and are no longer required:
amd64-microcode dkms intel-microcode iucode-tool libomxil-bellagio-bin
libomxil-bellagio0 libva1:i386 libvdpau1 libvdpau1:i386 libxcb-xfixes0:i386
linux-image-generic-hwe-16.04 mesa-vdpau-drivers mesa-vdpau-drivers:i386
thermald vdpau-driver-all vdpau-driver-all:i386

furioness
July 27th, 2018, 04:23 PM
Also merit to say that on that 4.15 with or without amdgpu-pro I had screen flickering from setted by xcalib to bit darker (for reading) once per 10-50 seconds and with 4.13 I don't see this problem any more. I didn't mentioned it cuz I had that kind of flickering before too but not so often.
No entries in logs from that thread (https://ubuntuforums.org/showthread.php?t=2382058)