Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Solved] Problem with X/ Xorg: No KSM enabled, No screens
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
Jean G.
n00b
n00b


Joined: 16 Apr 2014
Posts: 3

PostPosted: Wed Apr 16, 2014 10:51 am    Post subject: [Solved] Problem with X/ Xorg: No KSM enabled, No screens Reply with quote

Hello everyone,

I am running several linux distros on my laptop and now I decided to give Gentoo a go. Unfortunately, I am having some trouble with X.

I get the following error messages: KMS not enabled & no screens found.
I wanted to go with nouveau, because I had no trouble with X and nouveau under Arch Linux.

Here's the complete log:
Code:

[    75.470]
X.Org X Server 1.15.0
Release Date: 2013-12-27
[    75.470] X Protocol Version 11, Revision 0
[    75.470] Build Operating System: Linux 3.12.13-gentoo x86_64 Gentoo
[    75.470] Current Operating System: Linux gnu 3.12.13-gentoo #1 SMP Tue Apr 15 03:31:45 CEST 2014 x86_64
[    75.471] Kernel command line: BOOT_IMAGE=/boot/kernel-genkernel-x86_64-3.12.13-gentoo root=/dev/sda6
[    75.471] Build Date: 15 April 2014  11:18:08PM
[    75.471] 
[    75.471] Current version of pixman: 0.32.4
[    75.472]    Before reporting problems, check http://wiki.x.org
   to make sure that you have the latest version.
