Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] xorg: Failed to load module...
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
NullDevice
Tux's lil' helper
Tux's lil' helper


Joined: 15 Jul 2005
Posts: 84

PostPosted: Thu Dec 01, 2005 11:14 pm    Post subject: [SOLVED] xorg: Failed to load module... Reply with quote

Hi,

I just installed Gentoo on my laptop. Everything works fine so far , except xorg.
Im getting the following error when i try to "startx" as normal user, as well as as root:

Code:
X Window System Version 6.8.2
Release Date: 9 February 2005
X Protocol Version 11, Revision 0, Release 6.8.2
Build Operating System: Linux 2.6.12 i686 [ELF]
Current Operating System: Linux airfilter 2.6.14-gentoo-r2 #1 PREEMPT Tue Nov 29 19:45:38 UTC 2005 i686
Build Date: 29 November 2005
        Before reporting problems, check http://wiki.X.Org
        to make sure that you have the latest version.
Module Loader present
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 Dec  2 00:07:08 2005
(==) Using config file: "/etc/X11/xorg.conf"
Couldn't open RGB_DB '/usr/X11/lib/X11/rgb'
(EE) Failed to load module "bitmap" (module does not exist, 0)
(EE) Failed to load module "pcidata" (module does not exist, 0)

Fatal server error:
Unable to load required base modules, Exiting...


Please consult the The X.Org Foundation support
         at http://wiki.X.Org
 for help.
Please also check the log file at "/var/log/Xorg.0.log" for additional information.


XIO:  fatal IO error 104 (Connection reset by peer) on X server ":0.0"
      after 0 requests (0 known processed) with 0 events remaining.


Its a 1,7ghz Toshiba Tecra 9100, graphic card is a S3 SuperSavage.
I copied the xorg.conf from a webpage about that Laptop + Xorg.
Can someone please give me hint?
_________________
MfG,
NullDevice


Last edited by NullDevice on Fri Dec 02, 2005 9:25 pm; edited 1 time in total
Back to top
View user's profile Send private message
antares2001
Guru
Guru


Joined: 02 Mar 2004
Posts: 339
Location: Germany

PostPosted: Thu Dec 01, 2005 11:36 pm    Post subject: Reply with quote

Hello!

Please post your xorg.conf. Thanks.
_________________
* Toshiba SM30X Notebook, Pentium-M 725 CPU, ATI Radeon 9700, 512MB RAM, 80GB
* Pentium D 820 2,8 GHz (EM64T), Geforce6, 200GB + 40GB ATA, 250GB SATA2, WinFastTV 2000XP, 1,5GB RAM
Gentoo Linux 2006.1
Back to top
View user's profile Send private message
NullDevice
Tux's lil' helper
Tux's lil' helper


Joined: 15 Jul 2005
Posts: 84

PostPosted: Thu Dec 01, 2005 11:39 pm    Post subject: Reply with quote

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

Section "Files"
        RgbPath      "/usr/X11/lib/X11/rgb"
        ModulePath   "/usr/X11/lib/modules"
        FontPath     "/usr/X11/lib/X11/fonts/TrueType/"
        FontPath     "/usr/X11/lib/X11/fonts/Type1/"
        FontPath     "/usr/X11/lib/X11/fonts/Type1/sun/"
        FontPath     "/usr/X11/lib/X11/fonts/F3bitmaps/"
        FontPath     "/usr/X11/lib/X11/fonts/misc/"
        FontPath     "/usr/X11/lib/X11/fonts/100dpi/"
        FontPath     "/usr/X11/lib/X11/fonts/75dpi/"
EndSection

Section "Module"
        Load  "IA"
        Load  "Xst"
        Load  "dbe"
        Load  "extmod"
        Load  "record"
        Load  "xtrap"
        Load  "bitstream"
        Load  "type1"
EndSection

Section "InputDevice"
        Identifier  "Keyboard0"
        Driver      "keyboard"
       Option       "XkbLayout"    "de"
EndSection

Section "InputDevice"
        Identifier  "Mouse0"
        Driver      "mouse"
        Option      "Protocol" "auto"
        Option      "Device" "/dev/input/mice"
EndSection

Section "Monitor"
        Identifier   "Monitor0"
        VendorName   "Monitor Vendor"
        ModelName    "Toshiba TOS5082"
        DisplaySize  290        220
        HorizSync    31.0 - 48.0
        VertRefresh  50.0 - 70.0
        Option      "dpms"
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     "HWCursor"                  # [<bool>]
        #Option     "SWCursor"                  # [<bool>]
        #Option     "ShadowFB"                  # [<bool>]
        #Option     "Rotate"                    # [<str>]
        #Option     "UseBIOS"                   # [<bool>]
        #Option     "LCDClock"                  # <freq>
        #Option     "ShadowStatus"              # [<bool>]
        #Option     "CrtOnly"                   # [<bool>]
        #Option     "TvOn"                      # [<bool>]
        #Option     "PAL"                       # [<bool>]
        #Option     "ForceInit"                 # [<bool>]
        #Option     "Overlay"                   # [<str>]
        #Option     "TransparencyKey"           # [<str>]
        Identifier  "Card0"
        Driver      "savage"
        VendorName  "S3 Inc."
        BoardName   "SuperSavage IX/C SDR"
        BusID       "PCI:1:0:0"
EndSection

Section "Screen"
        Identifier "Screen0"
        Device     "Card0"
        Monitor    "Monitor0"
        SubSection "Display"
                Viewport   0 0
                Depth     24
                Modes    "1024x768"
        EndSubSection
EndSection

_________________
MfG,
NullDevice
Back to top
View user's profile Send private message
antares2001
Guru
Guru


Joined: 02 Mar 2004
Posts: 339
Location: Germany

PostPosted: Thu Dec 01, 2005 11:59 pm    Post subject: Reply with quote

Have you already tried to create your own xorg.conf with the commands
Code:
# X -configure
# xorgconfig

and then tried to start X?

The line
Quote:
BusID "PCI:1:0:0"

might be a problem for instance, since I have there 0:10:0 :roll:

Give it a try.
_________________
* Toshiba SM30X Notebook, Pentium-M 725 CPU, ATI Radeon 9700, 512MB RAM, 80GB
* Pentium D 820 2,8 GHz (EM64T), Geforce6, 200GB + 40GB ATA, 250GB SATA2, WinFastTV 2000XP, 1,5GB RAM
Gentoo Linux 2006.1
Back to top
View user's profile Send private message
NullDevice
Tux's lil' helper
Tux's lil' helper


Joined: 15 Jul 2005
Posts: 84

PostPosted: Fri Dec 02, 2005 1:02 am    Post subject: Reply with quote

Ah, with xorgconfig it worked, at least a bit =)

But now there is... hard to explain. Its a laptop. And the X-Screen is only a small part of the real LCD. There is a huge black area around it. It seems its only using a small, centered part of the LCD.

Do u know how to fix that as well?

Here is my new xorg.conf
Code:

Section "Module"

    Load        "dbe"     # Double buffer extension
    SubSection  "extmod"
      Option    "omit xfree86-dga"   # don't initialise the DGA extension
    EndSubSection
    Load        "type1"
    Load        "freetype"

EndSection

Section "Files"
    RgbPath   "/usr/X11R6/lib/X11/rgb"
    FontPath   "/usr/share/fonts/misc/"
    FontPath   "/usr/share/fonts/TTF/"
    FontPath   "/usr/share/fonts/Type1/"
#    FontPath   "/usr/share/fonts/CID/"
    FontPath   "/usr/share/fonts/75dpi/"
    FontPath   "/usr/share/fonts/100dpi/"
    FontPath   "/usr/share/fonts/local/"
EndSection

Section "ServerFlags"
EndSection

Section "InputDevice"
    Identifier   "Keyboard1"
    Driver   "kbd"
    Option "AutoRepeat" "500 30"
    Option "XkbRules"   "xorg"
    Option "XkbModel"   "pc105"
    Option "XkbLayout"   "de"
EndSection

Section "InputDevice"
    Identifier   "Mouse1"
    Driver   "mouse"
    Option "Protocol"    "IMPS/2"
    Option "Device"      "/dev/input/mice"

EndSection

Section "Monitor"
    Identifier  "myLcd"
    HorizSync   31.5
    VertRefresh 50-70
EndSection

Section "Device"
    Identifier   "Standard VGA"
    VendorName   "Unknown"
    BoardName   "Unknown"
    Driver     "vga"
EndSection

Section "Device"
    Identifier  "S3ss"
    Driver      "savage"
    #VideoRam    16384
    # Insert Clocks lines here if appropriate
EndSection

