External Monitor via Display Port Seg Fault

Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
t1mb0b

External Monitor via Display Port Seg Fault

Post by t1mb0b »

Hello,

I recently upgraded to Linux Mint 19, on a first gen Lenovo Carbon X1. When I connect an external monitor to the mini display port, the system becomes unresponsive and I see a couple of errors in the logs. Firstly, here are some outputs:

Code: Select all

timmy@Carbon ~ $ xrandr -q
Screen 0: minimum 320 x 200, current 1600 x 900, maximum 8192 x 8192
LVDS-1 connected primary 1600x900+0+0 (normal left inverted right x axis y axis) 309mm x 174mm
   1600x900      59.97*+  59.94    59.95    59.82  
   1440x900      59.89  
   1400x900      59.96    59.88  
   1440x810      60.00    59.97  
   1368x768      59.88    59.85  
   1360x768      59.80    59.96  
   1280x800      59.99    59.97    59.81    59.91  
   1152x864      60.00  
   1280x720      60.00    59.99    59.86    59.74  
   1024x768      60.04    60.00  
   960x720       60.00  
   928x696       60.05  
   896x672       60.01  
   1024x576      59.95    59.96    59.90    59.82  
   960x600       59.93    60.00  
   960x540       59.96    59.99    59.63    59.82  
   800x600       60.00    60.32    56.25  
   840x525       60.01    59.88  
   864x486       59.92    59.57  
   800x512       60.17  
   700x525       59.98  
   800x450       59.95    59.82  
   640x512       60.02  
   720x450       59.89  
   700x450       59.96    59.88  
   640x480       60.00    59.94  
   720x405       59.51    58.99  
   684x384       59.88    59.85  
   680x384       59.80    59.96  
   640x400       59.88    59.98  
   576x432       60.06  
   640x360       59.86    59.83    59.84    59.32  
   512x384       60.00  
   512x288       60.00    59.92  
   480x270       59.63    59.82  
   400x300       60.32    56.34  
   432x243       59.92    59.57  
   320x240       60.05  
   360x202       59.51    59.13  
   320x180       59.84    59.32  
VGA-1 disconnected (normal left inverted right x axis y axis)
HDMI-1 disconnected (normal left inverted right x axis y axis)
DP-1 disconnected (normal left inverted right x axis y axis)
and

Code: Select all

timmy@Carbon ~ $ inxi -Fxz
System:    Host: Carbon Kernel: 4.15.0-24-generic x86_64 bits: 64 gcc: 7.3.0
           Desktop: Cinnamon 3.8.7 (Gtk 3.22.30-1ubuntu1) Distro: Linux Mint 19 Tara
Machine:   Device: laptop System: LENOVO product: 34487PU v: ThinkPad X1 Carbon serial: N/A
           Mobo: LENOVO model: 34487PU v: 0B98401 Pro serial: N/A
           UEFI [Legacy]: LENOVO v: G6ET96WW (2.56 ) date: 04/29/2013
Battery    BAT0: charge: 36.5 Wh 100.1% condition: 36.5/46.0 Wh (79%) model: SMP 45N1071 status: Full
CPU:       Dual core Intel Core i5-3427U (-MT-MCP-) arch: Ivy Bridge rev.9 cache: 3072 KB
           flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 9178
           clock speeds: max: 2800 MHz 1: 2556 MHz 2: 2591 MHz 3: 2596 MHz 4: 2578 MHz
Graphics:  Card: Intel 3rd Gen Core processor Graphics Controller bus-ID: 00:02.0
           Display Server: x11 (X.Org 1.19.6 ) drivers: modesetting (unloaded: fbdev,vesa)
           Resolution: 1600x900@59.97hz
           OpenGL: renderer: Mesa DRI Intel Ivybridge Mobile version: 4.2 Mesa 18.0.5 Direct Render: Yes
Audio:     Card Intel 7 Series/C216 Family High Definition Audio Controller
           driver: snd_hda_intel bus-ID: 00:1b.0
           Sound: Advanced Linux Sound Architecture v: k4.15.0-24-generic
Network:   Card: Intel Centrino Advanced-N 6205 [Taylor Peak] driver: iwlwifi bus-ID: 03:00.0
           IF: wlan0 state: up mac: <filter>
Drives:    HDD Total Size: 240.1GB (56.9% used)
           ID-1: /dev/sda model: INTEL_SSDSCMMW24 size: 240.1GB
