You are not logged in.

#1 2014-12-07 03:04:13

l0vot
Member
Registered: 2011-08-26
Posts: 117

[SOLVED] startx: no screens found

I am running Arch with the open source radeon drivers on an A10 machine. I try startx. it fails. Here is the log, it has some issues, namely that it seems to be trying to load the nouveau driver instead of the radeon one, even though radeon is in my mkinitcpio.conf' modules section, and nouveau isn't. I have no xorg.conf, and according to the wiki, shouldn't need one.

 
[    72.235] 
X.Org X Server 1.16.2
Release Date: 2014-11-10
[    72.235] X Protocol Version 11, Revision 0
[    72.235] Build Operating System: Linux 3.17.2-1-ARCH x86_64 
[    72.235] Current Operating System: Linux Lap-Arch 3.17.4-2-ARCH #1 SMP PREEMPT Sat Dec 6 15:05:40 CET 2014 x86_64
[    72.235] Kernel command line: BOOT_IMAGE=/vmlinuz-linux root=UUID=a7b7c2fb-06dd-4c2a-abce-9828e3341eda rw init=/usr/lib/systemd/systemd video.use_native_backlight=1
[    72.236] Build Date: 10 November 2014  07:52:13PM
[    72.236]  
[    72.236] Current version of pixman: 0.32.6
[    72.236] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[    72.236] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[    72.236] (==) Log file: "/var/log/Xorg.0.log", Time: Sat Dec  6 20:21:12 2014
[    72.321] (==) Using config directory: "/etc/X11/xorg.conf.d"
[    72.322] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[    72.383] (==) No Layout section.  Using the first Screen section.
[    72.383] (==) No screen section available. Using defaults.
[    72.383] (**) |-->Screen "Default Screen Section" (0)
[    72.383] (**) |   |-->Monitor "<default monitor>"
[    72.394] (==) No device specified for screen "Default Screen Section".
	Using the first device section listed.
[    72.394] (**) |   |-->Device "nvidia card"
[    72.394] (==) No monitor specified for screen "Default Screen Section".
	Using a default monitor configuration.
[    72.394] (==) Automatically adding devices
[    72.394] (==) Automatically enabling devices
[    72.394] (==) Automatically adding GPU devices
[    72.478] (==) FontPath set to:
	/usr/share/fonts/misc/,
	/usr/share/fonts/TTF/,
	/usr/share/fonts/OTF/,
	/usr/share/fonts/Type1/,
	/usr/share/fonts/100dpi/,
	/usr/share/fonts/75dpi/
[    72.478] (==) ModulePath set to "/usr/lib/xorg/modules"
[    72.478] (II) The server relies on udev to provide the list of input devices.
	If no devices become available, reconfigure udev or disable AutoAddDevices.
[    72.487] (II) Loader magic: 0x818d80
[    72.487] (II) Module ABI versions:
[    72.487] 	X.Org ANSI C Emulation: 0.4
[    72.487] 	X.Org Video Driver: 18.0
[    72.487] 	X.Org XInput driver : 21.0
[    72.487] 	X.Org Server Extension : 8.0
[    72.490] (II) systemd-logind: took control of session /org/freedesktop/login1/session/c1
[    72.490] (II) xfree86: Adding drm device (/dev/dri/card0)
[    72.491] (II) systemd-logind: got fd for /dev/dri/card0 226:0 fd 10 paused 0
[    72.494] (--) PCI:*(0:0:1:0) 1002:990b:17aa:397c rev 0, Mem @ 0xe0000000/268435456, 0xf0200000/262144, I/O @ 0x00003000/256
[    72.494] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[    72.495] (II) LoadModule: "glx"
[    72.507] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[    72.530] (II) Module glx: vendor="X.Org Foundation"
[    72.530] 	compiled for 1.16.2, module version = 1.0.0
[    72.530] 	ABI class: X.Org Server Extension, version 8.0
[    72.530] (==) AIGLX enabled
[    72.530] (II) LoadModule: "nouveau"
[    72.530] (II) Loading /usr/lib/xorg/modules/drivers/nouveau_drv.so
[    72.545] (II) Module nouveau: vendor="X.Org Foundation"
[    72.545] 	compiled for 1.16.1, module version = 1.0.11
[    72.545] 	Module class: X.Org Video Driver
[    72.545] 	ABI class: X.Org Video Driver, version 18.0
[    72.545] (II) NOUVEAU driver 
[    72.545] (II) NOUVEAU driver for NVIDIA chipset families :
[    72.545] 	RIVA TNT        (NV04)
[    72.545] 	RIVA TNT2       (NV05)
[    72.545] 	GeForce 256     (NV10)
[    72.545] 	GeForce 2       (NV11, NV15)
[    72.545] 	GeForce 4MX     (NV17, NV18)
[    72.545] 	GeForce 3       (NV20)
[    72.546] 	GeForce 4Ti     (NV25, NV28)
[    72.546] 	GeForce FX      (NV3x)
[    72.546] 	GeForce 6       (NV4x)
[    72.546] 	GeForce 7       (G7x)
[    72.546] 	GeForce 8       (G8x)
[    72.546] 	GeForce GTX 200 (NVA0)
[    72.546] 	GeForce GTX 400 (NVC0)
[    72.546] (++) using VT number 11

