LM 18.4: new kernel, secondary display can't be 90 or 270 degrees rotated

Screen resolution, 3D Acceleration, nVidia, ATI
Forum rules
Before you post please read this
Post Reply
Aqualize
Level 1
Level 1
Posts: 11
Joined: Thu Mar 15, 2012 4:16 am

LM 18.4: new kernel, secondary display can't be 90 or 270 degrees rotated

Post by Aqualize » Fri Jan 12, 2018 6:34 am

Short story:
In light of the Meltdown security vulnerability I was glad to see that an updated linux kernel was released that should help to solve it. I updated and restarted. Now my secondary display that is in i portrait configuration (clockwise rotation) is back to no rotation and I can't change it, gets an error message. Anyone know what to do or point me in the right direction to fix this?

Background:
I run LM 18.3 Cinnamon 64-bit and keep the system updated. So even with Level 5 visible in Update Manager I have nothing to upgrade at the moment. I was running kernel 4.10.0-42 without any problems and then with Meltdown fixes 4.13 series appeared/is selectable in the Linux kernels choice window in update manager. I installed the latest, 4.13.0-26 and go the problem. I've since tested with 4.13.0-16 which is the oldest selectable in 4.13 series with the same bad result so it is nothing specific to the newest version/Meltdown fix. If I boot the 4.10.0-42 which is still installed there is no problem.

When I have a 4.13 kernel loaded and open Displays, select secondary display and choose "Clockwise" in rotation the following error dialog appears and the right display goes dark. Note that "180 degrees" work.
Screenshot from 2018-01-12 10-24-46.png
Searching for "CRTC 64" pointed me to running xrandr command so here comes that listing when 4.10.0-42 is loaded.
The display which troubles me is on DP2.

Code: Select all

Screen 0: minimum 8 x 8, current 3760 x 1920, maximum 32767 x 32767
DP1 connected primary 2560x1440+0+195 (normal left inverted right x axis y axis) 708mm x 398mm
   2560x1440     59.95*+
   1920x1200     59.95  
   1920x1080     60.00    60.00    50.00    50.00    59.94  
   1920x1080i    60.00    50.00    59.94  
   1680x1050     59.95  
   1280x1024     75.02    60.02  
   1440x900      74.98    59.89  
   1280x960      60.00  
   1280x720      60.00    50.00    59.94  
   1024x768      75.03    60.00  
   800x600       75.00    60.32  
   720x576       50.00  
   720x480       60.00    59.94  
   640x480       75.00    72.81    66.67    60.00    59.94  
   720x400       70.08  
DP2 connected 1200x1920+2560+0 right (normal left inverted right x axis y axis) 518mm x 324mm
   1920x1200     59.95*+
   1920x1080     60.00    50.00    59.94    30.00    25.00    24.00    29.97    23.98  
   1920x1080i    60.00    50.00    59.94  
   1600x1200     60.00  
   1280x1024     75.02    60.02  
   1152x864      75.00  
   1280x720      60.00    50.00    59.94  
   1024x768      75.03    60.00  
   800x600       75.00    60.32  
   720x576       50.00  
   720x480       60.00    59.94  
   640x480       75.00    60.00    59.94  
   720x400       70.08  
DP3 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)
HDMI3 disconnected (normal left inverted right x axis y axis)
VIRTUAL1 disconnected (normal left inverted right x axis y axis)
I haven't ventured into creating any /etc/X11/xorg.conf but my $HOME/.config/monitors.xml file looks like this (at 4.10.0-42):

Code: Select all

