LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 06-02-2023, 09:45 AM   #1
updat
LQ Newbie
 
Registered: Nov 2021
Distribution: Raspberry Pi OS
Posts: 22

Rep: Reputation: Disabled
Linux console remains blank after HDMI cable unplugged and replugged in


Here's the scenario:

1. I boot up my computer which has kernel 5.15, while connected to HDMI, to the Linux virtual console (not X). All the text appears normal.
2. I unplug the HDMI because I need to use the monitor for something else, then I plug it back in.
3. I observe that the Linux console is blank/black and no amount of typing changes that. I also try changing virtual consoles (ctrl-alt-Fn) and this does not fix the issue.

Is this a known issue? Is there a fix for it?
Thanks.
 
Old 06-03-2023, 05:57 AM   #2
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 11,146

Rep: Reputation: 2646Reputation: 2646Reputation: 2646Reputation: 2646Reputation: 2646Reputation: 2646Reputation: 2646Reputation: 2646Reputation: 2646Reputation: 2646Reputation: 2646
Which Linux are you using and how old is your hardware and what hardware do you have? I have no problem doing what you tried with Slackware 15 and Ubuntu 20.04.
 
Old 06-04-2023, 04:02 PM   #3
kingbeowulf
Senior Member
 
Registered: Oct 2003
Location: WA
Distribution: Slackware
Posts: 1,282
Blog Entries: 11

Rep: Reputation: 763Reputation: 763Reputation: 763Reputation: 763Reputation: 763Reputation: 763Reputation: 763
yes, which GPU model? I have a similar issue (Slackware64 15) and a Radeon RX 6650 XT with amdgpu F/OSS driver when hotplugging DP and HDMI - or just monitor power cycle. A RX590 and RX 5700 XT work fine, as do any of the Nvidia GPUs (proprietary binary blob).

There are some reports of hotplug / GPU DPM power management for the NAVI2 and newer GPUs.
 
Old 06-04-2023, 10:44 PM   #4
mrmazda
LQ Guru
 
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, OS/2, others
Posts: 6,293
Blog Entries: 1

Rep: Reputation: 2190Reputation: 2190Reputation: 2190Reputation: 2190Reputation: 2190Reputation: 2190Reputation: 2190Reputation: 2190Reputation: 2190Reputation: 2190Reputation: 2190
Which distro and WM or DE are in use? inxi -Faz input/output pasted here using code tags would answer these and previous questions.
 
Old 06-05-2023, 12:23 AM   #5
updat
LQ Newbie
 
Registered: Nov 2021
Distribution: Raspberry Pi OS
Posts: 22

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by yancek View Post
Which Linux are you using and how old is your hardware and what hardware do you have? I have no problem doing what you tried with Slackware 15 and Ubuntu 20.04.
I'm using a RISC-V board. It happens with two distros -- Armbian and another unnamed distro that is maybe based on Ubuntu. The GPU isn't supported yet, so there is no GPU driver. This is a framebuffer device problem as far as I can tell.

Last edited by updat; 06-05-2023 at 08:03 AM.
 
Old 06-05-2023, 09:25 AM   #6
updat
LQ Newbie
 
Registered: Nov 2021
Distribution: Raspberry Pi OS
Posts: 22

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by mrmazda View Post
Which distro and WM or DE are in use? inxi -Faz input/output pasted here using code tags would answer these and previous questions.
I wasn't aware of inxi, that's good to know about.

Code:
System:
  Kernel: 5.15.107-15659-g7943fd6427b0-dirty arch: riscv64 bits: 64 compiler: N/A
    parameters: root=UUID=2c4dfb94-467f-4e57-b303-1ef00950faaa console=ttyS0,115200n8 console=tty0
    earlycon=sbi rootflags=data=writeback stmmaceth=chain_mode:1 rw rw no_console_suspend
    consoleblank=0 fsck.fix=yes fsck.repair=yes net.ifnames=0 splash
    plymouth.ignore-serial-consoles
  Console: tty 1 Distro: Ubuntu 23.04 (Lunar Lobster)
Machine:
  Type: RISCV System: Pine64 Star64 details: N/A serial: <filter>
CPU:
  Info: model: N/A variant: u74-mc bits: 64 type: MCP arch: riscv64 family: N/A model-id: N/A
  Topology: cpus: 1x cores: 4 smt: <unsupported> cache: L1: 256 KiB desc: d-4x32 KiB; i-4x32 KiB
    L2: 2 MiB desc: 1x2 MiB
  Speed (MHz): avg: 375 min/max: 375/1500 scaling: driver: cpufreq-dt governor: ondemand cores:
    1: 375 2: 375 3: 375 4: 375 bogomips: N/A
  Features: N/A
  Vulnerabilities: No CPU vulnerability/bugs data available.
