Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] Xorg completely destroyed after "emerge world"
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
SlimJim
n00b
n00b


Joined: 05 Sep 2004
Posts: 37
Location: Germany

PostPosted: Tue Sep 22, 2009 3:19 pm    Post subject: [SOLVED] Xorg completely destroyed after "emerge world& Reply with quote

Hy!

After I did an "emerge -avuDN wolrd" yesterday, my Xorg-Server is completely destroyed. My previous xorg.conf doesn't work anymore:

Code:
# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings:  version 1.0  (buildd@palmer)  Sun Feb  1 20:21:04 UTC 2009

# xorg.conf (X.Org X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the xorg.conf manual page.
# (Type "man xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# Note that some configuration settings that could be done previously
# in this file, now are automatically configured by the server and settings
# here are ignored.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
#   sudo dpkg-reconfigure -phigh xserver-xorg

Section "ServerLayout"
    Identifier     "Default Layout"
    Screen      0  "Screen0" 0 0
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
EndSection

Section "Module"
    Load           "glx"
EndSection

Section "ServerFlags"
    Option         "Xinerama" "0"
EndSection

Section "InputDevice"
    # generated from default
    Identifier     "Keyboard0"
    Driver         "kbd"
EndSection

Section "InputDevice"
    # generated from default
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "auto"
    Option         "Device" "/dev/psaux"
    Option         "Emulate3Buttons" "no"
    Option         "ZAxisMapping" "4 5"
EndSection

Section "Monitor"
    Identifier     "Configured Monitor"
EndSection

Section "Monitor"
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "Iiyama PLE2607WS"
    HorizSync       29.0 - 81.0
    VertRefresh     55.0 - 76.0
EndSection

Section "Device"
    Identifier     "Configured Video Device"
    Driver         "nvidia"
    Option         "NoLogo" "True"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "Quadro NVS 140M"
EndSection

Section "Screen"
    Identifier     "Default Screen"
    Device         "Configured Video Device"
    Monitor        "Configured Monitor"
    DefaultDepth    24
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "TwinView" "0"
    Option         "metamodes" "DFP-1: 1920x1200 +0+0"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection


Now I always get a blank screen when I "startx".

I also regognized that there were some canges in the Xorg-Server which need a modified xorg.conf. Now it looks like this:

Code:

# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings:  version 1.0  (buildd@palmer)  Sun Feb  1 20:21:04 UTC 2009

# xorg.conf (X.Org X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the xorg.conf manual page.
# (Type "man xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# Note that some configuration settings that could be done previously
# in this file, now are automatically configured by the server and settings
# here are ignored.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
#   sudo dpkg-reconfigure -phigh xserver-xorg

Section "ServerLayout"
    Identifier     "Default Layout"
    Screen      0  "Screen0" 0 0
EndSection

Section "Module"
    Load           "glx"
EndSection

Section "ServerFlags"
    Option         "Xinerama" "0"
EndSection

Section "Monitor"
    Identifier     "Configured Monitor"
EndSection

Section "Monitor"
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "Iiyama PLE2607WS"
    HorizSync       29.0 - 81.0
    VertRefresh     55.0 - 76.0
EndSection

Section "Device"
    Identifier     "Configured Video Device"
    Driver         "nvidia"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "Quadro NVS 140M"
EndSection

Section "Screen"
    Identifier     "Default Screen"
    Device         "Configured Video Device"
    Monitor        "Configured Monitor"
    DefaultDepth    24
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection



...but it still crashed everytime. So i used the advice to dele the xorg.conf completely, but then, the Xorg.0.log says:

Code:


X.Org X Server 1.5.3
Release Date: 5 November 2008
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.30-gentoo-r4 x86_64
Current Operating System: Linux moon 2.6.30-gentoo-r4 #1 SMP Tue Sep 22 15:40:14 Local time zone must be set--see zic  x86_64
Build Date: 22 September 2009  03:17:28PM
 
   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: Tue Sep 22 17:00:39 2009
(EE) Unable to locate/open config file
(II) Loader magic: 0x3d00
(II) Module ABI versions:
   X.Org ANSI C Emulation: 0.4
   X.Org Video Driver: 4.1
   X.Org XInput driver : 2.1
   X.Org Server Extension : 1.1
(II) Loader running on linux
(--) using VT number 7