<monitors version="1">
  <configuration>
      <clone>no</clone>
      <output name="DP1">
          <vendor>PHL</vendor>
          <product>0x08e7</product>
          <serial>0x00001892</serial>
          <width>2560</width>
          <height>1440</height>
          <rate>60</rate>
          <x>0</x>
          <y>195</y>
          <rotation>normal</rotation>
          <reflect_x>no</reflect_x>
          <reflect_y>no</reflect_y>
          <primary>yes</primary>
      </output>
      <output name="DP2">
          <vendor>DEL</vendor>
          <product>0xa0b9</product>
          <serial>0x31414553</serial>
          <width>1920</width>
          <height>1200</height>
          <rate>60</rate>
          <x>2560</x>
          <y>0</y>
          <rotation>right</rotation>
          <reflect_x>no</reflect_x>
          <reflect_y>no</reflect_y>
          <primary>no</primary>
      </output>
      <output name="DP3">
      </output>
      <output name="HDMI1">
      </output>
      <output name="HDMI2">
      </output>
      <output name="HDMI3">
      </output>
      <output name="VIRTUAL1">
      </output>
  </configuration>
</monitors>

Hardware
Dell Optiplex 5050 SFF machine, 32 GiB RAM. Philips BDM3270 display (primary) and Dell U2415 display (secondary, having troubles). Both are connected via separate display port cables.

Code: Select all

$ inxi -Fxz
System:    Host: MyMachinesHostname Kernel: 4.10.0-42-generic x86_64 (64 bit gcc: 5.4.0)
           Desktop: Cinnamon 3.6.7 (Gtk 3.18.9-1ubuntu3.3) Distro: Linux Mint 18.3 Sylvia
Machine:   System: Dell product: OptiPlex 5050
           Mobo: Dell model: 0FDY5C v: A00 Bios: Dell v: 1.3.11 date: 05/06/2017
CPU:       Quad core Intel Core i7-7700 (-HT-MCP-) cache: 8192 KB
           flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 28800
           clock speeds: max: 4200 MHz 1: 900 MHz 2: 900 MHz 3: 900 MHz 4: 900 MHz 5: 900 MHz 6: 900 MHz
           7: 900 MHz 8: 900 MHz
Graphics:  Card: Intel Device 5912 bus-ID: 00:02.0
           Display Server: X.Org 1.18.4 drivers: intel (unloaded: fbdev,vesa)
           Resolution: 2560x1440@59.95hz, 1920x1200@59.95hz
           GLX Renderer: Mesa DRI Intel HD Graphics 630 (Kaby Lake GT2)
           GLX Version: 3.0 Mesa 17.2.4 Direct Rendering: Yes
Audio:     Card Intel Device a2f0 driver: snd_hda_intel bus-ID: 00:1f.3 Sound: ALSA v: k4.10.0-42-generic
Network:   Card: Intel Ethernet Connection (5) I219-V driver: e1000e v: 3.2.6-k bus-ID: 00:1f.6
           IF: enp0s31f6 state: up speed: 1000 Mbps duplex: full mac: <filter>
Drives:    HDD Total Size: 1000.2GB (13.0% used) ID-1: /dev/nvme0n1 model: N/A size: 256.1GB
           ID-2: /dev/nvme1n1 model: N/A size: 256.1GB ID-3: /dev/sda model: HGST_HTS721010A9 size: 1000.2GB
Partition: ID-1: / size: 203G used: 91G (48%) fs: ext4 dev: /dev/nvme0n1p2
           ID-2: swap-1 size: 34.24GB used: 0.00GB (0%) fs: swap dev: /dev/nvme0n1p3
RAID:      No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors:   System Temperatures: cpu: 29.8C mobo: 27.8C
           Fan Speeds (in rpm): cpu: N/A
Info:      Processes: 258 Uptime: 26 min Memory: 1706.4/32056.4MB Init: systemd runlevel: 5 Gcc sys: 5.4.0
           Client: Shell (bash 4.3.481) inxi: 2.2.35

Thanks in advance for any help!

Aqualize
Level 1
Level 1
Posts: 11
Joined: Thu Mar 15, 2012 4:16 am

Re: LM 18.4: new kernel, secondary display can't be 90 or 270 degrees rotated

Post by Aqualize » Fri Jan 12, 2018 6:54 am

With kernel 4.13.0-26 loaded xrandr and inxi gives the follow, together with diffs against the above (the 4.10 output is the secondary argument to diff):

Code: Select all