Partition: ID-1: / size: 217G used: 124G (61%) fs: ext4 dev: /dev/sda1
           ID-2: swap-1 size: 3.96GB used: 1.24GB (31%) fs: swap dev: /dev/sda5
RAID:      No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors:   System Temperatures: cpu: 79.0C mobo: N/A
           Fan Speeds (in rpm): cpu: 3865
Info:      Processes: 268 Uptime: 2:31 Memory: 2784.2/3628.1MB Init: systemd runlevel: 5 Gcc sys: 7.3.0
           Client: Shell (bash 4.4.191) inxi: 2.3.56 
           
When I connect the display port cable and rerun 'xrandr -q':

Code: Select all

timmy@Carbon ~ $ xrandr -q
Screen 0: minimum 320 x 200, current 3520 x 1080, maximum 8192 x 8192
LVDS-1 connected primary 1600x900+0+0 (normal left inverted right x axis y axis) 309mm x 174mm
   1600x900      59.97*+  59.94    59.95    59.82  
   1440x900      59.89  
   1400x900      59.96    59.88  
   1440x810      60.00    59.97  
   1368x768      59.88    59.85  
   1360x768      59.80    59.96  
   1280x800      59.99    59.97    59.81    59.91  
   1152x864      60.00  
   1280x720      60.00    59.99    59.86    59.74  
   1024x768      60.04    60.00  
   960x720       60.00  
   928x696       60.05  
   896x672       60.01  
   1024x576      59.95    59.96    59.90    59.82  
   960x600       59.93    60.00  
   960x540       59.96    59.99    59.63    59.82  
   800x600       60.00    60.32    56.25  
   840x525       60.01    59.88  
   864x486       59.92    59.57  
   800x512       60.17  
   700x525       59.98  
   800x450       59.95    59.82  
   640x512       60.02  
   720x450       59.89  
   700x450       59.96    59.88  
   640x480       60.00    59.94  
   720x405       59.51    58.99  
   684x384       59.88    59.85  
   680x384       59.80    59.96  
   640x400       59.88    59.98  
   576x432       60.06  
   640x360       59.86    59.83    59.84    59.32  
   512x384       60.00  
   512x288       60.00    59.92  
   480x270       59.63    59.82  
   400x300       60.32    56.34  
   432x243       59.92    59.57  
   320x240       60.05  
   360x202       59.51    59.13  
   320x180       59.84    59.32  
VGA-1 disconnected (normal left inverted right x axis y axis)
HDMI-1 disconnected (normal left inverted right x axis y axis)
DP-1 connected 1920x1080+1600+0 (normal left inverted right x axis y axis) 509mm x 286mm
Segmentation fault
Note the 'segmentation fault' at the bottom. When I open up the display settings, I can see the second monitor, though when I select it, the app crashes. These errors appear in 'dmesg':


xrandr[7182]: segfault at 38 ip 0000564a273991f4 sp 00007ffdb1d41270 error 4 in xrandr[564a27396000+e000]
cinnamon-settin[4888]: segfault at 0 ip 00007fbb9e899e8e sp 00007ffed5163378 error 4 in libc-2.27.so[7fbb9e7f0000+1e7000]


Not sure what else to check. This used to work just fine in Mint 18.3, so not sure if it's just a bug with the new version of cinnamon. Any help is appreciated!

Cheers,

Tim
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
User avatar
roblm
Level 15
Level 15
Posts: 5939
Joined: Sun Feb 24, 2013 2:41 pm

Re: External Monitor via Display Port Seg Fault

Post by roblm »

Try using this command, instead of Display, to enable the monitor:

Code: Select all

xrandr --output LVDS-1 --mode 1600x900 --primary --rate 60 --pos 0x0 --output DP-1 --mode 1920x1080 --rate 60 --pos 1600x0
t1mb0b

Re: External Monitor via Display Port Seg Fault

Post by t1mb0b »

Thanks for the tip! That did not seem to make any difference unfortunately :(

My laptop essentially freezes when I connect the display port cable to it.
User avatar
roblm
Level 15
Level 15
Posts: 5939
Joined: Sun Feb 24, 2013 2:41 pm

Re: External Monitor via Display Port Seg Fault

Post by roblm »

Other users in this forum have reported problems with the 4.15.0-24 kernel. Use a previous kernel to see if the problem is resolved.
t1mb0b

Re: External Monitor via Display Port Seg Fault

Post by t1mb0b »

I booted into a previous kernel and hat has resolved the issue!

Thanks!
Locked

Return to “Graphics Cards & Monitors”