You are not logged in.

#1 2013-11-03 18:09:44

jondaeh
Member
Registered: 2013-08-20
Posts: 5

[Solved] Fresh install, Xorg fails to start, can´t find monitor?

Hi all,

I installed Arch on my desktop computer with AMD A10 Trinity APU, which has three video-outputs, VGA, DVI and HDMI. My lspci looks like

 
00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 10h-1fh) Processor Root Complex
00:01.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Trinity [Radeon HD 7660D]
00:01.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Trinity HDMI Audio Controller
00:10.0 USB controller: Advanced Micro Devices, Inc. [AMD] FCH USB XHCI Controller (rev 03)
00:10.1 USB controller: Advanced Micro Devices, Inc. [AMD] FCH USB XHCI Controller (rev 03)
00:11.0 SATA controller: Advanced Micro Devices, Inc. [AMD] FCH SATA Controller [AHCI mode] (rev 40)
00:12.0 USB controller: Advanced Micro Devices, Inc. [AMD] FCH USB OHCI Controller (rev 11)
00:12.2 USB controller: Advanced Micro Devices, Inc. [AMD] FCH USB EHCI Controller (rev 11)
00:13.0 USB controller: Advanced Micro Devices, Inc. [AMD] FCH USB OHCI Controller (rev 11)
00:13.2 USB controller: Advanced Micro Devices, Inc. [AMD] FCH USB EHCI Controller (rev 11)
00:14.0 SMBus: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller (rev 14)
00:14.1 IDE interface: Advanced Micro Devices, Inc. [AMD] FCH IDE Controller
00:14.3 ISA bridge: Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge (rev 11)
00:14.4 PCI bridge: Advanced Micro Devices, Inc. [AMD] FCH PCI Bridge (rev 40)
00:14.5 USB controller: Advanced Micro Devices, Inc. [AMD] FCH USB OHCI Controller (rev 11)
00:15.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] Hudson PCI to PCI bridge (PCIE port 0)
00:15.2 PCI bridge: Advanced Micro Devices, Inc. [AMD] Hudson PCI to PCI bridge (PCIE port 2)
00:15.3 PCI bridge: Advanced Micro Devices, Inc. [AMD] Hudson PCI to PCI bridge (PCIE port 3)
00:18.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 10h-1fh) Processor Function 0
00:18.1 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 10h-1fh) Processor Function 1
00:18.2 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 10h-1fh) Processor Function 2
00:18.3 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 10h-1fh) Processor Function 3
00:18.4 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 10h-1fh) Processor Function 4
00:18.5 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 10h-1fh) Processor Function 5
01:05.0 Network controller: Qualcomm Atheros AR5416 Wireless Network Adapter [AR5008 802.11(a)bgn] (rev 01)
01:06.0 Multimedia audio controller: C-Media Electronics Inc CMI8788 [Oxygen HD Audio]
03:00.0 USB controller: ASMedia Technology Inc. ASM1042 SuperSpeed USB Host Controller
04:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168 PCI Express Gigabit Ethernet controller (rev 06)

I then installed xf86-video-ati, xorg-server, xorg-server-utils and xorg-xinit as described in this guide along with lxde. I added a line in .xinitrc to start lxde

 
#!/bin/sh
#
# ~/.xinitrc
#
# Executed by startx (run your window manager from here)

if [ -d /etc/X11/xinit/xinitrc.d ]; then
  for f in /etc/X11/xinit/xinitrc.d/*; do
    [ -x "$f" ] && . "$f"
  done
  unset f
fi

# exec gnome-session
# exec startkde
# exec startxfce4
# ...or the Window Manager of your choice
exec lxde

However when executing #startx, Xorg seems to start, then just terminating instantly. From my xorg log file I suspect that Xorg doesn´t find a monitor, as line 478, 479 and 500 states that all three outputs are disconnected, however my screen is plugged into the DVI-port.

I have also tried to exchange the video driver with the xf86-video-vesa, this makes xorg wait a few more seconds before exiting, however still no sign of any GUI.

Any ideas appreciated:)


Best regards
Jon, Norway

Last edited by jondaeh (2013-11-04 07:26:06)

Offline

#2 2013-11-03 18:15:07

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,546
Website

Re: [Solved] Fresh install, Xorg fails to start, can´t find monitor?

The video is detected just fine and the driver gives no errors.  It does check all connections and - as you note - indicated some are not connected, but then it does connect on DVI-0.

The end shows that it exited normally.  Something is wrong with your xinitrc and/or lxde is not starting.  The latter should give an error, so I suspect the former is the issue.

When you say you executed "#startx" does that mean you did it as root?  If so that is both a bad idea in general, and a reason why this specific case fails.  Your xinitrc is not read, instead X looks for /root/.xinitrc and if it doesn't find it uses the systemwide xinitrc.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#3 2013-11-03 18:17:15

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: [Solved] Fresh install, Xorg fails to start, can´t find monitor?

I think that your problem is 'exec lxde'. I believe (and I don't use this software) is that you need 'exec startlxde'.

Offline

#4 2013-11-04 07:21:48

jondaeh
Member
Registered: 2013-08-20
Posts: 5

Re: [Solved] Fresh install, Xorg fails to start, can´t find monitor?

Well this is awkward.. Trilby and Skottish you are quite right, a misspelling in .xinitrc. It works now, thanks:)

Last edited by jondaeh (2013-11-04 07:27:18)

Offline

Board footer

Powered by FluxBB