Display sleeps on Java-application-start with USB-C

Forum rules
Before you post please read this
Post Reply
Beekman
Level 1
Level 1
Posts: 13
Joined: Fri Sep 02, 2016 11:45 am
Location: The Netherlands

Display sleeps on Java-application-start with USB-C

Post by Beekman »

Hi all,

I'm running Mint on a Dell laptop, with two 27" Dell displays.
Because the laptop itself does not have the required (display) ports, I'm using a docker connected through USB-C.

Every time I start a Java application, there is a chance one of the displays turn off.
I connected one of the displays directly to the laptop (HDMI), so now the problem is only with my secondary display.
It's not difficult to solve, for example by switching to a console display (ctrl+alt+f1) and switching back to the X server console, but because this happens a lot of times every day, it gets very annoying.

Does anyone know how to solve this, or how to find out what's the problem?
User avatar
SMG
Level 15
Level 15
Posts: 5562
Joined: Sun Jul 26, 2020 6:15 pm
Location: USA

Re: Display sleeps on Java-application-start with USB-C

Post by SMG »

Beekman wrote:
Fri May 14, 2021 12:20 am
Every time I start a Java application, there is a chance one of the displays turn off.
Is there one particular program that causes this to happen or is it one of several?

I've not heard of this type of issue, so I'm not sure what might be happening. Did you have to install a DisplayLink driver for the monitors to work through the dock?

As a start, please give us information about your install by entering this command in a terminal: inxi -Fxxxrz
Click </> from the mini toolbar above the textbox where you type your reply and then place your cursor between the code markers and paste the results of the command between the code markers [code]Results[/code]. This will let us know how Mint sees your hardware.
A woman typing on a laptop with LM20.1 Cinnamon.
Beekman
Level 1
Level 1
Posts: 13
Joined: Fri Sep 02, 2016 11:45 am
Location: The Netherlands

Re: Display sleeps on Java-application-start with USB-C

Post by Beekman »

Thanks for your response.

It can happen with any program, our own desktop applications or for example IntelliJ.

Code: Select all

System:    Kernel: 5.4.0-73-generic x86_64 bits: 64 compiler: gcc v: 9.3.0 Desktop: Cinnamon 4.8.6 wm: muffin 4.8.1 
           dm: LightDM 1.30.0 Distro: Linux Mint 20.1 Ulyssa base: Ubuntu 20.04 focal 
Machine:   Type: Laptop System: Dell product: Latitude 5510 v: N/A serial: <filter> Chassis: type: 10 serial: <filter> 
           Mobo: Dell model: 08PHDH v: A00 serial: <filter> UEFI: Dell v: 1.0.0 date: 03/05/2020 
Battery:   ID-1: BAT0 charge: 62.2 Wh condition: 62.2/68.0 Wh (92%) volts: 16.9/15.2 model: SWD-ATL4.490 DELL JG75F04 
           type: Li-poly serial: <filter> status: Full 
CPU:       Topology: Quad Core model: Intel Core i5-10310U bits: 64 type: MT MCP arch: Kaby Lake rev: C L2 cache: 6144 KiB 
           flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 35199 
           Speed: 700 MHz min/max: 400/4400 MHz Core speeds (MHz): 1: 700 2: 700 3: 700 4: 700 5: 700 6: 700 7: 700 8: 700 
Graphics:  Device-1: Intel UHD Graphics vendor: Dell driver: i915 v: kernel bus ID: 00:02.0 chip ID: 8086:9b41 
           Display: x11 server: X.Org 1.20.9 driver: modesetting unloaded: fbdev,vesa 
           resolution: 2560x1440~60Hz, 2560x1440~60Hz 
           OpenGL: renderer: Mesa Intel UHD Graphics (CML GT2) v: 4.6 Mesa 20.2.6 direct render: Yes 
Audio:     Device-1: Intel vendor: Dell driver: snd_hda_intel v: kernel bus ID: 00:1f.3 chip ID: 8086:02c8 
           Device-2: Realtek type: USB driver: snd-usb-audio bus ID: 1-1.3.4:10 chip ID: 0bda:402e serial: <filter> 
           Sound Server: ALSA v: k5.4.0-73-generic 
