Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Problem when install X-org for nvdia, please help (Solved)
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
hyson
n00b
n00b


Joined: 21 Aug 2010
Posts: 23
Location: Shanghai, China

PostPosted: Sat Aug 21, 2010 11:57 am    Post subject: Problem when install X-org for nvdia, please help (Solved) Reply with quote

I'm new to gentoo, so my problem may seem to be silly...
But I really need your help, or some suggestiong. Thx


I have install minimum gentoo correctly.
Now I want to install xorg-server (according the guide: http://www.gentoo.org/doc/zh_cn/xorg-config.xml)
after run X -config /root/xorg.con.new,
I can see a picture (about NVIDIA corporation logo)
then system go to black
Use Ctrl+Alt+F1 , close X
find some information and a logfile: /var/log/Xorg.0.log

My video card: NVIDIA NVS 3100M
(I emerged nvidia-drivers; and also run the linux driver from nvidia site: NVIDIA-Linux-x86-256.44.run)

If any other information needed, I will post it too

Wait for you reply, thank you

/var/log/Xorg.0.log
Code:

X.Org X Server 1.7.7
Release Date: 2010-05-04
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.34-gentoo-r1 i686
Current Operating System: Linux hyson 2.6.34-gentoo-r1 #1 SMP Wed Aug 18 20:35:10 Local time zone must be set--see zic  i686
Kernel command line: auto BOOT_IMAGE=gentoo ro root=100 init=/linuxrc ramdisk=8192 real_root=/dev/coda9
Build Date: 19 August 2010  10:27:37PM
 
Current version of pixman: 0.18.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: Sat Aug 21 19:24:48 2010
(++) Using config file: "/root/xorg.conf.new"
(==) ServerLayout "X.org Configured"
(**) |-->Screen "Screen0" (0)
(**) |   |-->Monitor "Monitor0"
(**) |   |-->Device "Card0"
(**) |-->Input Device "Mouse0"
(**) |-->Input Device "Keyboard0"
(==) Not automatically adding devices
(==) Not automatically enabling devices
(WW) The directory "/usr/share/fonts/misc/" does not exist.
   Entry deleted from font path.
(WW) The directory "/usr/share/fonts/TTF/" does not exist.
   Entry deleted from font path.
(WW) The directory "/usr/share/fonts/OTF" does not exist.
   Entry deleted from font path.
(WW) The directory "/usr/share/fonts/Type1/" does not exist.
   Entry deleted from font path.
(WW) The directory "/usr/share/fonts/100dpi/" does not exist.
   Entry deleted from font path.
(WW) The directory "/usr/share/fonts/75dpi/" does not exist.
   Entry deleted from font path.
(WW) The directory "/usr/share/fonts/misc/" does not exist.
   Entry deleted from font path.
(WW) The directory "/usr/share/fonts/TTF/" does not exist.
   Entry deleted from font path.
(WW) The directory "/usr/share/fonts/OTF" does not exist.
   Entry deleted from font path.
(WW) The directory "/usr/share/fonts/Type1/" does not exist.
   Entry deleted from font path.
(WW) The directory "/usr/share/fonts/100dpi/" does not exist.
   Entry deleted from font path.
(WW) The directory "/usr/share/fonts/75dpi/" does not exist.
   Entry deleted from font path.
(**) FontPath set to:
   
(**) ModulePath set to "/usr/lib/xorg/modules"
(II) Loader magic: 0x81e46c0
(II) Module ABI versions:
   X.Org ANSI C Emulation: 0.4
   X.Org Video Driver: 6.0
   X.Org XInput driver : 7.0
   X.Org Server Extension : 2.0
(--) using VT number 7

(--) PCI:*(0:1:0:0) 10de:0a6c:17aa:391a nVidia Corporation rev 162, Mem @ 0xcc000000/16777216, 0xd0000000/268435456, 0xce000000/33554432, I/O @ 0x00002000/128, BIOS @ 0x????????/524288
(WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
(WW) "dri" will not be loaded unless you've specified it to be loaded elsewhere.
(WW) "dri2" will not be loaded unless you've specified it to be loaded elsewhere.
(II) "extmod" will be loaded. This was enabled by default and also specified in the config file.
(II) "dbe" will be loaded. This was enabled by default and also specified in the config file.
(II) "glx" will be loaded. This was enabled by default and also specified in the config file.
(II) "record" will be loaded. This was enabled by default and also specified in the config file.
(II) "dri" will be loaded even though the default is to disable it.
(II) "dri2" will be loaded even though the default is to disable it.
(II) LoadModule: "record"
(II) Loading /usr/lib/xorg/modules/extensions/librecord.so
(II) Module record: vendor="X.Org Foundation"
   compiled for 1.7.7, module version = 1.13.0
   Module class: X.Org Server Extension
   ABI class: X.Org Server Extension, version 2.0
(II) Loading extension RECORD
(II) LoadModule: "glx"
(II) Loading /usr/lib/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  256.44  Thu Jul 29 01:55:11 PDT 2010
(II) Loading extension GLX
(II) LoadModule: "extmod"
(II) Loading /usr/lib/xorg/modules/extensions/libextmod.so
(II) Module extmod: vendor="X.Org Foundation"
   compiled for 1.7.7, module version = 1.0.0
   Module class: X.Org Server Extension
   ABI class: X.Org Server Extension, version 2.0
(II) Loading extension MIT-SCREEN-SAVER
(II) Loading extension XFree86-VidModeExtension
(II) Loading extension XFree86-DGA
(II) Loading extension DPMS
(II) Loading extension XVideo
(II) Loading extension XVideo-MotionCompensation
(II) Loading extension X-Resource
(II) LoadModule: "dbe"
(II) Loading /usr/lib/xorg/modules/extensions/libdbe.so
(II) Module dbe: vendor="X.Org Foundation"
   compiled for 1.7.7, module version = 1.0.0
   Module class: X.Org Server Extension
   ABI class: X.Org Server Extension, version 2.0
(II) Loading extension DOUBLE-BUFFER
(II) LoadModule: "nvidia"
(II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
(II) Module nvidia: vendor="NVIDIA Corporation"
   compiled for 4.0.2, module version = 1.0.0
   Module class: X.Org Video Driver
(II) LoadModule: "mouse"
(II) Loading /usr/lib/xorg/modules/input/mouse_drv.so
(II) Module mouse: vendor="X.Org Foundation"
   compiled for 1.7.7, module version = 1.5.0
   Module class: X.Org XInput Driver
   ABI class: X.Org XInput driver, version 7.0
(II) LoadModule: "kbd"
(II) Loading /usr/lib/xorg/modules/input/kbd_drv.so
(II) Module kbd: vendor="X.Org Foundation"
   compiled for 1.7.7, module version = 1.4.0
   Module class: X.Org XInput Driver
   ABI class: X.Org XInput driver, version 7.0
(II) NVIDIA dlloader X Driver  256.44  Thu Jul 29 01:32:42 PDT 2010
(II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
(II) Primary Device is: PCI 01@00:00:0
(II) Loading sub module "fb"
(II) LoadModule: "fb"
(II) Loading /usr/lib/xorg/modules/libfb.so
(II) Module fb: vendor="X.Org Foundation"
   compiled for 1.7.7, module version = 1.0.0
   ABI class: X.Org ANSI C Emulation, version 0.4
(II) Loading sub module "wfb"
(II) LoadModule: "wfb"
(II) Loading /usr/lib/xorg/modules/libwfb.so
(II) Module wfb: vendor="X.Org Foundation"
   compiled for 1.7.7, module version = 1.0.0
   ABI class: X.Org ANSI C Emulation, version 0.4
(II) Loading sub module "ramdac"
(II) LoadModule: "ramdac"
(II) Module "ramdac" already built-in
(==) NVIDIA(0): Depth 24, (==) framebuffer bpp 32
(==) NVIDIA(0): RGB weight 888
(==) NVIDIA(0): Default visual is TrueColor
(==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
(**) Aug 21 19:24:49 NVIDIA(0): Enabling RENDER acceleration
(II) Aug 21 19:24:49 NVIDIA(0): Support for GLX with the Damage and Composite X extensions is
(II) Aug 21 19:24:49 NVIDIA(0):     enabled.
(II) Aug 21 19:24:49 NVIDIA(0): NVIDIA GPU NVS 3100M (GT218) at PCI:1:0:0 (GPU-0)
(--) Aug 21 19:24:49 NVIDIA(0): Memory: 524288 kBytes
(--) Aug 21 19:24:49 NVIDIA(0): VideoBIOS: 70.18.3b.00.10
(II) Aug 21 19:24:49 NVIDIA(0): Detected PCI Express Link width: 16X
(--) Aug 21 19:24:49 NVIDIA(0): Interlaced video modes are supported on this GPU
(--) Aug 21 19:24:49 NVIDIA(0): Connected display device(s) on NVS 3100M at PCI:1:0:0:
(--) Aug 21 19:24:49 NVIDIA(0):     LEN (DFP-0)
(--) Aug 21 19:24:49 NVIDIA(0): LEN (DFP-0): 330.0 MHz maximum pixel clock
(--) Aug 21 19:24:49 NVIDIA(0): LEN (DFP-0): Internal Dual Link LVDS
(WW) Aug 21 19:24:49 NVIDIA(0): The EDID for LEN (DFP-0) contradicts itself: mode "1280x800"
(WW) Aug 21 19:24:49 NVIDIA(0):     is specified in the EDID; however, the EDID's valid
(WW) Aug 21 19:24:49 NVIDIA(0):     HorizSync range (43.398-49.022 kHz) would exclude this
(WW) Aug 21 19:24:49 NVIDIA(0):     mode's HorizSync (32.7 kHz); ignoring HorizSync check for
(WW) Aug 21 19:24:49 NVIDIA(0):     mode "1280x800".
(WW) Aug 21 19:24:49 NVIDIA(0): The EDID for LEN (DFP-0) contradicts itself: mode "1280x800"
(WW) Aug 21 19:24:49 NVIDIA(0):     is specified in the EDID; however, the EDID's valid
(WW) Aug 21 19:24:49 NVIDIA(0):     HorizSync range (43.398-49.022 kHz) would exclude this
(WW) Aug 21 19:24:49 NVIDIA(0):     mode's HorizSync (32.7 kHz); ignoring HorizSync check for
(WW) Aug 21 19:24:49 NVIDIA(0):     mode "1280x800".
(II) Aug 21 19:24:49 NVIDIA(0): Assigned Display Device: DFP-0
(==) Aug 21 19:24:49 NVIDIA(0):
(==) Aug 21 19:24:49 NVIDIA(0): No modes were requested; the default mode "nvidia-auto-select"
(==) Aug 21 19:24:49 NVIDIA(0):     will be used as the requested mode.
(==) Aug 21 19:24:49 NVIDIA(0):
(II) Aug 21 19:24:49 NVIDIA(0): Validated modes:
(II) Aug 21 19:24:49 NVIDIA(0):     "nvidia-auto-select"
(II) Aug 21 19:24:49 NVIDIA(0): Virtual screen size determined to be 1280 x 800
(--) Aug 21 19:24:50 NVIDIA(0): DPI set to (108, 106); computed from "UseEdidDpi" X config
(--) Aug 21 19:24:50 NVIDIA(0):     option
(==) Aug 21 19:24:50 NVIDIA(0): Enabling 32-bit ARGB GLX visuals.
(--) Depth 24 pixmap format is 32 bpp
(II) Aug 21 19:24:50 NVIDIA: Using 768.00 MB of virtual memory for indirect memory access.
(II) Aug 21 19:24:50 NVIDIA(0): Initialized GPU GART.
(II) Aug 21 19:24:50 NVIDIA(0): ACPI: failed to connect to the ACPI event daemon; the daemon
(II) Aug 21 19:24:50 NVIDIA(0):     may not be running or the "AcpidSocketPath" X
(II) Aug 21 19:24:50 NVIDIA(0):     configuration option may not be set correctly.  When the
(II) Aug 21 19:24:50 NVIDIA(0):     ACPI event daemon is available, the NVIDIA X driver will
(II) Aug 21 19:24:50 NVIDIA(0):     try to use it to receive ACPI event notifications.  For
(II) Aug 21 19:24:50 NVIDIA(0):     details, please see the "ConnectToAcpid" and
(II) Aug 21 19:24:50 NVIDIA(0):     "AcpidSocketPath" X configuration options in Appendix B: X
(II) Aug 21 19:24:50 NVIDIA(0):     Config Options in the README.
(II) Aug 21 19:24:50 NVIDIA(0): ACPI display change hotkey events enabled: the X server is new
(II) Aug 21 19:24:50 NVIDIA(0):     enough to receive ACPI hotkey events.
(II) Aug 21 19:24:50 NVIDIA(0): ACPI brightness change hotkey events enabled.
(II) Aug 21 19:24:50 NVIDIA(0): Setting mode "nvidia-auto-select"
(II) Loading extension NV-GLX
(II) Aug 21 19:24:51 NVIDIA(0): Initialized OpenGL Acceleration
(==) NVIDIA(0): Disabling shared memory pixmaps
(II) Aug 21 19:24:51 NVIDIA(0): Initialized X Rendering Acceleration
(==) NVIDIA(0): Backing store disabled
(==) NVIDIA(0): Silken mouse enabled
(==) NVIDIA(0): DPMS enabled
(II) Loading extension NV-CONTROL
(II) Loading extension XINERAMA
(==) RandR enabled
(II) Initializing built-in extension Generic Event Extension
(II) Initializing built-in extension SHAPE
(II) Initializing built-in extension MIT-SHM
(II) Initializing built-in extension XInputExtension
(II) Initializing built-in extension XTEST
(II) Initializing built-in extension BIG-REQUESTS
(II) Initializing built-in extension SYNC
(II) Initializing built-in extension XKEYBOARD
(II) Initializing built-in extension XC-MISC
(II) Initializing built-in extension XINERAMA
(II) Initializing built-in extension XFIXES
(II) Initializing built-in extension RENDER
(II) Initializing built-in extension RANDR
(II) Initializing built-in extension COMPOSITE
(II) Initializing built-in extension DAMAGE
(II) Initializing extension GLX
(**) Option "Protocol" "auto"
(**) Option "Device" "/dev/input/mice"
(II) Mouse0: Setting mouse protocol to "ExplorerPS/2"
(**) Mouse0: Device: "/dev/input/mice"
(**) Mouse0: Protocol: "auto"
(**) Option "CorePointer"
(**) Mouse0: always reports core events
(**) Option "Device" "/dev/input/mice"
(==) Mouse0: Emulate3Buttons, Emulate3Timeout: 50
(**) Option "ZAxisMapping" "4 5 6 7"
(**) Mouse0: ZAxisMapping: buttons 4, 5, 6 and 7
(**) Mouse0: Buttons: 11
(**) Mouse0: Sensitivity: 1
(II) XINPUT: Adding extended input device "Mouse0" (type: MOUSE)
(**) Mouse0: (accel) keeping acceleration scheme 1
(**) Mouse0: (accel) acceleration profile 0
(II) Mouse0: Setting mouse protocol to "ExplorerPS/2"
(II) Mouse0: ps2EnableDataReporting: succeeded
(**) Option "CoreKeyboard"
(**) Keyboard0: always reports core events
(**) Option "Protocol" "standard"
(**) Keyboard0: Protocol: standard
(**) Option "XkbRules" "base"
(**) Keyboard0: XkbRules: "base"
(**) Option "XkbModel" "pc105"
(**) Keyboard0: XkbModel: "pc105"
(**) Option "XkbLayout" "us"
(**) Keyboard0: XkbLayout: "us"
(**) Option "CustomKeycodes" "off"
(**) Keyboard0: CustomKeycodes disabled
(II) XINPUT: Adding extended input device "Keyboard0" (type: KEYBOARD)
(II) UnloadModule: "kbd"
(II) UnloadModule: "mouse"


/root/xorg.conf.new
Code:

Section "ServerLayout"
   Identifier     "X.org Configured"
   Screen      0  "Screen0" 0 0
   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"
   Disable  "dri"
   Load  "record"
   Load  "glx"
   Load  "extmod"
   Disable  "dri2"
   Load  "dbe"
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 "Device"
   Identifier  "Card0"
   Driver      "nvidia"
   VendorName  "nVidia Corporation"
   BoardName   "Unknown Board"
   BusID       "PCI:1:0:0"
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


Last edited by hyson on Sun Aug 22, 2010 5:07 am; edited 1 time in total
Back to top
View user's profile Send private message
Jaglover
Advocate
Advocate


Joined: 29 May 2005
Posts: 4667
Location: Saint Amant, Acadiana

PostPosted: Sat Aug 21, 2010 12:27 pm    Post subject: Reply with quote

Black screen is what you get when Xorg is running and nothing is started on top of it. You should start a WM or DE to see more than black screen.
Back to top
View user's profile Send private message
John R. Graham
Administrator
Administrator


Joined: 08 Mar 2005
Posts: 7810
Location: Somewhere over Atlanta, Georgia

PostPosted: Sat Aug 21, 2010 12:30 pm    Post subject: Reply with quote

Have you seen the Gentoo Linux nVidia Guide? If not, follow that and, if you have any questions, please post back.

Also, X by itself isn't useful. To prove that it's minimally working, you could emerge xorg-x11, which includes a tiny little window manager called twm. After installing that, starting X won't give you a blank screen. Alternatively, you can install one of the many desktop environments described in the Gentoo Desktop Documentation Resources section of the Gentoo Documentation Resources page, which you'll have to do eventually, anyway.

- John
_________________
This space intentionally left blank.
Back to top
View user's profile Send private message
hyson
n00b
n00b


Joined: 21 Aug 2010
Posts: 23
Location: Shanghai, China

PostPosted: Sat Aug 21, 2010 12:33 pm    Post subject: Reply with quote

Jaglover wrote:
Black screen is what you get when Xorg is running and nothing is started on top of it. You should start a WM or DE to see more than black screen.


is that means : what i got is exactly right?
what i need to do is install Windows Manager (GNOME e.g) now?
Back to top
View user's profile Send private message
hyson
n00b
n00b


Joined: 21 Aug 2010
Posts: 23
Location: Shanghai, China

PostPosted: Sat Aug 21, 2010 12:41 pm    Post subject: Reply with quote

John R. Graham wrote:
Have you seen the Gentoo Linux nVidia Guide? If not, follow that and, if you have any questions, please post back.

Also, X by itself isn't useful. To prove that it's minimally working, you could emerge xorg-x11, which includes a tiny little window manager called twm. After installing that, starting X won't give you a blank screen. Alternatively, you can install one of the many desktop environments described in the Gentoo Desktop Documentation Resources section of the Gentoo Documentation Resources page, which you'll have to do eventually, anyway.

- John


I read that article, but have not tried yet

I thought xorg-server contained twm-like things.

Now, I try to install GNOME first, if failed again, I will try Gentoo Linux nVidia Guide then (because now , I think it may not be the problem of video drivers).
Back to top
View user's profile Send private message
hyson
n00b
n00b


Joined: 21 Aug 2010
Posts: 23
Location: Shanghai, China

PostPosted: Sun Aug 22, 2010 5:07 am    Post subject: Reply with quote

Dear Jaglover,John:

Last night i tried to emerge gnome, it's much too long than i thought...
Finally, I changed to emerge gnome-light, now I can enter X now, and haven't encounter any fault yet.


Thank you both for your suggestion and induction:)
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