Screen 0: minimum 8 x 8, current 2560 x 1440, maximum 32767 x 32767
DP1 connected primary 2560x1440+0+0 (normal left inverted right x axis y axis) 708mm x 398mm
   2560x1440     59.95*+
   1920x1200     59.95  
   1920x1080     60.00    60.00    50.00    50.00    59.94  
   1920x1080i    60.00    50.00    59.94  
   1680x1050     59.95  
   1280x1024     75.02    60.02  
   1440x900      74.98    59.89  
   1280x960      60.00  
   1280x720      60.00    50.00    59.94  
   1024x768      75.03    60.00  
   800x600       75.00    60.32  
   720x576       50.00  
   720x480       60.00    59.94  
   640x480       75.00    72.81    66.67    60.00    59.94  
   720x400       70.08  
DP2 connected (normal left inverted right x axis y axis)
   1920x1200     59.95 +
   1920x1080     60.00    50.00    59.94    30.00    25.00    24.00    29.97    23.98  
   1920x1080i    60.00    50.00    59.94  
   1600x1200     60.00  
   1280x1024     75.02    60.02  
   1152x864      75.00  
   1280x720      60.00    50.00    59.94  
   1024x768      75.03    60.00  
   800x600       75.00    60.32  
   720x576       50.00  
   720x480       60.00    59.94  
   640x480       75.00    60.00    59.94  
   720x400       70.08  
DP3 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)
HDMI3 disconnected (normal left inverted right x axis y axis)
VIRTUAL1 disconnected (normal left inverted right x axis y axis)
As I get it the only difference is the expected - rotation and the offsets of the display area.

Code: Select all

1,2c1,2
< Screen 0: minimum 8 x 8, current 2560 x 1440, maximum 32767 x 32767
< DP1 connected primary 2560x1440+0+0 (normal left inverted right x axis y axis) 708mm x 398mm
---
> Screen 0: minimum 8 x 8, current 3760 x 1920, maximum 32767 x 32767
> DP1 connected primary 2560x1440+0+195 (normal left inverted right x axis y axis) 708mm x 398mm
18,19c18,19
< DP2 connected (normal left inverted right x axis y axis)
<    1920x1200     59.95 +
---
> DP2 connected 1200x1920+2560+0 right (normal left inverted right x axis y axis) 518mm x 324mm
>    1920x1200     59.95*+

Code: Select all

$ inxi -Fxz
System:    Host: MyMachinesHostname Kernel: 4.10.0-42-generic x86_64 (64 bit gcc: 5.4.0)
           Desktop: Cinnamon 3.6.7 (Gtk 3.18.9-1ubuntu3.3) Distro: Linux Mint 18.3 Sylvia
Machine:   System: Dell product: OptiPlex 5050
           Mobo: Dell model: 0FDY5C v: A00 Bios: Dell v: 1.3.11 date: 05/06/2017
CPU:       Quad core Intel Core i7-7700 (-HT-MCP-) cache: 8192 KB
           flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 28800
           clock speeds: max: 4200 MHz 1: 900 MHz 2: 900 MHz 3: 900 MHz 4: 900 MHz 5: 900 MHz 6: 900 MHz
           7: 900 MHz 8: 900 MHz
Graphics:  Card: Intel Device 5912 bus-ID: 00:02.0
           Display Server: X.Org 1.18.4 drivers: intel (unloaded: fbdev,vesa)
           Resolution: 2560x1440@59.95hz, 1920x1200@59.95hz
           GLX Renderer: Mesa DRI Intel HD Graphics 630 (Kaby Lake GT2)
           GLX Version: 3.0 Mesa 17.2.4 Direct Rendering: Yes
Audio:     Card Intel Device a2f0 driver: snd_hda_intel bus-ID: 00:1f.3 Sound: ALSA v: k4.10.0-42-generic
Network:   Card: Intel Ethernet Connection (5) I219-V driver: e1000e v: 3.2.6-k bus-ID: 00:1f.6
           IF: enp0s31f6 state: up speed: 1000 Mbps duplex: full mac: <filter>