Network:   Device-1: Intel Wireless-AC 9462 driver: iwlwifi v: kernel port: 3000 bus ID: 00:14.3 chip ID: 8086:02f0 
           IF: wlo1 state: down mac: <filter> 
           Device-2: Intel Ethernet I219-LM vendor: Dell driver: e1000e v: 3.2.6-k port: efa0 bus ID: 00:1f.6 
           chip ID: 8086:0d4e 
           IF: eno2 state: down mac: <filter> 
           Device-3: Realtek RTL8153 Gigabit Ethernet Adapter type: USB driver: r8152 bus ID: 2-1.4:4 chip ID: 0bda:8153 
           serial: <filter> 
           IF: enxc03ebaa0d24e state: up speed: 1000 Mbps duplex: full mac: <filter> 
Drives:    Local Storage: total: 476.94 GiB used: 128.59 GiB (27.0%) 
           ID-1: /dev/nvme0n1 model: PC SN520 NVMe WDC 512GB size: 476.94 GiB speed: 15.8 Gb/s lanes: 2 serial: <filter> 
           rev: 20220012 scheme: GPT 
Partition: ID-1: / size: 466.30 GiB used: 128.28 GiB (27.5%) fs: ext4 dev: /dev/dm-1 
           ID-2: /boot size: 704.5 MiB used: 301.0 MiB (42.7%) fs: ext4 dev: /dev/nvme0n1p2 
           ID-3: swap-1 size: 980.0 MiB used: 8.0 MiB (0.8%) fs: swap dev: /dev/dm-2 
Sensors:   System Temperatures: cpu: 25.0 C mobo: N/A 
           Fan Speeds (RPM): cpu: 0 
Repos:     No active apt repos in: /etc/apt/sources.list 
           Active apt repos in: /etc/apt/sources.list.d/additional-repositories.list 
           1: deb https://adoptopenjdk.jfrog.io/adoptopenjdk/deb/ focal main
           Active apt repos in: /etc/apt/sources.list.d/official-package-repositories.list 
           1: deb http://packages.linuxmint.com ulyssa main upstream import backport #id:linuxmint_main
           2: deb http://archive.ubuntu.com/ubuntu focal main restricted universe multiverse
           3: deb http://archive.ubuntu.com/ubuntu focal-updates main restricted universe multiverse
           4: deb http://archive.ubuntu.com/ubuntu focal-backports main restricted universe multiverse
           5: deb http://security.ubuntu.com/ubuntu/ focal-security main restricted universe multiverse
           6: deb http://archive.canonical.com/ubuntu/ focal partner
           Active apt repos in: /etc/apt/sources.list.d/teams.list 
           1: deb [arch=amd64] https://packages.microsoft.com/repos/ms-teams stable main
           Active apt repos in: /etc/apt/sources.list.d/teamviewer.list 
           1: deb https://linux.teamviewer.com/deb stable main
Info:      Processes: 401 Uptime: 3d 23h 39m Memory: 31.05 GiB used: 3.20 GiB (10.3%) Init: systemd v: 245 runlevel: 5 
           Compilers: gcc: 9.3.0 alt: 9 Shell: bash v: 5.0.17 running in: gnome-terminal inxi: 3.0.38 
User avatar
SMG
Level 15
Level 15
Posts: 5562
Joined: Sun Jul 26, 2020 6:15 pm
Location: USA

Re: Display sleeps on Java-application-start with USB-C

Post by SMG »

With that new of a processor, I recommend you switch to the 5.8 kernel which is available in Update Manager.

Open Update Manager. Select View > Linux Kernels and click Continue. Make sure 5.8 is selected on the left panel and then click the top-most option on the right panel. An "Install" button will appear. Install the kernel and then reboot for it to become active.

I would also recommend updating your computer's BIOS/UEFI. Dell Latitude 5410/5510 and Dell Precision 3550 System BIOS indicates the latest available is 1.5.1. It appears you are still running the original version. There have been a number of fixes and enhancements since then.

Machine:
Type: Laptop System: Dell product: Latitude 5510 v: N/A serial: <filter> Chassis: type: 10 serial: <filter>
Mobo: Dell model: 08PHDH v: A00 serial: <filter> UEFI: Dell v: 1.0.0 date: 03/05/2020
A woman typing on a laptop with LM20.1 Cinnamon.
Post Reply