You are not logged in.

#1 2009-04-10 08:31:11

The_infinite_loop
Member
From: México
Registered: 2009-04-10
Posts: 16
Website

[SOLVED] Nvidia driver can't handle Depth 24

Hi veryone.
Well this is my second post...
It's about an issue I'm having with the nvidia-96xx driver. I did many test and concluded that it was the DefaultDepth on my xorg.conf file the one that is causing this problem.
When it's set to 16 everything is ok and I can start the Xserver however, when I change it to 24 (The one that I had before) I get a segfault (That's what I think it is).

Xorg.0.log:

X.Org X Server 1.5.3
Release Date: 5 November 2008
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.29-ARCH i686 
Current Operating System: Linux Tuxlink 2.6.29-ARCH #1 SMP PREEMPT Wed Apr 8 12:47:56 UTC 2009 i686
Build Date: 05 April 2009  01:04:48PM
 
    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 Apr 10 01:01:13 2009
(==) Using config file: "/etc/X11/xorg.conf"
(==) ServerLayout "Xorg Configured"
(**) |-->Screen "Screen0" (0)
(**) |   |-->Monitor "Monitor0"
(**) |   |-->Device "Card0"
(**) |-->Input Device "Keyboard0"
(**) |-->Input Device "USB Mouse"
(**) Option "AllowMouseOpenFail" "true"
(**) Option "AutoAddDevices" "False"
(**) Not automatically adding devices
(==) Automatically enabling devices
(==) Including the default font path /usr/share/fonts/misc,/usr/share/fonts/100dpi:unscaled,/usr/share/fonts/75dpi:unscaled,/usr/share/fonts/TTF,/usr/share/fonts/Type1.
(**) FontPath set to:
    /usr/share/fonts/misc:unscaled,
    /usr/share/fonts/misc,
    /usr/share/fonts/75dpi:unscaled,
    /usr/share/fonts/75dpi,
    /usr/share/fonts/100dpi:unscaled,
    /usr/share/fonts/100dpi,
    /usr/share/fonts/Type1,
    /usr/share/fonts/misc,
    /usr/share/fonts/100dpi:unscaled,
    /usr/share/fonts/75dpi:unscaled,
    /usr/share/fonts/TTF,
    /usr/share/fonts/Type1
(**) ModulePath set to "/usr/lib/xorg/modules"
(**) Extension "Composite" is enabled
(II) Open ACPI successful (/var/run/acpid.socket)
(II) Loader magic: 0xba0
(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 NV18 [GeForce4 MX 4000] rev 193, Mem @ 0xec000000/0, 0xe0000000/0, BIOS @ 0x????????/131072
(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) "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) "freetype" 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 by default.
(II) LoadModule: "ddc"
(II) Module "ddc" already built-in
(II) LoadModule: "dbe"

(II) Loading /usr/lib/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: "extmod"

(II) Loading /usr/lib/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: "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  96.43.11  Mon Feb 23 15:43:14 PST 2009
(II) Loading extension GLX
(II) LoadModule: "freetype"

[b](WW) Warning, couldn't open module freetype
(II) UnloadModule: "freetype"
(EE) Failed to load module "freetype" (module does not exist, 0)
(II) LoadModule: "record"
[/b]
(II) Loading /usr/lib/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"

(II) Loading /usr/lib/xorg/modules/extensions//libdri.so
(II) Module dri: vendor="X.Org Foundation"
    compiled for 1.5.3, module version = 1.0.0
    ABI class: X.Org Server Extension, version 1.1
(II) Loading extension XFree86-DRI
(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: "kbd"

(II) Loading /usr/lib/xorg/modules/input//kbd_drv.so
(II) Module kbd: vendor="X.Org Foundation"
    compiled for 1.5.3, module version = 1.3.2
    Module class: X.Org XInput Driver
    ABI class: X.Org XInput driver, version 2.1
(II) LoadModule: "mouse"

(II) Loading /usr/lib/xorg/modules/input//mouse_drv.so
(II) Module mouse: vendor="X.Org Foundation"
    compiled for 1.4.2, module version = 1.3.0
    Module class: X.Org XInput Driver
    ABI class: X.Org XInput driver, version 2.0
(II) NVIDIA dlloader X Driver  96.43.11  Mon Feb 23 15:32:04 PST 2009
(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.5.3, 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
(II) resource ranges after probing:
    [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]
(**) 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)
(**) NVIDIA(0): Option "NoLogo" "True"
(**) NVIDIA(0): Option "NvAGP" "1"
(**) NVIDIA(0): Option "ConnectedMonitor" "CRT"
(**) NVIDIA(0): Option "RenderAccel" "True"
(**) NVIDIA(0): Option "TripleBuffer" "True"
(**) NVIDIA(0): Option "AddARGBGLXVisuals" "True"
(**) NVIDIA(0): Option "DisableGLXRootClipping" "True"
(**) NVIDIA(0): Option "DamageEvents" "True"
(**) NVIDIA(0): Enabling RENDER acceleration
(**) NVIDIA(0): ConnectedMonitor string: "CRT"
(**) NVIDIA(0): Use of NVIDIA internal AGP requested
(II) NVIDIA(0): Support for GLX with the Damage and Composite X extensions is
(II) NVIDIA(0):     enabled.
(II) NVIDIA(0): NVIDIA GPU GeForce4 MX 4000 at PCI:1:0:0 (GPU-0)
(--) NVIDIA(0): Memory: 131072 kBytes
(--) NVIDIA(0): VideoBIOS: 04.18.20.39.23
(II) NVIDIA(0): Detected AGP rate: 4X
(--) NVIDIA(0): Interlaced video modes are supported on this GPU
(--) NVIDIA(0): Connected display device(s) on GeForce4 MX 4000 at PCI:1:0:0:
(--) NVIDIA(0):     Sony PCVD-15XA1 (CRT-0)
(--) NVIDIA(0): Sony PCVD-15XA1 (CRT-0): 350.0 MHz maximum pixel clock
(II) NVIDIA(0): Assigned Display Device: CRT-0
(II) NVIDIA(0): Validated modes:
(II) NVIDIA(0):     "1024x768"
(II) NVIDIA(0):     "800x600"
(II) NVIDIA(0):     "640x480"
(II) NVIDIA(0): Virtual screen size determined to be 1024 x 768
(--) NVIDIA(0): DPI set to (86, 84); computed from "UseEdidDpi" X config
(--) NVIDIA(0):     option
(--) Depth 24 pixmap format is 32 bpp
(II) do I need RAC?  No, I don't.
(II) resource ranges after preInit:
    [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]
[b](II) NVIDIA(0): Initialized GART.

Backtrace:
0: /usr/bin/Xorg(xorg_backtrace+0x3b) [0x812f09b]
1: /usr/bin/Xorg(xf86SigHandler+0x51) [0x80d7d91]
2: [0xb7fab400]

Fatal server error:
Caught signal 11.  Server aborting[/b]

Also on the log it seems I don't have installed the freetype module. I made a search and it's already installed on my system:

/usr/lib/libfreetype.so es propiedad de freetype2-cleartype 2.3.9-1

Right now I'm at Depth 16, can't run compiz because of the Warn: No GLXFBConfig for depth 32 error.
I miss a few compiz plugins (expose, scale, etc). And have no problem with metacity+composite, but I'd like to solve this.

I hope someone can help smile

Last edited by The_infinite_loop (2009-04-10 19:55:34)


MacBook 2,1, 3GB RAM.

They say it changes... When the Sun goes down.

Offline

#2 2009-04-10 14:39:27

lampih
Member
From: Recife, Brasil
Registered: 2007-11-10
Posts: 6

Re: [SOLVED] Nvidia driver can't handle Depth 24

I'm having the same trouble. ;/
today after pacman -Syu I can't start the X.
I have the freetype module installed too but the error shows that I haven't.

Offline

#3 2009-04-10 18:33:31

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: [SOLVED] Nvidia driver can't handle Depth 24

/usr/lib/libfreetype.so is the freetype library, not the xorg module.

You can remove:
Load  "freetype"
from your xorg.conf. The freetype module has been removed bacause it is now integrated in the xorg-server.

Offline

#4 2009-04-10 19:11:56

The_infinite_loop
Member
From: México
Registered: 2009-04-10
Posts: 16
Website

Re: [SOLVED] Nvidia driver can't handle Depth 24

Snowman wrote:

/usr/lib/libfreetype.so is the freetype library, not the xorg module.

You can remove:
Load  "freetype"
from your xorg.conf. The freetype module has been removed bacause it is now integrated in the xorg-server.

Updated to xorg-server 1.6 from testing, I removed Load freetype and the error no longer appears smile.
I read a few web pages and now I know that xorg 1.6 no longer needs to load Freetype module. And on this Gentoo bug report:
http://bugs.gentoo.org/show_bug.cgi?id=261934
They say that the version 1.5.3 doesn't need it too. So I think lampih can remove it too.

I still have the problem with the DefaulDepth option at my xorg.conf file.
If I change it the Xserver crashes sad

Thak's for your help.


MacBook 2,1, 3GB RAM.

They say it changes... When the Sun goes down.

Offline

#5 2009-04-10 19:45:11

lampih
Member
From: Recife, Brasil
Registered: 2007-11-10
Posts: 6

Re: [SOLVED] Nvidia driver can't handle Depth 24

I removed Load  "freetype" and now my xorg works, but in the same conditions of  The_infinite_loop, only if the DefaultDepth is set to 16.

thanks guys. ;]

Offline

#6 2009-04-10 19:54:29

The_infinite_loop
Member
From: México
Registered: 2009-04-10
Posts: 16
Website

Re: [SOLVED] Nvidia driver can't handle Depth 24

big_smile Solved It!
I continued reading many web pages and found a solution for this.
The steps that I followed were a lot, but the one that made it work was adding the following instructions to my /boot/grub/menu.lst

# (0) Arch Linux
title  Arch Linux
root   (hd0,0)
kernel /vmlinuz26 root=/dev/disk/by-uuid/45b4794b-c900-4418-a20e-073ace0b2c31 ro vga=773 agp=off nopat enable_mtrr_cleanup
initrd /kernel26.img

Actually only nopat option did the trick, but added both =P.
Now I can set my DefaultDepth to 24 (on Screen Section) and use Compiz:

Section "Screen"
    Identifier "Screen0"
    Device     "Card0"
    Monitor    "Monitor0"
#    DefaultColorDepth 24
    DefaultDepth 24

Also discovered that the xserver loads dri and dri2 by default, and according to the wiki it must be disable if you are running the nvidia driver. The output on Xorg log is:

(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) "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) Loading /usr/lib/xorg/modules/drivers//nvidia_drv.so
    ABI class: X.Org XInput driver, version 4.0
    ABI class: X.Org XInput driver, version 4.0

The fisrt 2 lineas appear because I specified dri not to be loaded on my xorg.conf file adding Disable DRI on Modules section.

Hope this help smile
Thank's to everyone who read my post.

Last edited by The_infinite_loop (2009-04-10 19:56:38)


MacBook 2,1, 3GB RAM.

They say it changes... When the Sun goes down.

Offline

#7 2009-04-12 00:10:24

lampih
Member
From: Recife, Brasil
Registered: 2007-11-10
Posts: 6

Re: [SOLVED] Nvidia driver can't handle Depth 24

The_infinite_loop wrote:

big_smile Solved It!
I continued reading many web pages and found a solution for this.
The steps that I followed were a lot, but the one that made it work was adding the following instructions to my /boot/grub/menu.lst

# (0) Arch Linux
title  Arch Linux
root   (hd0,0)
kernel /vmlinuz26 root=/dev/disk/by-uuid/45b4794b-c900-4418-a20e-073ace0b2c31 ro vga=773 agp=off nopat enable_mtrr_cleanup
initrd /kernel26.img

Actually only nopat option did the trick, but added both =P.

works fine here now. ;D
thanks!

Last edited by lampih (2009-04-12 00:12:16)

Offline

Board footer

Powered by FluxBB