Drives:    HDD Total Size: 1000.2GB (13.0% used) ID-1: /dev/nvme1n1 model: N/A size: 256.1GB
           ID-2: /dev/nvme0n1 model: N/A size: 256.1GB ID-3: /dev/sda model: HGST_HTS721010A9 size: 1000.2GB
Partition: ID-1: / size: 203G used: 91G (48%) fs: ext4 dev: /dev/nvme0n1p2
           ID-2: swap-1 size: 34.24GB used: 0.00GB (0%) fs: swap dev: /dev/nvme0n1p3
RAID:      No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors:   System Temperatures: cpu: 29.8C mobo: 27.8C
           Fan Speeds (in rpm): cpu: N/A
Info:      Processes: 239 Uptime: 7 min Memory: 1219.4/32056.4MB Init: systemd runlevel: 5 Gcc sys: 5.4.0
           Client: Shell (bash 4.3.481) inxi: 2.2.35

And diff, only strange difference is the MHz on 1-8 for RAM that differs.

Code: Select all

1c1
< System:    Host: MyMachinesHostname Kernel: 4.13.0-26-generic x86_64 (64 bit gcc: 5.4.0)
---
> System:    Host: MyMachinesHostname Kernel: 4.10.0-42-generic x86_64 (64 bit gcc: 5.4.0)
7,8c7,8
<            clock speeds: max: 4200 MHz 1: 3600 MHz 2: 3600 MHz 3: 3600 MHz 4: 3600 MHz 5: 3600 MHz 6: 3600 MHz
<            7: 3600 MHz 8: 3600 MHz
---
>            clock speeds: max: 4200 MHz 1: 900 MHz 2: 900 MHz 3: 900 MHz 4: 900 MHz 5: 900 MHz 6: 900 MHz
>            7: 900 MHz 8: 900 MHz
10c10,11
<            Display Server: X.Org 1.18.4 drivers: intel (unloaded: fbdev,vesa) Resolution: 2560x1440@59.95hz
---
>            Display Server: X.Org 1.18.4 drivers: intel (unloaded: fbdev,vesa)
>            Resolution: 2560x1440@59.95hz, 1920x1200@59.95hz
13c14
< Audio:     Card Intel Device a2f0 driver: snd_hda_intel bus-ID: 00:1f.3 Sound: ALSA v: k4.13.0-26-generic
---
> Audio:     Card Intel Device a2f0 driver: snd_hda_intel bus-ID: 00:1f.3 Sound: ALSA v: k4.10.0-42-generic
16,17c17,18
< Drives:    HDD Total Size: 1000.2GB (13.0% used) ID-1: /dev/nvme0n1 model: N/A size: 256.1GB
<            ID-2: /dev/nvme1n1 model: N/A size: 256.1GB ID-3: /dev/sda model: HGST_HTS721010A9 size: 1000.2GB
---
> Drives:    HDD Total Size: 1000.2GB (13.0% used) ID-1: /dev/nvme1n1 model: N/A size: 256.1GB
>            ID-2: /dev/nvme0n1 model: N/A size: 256.1GB ID-3: /dev/sda model: HGST_HTS721010A9 size: 1000.2GB
23c24
< Info:      Processes: 232 Uptime: 2 min Memory: 690.4/32051.8MB Init: systemd runlevel: 5 Gcc sys: 5.4.0
---
> Info:      Processes: 240 Uptime: 5 min Memory: 1213.1/32056.4MB Init: systemd runlevel: 5 Gcc sys: 5.4.0

Aqualize
Level 1
Level 1
Posts: 11
Joined: Thu Mar 15, 2012 4:16 am

Re: LM 18.4: new kernel, secondary display can't be 90 or 270 degrees rotated

Post by Aqualize » Fri Jan 12, 2018 7:22 am

I realized I had an old BIOS/EFI version. Just did an update with the latest from Dell (includes microcode update) but the same problem.

Post Reply

Return to “Graphics Cards & Monitors”