[    75.472] Markers: (--) probed, (**) from config file, (==) default setting,
   (++) from command line, (!!) notice, (II) informational,
   (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[    75.473] (==) Log file: "/var/log/Xorg.0.log", Time: Tue Apr 15 23:23:28 2014
[    75.502] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[    75.507] (==) No Layout section.  Using the first Screen section.
[    75.507] (==) No screen section available. Using defaults.
[    75.507] (**) |-->Screen "Default Screen Section" (0)
[    75.507] (**) |   |-->Monitor "<default monitor>"
[    75.507] (==) No monitor specified for screen "Default Screen Section".
   Using a default monitor configuration.
[    75.507] (==) Automatically adding devices
[    75.507] (==) Automatically enabling devices
[    75.507] (==) Automatically adding GPU devices
[    75.507] (WW) The directory "/usr/share/fonts/misc/" does not exist.
[    75.507]    Entry deleted from font path.
[    75.507] (WW) The directory "/usr/share/fonts/TTF/" does not exist.
[    75.507]    Entry deleted from font path.
[    75.507] (WW) The directory "/usr/share/fonts/OTF/" does not exist.
[    75.507]    Entry deleted from font path.
[    75.507] (WW) The directory "/usr/share/fonts/Type1/" does not exist.
[    75.507]    Entry deleted from font path.
[    75.507] (WW) The directory "/usr/share/fonts/100dpi/" does not exist.
[    75.507]    Entry deleted from font path.
[    75.507] (WW) The directory "/usr/share/fonts/75dpi/" does not exist.
[    75.507]    Entry deleted from font path.
[    75.507] (==) FontPath set to:
   
[    75.507] (==) ModulePath set to "/usr/lib64/xorg/modules"
[    75.507] (II) The server relies on udev to provide the list of input devices.
   If no devices become available, reconfigure udev or disable AutoAddDevices.
[    75.507] (II) Loader magic: 0x808c60
[    75.507] (II) Module ABI versions:
[    75.507]    X.Org ANSI C Emulation: 0.4
[    75.507]    X.Org Video Driver: 15.0
[    75.507]    X.Org XInput driver : 20.0
[    75.507]    X.Org Server Extension : 8.0
[    75.509] (--) PCI:*(0:2:0:0) 10de:0428:1734:110b rev 161, Mem @ 0xce000000/16777216, 0xd0000000/268435456, 0xcc000000/33554432, I/O @ 0x00004000/128
[    75.510] Initializing built-in extension Generic Event Extension
[    75.510] Initializing built-in extension SHAPE
[    75.510] Initializing built-in extension MIT-SHM
[    75.510] Initializing built-in extension XInputExtension
[    75.510] Initializing built-in extension XTEST
[    75.511] Initializing built-in extension BIG-REQUESTS
[    75.511] Initializing built-in extension SYNC
[    75.511] Initializing built-in extension XKEYBOARD
[    75.511] Initializing built-in extension XC-MISC
[    75.511] Initializing built-in extension XINERAMA
[    75.511] Initializing built-in extension XFIXES
[    75.511] Initializing built-in extension RENDER
[    75.512] Initializing built-in extension RANDR
[    75.512] Initializing built-in extension COMPOSITE
[    75.512] Initializing built-in extension DAMAGE
[    75.512] Initializing built-in extension MIT-SCREEN-SAVER
[    75.512] Initializing built-in extension DOUBLE-BUFFER
[    75.512] Initializing built-in extension RECORD
[    75.513] Initializing built-in extension DPMS
[    75.513] Initializing built-in extension Present
[    75.513] Initializing built-in extension DRI3
[    75.513] Initializing built-in extension X-Resource
[    75.513] Initializing built-in extension XVideo
[    75.513] Initializing built-in extension XVideo-MotionCompensation
[    75.514] Initializing built-in extension XFree86-VidModeExtension
[    75.514] Initializing built-in extension XFree86-DGA
[    75.514] Initializing built-in extension XFree86-DRI
[    75.514] Initializing built-in extension DRI2
[    75.514] (II) LoadModule: "glx"
[    75.564] (II) Loading /usr/lib64/xorg/modules/extensions/libglx.so
[    75.676] (II) Module glx: vendor="X.Org Foundation"
[    75.676]    compiled for 1.15.0, module version = 1.0.0
[    75.676]    ABI class: X.Org Server Extension, version 8.0
[    75.676] (==) AIGLX enabled
[    75.676] Loading extension GLX
[    75.676] (==) Matched nouveau as autoconfigured driver 0
[    75.676] (==) Matched nv as autoconfigured driver 1
[    75.676] (==) Matched modesetting as autoconfigured driver 2
[    75.676] (==) Matched fbdev as autoconfigured driver 3
[    75.676] (==) Matched vesa as autoconfigured driver 4
[    75.676] (==) Assigned the driver to the xf86ConfigLayout
[    75.676] (II) LoadModule: "nouveau"
[    75.677] (II) Loading /usr/lib64/xorg/modules/drivers/nouveau_drv.so
[    75.689] (II) Module nouveau: vendor="X.Org Foundation"
[    75.689]    compiled for 1.15.0, module version = 1.0.10
[    75.689]    Module class: X.Org Video Driver
[    75.689]    ABI class: X.Org Video Driver, version 15.0
[    75.689] (II) LoadModule: "nv"
[    75.689] (WW) Warning, couldn't open module nv
[    75.689] (II) UnloadModule: "nv"
[    75.689] (II) Unloading nv
[    75.689] (EE) Failed to load module "nv" (module does not exist, 0)
[    75.689] (II) LoadModule: "modesetting"
[    75.689] (WW) Warning, couldn't open module modesetting
[    75.689] (II) UnloadModule: "modesetting"
[    75.689] (II) Unloading modesetting
[    75.689] (EE) Failed to load module "modesetting" (module does not exist, 0)
[    75.689] (II) LoadModule: "fbdev"
[    75.690] (WW) Warning, couldn't open module fbdev
[    75.690] (II) UnloadModule: "fbdev"
[    75.690] (II) Unloading fbdev
[    75.690] (EE) Failed to load module "fbdev" (module does not exist, 0)
[    75.690] (II) LoadModule: "vesa"
[    75.690] (WW) Warning, couldn't open module vesa
[    75.690] (II) UnloadModule: "vesa"
[    75.690] (II) Unloading vesa
[    75.690] (EE) Failed to load module "vesa" (module does not exist, 0)
[    75.690] (II) NOUVEAU driver
[    75.690] (II) NOUVEAU driver for NVIDIA chipset families :
[    75.690]    RIVA TNT        (NV04)
[    75.690]    RIVA TNT2       (NV05)
[    75.690]    GeForce 256     (NV10)
[    75.690]    GeForce 2       (NV11, NV15)
[    75.690]    GeForce 4MX     (NV17, NV18)
[    75.690]    GeForce 3       (NV20)
[    75.690]    GeForce 4Ti     (NV25, NV28)
[    75.690]    GeForce FX      (NV3x)
[    75.690]    GeForce 6       (NV4x)
[    75.690]    GeForce 7       (G7x)
[    75.690]    GeForce 8       (G8x)
[    75.690]    GeForce GTX 200 (NVA0)
[    75.690]    GeForce GTX 400 (NVC0)
[    75.690] (--) using VT number 7

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


I don't know, how to enable KMS and what I have to do next. I followed up to the step where it says "try using startx without editing any configuration files". Thanks for reading.


Last edited by Jean G. on Thu Apr 17, 2014 9:57 am; edited 1 time in total
Back to top
View user's profile Send private message
Randy Andy
Veteran
Veteran


Joined: 19 Jun 2007
Posts: 1136
Location: /dev/koelsch

PostPosted: Wed Apr 16, 2014 11:09 am    Post subject: Reply with quote

Welcome to Gentoo, Jean G.

Did you consider the information here? (although it is not part of the handbook)

http://wiki.gentoo.org/wiki/Nouveau
https://wiki.gentoo.org/wiki/Xorg/Configuration

Furthermore much success for your installation.

Regards, Andy.
_________________
If you want to see a Distro done right, compile it yourself!
Back to top
View user's profile Send private message
kenmux
n00b
n00b


Joined: 13 Apr 2014
Posts: 59

PostPosted: Wed Apr 16, 2014 12:45 pm    Post subject: Reply with quote

maybe i had the similar issue before...
if it complained: (EE) no screens found(EE)
then maybe you had some problem with kernel config,
do make menuconfig or genkernel --menuconfig all (recommanded) again,
and make sure you have config the graphics card driver following the wiki: https://wiki.gentoo.org/wiki/Xorg/Configuration
hope this is helpful for you!
Back to top
View user's profile Send private message
Jean G.
n00b
n00b


Joined: 16 Apr 2014
Posts: 3

PostPosted: Thu Apr 17, 2014 9:56 am    Post subject: Reply with quote

Thanks for the warm welcome and for the help!

@Randy
Yes, I did read the links you provided but I also did make some mistakes (like assuming genkernel had nouveau enabled by default). I have to say, that I installed Gentoo two times. At first I configured the kernel manually but when I couldn't get X running, I assumed I must have made some mistakes (but I did enable nouveau then) and thought it better to use genkernel. Turns out I could have spared me that trouble.

@kenmux
Thanks a lot. That was exactly the direction I needed! I had to enable nouveau in the kernel (I only could choose the modular option [M]). I installed Xfce and so far everything seems fine. I have more reading to do and setting up everything I need but I hope the hard part is done. Thanks again!
Back to top
View user's profile Send private message
Randy Andy
Veteran
Veteran


Joined: 19 Jun 2007
Posts: 1136
Location: /dev/koelsch

PostPosted: Thu Apr 17, 2014 10:14 am    Post subject: Reply with quote

You're welcome, Jean G.

Fine that you could solve your problem, while learning some more about Linux and Gentoo.

This will go on as long as you would like to use Gentoo. :wink:


Furthermore much success with it.

Regards, Andy.
_________________
If you want to see a Distro done right, compile it yourself!
Back to top
View user's profile Send private message
Jean G.
n00b
n00b


Joined: 16 Apr 2014
Posts: 3

PostPosted: Thu Apr 17, 2014 10:40 am    Post subject: Reply with quote

Randy Andy wrote:
You're welcome, Jean G.

Fine that you could solve your problem, while learning some more about Linux and Gentoo.

This will go on as long as you would like to use Gentoo. :wink:


Furthermore much success with it.

Regards, Andy.


To be honest, I was a little overwhelmed with all the options in the kernel configuration. But I guess it is true what the handbook says: "after configuring a couple of kernels you don't even remember that it was difficult". At least I hope so. :lol:

I am using Arch on a regular basis but I wanted to know how Gentoo works, so I had to try it out eventually. I hope I'll get along.

Cheers!
Back to top
View user's profile Send private message
Randy Andy
Veteran
Veteran


Joined: 19 Jun 2007
Posts: 1136
Location: /dev/koelsch

PostPosted: Thu Apr 17, 2014 2:54 pm    Post subject: Reply with quote

Jean G. wrote:

To be honest, I was a little overwhelmed with all the options in the kernel configuration. But I guess it is true what the handbook says: "after configuring a couple of kernels you don't even remember that it was difficult". At least I hope so. :lol:


It will come true, if you'll do it more often. I remember the pain, as I've done it the first time, without the help of any Howto or a similar well written documentation.


Jean G. wrote:

I am using Arch on a regular basis but I wanted to know how Gentoo works, so I had to try it out eventually. I hope I'll get along.

Cheers!



It will not be to your disadvantage. :wink:
_________________
If you want to see a Distro done right, compile it yourself!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum