ArchThis Forum is for the discussion of Arch Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have been trying to install KDE on Arch Linux but when I start sddm, it turns into a blank screen with a cursor and if I boot with sddm turned on, it won't let me log in.
When I try to use startx, it outputs a message something like no screens found.
Computer specs: uefi boot, K2100m graphics card
Couple of things I have noticed, there is no Intel entry in /etc/X11/xorg.conf, when running 'lspci -vnnn | perl -lne 'print if /^\d+\:.+(\[\S+\:\S+\])/' | grep VGA' both graphics cards (intel and Nvidia K2100m) ends in VGA controller and there is no sddm.conf file after installing sddm.
Here are the lines I have used to install x and graphics drivers:
pacman -S xorg-server xorg-server-utils xorg-xinit xorg-twm xorg-xclock xterm
pacman -S nvidia lib32-nvidia-utils
pacman -S mesa xf86-video-intel
The only thing I have done previously is blacklist nouveau from starting as otherwise, the computer won't boot to login. I have installed both the intel and nvidia drivers.
[ 62.897]
X.Org X Server 1.17.2
Release Date: 2015-06-16
[ 62.897] X Protocol Version 11, Revision 0
[ 62.898] Build Operating System: Linux 4.0.4-2-ARCH x86_64
[ 62.898] Current Operating System: Linux thinkrorbot 4.0.7-2-ARCH #1 SMP PREEMPT Tue Jun 30 07:50:21 UTC 2015 x86_64
[ 62.898] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-linux root=/dev/sdb7
[ 62.898] Build Date: 30 June 2015 09:00:12PM
[ 62.898]
[ 62.899] Current version of pixman: 0.32.6
[ 62.899] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 62.899] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 62.900] (==) Log file: "/var/log/Xorg.0.log", Time: Fri Jul 17 16:15:16 2015
[ 62.900] (==) Using config file: "/etc/X11/xorg.conf"
[ 62.901] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 62.901] (==) ServerLayout "X.org Configured"
[ 62.901] (**) |-->Screen "Screen0" (0)
[ 62.901] (**) | |-->Monitor "Monitor0"
[ 62.901] (**) | |-->Device "Card0"
[ 62.901] (**) |-->Input Device "Mouse0"
[ 62.901] (**) |-->Input Device "Keyboard0"
[ 62.901] (==) Automatically adding devices
[ 62.901] (==) Automatically enabling devices
[ 62.901] (==) Automatically adding GPU devices
[ 62.901] (WW) The directory "/usr/share/fonts/Type1/" does not exist.
[ 62.901] Entry deleted from font path.
[ 62.901] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/100dpi/".
[ 62.901] Entry deleted from font path.
[ 62.901] (Run 'mkfontdir' on "/usr/share/fonts/100dpi/").
[ 62.901] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi/".
[ 62.901] Entry deleted from font path.
[ 62.901] (Run 'mkfontdir' on "/usr/share/fonts/75dpi/").
[ 62.901] (WW) The directory "/usr/share/fonts/Type1/" does not exist.
[ 62.901] Entry deleted from font path.
[ 62.901] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/100dpi/".
[ 62.901] Entry deleted from font path.
[ 62.901] (Run 'mkfontdir' on "/usr/share/fonts/100dpi/").
[ 62.901] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi/".
[ 62.901] Entry deleted from font path.
[ 62.901] (Run 'mkfontdir' on "/usr/share/fonts/75dpi/").
[ 62.901] (**) FontPath set to:
/usr/share/fonts/misc/,
/usr/share/fonts/TTF/,
/usr/share/fonts/OTF/,
/usr/share/fonts/misc/,
/usr/share/fonts/TTF/,
/usr/share/fonts/OTF/
[ 62.901] (**) ModulePath set to "/usr/lib/xorg/modules"
[ 62.901] (WW) Hotplugging is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
[ 62.901] (WW) Disabling Mouse0
[ 62.901] (WW) Disabling Keyboard0
[ 62.901] (II) Loader magic: 0x816d60
[ 62.901] (II) Module ABI versions:
[ 62.901] X.Org ANSI C Emulation: 0.4
[ 62.901] X.Org Video Driver: 19.0
[ 62.901] X.Org XInput driver : 21.1
[ 62.901] X.Org Server Extension : 9.0
[ 62.902] (II) systemd-logind: took control of session /org/freedesktop/login1/session/c1
[ 62.902] (II) xfree86: Adding drm device (/dev/dri/card1)
[ 62.902] (II) systemd-logind: got fd for /dev/dri/card1 226:1 fd 8 paused 0
[ 62.903] (II) xfree86: Adding drm device (/dev/dri/card0)
[ 62.903] (II) systemd-logind: got fd for /dev/dri/card0 226:0 fd 9 paused 0
[ 62.905] (--) PCI:*(0:0:2:0) 8086:0416:17aa:221e rev 6, Mem @ 0xb1400000/4194304, 0xa0000000/268435456, I/O @ 0x00005000/64
[ 62.905] (--) PCI: (0:1:0:0) 10de:11fc:17aa:221e rev 161, Mem @ 0xb0000000/16777216, 0x80000000/268435456, 0x90000000/33554432, I/O @ 0x00004000/128, BIOS @ 0x????????/524288
[ 62.905] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[ 62.905] (II) "glx" will be loaded. This was enabled by default and also specified in the config file.
[ 62.905] (II) LoadModule: "glx"
[ 62.906] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[ 62.906] (II) Module glx: vendor="X.Org Foundation"
[ 62.906] compiled for 1.17.2, module version = 1.0.0
[ 62.906] ABI class: X.Org Server Extension, version 9.0
[ 62.906] (==) AIGLX enabled
[ 62.906] (II) LoadModule: "nvidia"
[ 62.906] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
[ 62.906] (II) Module nvidia: vendor="NVIDIA Corporation"
[ 62.906] compiled for 4.0.2, module version = 1.0.0
[ 62.906] Module class: X.Org Video Driver
[ 62.906] (II) NVIDIA dlloader X Driver 352.21 Tue Jun 9 20:58:55 PDT 2015
[ 62.906] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[ 62.906] (++) using VT number 1
[ 62.906] (--) controlling tty is VT number 1, auto-enabling KeepTty
[ 62.906] (II) Loading sub module "fb"
[ 62.906] (II) LoadModule: "fb"
[ 62.906] (II) Loading /usr/lib/xorg/modules/libfb.so
[ 62.907] (II) Module fb: vendor="X.Org Foundation"
[ 62.907] compiled for 1.17.2, module version = 1.0.0
[ 62.907] ABI class: X.Org ANSI C Emulation, version 0.4
[ 62.907] (II) Loading sub module "wfb"
[ 62.907] (II) LoadModule: "wfb"
[ 62.907] (II) Loading /usr/lib/xorg/modules/libwfb.so
[ 62.907] (II) Module wfb: vendor="X.Org Foundation"
[ 62.907] compiled for 1.17.2, module version = 1.0.0
[ 62.907] ABI class: X.Org ANSI C Emulation, version 0.4
[ 62.907] (II) Loading sub module "ramdac"
[ 62.907] (II) LoadModule: "ramdac"
[ 62.907] (II) Module "ramdac" already built-in
[ 62.907] (==) NVIDIA(0): Depth 24, (==) framebuffer bpp 32
[ 62.907] (==) NVIDIA(0): RGB weight 888
[ 62.907] (==) NVIDIA(0): Default visual is TrueColor
[ 62.907] (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
[ 62.907] (**) NVIDIA(0): Enabling 2D acceleration
[ 62.907] (EE) NVIDIA(0): Failed to initialize the GLX module; please check in your X
[ 62.907] (EE) NVIDIA(0): log file that the GLX module has been loaded in your X
[ 62.907] (EE) NVIDIA(0): server, and that the module is the NVIDIA GLX module. If
[ 62.907] (EE) NVIDIA(0): you continue to encounter problems, Please try
[ 62.907] (EE) NVIDIA(0): reinstalling the NVIDIA driver.
[ 63.092] (II) NVIDIA: Allocated GPU:0 (GPU-1e33a5f7-544a-c04f-acb1-bf87dd96bc15) @
[ 63.092] (II) NVIDIA: PCI:0000:01:00.0
[ 63.093] (--) NVIDIA(0): Valid display device(s) on GPU-0 at PCI:1:0:0
[ 63.093] (--) NVIDIA(0): DFP-0
[ 63.093] (--) NVIDIA(0): DFP-1
[ 63.093] (--) NVIDIA(0): DFP-0: disconnected
[ 63.093] (--) NVIDIA(0): DFP-0: Internal TMDS
[ 63.093] (--) NVIDIA(0): DFP-0: 165.0 MHz maximum pixel clock
[ 63.094] (--) NVIDIA(0):
[ 63.094] (--) NVIDIA(0): DFP-1: disconnected
[ 63.094] (--) NVIDIA(0): DFP-1: Internal DisplayPort
[ 63.094] (--) NVIDIA(0): DFP-1: 960.0 MHz maximum pixel clock
[ 63.094] (--) NVIDIA(0):
[ 63.094] (II) NVIDIA(GPU-0): Found DRM driver nvidia-drm (20150116)
[ 63.095] (II) NVIDIA(0): NVIDIA GPU Quadro K2100M (GK106GL) at PCI:1:0:0 (GPU-0)
[ 63.095] (--) NVIDIA(0): Memory: 2097152 kBytes
[ 63.095] (--) NVIDIA(0): VideoBIOS: 80.06.63.00.1a
[ 63.095] (II) NVIDIA(0): Detected PCI Express Link width: 16X
[ 63.104] (EE) NVIDIA(0): Failed to assign any connected display devices to X screen 0.
[ 63.104] (EE) NVIDIA(0): Set AllowEmptyInitialConfiguration if you want the server
[ 63.104] (EE) NVIDIA(0): to start anyway
[ 63.104] (EE) NVIDIA(0): Failing initialization of X screen 0
[ 63.111] (II) NVIDIA: Freed GPU:0 (GPU-1e33a5f7-544a-c04f-acb1-bf87dd96bc15) @
[ 63.111] (II) NVIDIA: PCI:0000:01:00.0
[ 63.125] (II) UnloadModule: "nvidia"
[ 63.125] (II) UnloadSubModule: "wfb"
[ 63.125] (II) UnloadSubModule: "fb"
[ 63.125] (EE) Screen(s) found, but none have a usable configuration.
[ 63.125] (EE)
Fatal server error:
[ 63.125] (EE) no screens found(EE)
[ 63.125] (EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[ 63.125] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[ 63.125] (EE)
[ 63.128] (EE) Server terminated with error (1). Closing log file.
And here is the new xorg.conf file after running Xorg :0 -configure
I looks like the screen is still being run by the nvidia card that's your conflict BBswitch is shutting down the card and your screen is being run by it. Your screen should be run by the iGPU and your virtual screen run by the nVidia card when you enable it.
I looks like the screen is still being run by the nvidia card that's your conflict BBswitch is shutting down the card and your screen is being run by it. Your screen should be run by the iGPU and your virtual screen run by the nVidia card when you enable it.
How do I select the card running or disable the Nvidia card from starting?
How do I select the card running or disable the Nvidia card from starting?
You don't want to disable the card from running it needs to start when you start computer then shut down. It also needs to start again as you power down bbswitch should take care of that for you. You will have two screens in you xorg logs, in my case screen 0 and 8. Screen 0 is my actual display and 8 is my virtual display where the nVidia card runs.
When I made the mistake of using nvidia-xconfig I couldn't fix it so I reinstalled.
You don't want to disable the card from running it needs to start when you start computer then shut down. It also needs to start again as you power down bbswitch should take care of that for you. You will have two screens in you xorg logs, in my case screen 0 and 8. Screen 0 is my actual display and 8 is my virtual display where the nVidia card runs.
When I made the mistake of using nvidia-xconfig I couldn't fix it so I reinstalled.
What did you reinstall and in which order did you install? I removed mesa and all its dependencies and all that depended on it and removed nvidia, nvidia-utils, xf86-video-intel, and xorg-server, xorg-server-utils. I then reinstalled xorg, then nvidia, then the intel driver followed by bumblebee. The xorg.conf file remained the same so I added 20-intel.conf to xorg.conf.d. Here is 20-intel.conf:
Remove the auto-generated xorg.conf and write your own instead if necessary -- you should only *need* such a file for multiple monitor set ups or similar.
The file generated by `Xorg :0 -configure` looks like it is still specifying the NVIDIA card -- that command is not mentioned at all in the ArchWiki page I linked and will conflict with the 20-intel.conf file you have created which specifies the Intel card.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.