[    73.959] (EE) No devices detected.
[    73.959] (EE) 
Fatal server error:
[    73.959] (EE) no screens found(EE) 
[    73.959] (EE) 
Please consult the The X.Org Foundation support 
	 at http://wiki.x.org
 for help. 
[    73.959] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[    73.959] (EE) 

Last edited by l0vot (2014-12-10 05:57:00)

Offline

#2 2014-12-07 05:22:04

Kopkins
Member
Registered: 2012-07-01
Posts: 189

Re: [SOLVED] startx: no screens found

If it's detecting the nvidia driver it means you have that installed. Which video drivers did you install?

For an A10 you need xf86-video-ati, and the other non nvidia packages like mesa mesa-libgl etc.

Also, post the results of `ls /etc/X11/xorg.conf.d` and the contents of any files there.

Last edited by Kopkins (2014-12-07 05:25:23)

Offline

#3 2014-12-07 20:42:19

l0vot
Member
Registered: 2011-08-26
Posts: 117

Re: [SOLVED] startx: no screens found

I installed xf86-video-ati specifically after switching from the closed source drivers, all of the FOSS drivers installed when I updated Xorg, so nouveau is installed as well.

# ls /etc/X11/xorg.conf.d
10-evdev.conf.pacsave 20-nouveau.conf 20-radeon.conf 50-synaptics.conf.mod

10-evdev.conf.pacsave:

#
# Catch-all evdev loader for udev-based systems
# We don't simply match on any device since that also adds accelerometers
# and other devices that we don't really want to use. The list below
# matches everything but joysticks.

Section "InputClass"
        Identifier "evdev pointer catchall"
        MatchIsPointer "on"
        MatchDevicePath "/dev/input/event*"
        Driver "evdev"
EndSection

Section "InputClass"
        Identifier "evdev keyboard catchall"
        MatchIsKeyboard "on"
        MatchDevicePath "/dev/input/event*"
        Driver "evdev"
EndSection

Section "InputClass"
        Identifier "evdev touchpad catchall"
        MatchIsTouchpad "on"
        MatchDevicePath "/dev/input/event*"
        Driver "evdev"
EndSection

Section "InputClass"
        Identifier "evdev tablet catchall"
        MatchIsTablet "on"
        MatchDevicePath "/dev/input/event*"
        Driver "evdev"
EndSection

Section "InputClass"
        Identifier "evdev touchscreen catchall"
        MatchIsTouchscreen "on"
        MatchDevicePath "/dev/input/event*"
        Driver "evdev"
EndSection

Section "InputClass"                                                            
        Identifier "Keyboard Defaults"                                          
        MatchIsKeyboard "yes"                                                   
        Option "XkbOptions" "terminate:ctrl_alt_bksp"                           
EndSection

20-nouveau.conf

Section "Device"
    Identifier "nvidia card"
    Driver "nouveau"
    Option "GLXVBlank" "true"
EndSection

20-radeon.conf

Section "Device"
	Identifier  "My Graphics Card"
	Driver  "radeon"
	Option	"AGPMode"               "8"   #not used when KMS is on
	Option	"AGPFastWrite"          "off" #could cause instabilities enable it at your own risk
	Option	"SWcursor"              "off" #software cursor might be necessary on some rare occasions, hence set off by default
	Option	"EnablePageFlip"        "on"  #supported on all R/RV/RS4xx and older hardware and set off by default
	Option	"AccelMethod"           "EXA" #valid options are XAA and EXA. EXA is the newest acceleration method and it is the default.
	Option	"RenderAccel"           "on"  #enabled by default on all radeon hardware
	Option	"ColorTiling"           "on"  #enabled by default on RV300 and later radeon cards.
	Option  "ColorTiling2D"			"on"
	Option	"EXAVSync"              "off" #default is off, otherwise on
	Option	"EXAPixmaps"            "on"  #when on icreases 2D performance, but may also cause artifacts on some old cards
	Option	"AccelDFS"              "on"  #default is off, read the radeon manpage for more information
	Option  "ClockGating"			"on"  # should improve battery life and heat, may reduce 3D preformance
	Option  "DynamicPM"				"on"  # should improve battery life and heat
EndSection

50-synaptics.conf.mod

# Example xorg.conf.d snippet that assigns the touchpad driver
# to all touchpads. See xorg.conf.d(5) for more information on
# InputClass.
# DO NOT EDIT THIS FILE, your distribution will likely overwrite
# it when updating. Copy (and rename) this file into
# /etc/X11/xorg.conf.d first.
# Additional options may be added in the form of
#   Option "OptionName" "value"
#
Section "InputClass"
    Identifier "touchpad"
    Driver "synaptics"
    MatchIsTouchpad "on"
        Option "TapButton1" "1"
        Option "TapButton2" "2"
        Option "TapButton3" "3"
        Option "VertEdgeScroll" "on"
        Option "VertTwoFingerScroll" "on"
        Option "HorizEdgeScroll" "on"
        Option "HorizTwoFingerScroll" "on"
        Option "CircularScrolling" "on"
        Option "CircScrollTrigger" "2"
        Option "EmulateTwoFingerMinZ" "40"
        Option "EmulateTwoFingerMinW" "8"
        Option "CoastingSpeed" "0"
# This option is recommend on all Linux systems using evdev, but cannot be
# enabled by default. See the following link for details:
# http://who-t.blogspot.com/2010/11/how-to-ignore-configuration-errors.html
        MatchDevicePath "/dev/input/event*"
EndSection

Section "InputClass"
        Identifier "touchpad ignore duplicates"
        MatchIsTouchpad "on"
        MatchOS "Linux"
        MatchDevicePath "/dev/input/mouse*"
        Option "Ignore" "on"
EndSection

# This option enables the bottom right corner to be a right button on
# non-synaptics clickpads.
# This option is only interpreted by clickpads.
Section "InputClass"
        Identifier "Default clickpad buttons"
        MatchDriver "synaptics"
        Option "SoftButtonAreas" "50% 0 82% 0 0 0 0 0"
#       To disable the bottom edge area so the buttons only work as buttons,
#       not for movement, set the AreaBottomEdge
#       Option "AreaBottomEdge" "82%"
EndSection

# This option disables software buttons on Apple touchpads.
# This option is only interpreted by clickpads.
Section "InputClass"
        Identifier "Disable clickpad buttons on Apple touchpads"
        MatchProduct "Apple|bcm5974"
        MatchDriver "synaptics"
        Option "SoftButtonAreas" "0 0 0 0 0 0 0 0"
EndSection

Offline

#4 2014-12-07 20:49:38

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] startx: no screens found

If you installed the whole xorg group, remove all the other drivers apart from xf86-video-ati.

Offline

#5 2014-12-07 20:59:47

l0vot
Member
Registered: 2011-08-26
Posts: 117

Re: [SOLVED] startx: no screens found

karol wrote:

If you installed the whole xorg group, remove all the other drivers apart from xf86-video-ati.

Tried it, Xorg still wants to use nouveau, but now complains that it has no drivers.

Offline

#6 2014-12-07 21:06:04

l0vot
Member
Registered: 2011-08-26
Posts: 117

Re: [SOLVED] startx: no screens found

This is exactly what xorg.conf was supposed to prevent, getting rid of it was a mistake.

Offline

#7 2014-12-07 21:23:42

Kopkins
Member
Registered: 2012-07-01
Posts: 189

Re: [SOLVED] startx: no screens found

That's because you still have 20-nouveou.conf, remove it.

Last edited by Kopkins (2014-12-07 21:24:22)

Offline

#8 2014-12-07 21:32:21

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] startx: no screens found

Also, fix filename / remove 50-synaptics.conf.mod and 10-evdev.conf.pacsave. The stock files are in /usr/share/X11/xorg.conf.d/.

Offline

#9 2014-12-07 22:41:57

l0vot
Member
Registered: 2011-08-26
Posts: 117

Re: [SOLVED] startx: no screens found

l0vot wrote:

This is exactly what xorg.conf was supposed to prevent, getting rid of it was a mistake.

Thanks Kopkins!

I have no idea why the auto-detect feature on Xorg is so broken that the presence of config files for a specific driver prevents it from functioning properly. I would never have guessed that would be the problem. I used this install to connect to a variety of different computers with different HW configurations, and that was never a problem until recently. Removing the xorg.conf file should have gone over smoothly, it was autogened by Xorg anyways, but they managed to break Xorg's auto-detect feature in the process. Weird.

That's probably the same issue that broke all of my other installs that used FOSS drivers, seeing as they all were direct copies of an install that had a Nvidia GPU (which was a direct copy off of my experimental Intel machine).

Offline

#10 2014-12-07 22:43:58

l0vot
Member
Registered: 2011-08-26
Posts: 117

Re: [SOLVED] startx: no screens found

By the way, mark as solved, the removal of unneeded config files fixed it.

Offline

#11 2014-12-07 22:48:36

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] startx: no screens found

Read https://bbs.archlinux.org/viewtopic.php?id=130309 on how to mark the thread as solved.

Offline

#12 2014-12-10 06:05:42

l0vot
Member
Registered: 2011-08-26
Posts: 117

Re: [SOLVED] startx: no screens found

karol wrote:

Read https://bbs.archlinux.org/viewtopic.php?id=130309 on how to mark the thread as solved.

Thanks.

Offline

Board footer

Powered by FluxBB