Graphics:
  Device-1: img-gpu driver: N/A bus-ID: N/A chip-ID: img-gpu:18000000 class-ID: gpu
  Device-2: jh7110-hdmi driver: innohdmi_starfive v: N/A bus-ID: N/A chip-ID: starfive:29590000
    class-ID: hdmi
  Device-3: jh7110-display driver: starfive v: N/A bus-ID: N/A chip-ID: starfive:soc
    class-ID: display-subsystem
  Display: server: X.org v: 1.21.1.7 with: Xwayland v: 22.1.8 driver: X: loaded: modesetting
    unloaded: fbdev dri: kms_swrast gpu: innohdmi_starfive,starfive tty: 240x67
  Monitor-1: HDMI-A-1 model: ASUS VA24E serial: <filter> built: 2020 res: 1920x1080 dpi: 93
    gamma: 1.2 size: 527x296mm (20.75x11.65") diag: 604mm (23.8") ratio: 16:9 modes: max: 1920x1080
    min: 640x480
  API: OpenGL Message: GL data unavailable in console and glxinfo missing.
Audio:
  Device-1: jh7110-pwmdac driver: starfive_pwmdac bus-ID: N/A chip-ID: starfive:100b0000
    class-ID: pwmdac
  Device-2: jh7110-hdmi driver: innohdmi_starfive bus-ID: N/A chip-ID: starfive:29590000
    class-ID: hdmi
  Device-3: simple-audio-card driver: N/A bus-ID: N/A chip-ID: simple-audio-card:soc
    class-ID: snd-card0
  Device-4: simple-audio-card driver: asoc_simple_card bus-ID: N/A
    chip-ID: simple-audio-card:soc class-ID: snd-card1
  Device-5: simple-audio-card driver: N/A bus-ID: N/A chip-ID: simple-audio-card:soc
    class-ID: snd-card2
  Device-6: simple-audio-card driver: asoc_simple_card bus-ID: N/A
    chip-ID: simple-audio-card:soc class-ID: snd-card3
  Device-7: simple-audio-card driver: N/A bus-ID: N/A chip-ID: simple-audio-card:soc
    class-ID: snd-card4
  Device-8: simple-audio-card driver: N/A bus-ID: N/A chip-ID: simple-audio-card:soc
    class-ID: snd-card5
  Device-9: simple-audio-card driver: N/A bus-ID: N/A chip-ID: simple-audio-card:soc
    class-ID: snd-card6
  Sound API: ALSA v: k5.15.107-15659-g7943fd6427b0-dirty running: yes
Network:
  Device-1: dwmac driver: starfive_eth_plat v: N/A port: N/A bus-ID: N/A
    chip-ID: starfive:16030000 class-ID: ethernet
  IF: eth0 state: down mac: <filter>
  Device-2: dwmac driver: starfive_eth_plat v: N/A port: N/A bus-ID: N/A
    chip-ID: starfive:16040000 class-ID: ethernet
  IF: eth1 state: up speed: 100 Mbps duplex: full mac: <filter>
  Device-3: rfkill-gpio driver: N/A port: N/A bus-ID: N/A chip-ID: rfkill-gpio:rfkill_wifi
    class-ID: rfkill_wifi
  IF-ID-1: wlan0 state: down mac: <filter>
Bluetooth:
  Device-1: Realtek 802.11ax WLAN Adapter type: USB driver: rtl8852bu bus-ID: 1-1.2:4
    chip-ID: 0bda:b852 class-ID: e001
  Report: This feature requires one of these tools: hciconfig/bt-adapter
Drives:
  Local Storage: total: 119.25 GiB used: 9.72 GiB (8.1%)
  ID-1: /dev/mmcblk1 maj-min: 179:0 vendor: Samsung model: BD4QT size: 119.25 GiB block-size:
    physical: 512 B logical: 512 B type: SSD serial: <filter> scheme: GPT
  SMART Message: Unknown smartctl error. Unable to generate data.
Partition:
  ID-1: / raw-size: 118.04 GiB size: 116.25 GiB (98.48%) used: 9.72 GiB (8.4%) fs: ext4
    block-size: 4096 B dev: /dev/mmcblk1p1 maj-min: 179:1
Swap:
  Alert: No swap data was found.
Sensors:
  Src: /sys System Temperatures: cpu: 49.5 C mobo: N/A
  Fan Speeds (RPM): N/A
Info:
  Processes: 124 Uptime: 2m Memory: 7.54 GiB used: 248.6 MiB (3.2%) Init: systemd v: 252
  target: graphical (5) default: graphical tool: systemctl Compilers: gcc: 12.2.0 alt: 12
  clang: 15.0.7 Packages: pm: dpkg pkgs: 1303 libs: 814 tools: apt,apt-get,aptitude
  Shell: Bash (login) v: 5.2.15 running-in: tty 1 inxi: 3.3.25
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[ProLiant MicroServer, ATI R6xx HDMI, Digital Out, HDMI] No HDMI sound at all vnatius Linux - Hardware 15 08-16-2012 02:09 PM
EZ100PU smartcard reader doesn't work until replugged in southp Linux - Hardware 0 11-30-2010 12:18 AM
HDMI cable to TV must be unplugged and re-plugged moorecf Linux - Hardware 1 02-13-2010 08:15 PM
"Network Cable Unplugged" error message in XP after booting Knoppix NanakiXIII Linux - General 31 05-23-2008 07:21 PM
USB mouse hangs about once a day, needs to be replugged blimbo Linux - Hardware 3 08-14-2004 09:32 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 04:47 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration