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 11-21-2018, 02:29 PM   #1
RickDeckard
Member
 
Registered: Jan 2014
Location: Canton, Georgia, USA
Distribution: Debian 12
Posts: 205

Rep: Reputation: Disabled
How to fix blinking/deactivating display output with KMS/Linux 4.17 on Sharp HDMI 1080p TV?


Hi, I'm running a server with a 35" Sharp HDMI TV and an ASUS K53E laptop. The TV seems to want to keep itself at either 1080p or 800x600@75 Hz. The problem with this is, after I mount my root partition via cryptsetup the TV screen blinks like crazy for a few seconds (switching from initramfs video mode to 1080p) and goes black unless I use "nomodeset i915.modeset=0" on the GRUB command line.

I looked at help pages describing my problem and tried inserting the i915 and intel_agp modules into the initramfs for early KMS. That just made it worse and I couldn't even see to unlock the root partition after that. I've tried fiddling with my TV's display settings, I've tried xrandr, reinstalling/downgrading the kernel, forcing the usage of HDMI-1 via the GRUB command line, and even using LiveUSB to really make this a distro-/kernel- independent problem.

My old HDMI TV worked just fine this way with a connection to the laptop. I have no idea what this problem might be other than, and I'm most likely wrong, KMS interacting badly with the TV's picture settings. Am I screwed for using this until I get the internal laptop display cable repaired?
 
Old 11-21-2018, 10:00 PM   #2
mrmazda
LQ Guru
 
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, others
Posts: 5,799
Blog Entries: 1

Rep: Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066
If you are using Plymouth, try removing it altogether, or simply disabling it via plymouth.enable=0 on kernel cmdline.

If the TV is new enough for free return, consider returning it.

Either nomodeset or i915.modeset=0 alone guarantees unhappiness with Intel HD Graphics, unless you are content to use your laptop without X. Using both is a redundant disabling of the KMS both competent X drivers require.

What may be needed is explicitly configuring the TV's specific native mode in detail on the kernel cmdline. Maybe the HDMI-1 you tried wasn't the one needed. Without KMS disabled, did you try
Code:
video=HDMI-1:D
?
Code:
video=HDMI-1:e
?
Code:
video=HDMI-1:1080x1080@60
? Any other?
 
1 members found this post helpful.
Old 11-23-2018, 01:14 PM   #3
RickDeckard
Member
 
Registered: Jan 2014
Location: Canton, Georgia, USA
Distribution: Debian 12
Posts: 205

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by mrmazda View Post
What may be needed is explicitly configuring the TV's specific native mode in detail on the kernel cmdline. Maybe the HDMI-1 you tried wasn't the one needed. Without KMS disabled, did you try
Code:
video=HDMI-1:D
?
Code:
video=HDMI-1:e
?
Code:
video=HDMI-1:1080x1080@60
? Any other?
I tried : D, :e does nothing and 1080x1080@60 only results in more blinking with colors all wonky and mismatched.
 
Old 11-23-2018, 01:39 PM   #4
mrmazda
LQ Guru
 
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, others
Posts: 5,799
Blog Entries: 1

Rep: Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066
Quote:
Originally Posted by RickDeckard View Post
I tried : D, :e does nothing and 1080x1080@60 only results in more blinking with colors all wonky and mismatched.
Oops. that was supposed to be 1920x1080@60. If that doesn't work, try 1920x1080@60i or 1920x1080R@60. One other thing is that some TVs have HDMI ports that are labeled HDMI/DVI. If yours has one you aren't connected to, switch to it.

The new TV might be more sensitive to the cable, so try another.

If nothing works and no other attempts to help show up here, try the xorg-devel mailing list: https://lists.x.org/mailman/listinfo/xorg-devel or xorg help https://lists.x.org/mailman/listinfo/xorg
 
1 members found this post helpful.
Old 12-14-2018, 03:42 PM   #5
RickDeckard
Member
 
Registered: Jan 2014
Location: Canton, Georgia, USA
Distribution: Debian 12
Posts: 205

Original Poster
Rep: Reputation: Disabled
I did it!! I still don't know what the problem really was, but I came back to it today after a while to think on it.

Found a setting in my TV setup menu that switches audio from analog to digital/HDMI and back again, played around with it to make sure the laptop and TV weren't getting confused trying to use the video port for sound. Didn't seem to have any effect. Then I booted into the screen-flickery version of my system, and typing blind I did "ls /sys/class/drm/*" as root. Having a smartphone handy helped me record what was going by before it disappeared and there was no HDMI-1.

But there *is* a /sys/class/drm/card0-HDMI-A-1.

So I went back to the GRUB command line after a reboot, pressed e to make it "video=HDMI-A-1:e video=LVDS-1:d" and it actually displays now. No bad colors, no automatic TV blinkies/disappearance after cryptsetup and I can get into the graphical desktop.

All I need to do now is mess with the display resolution because the TTYs are both cutting off words that move past the edge of the screen and doing what looks like refusing to scroll up automatically after hitting bottom.

I feel like such an idiot because it was so easy and all I missed on the command line was an A! It's been haunting me for months and I guess that was the solution?!? Lol

Last edited by RickDeckard; 12-14-2018 at 03:43 PM.
 
  


Reply

Tags
display, hdmi, kms, laptop, modeset


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
[SOLVED] 14.2 Radeon 7450 - KMS incorrect 1080p LCD TV EYo Slackware 14 06-09-2016 12:00 PM
Slackware64-current in VirtualBox: if EFI always KMS, else no KMS. Why? Didier Spaier Slackware 6 07-04-2013 02:21 PM
[ProLiant MicroServer, ATI R6xx HDMI, Digital Out, HDMI] No HDMI sound at all vnatius Linux - Hardware 15 08-16-2012 01:09 PM
Linux KMS Intel 865G: Hacking KMS to use vesa... or disable hardware acceleration eantoranz Linux - Hardware 1 08-01-2009 12:58 PM

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

All times are GMT -5. The time now is 07:43 AM.

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