Section "Screen"
    Identifier  "Screen 1"
    Device      "S3ss"
    Monitor     "myLcd"
    DefaultDepth 24

    Subsection "Display"
        Depth       8
        Modes       "1280x1024" "1024x768" "800x600" "640x480"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       16
        Modes       "1024x768" "800x600" "640x480"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       24
        Modes       "1024x768" "800x600" "640x480"
        ViewPort    0 0
    EndSubsection
EndSection

Section "ServerLayout"
    Identifier  "Simple Layout"
    Screen "Screen 1"
    InputDevice "Mouse1" "CorePointer"
    InputDevice "Keyboard1" "CoreKeyboard"
EndSection

_________________
MfG,
NullDevice
Back to top
View user's profile Send private message
NullDevice
Tux's lil' helper
Tux's lil' helper


Joined: 15 Jul 2005
Posts: 84

PostPosted: Fri Dec 02, 2005 1:30 am    Post subject: Reply with quote

And i found out why that is... If i go to Screen-Resolution in the gnome menu, it says 640x480 . No others are selectable.
But in my xorg.conf i have 1024x768 .

How can i change xorg to use 1024 ?
_________________
MfG,
NullDevice
Back to top
View user's profile Send private message
NullDevice
Tux's lil' helper
Tux's lil' helper


Joined: 15 Jul 2005
Posts: 84

PostPosted: Fri Dec 02, 2005 1:52 am    Post subject: Reply with quote

This is what i found in my xorg log file.... Does it help?

Code:
(II) SAVAGE(0): Supported VESA Video Modes:
(II) SAVAGE(0): 640x480@60Hz
(II) SAVAGE(0): 800x600@60Hz
(II) SAVAGE(0): 1024x768@60Hz
(II) SAVAGE(0): 1280x1024@75Hz
(II) SAVAGE(0): Manufacturer's mask: 0
(II) SAVAGE(0): Supported Future Video Modes:
(II) SAVAGE(0): #0: hsize: 1280  vsize 1024  refresh: 60  vid: 32897
(II) SAVAGE(0): #1: hsize: 1600  vsize 1200  refresh: 60  vid: 16553
(II) SAVAGE(0): Supported additional Video Mode:
(II) SAVAGE(0): clock: 65.0 MHz   Image Size:  286 x 215 mm
(II) SAVAGE(0): h_active: 1024  h_sync: 1048  h_sync_end 1184 h_blank_end 1344 h_border: 0
(II) SAVAGE(0): v_active: 768  v_sync: 771  v_sync_end 777 v_blanking: 806 v_border: 0
(II) SAVAGE(0): Supported additional Video Mode:
(II) SAVAGE(0): clock: 234.0 MHz   Image Size:  286 x 215 mm
(II) SAVAGE(0): h_active: 1920  h_sync: 1984  h_sync_end 2176 h_blank_end 2600 h_border: 0
(II) SAVAGE(0): v_active: 1440  v_sync: 1441  v_sync_end 1444 v_blanking: 1500 v_border: 0
(II) SAVAGE(0): Monitor name: TOSHIBA Inte
(II) SAVAGE(0): Monitor name: rnal Panel
(--) SAVAGE(0): Detected current MCLK value of 25.256 MHz
(--) SAVAGE(0): 1024x768 TFT LCD panel detected and active
(--) SAVAGE(0): - Limiting video mode to 1024x768
(WW) SAVAGE(0): config file hsync range 31.5-31.5kHz not within DDC hsync ranges.
(WW) SAVAGE(0): config file vrefresh range 50-70Hz not within DDC vrefresh ranges.
(II) SAVAGE(0): myLcd: Using hsync value of 31.50 kHz
(II) SAVAGE(0): myLcd: Using vrefresh range of 50.00-70.00 Hz
(II) SAVAGE(0): Clock range:  10.00 to 220.00 MHz
(II) SAVAGE(0): Not using default mode "640x350" (hsync out of range)
(II) SAVAGE(0): Not using default mode "320x175" (hsync out of range)
(II) SAVAGE(0): Not using default mode "640x400" (hsync out of range)
(II) SAVAGE(0): Not using default mode "320x200" (hsync out of range)
(II) SAVAGE(0): Not using default mode "720x400" (hsync out of range)
(II) SAVAGE(0): Not using default mode "360x200" (hsync out of range)
(II) SAVAGE(0): Not using default mode "640x480" (hsync out of range)
(II) SAVAGE(0): Not using default mode "320x240" (hsync out of range)
(II) SAVAGE(0): Not using default mode "640x480" (hsync out of range)
...
...
...
...
(II) SAVAGE(0): Not using default mode "1024x768" (hsync out of range)
(II) SAVAGE(0): Not using default mode "2048x1536" (bad mode clock/interlace/doublescan)
(II) SAVAGE(0): Not using default mode "1024x768" (hsync out of range)
(II) SAVAGE(0): Not using mode "1024x768" (no mode of this name)
(--) SAVAGE(0): Found 13 modes at this depth:
    [10f] 320 x 200, 70Hz
    [112] 640 x 480, 60Hz, 75Hz, 85Hz, 100Hz
    [115] 800 x 600, 60Hz, 75Hz, 85Hz, 100Hz
    [118] 1024 x 768, 60Hz, 75Hz, 85Hz, 100Hz
    [11b] 1280 x 1024, 60Hz, 75Hz, 85Hz
    [11e] 640 x 400, 70Hz
    [124] 1600 x 1200, 60Hz, 75Hz, 85Hz
    [134] 320 x 240, 72Hz
    [13e] 1400 x 1050, 60Hz, 75Hz
    [144] 400 x 300, 72Hz
    [154] 512 x 384, 70Hz
    [175] 720 x 480, 75Hz
    [17f] 720 x 576, 75Hz
