You are not logged in.

#1 2011-01-25 12:09:15

aitjcize
Member
From: Taiwan
Registered: 2009-08-08
Posts: 20

Sandy bridge with nvidia GT540M xorg problem

Hello,

I just bought a new laptop(Sandy bridge + nv GT540M) and trying to install Arch on it. However I can get my nvidia card work.
I tried using nvidia-xconfig to generate the configuration, but it still doesn't work.
I'm using the driver in the repository, and I am pretty sure this card is supported though it's kind of new
because the driver used on windows is the same as the driver for GT4XXM.

here is my Xorg.conf

# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 260.19.29  (buildmeister@swio-display-x86-rhel47-04.nvidia.com)  Wed Dec  8 12:27:39 PST 2010

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

Section "Files"
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 "InputDevice"
    # generated from default
    Identifier     "Keyboard0"
    Driver         "kbd"
EndSection

Section "Monitor"
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "Unknown"
    HorizSync       28.0 - 33.0
    VertRefresh     43.0 - 72.0
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    Option         "NoLogo" "True"
EndSection

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

and here is my Xorg.0.log

[    18.109] 
X.Org X Server 1.9.2
Release Date: 2010-10-30
[    18.109] X Protocol Version 11, Revision 0
[    18.109] Build Operating System: Linux 2.6.35-ARCH x86_64 
[    18.109] Current Operating System: Linux AZsArch 2.6.36-ARCH #1 SMP PREEMPT Sat Jan 8 14:15:27 CET 2011 x86_64
[    18.109] Kernel command line: root=/dev/sda5 ro vga=792
[    18.109] Build Date: 01 November 2010  10:29:19PM
[    18.109]  
[    18.109] Current version of pixman: 0.20.0
[    18.109]     Before reporting problems, check http://wiki.x.org
    to make sure that you have the latest version.
[    18.109] Markers: (--) probed, (**) from config file, (==) default setting,
    (++) from command line, (!!) notice, (II) informational,
    (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[    18.109] (==) Log file: "/var/log/Xorg.0.log", Time: Tue Jan 25 19:44:07 2011
[    18.143] (==) Using config directory: "/etc/X11/xorg.conf.d"
[    18.239] (==) No Layout section.  Using the first Screen section.
[    18.239] (==) No screen section available. Using defaults.
[    18.239] (**) |-->Screen "Default Screen Section" (0)
[    18.239] (**) |   |-->Monitor "<default monitor>"
[    18.239] (==) No device specified for screen "Default Screen Section".
    Using the first device section listed.
[    18.239] (**) |   |-->Device "Default nvidia Device"
[    18.239] (==) No monitor specified for screen "Default Screen Section".
    Using a default monitor configuration.
[    18.239] (==) Automatically adding devices
[    18.239] (==) Automatically enabling devices
[    18.269] (WW) The directory "/usr/share/fonts/OTF/" does not exist.
[    18.269]     Entry deleted from font path.
[    18.301] (==) FontPath set to:
    /usr/share/fonts/misc/,
    /usr/share/fonts/TTF/,
    /usr/share/fonts/Type1/,
    /usr/share/fonts/100dpi/,
    /usr/share/fonts/75dpi/
[    18.301] (==) ModulePath set to "/usr/lib/xorg/modules"
[    18.301] (II) The server relies on udev to provide the list of input devices.
    If no devices become available, reconfigure udev or disable AutoAddDevices.
[    18.301] (II) Loader magic: 0x7d3360
[    18.301] (II) Module ABI versions:
[    18.301]     X.Org ANSI C Emulation: 0.4
[    18.301]     X.Org Video Driver: 8.0
[    18.301]     X.Org XInput driver : 11.0
[    18.301]     X.Org Server Extension : 4.0
[    18.302] (--) PCI:*(0:0:2:0) 8086:0116:1025:0507 rev 9, Mem @ 0xf1400000/4194304, 0xe0000000/268435456, I/O @ 0x00003000/64
[    18.302] (--) PCI: (0:1:0:0) 10de:0df4:1025:0507 rev 161, Mem @ 0xf0000000/16777216, 0xc0000000/268435456, 0xd0000000/33554432, I/O @ 0x00002000/128, BIOS @ 0x????????/524288
[    18.302] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[    18.302] (II) LoadModule: "extmod"
[    18.310] (II) Loading /usr/lib/xorg/modules/extensions/libextmod.so
[    18.318] (II) Module extmod: vendor="X.Org Foundation"
[    18.318]     compiled for 1.9.2, module version = 1.0.0
[    18.318]     Module class: X.Org Server Extension
[    18.318]     ABI class: X.Org Server Extension, version 4.0
[    18.318] (II) Loading extension MIT-SCREEN-SAVER
[    18.318] (II) Loading extension XFree86-VidModeExtension
[    18.318] (II) Loading extension XFree86-DGA
[    18.318] (II) Loading extension DPMS
[    18.318] (II) Loading extension XVideo
[    18.318] (II) Loading extension XVideo-MotionCompensation
[    18.318] (II) Loading extension X-Resource
[    18.318] (II) LoadModule: "dbe"
[    18.319] (II) Loading /usr/lib/xorg/modules/extensions/libdbe.so
[    18.322] (II) Module dbe: vendor="X.Org Foundation"
[    18.322]     compiled for 1.9.2, module version = 1.0.0
[    18.322]     Module class: X.Org Server Extension
[    18.322]     ABI class: X.Org Server Extension, version 4.0
[    18.322] (II) Loading extension DOUBLE-BUFFER
[    18.322] (II) LoadModule: "glx"
[    18.322] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[    18.748] (II) Module glx: vendor="NVIDIA Corporation"
[    18.765]     compiled for 4.0.2, module version = 1.0.0
[    18.765]     Module class: X.Org Server Extension
[    18.765] (II) NVIDIA GLX Module  260.19.29  Wed Dec  8 12:24:30 PST 2010
[    18.765] (II) Loading extension GLX
[    18.765] (II) LoadModule: "record"
[    18.765] (II) Loading /usr/lib/xorg/modules/extensions/librecord.so
[    18.772] (II) Module record: vendor="X.Org Foundation"
[    18.773]     compiled for 1.9.2, module version = 1.13.0
[    18.773]     Module class: X.Org Server Extension
[    18.773]     ABI class: X.Org Server Extension, version 4.0
[    18.773] (II) Loading extension RECORD
[    18.773] (II) LoadModule: "dri"
[    18.773] (II) Loading /usr/lib/xorg/modules/extensions/libdri.so
[    18.800] (II) Module dri: vendor="X.Org Foundation"
[    18.800]     compiled for 1.9.2, module version = 1.0.0
[    18.800]     ABI class: X.Org Server Extension, version 4.0
[    18.800] (II) Loading extension XFree86-DRI
[    18.800] (II) LoadModule: "dri2"
[    18.801] (II) Loading /usr/lib/xorg/modules/extensions/libdri2.so
[    18.801] (II) Module dri2: vendor="X.Org Foundation"
[    18.801]     compiled for 1.9.2, module version = 1.2.0
[    18.801]     ABI class: X.Org Server Extension, version 4.0
[    18.801] (II) Loading extension DRI2
[    18.801] (II) LoadModule: "nvidia"
[    18.809] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
[    18.864] (II) Module nvidia: vendor="NVIDIA Corporation"
[    18.867]     compiled for 4.0.2, module version = 1.0.0
[    18.867]     Module class: X.Org Video Driver
[    18.895] (II) NVIDIA dlloader X Driver  260.19.29  Wed Dec  8 12:10:14 PST 2010
[    18.895] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[    18.895] (++) using VT number 7

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

Thanks!

Last edited by aitjcize (2011-01-25 12:21:36)

Offline

#2 2011-01-25 13:32:52

Gusar
Member
Registered: 2009-08-25
Posts: 3,605

Re: Sandy bridge with nvidia GT540M xorg problem

Optimus? Can you switch to the nvidia card in the bios? If no, you're probably out of luck. The most you can possibly hope for is powering down the nvidia card so it doesn't drain the battery. Check this out: http://linux-hybrid-graphics.blogspot.com/ and maybe write to their mailing list.

Offline

#3 2011-01-25 14:01:37

aitjcize
Member
From: Taiwan
Registered: 2009-08-08
Posts: 20

Re: Sandy bridge with nvidia GT540M xorg problem

Yes, Optimus unfortunatly...
Thanks for the help anyway.
Maybe I should try linux-2.6.37 and use sandy-bridge instead?

Offline

#4 2011-01-25 14:02:48

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: Sandy bridge with nvidia GT540M xorg problem

aitjcize wrote:

Yes, Optimus unfortunatly...
Thanks for the help anyway.
Maybe I should try linux-2.6.37 and use sandy-bridge instead?


nvidia doesn't support optimus configuration and they don't have yet that in the plan. What can you do is to disable the intel vga from the bios


Give what you have. To someone, it may be better than you dare to think.

Offline

#5 2011-01-25 14:05:40

aitjcize
Member
From: Taiwan
Registered: 2009-08-08
Posts: 20

Re: Sandy bridge with nvidia GT540M xorg problem

nvidia doesn't support optimus configuration and they don't have yet that in the plan. What can you do is to disable the intel vga from the bios


but there isn't an option for that in my BIOS settings ...
... so frustrated after mess around with it all day...

Last edited by aitjcize (2011-01-25 14:06:27)

Offline

#6 2011-01-26 09:06:18

aitjcize
Member
From: Taiwan
Registered: 2009-08-08
Posts: 20

Re: Sandy bridge with nvidia GT540M xorg problem

strange enough ...
I tried ubuntu 10.10 (kernel 2.6.35) and it start X smoothly!!!
It appears to be using the intel driver for sandy-bridge.

I tried installing xf86-video-intel on arch before but without luck

anyone know why it is working on ubuntu 10.10?
I still want to use Arch Linux so if I know the how it is done, I could do the same thing on Arch.

Last edited by aitjcize (2011-01-26 09:07:02)

Offline

#7 2011-01-26 09:52:41

Gusar
Member
Registered: 2009-08-25
Posts: 3,605

Re: Sandy bridge with nvidia GT540M xorg problem

I kinda find it hard to believe it's working in Ubuntu. You need the latest components for Sandy Bridge graphics, in Arch they're in [testing]: kernel 2.6.37, mesa 7.10, intel 2.14. Well, the git snapshot of mesa that's in [extra] is maybe new enough, and I'm not absolutely sure about the kernel. But from what I know, you definitely need xf86-video-intel-2.14. It's only possible in Ubuntu if they did some backporting. Are you sure it isn't running the vesa driver there?

Anyway, even if you get this working, the nvidia chip is still active and draining the battery, you need to figure out how to power it down.

Last edited by Gusar (2011-01-26 09:55:44)

Offline

#8 2011-04-11 01:49:09

jiangkero
Member
Registered: 2009-07-25
Posts: 24

Re: Sandy bridge with nvidia GT540M xorg problem

i meet the same problem with you
do you solve the problem ?

Last edited by jiangkero (2011-04-11 04:17:43)

Offline

#9 2011-04-11 05:38:56

aitjcize
Member
From: Taiwan
Registered: 2009-08-08
Posts: 20

Re: Sandy bridge with nvidia GT540M xorg problem

Hi, it's currently not possible to use nvidia card with OPTIMUS, so I have to use intel instead. Here is my setup:

kernel: 2.6.38.2 (supports sandybridge)
graphics driver: xf86-video-intel 2.14 (available in extra)

With this configuration, you should able to use compiz fusion with integrated GPU.

Offline

Board footer

Powered by FluxBB