(--) PCI:*(0@1:0:0) nVidia Corporation Quadro NVS 140M rev 161, Mem @ 0xd6000000/16777216, 0xe0000000/268435456, 0xd4000000/33554432, I/O @ 0x00002000/128
(==) Matched nv for the autoconfigured driver
New driver is "nv"
(==) Using default built-in configuration (30 lines)
(==) --- Start of built-in configuration ---
   Section "Device"
      Identifier   "Builtin Default nv Device 0"
      Driver   "nv"
   EndSection
   Section "Screen"
      Identifier   "Builtin Default nv Screen 0"
      Device   "Builtin Default nv Device 0"
   EndSection
   Section "Device"
      Identifier   "Builtin Default fbdev Device 0"
      Driver   "fbdev"
   EndSection
   Section "Screen"
      Identifier   "Builtin Default fbdev Screen 0"
      Device   "Builtin Default fbdev Device 0"
   EndSection
   Section "Device"
      Identifier   "Builtin Default vesa Device 0"
      Driver   "vesa"
   EndSection
   Section "Screen"
      Identifier   "Builtin Default vesa Screen 0"
      Device   "Builtin Default vesa Device 0"
   EndSection
   Section "ServerLayout"
      Identifier   "Builtin Default Layout"
      Screen   "Builtin Default nv Screen 0"
      Screen   "Builtin Default fbdev Screen 0"
      Screen   "Builtin Default vesa Screen 0"
   EndSection
(==) --- End of built-in configuration ---
(==) ServerLayout "Builtin Default Layout"
(**) |-->Screen "Builtin Default nv Screen 0" (0)
(**) |   |-->Monitor "<default monitor>"
(**) |   |-->Device "Builtin Default nv Device 0"
(==) No monitor specified for screen "Builtin Default nv Screen 0".
   Using a default monitor configuration.
(**) |-->Screen "Builtin Default fbdev Screen 0" (1)
(**) |   |-->Monitor "<default monitor>"
(**) |   |-->Device "Builtin Default fbdev Device 0"
(==) No monitor specified for screen "Builtin Default fbdev Screen 0".
   Using a default monitor configuration.
(**) |-->Screen "Builtin Default vesa Screen 0" (2)
(**) |   |-->Monitor "<default monitor>"
(**) |   |-->Device "Builtin Default vesa Device 0"
(==) No monitor specified for screen "Builtin Default vesa Screen 0".
   Using a default monitor configuration.
(==) Not automatically adding devices
(==) Not automatically enabling devices
(==) 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/,
   built-ins
(==) ModulePath set to "/usr/lib64/xorg/modules"
(==) |-->Input Device "<default pointer>"
(==) |-->Input Device "<default keyboard>"
(==) The core pointer device wasn't specified explicitly in the layout.
   Using the default mouse configuration.
(==) The core keyboard device wasn't specified explicitly in the layout.
   Using the default keyboard configuration.
(WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
(II) No APM support in BIOS or kernel
(II) System resource ranges:
   [0] -1   0   0xffffffff - 0xffffffff (0x1) MX[B]
   [1] -1   0   0x000f0000 - 0x000fffff (0x10000) MX[B]
   [2] -1   0   0x000c0000 - 0x000effff (0x30000) MX[B]
   [3] -1   0   0x00000000 - 0x0009ffff (0xa0000) MX[B]
   [4] -1   0   0x0000ffff - 0x0000ffff (0x1) IX[B]
   [5] -1   0   0x00000000 - 0x00000000 (0x1) IX[B]
(II) LoadModule: "extmod"

(II) Loading /usr/lib64/xorg/modules/extensions//libextmod.so
(II) Module extmod: vendor="X.Org Foundation"
   compiled for 1.5.3, module version = 1.0.0
   Module class: X.Org Server Extension
   ABI class: X.Org Server Extension, version 1.1
(II) Loading extension SHAPE
(II) Loading extension MIT-SUNDRY-NONSTANDARD
(II) Loading extension BIG-REQUESTS
(II) Loading extension SYNC
(II) Loading extension MIT-SCREEN-SAVER
(II) Loading extension XC-MISC
(II) Loading extension XFree86-VidModeExtension
(II) Loading extension XFree86-Misc
(II) Loading extension XFree86-DGA
(II) Loading extension DPMS
(II) Loading extension TOG-CUP
(II) Loading extension Extended-Visual-Information
(II) Loading extension XVideo
(II) Loading extension XVideo-MotionCompensation
(II) Loading extension X-Resource
(II) LoadModule: "dbe"

(II) Loading /usr/lib64/xorg/modules/extensions//libdbe.so
(II) Module dbe: vendor="X.Org Foundation"
   compiled for 1.5.3, module version = 1.0.0
   Module class: X.Org Server Extension
   ABI class: X.Org Server Extension, version 1.1
(II) Loading extension DOUBLE-BUFFER
(II) LoadModule: "glx"

(II) Loading /usr/lib64/xorg/modules/extensions//libglx.so
(II) Module glx: vendor="NVIDIA Corporation"
   compiled for 4.0.2, module version = 1.0.0
   Module class: X.Org Server Extension
(II) NVIDIA GLX Module  185.18.31  Tue Jul 28 19:34:01 PDT 2009
(II) Loading extension GLX
(II) LoadModule: "record"

(II) Loading /usr/lib64/xorg/modules/extensions//librecord.so
(II) Module record: vendor="X.Org Foundation"
   compiled for 1.5.3, module version = 1.13.0
   Module class: X.Org Server Extension
   ABI class: X.Org Server Extension, version 1.1
(II) Loading extension RECORD
(II) LoadModule: "dri"

(WW) Warning, couldn't open module dri
(II) UnloadModule: "dri"
(EE) Failed to load module "dri" (module does not exist, 0)
(II) LoadModule: "nv"

(II) Loading /usr/lib64/xorg/modules/drivers//nv_drv.so
(II) Module nv: vendor="X.Org Foundation"
   compiled for 1.6.2, module version = 2.1.14
   Module class: X.Org Video Driver
   ABI class: X.Org Video Driver, version 5.0
(EE) module ABI major version (5) doesn't match the server's version (4)
(II) UnloadModule: "nv"
(II) Unloading /usr/lib64/xorg/modules/drivers//nv_drv.so
(EE) Failed to load module "nv" (module requirement mismatch, 0)
(II) LoadModule: "fbdev"

(II) Loading /usr/lib64/xorg/modules/drivers//fbdev_drv.so
(II) Module fbdev: vendor="X.Org Foundation"
   compiled for 1.6.2, module version = 0.4.0
   ABI class: X.Org Video Driver, version 5.0
(EE) module ABI major version (5) doesn't match the server's version (4)
(II) UnloadModule: "fbdev"
(II) Unloading /usr/lib64/xorg/modules/drivers//fbdev_drv.so
(EE) Failed to load module "fbdev" (module requirement mismatch, 0)
(II) LoadModule: "vesa"

(II) Loading /usr/lib64/xorg/modules/drivers//vesa_drv.so
(II) Module vesa: vendor="X.Org Foundation"
   compiled for 1.6.2, module version = 2.2.0
   Module class: X.Org Video Driver
   ABI class: X.Org Video Driver, version 5.0
(EE) module ABI major version (5) doesn't match the server's version (4)
(II) UnloadModule: "vesa"
(II) Unloading /usr/lib64/xorg/modules/drivers//vesa_drv.so
(EE) Failed to load module "vesa" (module requirement mismatch, 0)
(II) LoadModule: "mouse"

(II) Loading /usr/lib64/xorg/modules/input//mouse_drv.so
(II) Module mouse: vendor="X.Org Foundation"
   compiled for 1.6.2, module version = 1.4.0
   Module class: X.Org XInput Driver
   ABI class: X.Org XInput driver, version 4.0
(EE) module ABI major version (4) doesn't match the server's version (2)
(II) UnloadModule: "mouse"
(II) Unloading /usr/lib64/xorg/modules/input//mouse_drv.so
(EE) Failed to load module "mouse" (module requirement mismatch, 0)
(II) LoadModule: "kbd"

(II) Loading /usr/lib64/xorg/modules/input//kbd_drv.so
(II) Module kbd: vendor="X.Org Foundation"
   compiled for 1.6.2, module version = 1.3.2
   Module class: X.Org XInput Driver
   ABI class: X.Org XInput driver, version 4.0
(EE) module ABI major version (4) doesn't match the server's version (2)
(II) UnloadModule: "kbd"
(II) Unloading /usr/lib64/xorg/modules/input//kbd_drv.so
(EE) Failed to load module "kbd" (module requirement mismatch, 0)
(EE) No drivers available.

Fatal server error:
no screens found


Strangely enough, many modules fail to load, which wasn't a problem until the "emerge -avuDN" world.

Here my make.conf:

Code:

# These settings were set by the catalyst build script that automatically
# built this stage.
# Please consult /etc/make.conf.example for a more detailed example.
CFLAGS="-march=nocona -O2 -pipe -fomit-frame-pointer"
CXXFLAGS="${CFLAGS}"
# WARNING: Changing your CHOST is not something that should be done lightly.
# Please consult http://www.gentoo.org/doc/en/change-chost.xml before changing.
CHOST="x86_64-pc-linux-gnu"
# These are the USE flags that were used in addition to what is provided by the
# profile used for building.
USE="sqlite tokenizer xsl pdo filter ip2500 openssl cisco openvpn mp3 embedded alsa X mmx sse jack nsplugin jadetex gtk jpeg png java6 cli ctype reflection spl simplexml pcre session php apache2 java cli pcre xml zlib kdeprefix sql cups dbus webkit mng opengl qt3support mysql svg berkdb gbdm gcc wlan kde kde4 X consolekit qt"
ACCEPT_KEYWORDS="~amd64"
MAKEOPTS="-j3"

GENTOO_MIRRORS="ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://gentoo.mneisen.org/ http://de-mirror.org/distro/gentoo/ ftp://de-mirror.org/distro/gentoo/ http://ftp.spline.inf.fu-berlin.de/mirrors/gentoo/ ftp://ftp.spline.inf.fu-berlin.de/mirrors/gentoo/ http://mirror.jamit.de/gentoo/ http://mirror.netcologne.de/gentoo/ ftp://mirror.netcologne.de/gentoo/ "

SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"

VIDEO_CARDS="nvidia"

source "/usr/local/portage/layman/make.conf"

LINGUAS="de"

FEATURES="-userfetch"

INPUT_DEVICES="keyboard mouse evdev"

APACHE2_MODULES="rewrite"


Please help me, i'm sitting here for hours and I really dont have no more ideas.

Thank you :roll:


Last edited by SlimJim on Wed Sep 23, 2009 5:02 am; edited 1 time in total
Back to top
View user's profile Send private message
Sadako
Advocate
Advocate


Joined: 05 Aug 2004
Posts: 3792
Location: sleeping in the bathtub

PostPosted: Tue Sep 22, 2009 3:25 pm    Post subject: Reply with quote

Looks like you didn't re-emerge the different x11 drivers after upgrading xorg-server, which is recommended in most cases and mandatory for major version bumps.

Do this;
Code:
for FOO in /var/db/pkg/x11-drivers/*; do echo ">=${FOO##*/}"; done | xargs emerge --oneshot

_________________
"You have to invite me in"
Back to top
View user's profile Send private message
SlimJim
n00b
n00b


Joined: 05 Sep 2004
Posts: 37
Location: Germany

PostPosted: Tue Sep 22, 2009 4:29 pm    Post subject: Reply with quote

Thanks a lot, Hopeless!! :lol:

That did the trick.

Now i am able to "startx" with my laptop-monitor again.

Do you have any suggestions how I could get it working with my DVI-Monitor on my Docking-Station (it's a Thinkpad T61)?

Before the update, it was configured in the xorg.conf which I am not using anymore. Where could I configure it now?

Greetz

Slim Jim

P.s: When I'm starting X on the Docking station, its just a blank screen but it doesn't turn off anymore like it did before. So I think there must be already a signal...?!
Back to top
View user's profile Send private message
Mike Hunt
Watchman
Watchman


Joined: 19 Jul 2009
Posts: 5287

PostPosted: Tue Sep 22, 2009 4:36 pm    Post subject: Reply with quote

Hopeless wrote:
for FOO in /var/db/pkg/x11-drivers/*; do echo ">=${FOO##*/}"; done | xargs emerge --oneshot

Even easier
Code:
emerge -1av $(qlist -IC x11-drivers)



You could use a minimal xorg.conf something like this
Code:
Section "ServerLayout"
    Identifier     "Default Layout"
    Screen      0  "Screen0" 0 0
EndSection
Section "Monitor"
    Identifier     "Monitor0"
    ModelName      "Iiyama PLE2607WS"
    HorizSync       29.0 - 81.0
    VertRefresh     55.0 - 76.0
EndSection
Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
EndSection
Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "TwinView" "0"
    Option         "metamodes" "DFP-1: 1920x1200 +0+0"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection


:P
Back to top
View user's profile Send private message
Sadako
Advocate
Advocate


Joined: 05 Aug 2004
Posts: 3792
Location: sleeping in the bathtub

PostPosted: Tue Sep 22, 2009 4:47 pm    Post subject: Reply with quote

Mike Hunt wrote:
Hopeless wrote:
for FOO in /var/db/pkg/x11-drivers/*; do echo ">=${FOO##*/}"; done | xargs emerge --oneshot

Even easier
Code:
emerge -1av $(qlist -IC x11-drivers)
And have to emerge portage-utils?

Pfft. :P

I have `alias x11-drivers_remerge='for FOO in /var/db/pkg/x11-drivers/*; do echo ">=${FOO##*/}"; done | xargs emerge --oneshot'` in /root/.bash_profile, so I can just run `x11-drivers_remerge -p`, and run again within pretend if I'm satisfied.
_________________
"You have to invite me in"
Back to top
View user's profile Send private message
SlimJim
n00b
n00b


Joined: 05 Sep 2004
Posts: 37
Location: Germany

PostPosted: Tue Sep 22, 2009 6:04 pm    Post subject: Reply with quote

Thank you also, Mike Hunt. Do you use these settings successfully with your Dockingstation and Xorg 1.6.3? Because I still get a blank screen with these settings and dockingstation?! :roll:
Even the suggestions of the Upgrade-Guide like uncommenting all "Option" lines didn't really help. Any further suggestions?
Back to top
View user's profile Send private message
SlimJim
n00b
n00b


Joined: 05 Sep 2004
Posts: 37
Location: Germany

PostPosted: Fri Sep 25, 2009 8:44 pm    Post subject: Reply with quote

Solved it by adding "xinerama" to /etc/make.conf and a emerge -avuDN world :lol:
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