(--) SAVAGE(0): Virtual size is 640x480 (pitch 640)
(**) SAVAGE(0):  Default mode "640x480": 25.2 MHz, 31.5 kHz, 60.0 Hz
(II) SAVAGE(0): Modeline "640x480"   25.20  640 656 752 800  480 490 492 525 -hsync -vsync
(**) SAVAGE(0):  Default mode "320x240": 12.6 MHz, 31.5 kHz, 60.1 Hz (D)
(II) SAVAGE(0): Modeline "320x240"   12.60  320 328 376 400  240 245 246 262 doublescan -hsync -vsync
(--) SAVAGE(0): Display dimensions: (290, 220) mm
(--) SAVAGE(0): DPI set to (56, 55)
(II) Loading sub module "fb"


_________________
MfG,
NullDevice
Back to top
View user's profile Send private message
antares2001
Guru
Guru


Joined: 02 Mar 2004
Posts: 339
Location: Germany

PostPosted: Fri Dec 02, 2005 6:54 pm    Post subject: Reply with quote

Have a look if you have a Screen resolution tool in Gnome there... I use KDE so I do not know if there is one in Gnome...

Anyhow, perhaps you have luck when you press [CTRL]-[ALT]-[+] or [CTRL]-[ALT]-[-] what may change the resolution. The black borders are due to the low resolution.

Also please uncomment in the line

Code:
 Modes       "1280x1024" "1024x768" "800x600" "640x480"


all those resolutions you do not need and want.
_________________
* Toshiba SM30X Notebook, Pentium-M 725 CPU, ATI Radeon 9700, 512MB RAM, 80GB
* Pentium D 820 2,8 GHz (EM64T), Geforce6, 200GB + 40GB ATA, 250GB SATA2, WinFastTV 2000XP, 1,5GB RAM
Gentoo Linux 2006.1
Back to top
View user's profile Send private message
abel7
n00b
n00b


Joined: 16 Apr 2004
Posts: 27
Location: Göteborg, Sweden

PostPosted: Fri Dec 02, 2005 8:52 pm    Post subject: Reply with quote

I'm not sure, but I think that maybe you have to add "Modeline" to your xorg.conf
_________________
Abel
Back to top
View user's profile Send private message
NullDevice
Tux's lil' helper
Tux's lil' helper


Joined: 15 Jul 2005
Posts: 84

PostPosted: Fri Dec 02, 2005 9:24 pm    Post subject: Reply with quote

OK, it works now. I commented out the Hsync line and it was OK.
Big Thx :D
_________________
MfG,
NullDevice
Back to top
View user's profile Send private message
antares2001
Guru
Guru


Joined: 02 Mar 2004
Posts: 339
Location: Germany

PostPosted: Fri Dec 02, 2005 9:28 pm    Post subject: Reply with quote

You're welcome. Trying to give back something for the help I received here ;-)
_________________
* Toshiba SM30X Notebook, Pentium-M 725 CPU, ATI Radeon 9700, 512MB RAM, 80GB
* Pentium D 820 2,8 GHz (EM64T), Geforce6, 200GB + 40GB ATA, 250GB SATA2, WinFastTV 2000XP, 1,5GB RAM
Gentoo Linux 2006.1
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