LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-09-2010, 12:31 PM   #1
David2010
Member
 
Registered: May 2009
Posts: 255

Rep: Reputation: 23
Gentoo Xorg problem with startx.


When trying to "startx" the machine goes to a black screen and just sits there. Only a hard reboot allows me to stop it.

After SSHing into the machine and typing "startx" I see this error.

---------------------------------------------------------
Code:
(==) Using config file: "/etc/X11/xorg.conf"
(EE) Failed to load module "kbd" (module does not exist, 0)
FATAL: Module i915 not found.
FATAL: Module i915 not found.
(EE) intel(0): [drm] Failed to open DRM device for : No such file or directory
(EE) intel(0): Failed to become DRM master.
----------------------------------------------------------------

Where can I find the module i915?

The video card is an intel.

Also where can I find the module kbd?

Also what is the "drm"? Do I need to install it?

I used genkernel to configure my kernel.

This is my xorg.conf file:

-------------------------------------------------------------
Code:
Section "ServerLayout"
        Identifier     "X.org Configured"
        Screen      0  "Screen0" 0 0
        Screen      1  "Screen1" RightOf "Screen0"
        InputDevice    "Mouse0" "CorePointer"
        InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
        ModulePath   "/usr/lib/xorg/modules"
        FontPath     "/usr/share/fonts/misc/"
        FontPath     "/usr/share/fonts/TTF/"
        FontPath     "/usr/share/fonts/OTF"
        FontPath     "/usr/share/fonts/Type1/"
        FontPath     "/usr/share/fonts/100dpi/"
        FontPath     "/usr/share/fonts/75dpi/"
EndSection

Section "Module"
        Load  "dri"
        Load  "dri2"
        Load  "glx"
        Load  "dbe"
        Load  "record"
        Load  "extmod"
EndSection

Section "InputDevice"
        Identifier  "Keyboard0"
        Driver      "kbd"
EndSection

Section "InputDevice"
        Identifier  "Mouse0"
        Driver      "mouse"
        Option      "Protocol" "auto"
        Option      "Device" "/dev/input/mice"
        Option      "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"
        Identifier   "Monitor0"
        VendorName   "Monitor Vendor"
        ModelName    "Monitor Model"
EndSection

Section "Monitor"
        Identifier   "Monitor1"
        VendorName   "Monitor Vendor"
        ModelName    "Monitor Model"
EndSection

Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
        ### [arg]: arg optional
        #Option     "NoAccel"                   # [<bool>]
        #Option     "SWcursor"                  # [<bool>]
        #Option     "ColorKey"                  # <i>
        #Option     "CacheLines"                # <i>
        #Option     "Dac6Bit"                   # [<bool>]
        #Option     "DRI"                       # [<bool>]
        #Option     "NoDDC"                     # [<bool>]
        #Option     "ShowCache"                 # [<bool>]
        #Option     "XvMCSurfaces"              # <i>
        #Option     "PageFlip"                  # [<bool>]
        Identifier  "Card0"
        Driver      "intel"
        VendorName  "Intel Corporation"
        BoardName   "82852/855GM Integrated Graphics Device"
        BusID       "PCI:0:2:0"
EndSection

Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
        ### [arg]: arg optional
        #Option     "NoAccel"                   # [<bool>]
        #Option     "SWcursor"                  # [<bool>]
        #Option     "ColorKey"                  # <i>
        #Option     "CacheLines"                # <i>
        #Option     "Dac6Bit"                   # [<bool>]
        #Option     "DRI"                       # [<bool>]
        #Option     "NoDDC"                     # [<bool>]
        #Option     "ShowCache"                 # [<bool>]
        #Option     "XvMCSurfaces"              # <i>
        #Option     "PageFlip"                  # [<bool>]
        Identifier  "Card0"
        Driver      "intel"
        VendorName  "Intel Corporation"
        BoardName   "82852/855GM Integrated Graphics Device"
        BusID       "PCI:0:2:1"
EndSection

Section "Screen"
        Identifier "Screen0"
        Device     "Card0"
        Monitor    "Monitor0"
        SubSection "Display"
                Viewport   0 0
               Depth     1
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     4
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     8
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     15
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     16
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     24
        EndSubSection
EndSection

Section "Screen"
        Identifier "Screen1"
        Device     "Card1"
        Monitor    "Monitor1"
        SubSection "Display"
                Viewport   0 0
                Depth     1
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     4
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     8
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     15
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     16
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     24
        EndSubSection
EndSection
-------------------------------------------------------------
 
Old 07-09-2010, 04:39 PM   #2
troop
Member
 
Registered: Feb 2010
Distribution: gentoo, arch, fedora, freebsd
Posts: 379

Rep: Reputation: 97
Seems you dont have i915 module.
genkernel:
Code:
Device Drivers  --->
    Graphics support  --->
        ...
        <*> Direct Rendering Manager (XFree86 4.1.0 and higher DRI support)  --->
            <*>Intel 830M, 845G, 852GM, 855GM, 865G (i915 driver)  --->
                  <*> i915 driver
Code:
/dev/agpgart (AGP Support) --->
                 ...
                 <*>   Intel 440LX/BX/GX, I8xx and E7x05 chipset support
 
Old 07-09-2010, 05:12 PM   #3
David2010
Member
 
