Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

[SOLVED] No HDMI video after user login in Debian 9 LXDE

Need help with peripherals or devices?
Post Reply
Message
Author
pmlpm
Posts: 6
Joined: 2019-01-07 18:54

[SOLVED] No HDMI video after user login in Debian 9 LXDE

#1 Post by pmlpm »

Dear all,

I've been trying to use my desktop computer to a new monitor using a DVI (desktop) to HDMI (monitor) cable. Unfortunately, I get no HDMI video output after I enter my user's credentials and the system starts loading the graphical interface, meaning I can get video output until then. (I'm not interested in getting audio output at this point.) Afterwards, I get a blank/black screen, which I can only get out of using CTRL-ALT-F2. Also, everything works fine using VGA.

I am using Debian 9, LXDE.

uname -a

Linux 4.9.0-8-amd64 #1 SMP Debian 4.9.130-2 (2018-10-27) x86_64 GNU/Linux

lspci

01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] RV730 PRO [Radeon HD 4650]
01:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] RV710/730 HDMI Audio [Radeon HD 4000 series]

I am using the proprietary drivers though I previously tried the open source ones as well.

Once in TTY2 mode, I don't know what to do to fix the problem. I tried generating a xorg.conf file but that didn't change anything. I also tried to find out more information using xrandr but I get the 'can't open display' error.

Any ideas on what might be happening with my system?
Last edited by pmlpm on 2019-01-11 08:10, edited 1 time in total.

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 132 times

Re: No HDMI video output after user login in Debian 9, LXDE

#2 Post by Head_on_a_Stick »

pmlpm wrote:using xrandr but I get the 'can't open display' error
Try

Code: Select all

DISPLAY=:0 xrandr
deadbang

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 71 times

Re: No HDMI video output after user login in Debian 9, LXDE

#3 Post by stevepusser »

What AMD proprietary drivers are you talking about?
I have heard that the amdgpu-pro ones for Ubuntu offer nothing over the standard amdgpu ones in the repo.

Also, show us the output of

Code: Select all

apt policy firmware-amd-graphics
If that's newer AMD hardware, you may also need a backported kernel and driver stack.
MX Linux packager and developer

pmlpm
Posts: 6
Joined: 2019-01-07 18:54

Re: No HDMI video output after user login in Debian 9, LXDE

#4 Post by pmlpm »

Thank you for the replies.

stevepusser:

The output is:

firmware-amd-graphics:
Installed: 20161130-4
Candidate: 20161130-4
Version table:
20180825+dfsg-1~bpo9+1 100
100 http://ftp.debian.org/debian stretch-backports/non-free amd64 Packages
*** 20161130-4 500
500 http://ftp.pt.debian.org/debian stretch/non-free amd64 Packages
100 /var/lib/dpkg/status

Head_on_a_stick:

I will try that later and report back my results.

pmlpm
Posts: 6
Joined: 2019-01-07 18:54

Re: No HDMI video output after user login in Debian 9, LXDE

#5 Post by pmlpm »

The output I got from entering DISPLAY=:0 was the following:

Invalid MIT-MAGIC-COOKIE-1 keyCan't open display :0

Any ideas on what this means or how I can get around this issue?

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 132 times

Re: No HDMI video output after user login in Debian 9, LXDE

#6 Post by Head_on_a_Stick »

pmlpm wrote:Any ideas on what this means or how I can get around this issue?
Enter the error message into a search engine and try the suggestions from the stackexchange thread.
deadbang

pmlpm
Posts: 6
Joined: 2019-01-07 18:54

Re: No HDMI video output after user login in Debian 9, LXDE

#7 Post by pmlpm »

Are you referring to any specific thread?

pmlpm
Posts: 6
Joined: 2019-01-07 18:54

Re: No HDMI video output after user login in Debian 9, LXDE

#8 Post by pmlpm »

I found out that this issue is apparently exclusive to LXDE since I was able to get video output using MATE and Openbox.

I had the idea to test this after reading the following thread: https://bbs.archlinux.org/viewtopic.php?id=199656

pmlpm
Posts: 6
Joined: 2019-01-07 18:54

Re: No HDMI video output after user login in Debian 9, LXDE

#9 Post by pmlpm »

I was able to solve the problem by deleting the LXDE-related configuration folders within the /home/"username"/.config/ folder, as suggested in: https://bbs.archlinux.org/viewtopic.php?id=199656

To be more specific, I deleted the lxpanel/, pcmanfm/, and autostart/ folders but I was only able to log in after deleting the last two.

I found out this could solve the problem since I was able to log in as root but not with my regular username.

Obviously, getting video to work after switching video cables should not be so complicated and this is probably something LXDE developers should look into.

Thank you for your help.

Post Reply