Registered: May 2009
Posts: 255

Original Poster
Rep: Reputation: 23
Quote:
Originally Posted by troop View Post
Seems you dont have i915 module.
genkernel:
Code:
Device Drivers  --->
    Graphics support  --->
        ...
        <*> Direct Rendering Manager (XFree86 4.1.0 and higher DRI support)  --->
            <*>Intel 830M, 845G, 852GM, 855GM, 865G (i915 driver)  --->
                  <*> i915 driver
Code:
/dev/agpgart (AGP Support) --->
                 ...
                 <*>   Intel 440LX/BX/GX, I8xx and E7x05 chipset support
I will look into the kernel sources here in a couple minutes.

I got xorg working with the generic vesa driver but I would prefer the intel driver.

I also installed the keyboard driver so that error is gone.

Since it works with vesa I know that the error is with the intel driver or I suppose in this case my kernel.
 
Old 07-09-2010, 06:23 PM   #4
David2010
Member
 
Registered: May 2009
Posts: 255

Original Poster
Rep: Reputation: 23
Quote:
Originally Posted by troop View Post
Seems you dont have i915 module.
genkernel:
Code:
Device Drivers  --->
    Graphics support  --->
        ...
        <*> Direct Rendering Manager (XFree86 4.1.0 and higher DRI support)  --->
            <*>Intel 830M, 845G, 852GM, 855GM, 865G (i915 driver)  --->
                  <*> i915 driver
Code:
/dev/agpgart (AGP Support) --->
                 ...
                 <*>   Intel 440LX/BX/GX, I8xx and E7x05 chipset support
After enabling those drivers now as soon as "uevents" finishes the screen goes black and I can't do anything.

Luckily I thought of that and installed an ssh server beforehand.

So after several minutes of typing commands in the dark (no screen) I got sshd working and I am ssh'ed into the machine.

I am guessing this is some sort of kernel bug as "startx" was never typed.

Note I enabled those drivers as modules (M). If that helps.

Now what should I do now?

EDIT:

Right now I am enabling those drivers as (*) instead of (M) to see if that helps.

Last edited by David2010; 07-09-2010 at 06:27 PM. Reason: Update Status
 
Old 07-09-2010, 06:39 PM   #5
David2010
Member
 
Registered: May 2009
Posts: 255

Original Poster
Rep: Reputation: 23
Quote:
Originally Posted by David2010 View Post
After enabling those drivers now as soon as "uevents" finishes the screen goes black and I can't do anything.

Luckily I thought of that and installed an ssh server beforehand.

So after several minutes of typing commands in the dark (no screen) I got sshd working and I am ssh'ed into the machine.

I am guessing this is some sort of kernel bug as "startx" was never typed.

Note I enabled those drivers as modules (M). If that helps.

Now what should I do now?

EDIT:

Right now I am enabling those drivers as (*) instead of (M) to see if that helps.
Sadly that didn't work either.

I will try putting the vesa driver back and removing those changed in the kernel.
 
Old 07-09-2010, 06:53 PM   #6
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,346

Rep: Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589
Did you install the xf86-video-intel driver?
 
Old 07-09-2010, 06:56 PM   #7
David2010
Member
 
Registered: May 2009
Posts: 255

Original Poster
Rep: Reputation: 23
Quote:
Originally Posted by colorpurple21859 View Post
Did you install the xf86-video-intel driver?
Yeah I already installed the intel driver.

I am tampering with some things related to video in the kernel right now.
 
Old 07-09-2010, 07:36 PM   #8
David2010
Member
 
Registered: May 2009
Posts: 255

Original Poster
Rep: Reputation: 23
intel driver i915 must not work for my intel video card because after setting the i915 as "M" the same issue came up (black screen) but in the xorg.conf

Code:
Current version of pixman: 0.17.2
        Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Fri Jul  9 14:31:34 2010
(==) Using config file: "/etc/X11/xorg.conf"
Showed up. No errors just a black screen.

I wonder what I am doing wrong here.

I tried setting i915 to "*" but the screen blacked out during boot.

After much grief I am just going to stick with the vesa driver.

Last edited by David2010; 07-09-2010 at 07:47 PM.
 
Old 07-09-2010, 08:39 PM   #9
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,346

Rep: Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589
this might help
http://en.gentoo-wiki.com/wiki/Intel_GMA
 
Old 07-09-2010, 11:43 PM   #10
David2010
Member
 
Registered: May 2009
Posts: 255

Original Poster
Rep: Reputation: 23
Quote:
Originally Posted by colorpurple21859 View Post
I followed those directions but got stuck with a "no video" laptop again. I just don't get why I loose my video without even using "startx". Once again saved by ssh.

I am still staying with vesa.

I think the intel driver just doesn't work with my hardware.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
problem on xorg or kde after updating gentoo fiatlux Gentoo 2 08-25-2009 09:06 PM
Problem with Xorg on Gentoo JamesIvings Linux - General 3 02-20-2009 08:59 AM
xorg-x11 mouse problem on Gentoo fronty Linux - Desktop 9 11-19-2007 08:23 AM
gentoo w/ xorg , problem w/ fuhquake-gl.glx aermartin Linux - Games 0 01-15-2005 08:30 AM
fedora 3 startx xorg problem Gregster Fedora 3 01-03-2005 07:59 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:24 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration