Alexey Kardashevsky
2009-Feb-13 15:36 UTC
[Nouveau] running x.org on powerpc64 with nvidia6200
I am newbie in this topic and I have problems trying to bring x.org up on the hardware I have: IBM QS22 BladeServer (PowerPC64 architecture) with PCI-Express connected nVidia 6200 video card. OS: Fedora 10-ppc: Linux localhost.localdomain 2.6.27.5aik #1 SMP Tue Feb 10 14:55:56 EST 2009 ppc64 ppc64 ppc64 GNU/Linux I downloaded and compiled DRM driver (git clone git://anongit.freedesktop.org/git/mesa/drm) and loaded it: [root at localhost ~]# modprobe drm [root at localhost ~]# modprobe nouveau [root at localhost ~]# dmesg | tail -n 3 nouveau 0005:01:00.0: enabling device (0140 -> 0142) [drm] Detected an NV44 generation card (0x044300b2) [drm] Initialized nouveau 0.0.12 libdrm-2.4.4-28-geb78c53aa1a980e60 on minor 0 [root at localhost ~]# lsmod | grep no nouveau 351856 0 drm 249176 1 nouveau [root at localhost ~]# lspci -v [...] 0005:01:00.0 VGA compatible controller: nVidia Corporation NV44 [GeForce 6200 LE] (rev a1) (prog-if 00 [VGA controller]) Subsystem: ASUSTeK Computer Inc. Device 827b Flags: bus master, fast devsel, latency 0, IRQ 106 Memory at 3d080000000 (32-bit, non-prefetchable) [size=16M] Memory at 3d0c0000000 (64-bit, prefetchable) [size=512M] Memory at 3d081000000 (64-bit, non-prefetchable) [size=16M] Expansion ROM at 3d082000000 [size=128K] Capabilities: [60] Power Management version 2 Capabilities: [68] Message Signalled Interrupts: Mask- 64bit+ Count=1/1 Enable- Capabilities: [78] Express Endpoint, MSI 00 Capabilities: [100] Virtual Channel <?> Capabilities: [128] Power Budgeting <?> Kernel driver in use: nouveau [root at localhost ~]# ls -la /dev/fb* crw------- 1 root root 29, 0 2009-02-13 10:19 /dev/fb * Also I've got http://cgit.freedesktop.org/mesa/mesa/snapshot/mesa_7_3.tar.bz2, compiled and installed. Then, I've tried configuring x.org: * [root at localhost ~]# X -configure -verbose 255 (II) config/hal: initialized X.Org X Server 1.5.3 Release Date: 5 November 2008 X Protocol Version 11, Revision 0 Build Operating System: Linux 2.6.18-92.1.10.el5 ppc Current Operating System: Linux localhost.localdomain 2.6.27.5aik #1 SMP Tue Feb 10 14:55:56 EST 2009 ppc64 Build Date: 16 November 2008 08:30:07PM Build ID: xorg-x11-server 1.5.3-5.fc10 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 Feb 13 10:25:59 2009 (II) No APM support in BIOS or kernel (II) Loader magic: 0x101e59a4 (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 X.Org Font Renderer : 0.6 (II) Loader running on linux (--) using VT number 7 (--) PCI:*(5 at 1:0:0) nVidia Corporation NV44 [GeForce 6200 LE] rev 161, Mem @ 0x1020bd9c/976, 0x1020bd9c/976, 0x1020bd9c/976, BIOS @ 0x????????/270581148 List of video drivers: nouveau mga i740 sis savage i128 mach64 trident tdfx s3virge dummy r128 cirrus siliconmotion ati glint v4l sisusb rendition radeon apm ast voodoo fbdev vesa (II) LoadModule: "nouveau" (II) Loading /usr/lib/xorg/modules/drivers//nouveau_drv.so (II) Module nouveau: vendor="X.Org Foundation" compiled for 1.4.99.906, module version = 0.0.10 Module class: X.Org Video Driver ABI class: X.Org Video Driver, version 4.1 (II) LoadModule: "mga" (II) Loading /usr/lib/xorg/modules/drivers//mga_drv.so (II) Module mga: vendor="X.Org Foundation" compiled for 1.4.99.902, module version = 1.4.9 Module class: X.Org Video Driver ABI class: X.Org Video Driver, version 4.0 (II) LoadModule: "i740" (II) Loading /usr/lib/xorg/modules/drivers//i740_drv.so (II) Module i740: vendor="X.Org Foundation" compiled for 1.4.99.901, module version = 1.2.0 Module class: X.Org Video Driver ABI class: X.Org Video Driver, version 4.0 (II) LoadModule: "sis" (II) Loading /usr/lib/xorg/modules/drivers//sis_drv.so (II) Module sis: vendor="X.Org Foundation" compiled for 1.4.99.901, module version = 0.10.0 Module class: X.Org Video Driver ABI class: X.Org Video Driver, version 4.0 (II) LoadModule: "savage" (II) Loading /usr/lib/xorg/modules/drivers//savage_drv.so (II) Module savage: vendor="X.Org Foundation" compiled for 1.4.99.901, module version = 2.2.0 Module class: X.Org Video Driver ABI class: X.Org Video Driver, version 4.0 (II) LoadModule: "i128" (II) Loading /usr/lib/xorg/modules/drivers//i128_drv.so (II) Module i128: vendor="X.Org Foundation" compiled for 1.4.99.901, module version = 1.3.0 Module class: X.Org Video Driver ABI class: X.Org Video Driver, version 4.0 (II) LoadModule: "mach64" (II) Loading /usr/lib/xorg/modules/drivers//mach64_drv.so (II) Module mach64: vendor="X.Org Foundation" compiled for 1.4.99.906, module version = 6.8.0 Module class: X.Org Video Driver ABI class: X.Org Video Driver, version 4.1 (II) LoadModule: "trident" (II) Loading /usr/lib/xorg/modules/drivers//trident_drv.so (II) Module trident: vendor="X.Org Foundation" compiled for 1.4.99.901, module version = 1.3.0 Module class: X.Org Video Driver ABI class: X.Org Video Driver, version 4.0 (II) LoadModule: "tdfx" (II) Loading /usr/lib/xorg/modules/drivers//tdfx_drv.so (II) Module tdfx: vendor="X.Org Foundation" compiled for 1.4.99.901, module version = 1.4.0 Module class: X.Org Video Driver ABI class: X.Org Video Driver, version 4.0 (II) LoadModule: "s3virge" (II) Loading /usr/lib/xorg/modules/drivers//s3virge_drv.so (II) Module s3virge: vendor="X.Org Foundation" compiled for 1.4.99.901, module version = 1.10.0 Module class: X.Org Video Driver ABI class: X.Org Video Driver, version 4.0 (II) LoadModule: "dummy" (II) Loading /usr/lib/xorg/modules/drivers//dummy_drv.so (II) Module dummy: vendor="X.Org Foundation" compiled for 1.4.99.901, module version = 0.3.0 Module class: X.Org Video Driver ABI class: X.Org Video Driver, version 4.0 (II) LoadModule: "r128" (II) Loading /usr/lib/xorg/modules/drivers//r128_drv.so (II) Module r128: vendor="X.Org Foundation" compiled for 1.4.99.906, module version = 6.8.0 Module class: X.Org Video Driver ABI class: X.Org Video Driver, version 4.1 (II) LoadModule: "cirrus" (II) Loading /usr/lib/xorg/modules/drivers//cirrus_drv.so (II) Module cirrus: vendor="X.Org Foundation" compiled for 1.4.99.901, module version = 1.2.0 Module class: X.Org Video Driver ABI class: X.Org Video Driver, version 4.0 (II) LoadModule: "siliconmotion" (II) Loading /usr/lib/xorg/modules/drivers//siliconmotion_drv.so (II) Module siliconmotion: vendor="X.Org Foundation" compiled for 1.4.99.901, module version = 1.6.0 Module class: X.Org Video Driver ABI class: X.Org Video Driver, version 4.0 (II) LoadModule: "ati" (II) Loading /usr/lib/xorg/modules/drivers//ati_drv.so (II) Module ati: vendor="X.Org Foundation" compiled for 1.5.3, module version = 6.9.0 Module class: X.Org Video Driver ABI class: X.Org Video Driver, version 4.1 (II) LoadModule: "glint" (II) Loading /usr/lib/xorg/modules/drivers//glint_drv.so (II) Module glint: vendor="X.Org Foundation" compiled for 1.4.99.902, module version = 1.2.1 Module class: X.Org Video Driver ABI class: X.Org Video Driver, version 4.0 (II) LoadModule: "v4l" (II) Loading /usr/lib/xorg/modules/drivers//v4l_drv.so (II) Module v4l: vendor="X.Org Foundation" compiled for 1.4.99.901, module version = 0.1.1 ABI class: X.Org Video Driver, version 4.0 (II) LoadModule: "sisusb" (II) Loading /usr/lib/xorg/modules/drivers//sisusb_drv.so (II) Module sisusb: vendor="X.Org Foundation" compiled for 1.4.99.901, module version = 0.9.0 Module class: X.Org Video Driver ABI class: X.Org Video Driver, version 4.0 (II) LoadModule: "rendition" (II) Loading /usr/lib/xorg/modules/drivers//rendition_drv.so (II) Module rendition: vendor="X.Org Foundation" compiled for 1.4.99.901, module version = 4.2.0 Module class: X.Org Video Driver ABI class: X.Org Video Driver, version 4.0 (II) LoadModule: "radeon" (II) Loading /usr/lib/xorg/modules/drivers//radeon_drv.so (II) Module radeon: vendor="X.Org Foundation" compiled for 1.5.3, module version = 6.9.0 Module class: X.Org Video Driver ABI class: X.Org Video Driver, version 4.1 (II) LoadModule: "apm" (II) Loading /usr/lib/xorg/modules/drivers//apm_drv.so (II) Module apm: vendor="X.Org Foundation" compiled for 1.4.99.901, module version = 1.2.0 Module class: X.Org Video Driver ABI class: X.Org Video Driver, version 4.0 (II) LoadModule: "ast" (II) Loading /usr/lib/xorg/modules/drivers//ast_drv.so (II) Module ast: vendor="X.Org Foundation" compiled for 1.4.99.901, module version = 0.85.0 Module class: X.Org Video Driver ABI class: X.Org Video Driver, version 4.0 (II) LoadModule: "voodoo" (II) Loading /usr/lib/xorg/modules/drivers//voodoo_drv.so (II) Module voodoo: vendor="X.Org Foundation" compiled for 4.3.99.902, module version = 1.1.0 Module class: X.Org Video Driver ABI class: X.Org Video Driver, version 4.0 (II) LoadModule: "fbdev" (II) Loading /usr/lib/xorg/modules/drivers//fbdev_drv.so (II) Module fbdev: vendor="X.Org Foundation" compiled for 1.4.99.2, module version = 0.3.1 ABI class: X.Org Video Driver, version 4.0 (II) LoadModule: "vesa" (II) Loading /usr/lib/xorg/modules/drivers//vesa_drv.so (II) Module vesa: vendor="X.Org Foundation" compiled for 1.4.99.905, module version = 1.3.0 Module class: X.Org Video Driver ABI class: X.Org Video Driver, version 4.1 (II) System resource ranges: (II) Primary Device is: PCI 01 at 05:00:0 (II) NOUVEAU driver (II) NOUVEAU driver for NVIDIA chipset families : RIVA TNT (NV04) RIVA TNT2 (NV05) GeForce 256 (NV10) GeForce 2 (NV11, NV15) GeForce 4MX (NV17, NV18) GeForce 3 (NV20) GeForce 4Ti (NV25, NV28) GeForce FX (NV3x) GeForce 6 (NV4x) GeForce 7 (G7x) GeForce 8 (G8x) (WW) Falling back to old probe method for i740 (WW) Falling back to old probe method for sis (WW) Falling back to old probe method for i128 (WW) Falling back to old probe method for trident (WW) Falling back to old probe method for s3virge S3VProbe begin (WW) Falling back to old probe method for dummy (WW) Falling back to old probe method for cirrus (II) Loading sub module "cirrus_laguna" (II) LoadModule: "cirrus_laguna" (II) Loading /usr/lib/xorg/modules/drivers//cirrus_laguna.so (II) Module cirrus_laguna: vendor="X.Org Foundation" compiled for 1.4.99.901, module version = 1.0.0 ABI class: X.Org Video Driver, version 4.0 (II) Loading sub module "cirrus_alpine" (II) LoadModule: "cirrus_alpine" (II) Loading /usr/lib/xorg/modules/drivers//cirrus_alpine.so (II) Module cirrus_alpine: vendor="X.Org Foundation" compiled for 1.4.99.901, module version = 1.0.0 ABI class: X.Org Video Driver, version 4.0 (WW) Falling back to old probe method for siliconmotion (WW) Falling back to old probe method for glint (WW) Falling back to old probe method for v4l (II) v4l driver for Video4Linux (WW) Falling back to old probe method for sisusb (WW) Falling back to old probe method for apm (WW) Falling back to old probe method for ast (WW) Falling back to old probe method for voodoo (II) FBDEV: driver for framebuffer: fbdev (II) VESA: driver for VESA chipsets: vesa (++) Using config file: "/root/xorg.conf.new" (==) ServerLayout "X.org Configured" (**) |-->Screen "Screen0" (0) (**) | |-->Monitor "Monitor0" (**) | |-->Device "Card0" (**) |-->Input Device "Mouse0" (**) |-->Input Device "Keyboard0" (==) Automatically adding devices (==) Automatically enabling devices (==) Including the default font path catalogue:/etc/X11/fontpath.d,built-ins. (**) FontPath set to: catalogue:/etc/X11/fontpath.d, built-ins, catalogue:/etc/X11/fontpath.d, built-ins (**) ModulePath set to "/usr/lib/xorg/modules" (WW) AllowEmptyInput is on, devices using drivers 'kbd' or 'mouse' will be disabled. (WW) Disabling Mouse0 (WW) Disabling Keyboard0 Number of created screens does not match number of detected devices. Configuration failed. *As I understand, the configurator has detected my card and started configuring it but something (what?) has failed. Ok, with no hope, I'm trying to start the X: * [root at localhost ~]# X -config xorg.conf.new -verbose 255 (II) config/hal: initialized X.Org X Server 1.5.3 Release Date: 5 November 2008 X Protocol Version 11, Revision 0 Build Operating System: Linux 2.6.18-92.1.10.el5 ppc Current Operating System: Linux localhost.localdomain 2.6.27.5aik #1 SMP Tue Feb 10 14:55:56 EST 2009 ppc64 Build Date: 16 November 2008 08:30:07PM Build ID: xorg-x11-server 1.5.3-5.fc10 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 Feb 13 10:26:48 2009 (++) Using config file: "xorg.conf.new" (==) ServerLayout "X.org Configured" (**) |-->Screen "Screen0" (0) (**) | |-->Monitor "Monitor0" (**) | |-->Device "Card0" (**) |-->Input Device "Mouse0" (**) |-->Input Device "Keyboard0" (==) Automatically adding devices (==) Automatically enabling devices (==) Including the default font path catalogue:/etc/X11/fontpath.d,built-ins. (**) FontPath set to: catalogue:/etc/X11/fontpath.d, built-ins, catalogue:/etc/X11/fontpath.d, built-ins (**) ModulePath set to "/usr/lib/xorg/modules" (WW) AllowEmptyInput is on, devices using drivers 'kbd' or 'mouse' will be disabled. (WW) Disabling Mouse0 (WW) Disabling Keyboard0 (II) No APM support in BIOS or kernel (II) Loader magic: 0x101e59a4 (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 X.Org Font Renderer : 0.6 (II) Loader running on linux (--) using VT number 7 (--) PCI:*(5 at 1:0:0) nVidia Corporation NV44 [GeForce 6200 LE] rev 161, Mem @ 0x1020bd9c/976, 0x1020bd9c/976, 0x1020bd9c/976, BIOS @ 0x????????/270581148 (II) System resource ranges: (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 by default. (II) "dri" will be loaded. This was enabled by default and also specified in the config file. (II) LoadModule: "glx" (II) Loading /usr/lib/xorg/modules/extensions//libglx.so (II) Module glx: vendor="X.Org Foundation" compiled for 1.5.3, module version = 1.0.0 ABI class: X.Org Server Extension, version 1.1 (==) AIGLX enabled (==) Exporting typical set of GLX visuals (II) Loading extension GLX (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: "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: "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 SELinux (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: "freetype" (II) Loading /usr/lib/xorg/modules/fonts//libfreetype.so (II) Module freetype: vendor="X.Org Foundation & the After X-TT Project" compiled for 1.5.3, module version = 2.1.0 Module class: X.Org Font Renderer ABI class: X.Org Font Renderer, version 0.6 (II) Loading font FreeType (II) LoadModule: "nouveau" (II) Loading /usr/lib/xorg/modules/drivers//nouveau_drv.so (II) Module nouveau: vendor="X.Org Foundation" compiled for 1.4.99.906, module version = 0.0.10 Module class: X.Org Video Driver ABI class: X.Org Video Driver, version 4.1 (II) NOUVEAU driver (II) NOUVEAU driver for NVIDIA chipset families : RIVA TNT (NV04) RIVA TNT2 (NV05) GeForce 256 (NV10) GeForce 2 (NV11, NV15) GeForce 4MX (NV17, NV18) GeForce 3 (NV20) GeForce 4Ti (NV25, NV28) GeForce FX (NV3x) GeForce 6 (NV4x) GeForce 7 (G7x) GeForce 8 (G8x) (II) Primary Device is: PCI 01 at 05:00:0 (EE) No devices detected. Fatal server error: no screens found * It expectantly fails. The auto-generated config is here:* [root at localhost ~]# cat /root/xorg.conf.new 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 "catalogue:/etc/X11/fontpath.d" FontPath "built-ins" EndSection Section "Module" Load "glx" Load "dbe" Load "dri" Load "extmod" 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" ### Available Driver options are:- ### Values: <i>: integer, <f>: float, <bool>: "True"/"False", ### <string>: "String", <freq>: "<f> Hz/kHz/MHz" ### [arg]: arg optional #Option "SWcursor" # [<bool>] #Option "HWcursor" # [<bool>] #Option "NoAccel" # [<bool>] #Option "ShadowFB" # [<bool>] #Option "VideoKey" # <i> #Option "FlatPanel" # [<bool>] #Option "FPDither" # [<bool>] #Option "FPScale" # [<bool>] #Option "FPTweak" # <i> #Option "CBLocation" # <str> #Option "CBSize" # <i> #Option "Randr12" # [<bool>] #Option "ScalingMode" # <str> #Option "PrepareFinishAccess" # [<bool>] Identifier "Card0" Driver "nouveau" VendorName "nVidia Corporation" BoardName "NV44 [GeForce 6200 LE]" 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 *As I see (but I am not sure that I do understand things right), x.org uses vesa_drv.so for configuration but it starts with nouveau_drv.so what looks for me as a mess. So my questions are: 1. is there a simple way to know if /dev/fb is alive? 2. is there any simple way to make x.org working without ANY acceleration at the moment? 3. what am I doing wrong in my expirements? I can see 4 types of drivers: - original drivers coming with the fedora10 kernel (I got rid of them before started playing with nouveau because they did not create even /dev/fb*); - drm drivers (which are replacement for the original onesm right?) - x.org drivers (which I've not changed/replaced) - mesa drivers - what is their role - I still do not understand. Thank a lot in advance for the answers/clues on my silly questions :-) * -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freedesktop.org/archives/nouveau/attachments/20090213/ec366edf/attachment.htm
On Fri, 13 Feb 2009 18:36:06 +0300 Alexey Kardashevsky <aik.rsdn at gmail.com> wrote:> I am newbie in this topic and I have problems trying to bring x.org up > on the hardware I have: > IBM QS22 BladeServer (PowerPC64 architecture) with PCI-Express connected > nVidia 6200 video card.Since this is a ppc64, architecture related bugs in Nouveau may occur. I don't really know the situation here.> OS: Fedora 10-ppc: Linux localhost.localdomain 2.6.27.5aik #1 SMP Tue > Feb 10 14:55:56 EST 2009 ppc64 ppc64 ppc64 GNU/Linux > > I downloaded and compiled DRM driver (git clone > git://anongit.freedesktop.org/git/mesa/drm) and loaded it: > > [root at localhost ~]# modprobe drm > [root at localhost ~]# modprobe nouveau > [root at localhost ~]# dmesg | tail -n 3 > nouveau 0005:01:00.0: enabling device (0140 -> 0142) > [drm] Detected an NV44 generation card (0x044300b2) > [drm] Initialized nouveau 0.0.12 libdrm-2.4.4-28-geb78c53aa1a980e60 on > minor 0 > [root at localhost ~]# lsmod | grep no > nouveau 351856 0 > drm 249176 1 nouveau > [root at localhost ~]# lspci -v > [...] > 0005:01:00.0 VGA compatible controller: nVidia Corporation NV44 [GeForce > 6200 LE] (rev a1) (prog-if 00 [VGA controller])Hmm, note the bus id.> Subsystem: ASUSTeK Computer Inc. Device 827b > Flags: bus master, fast devsel, latency 0, IRQ 106 > Memory at 3d080000000 (32-bit, non-prefetchable) [size=16M] > Memory at 3d0c0000000 (64-bit, prefetchable) [size=512M] > Memory at 3d081000000 (64-bit, non-prefetchable) [size=16M] > Expansion ROM at 3d082000000 [size=128K] > Capabilities: [60] Power Management version 2 > Capabilities: [68] Message Signalled Interrupts: Mask- 64bit+ > Count=1/1 Enable- > Capabilities: [78] Express Endpoint, MSI 00 > Capabilities: [100] Virtual Channel <?> > Capabilities: [128] Power Budgeting <?> > Kernel driver in use: nouveau > > [root at localhost ~]# ls -la /dev/fb* > crw------- 1 root root 29, 0 2009-02-13 10:19 /dev/fbThis is offb, right? If it is nvidiafb, you need to use... can't recall, see here: http://nouveau.freedesktop.org/wiki/Kernel_Framebuffer_Driver The device you should get from nouveau DRM is /dev/dri/card0.> Then, I've tried configuring x.org: > * > [root at localhost ~]# X -configure -verbose 255Should this really work? I've no idea.> Ok, with no hope, I'm trying to start the X: > * > [root at localhost ~]# X -config xorg.conf.new -verbose > 255 > (II) config/hal: initialized > X.Org X Server 1.5.3 > Release Date: 5 November 2008 > X Protocol Version 11, Revision 0 > Build Operating System: Linux 2.6.18-92.1.10.el5 ppc > Current Operating System: Linux localhost.localdomain 2.6.27.5aik #1 SMP > Tue Feb 10 14:55:56 EST 2009 ppc64 > Build Date: 16 November 2008 08:30:07PM > Build ID: xorg-x11-server 1.5.3-5.fc10 > 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 Feb 13 10:26:48 2009 > (++) Using config file: "xorg.conf.new" > (==) ServerLayout "X.org Configured" > (**) |-->Screen "Screen0" (0) > (**) | |-->Monitor "Monitor0" > (**) | |-->Device "Card0" > (**) |-->Input Device "Mouse0" > (**) |-->Input Device "Keyboard0" > (==) Automatically adding devices > (==) Automatically enabling devices > (==) Including the default font path > catalogue:/etc/X11/fontpath.d,built-ins. > (**) FontPath set to: > catalogue:/etc/X11/fontpath.d, > built-ins, > catalogue:/etc/X11/fontpath.d, > built-ins > (**) ModulePath set to "/usr/lib/xorg/modules" > (WW) AllowEmptyInput is on, devices using drivers 'kbd' or 'mouse' will > be disabled. > (WW) Disabling Mouse0 > (WW) Disabling Keyboard0 > (II) No APM support in BIOS or kernel > (II) Loader magic: 0x101e59a4 > (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 > X.Org Font Renderer : 0.6 > (II) Loader running on linux > (--) using VT number 7 > > (--) PCI:*(5 at 1:0:0) nVidia Corporation NV44 [GeForce 6200 LE] rev 161, > Mem @ 0x1020bd9c/976, 0x1020bd9c/976, 0x1020bd9c/976, BIOS @ > 0x????????/270581148> (II) LoadModule: "nouveau" > > (II) Loading /usr/lib/xorg/modules/drivers//nouveau_drv.so > (II) Module nouveau: vendor="X.Org Foundation" > compiled for 1.4.99.906, module version = 0.0.10 > Module class: X.Org Video Driver > ABI class: X.Org Video Driver, version 4.1 > (II) NOUVEAU driver > (II) NOUVEAU driver for NVIDIA chipset families : > RIVA TNT (NV04) > RIVA TNT2 (NV05) > GeForce 256 (NV10) > GeForce 2 (NV11, NV15) > GeForce 4MX (NV17, NV18) > GeForce 3 (NV20) > GeForce 4Ti (NV25, NV28) > GeForce FX (NV3x) > GeForce 6 (NV4x) > GeForce 7 (G7x) > GeForce 8 (G8x) > (II) Primary Device is: PCI 01 at 05:00:0Above it says bus id (5 at 1:0:0) and here 01 at 05:00:0... could that be the problem?> (EE) No devices detected. > > Fatal server error: > no screens found> The auto-generated config is here:* > > [root at localhost ~]# cat /root/xorg.conf.new > 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 "catalogue:/etc/X11/fontpath.d" > FontPath "built-ins" > EndSection > > Section "Module" > Load "glx" > Load "dbe" > Load "dri" > Load "extmod" > 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" > ### Available Driver options are:- > ### Values: <i>: integer, <f>: float, <bool>: "True"/"False", > ### <string>: "String", <freq>: "<f> Hz/kHz/MHz" > ### [arg]: arg optional > #Option "SWcursor" # [<bool>] > #Option "HWcursor" # [<bool>] > #Option "NoAccel" # [<bool>] > #Option "ShadowFB" # [<bool>] > #Option "VideoKey" # <i> > #Option "FlatPanel" # [<bool>] > #Option "FPDither" # [<bool>] > #Option "FPScale" # [<bool>] > #Option "FPTweak" # <i> > #Option "CBLocation" # <str> > #Option "CBSize" # <i> > #Option "Randr12" # [<bool>] > #Option "ScalingMode" # <str> > #Option "PrepareFinishAccess" # [<bool>] > Identifier "Card0" > Driver "nouveau" > VendorName "nVidia Corporation" > BoardName "NV44 [GeForce 6200 LE]" > BusID "PCI:1:0:0"And this is a third bus id, different from the two above? It's confusing at least. Try without any BusID in config?> 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 > EndSectionThe config could be cleaned somewhat, but I don't see any other very odd things.> *As I see (but I am not sure that I do understand things right), x.org > uses vesa_drv.so for configuration but it starts with nouveau_drv.so > what looks for me as a mess. > So my questions are: > 1. is there a simple way to know if /dev/fb is alive?That's the wrong device, AFAIK.> 2. is there any simple way to make x.org working without ANY > acceleration at the moment?Enable NoAccel and ShadowFB in nouveau's Device section in xorg.conf... but I don't see any reason for that, since DRM is not complaining.> 3. what am I doing wrong in my expirements? I can see 4 types of drivers: > - original drivers coming with the fedora10 kernel (I got rid of them > before started playing with nouveau because they did not create even > /dev/fb*);That's the kernel framebuffer driver device, which is usually harmful to accelerated X.org drivers, but since you have ppc, you probably need something. The offb driver in kernel should work.> - drm drivers (which are replacement for the original onesm right?)Original what? DRM modules are the kernel part of the Nouveau driver. Without them you don't get any acceleration. These are not kernel framebuffer drivers (yet, at least).> - x.org drivers (which I've not changed/replaced)nouveau_drv.so, required, from git.> - mesa drivers - what is their role - I still do not understand.3D acceleration. Not in any usable state at this time, and not included in any Mesa release yet. You can just forget it and enjoy software OpenGL rendering. -- Pekka Paalanen http://www.iki.fi/pq/
Stephane Marchesin
2009-Feb-13 23:07 UTC
[Nouveau] running x.org on powerpc64 with nvidia6200
2009/2/13 Alexey Kardashevsky <aik.rsdn at gmail.com>:> I am newbie in this topic and I have problems trying to bring x.org up on > the hardware I have: > IBM QS22 BladeServer (PowerPC64 architecture) with PCI-Express connected > nVidia 6200 video card. > OS: Fedora 10-ppc: Linux localhost.localdomain 2.6.27.5aik #1 SMP Tue Feb 10 > 14:55:56 EST 2009 ppc64 ppc64 ppc64 GNU/Linux >How many PCI domains does that machine have ? Current libpciaccess is broken, in that PCI cards only work in the first domain. So the solution is to put the card in a slot from the first domain if possible. You are screwed otherwise (well, you could replace the hardcoded first domain in pciaccess with the right domain and it might work, I don't know...) Stephane
Younes Manton wrote:> You need various X dev packages installed... you are missing something > related to randr. I install xserver-xorg-dev, x11proto-randr-dev, etc > for example on Ubuntu and that usually solves my problems. Try finding > randr related dev packages for Fedora. > >Found, installed. Fails different now. As I understand, it builds the "intel" lib only. -------------------------- [root at localhost xf86-video-nouveau]# ./autogen.sh --prefix=/opt/gfx-test [...] checking pkg-config is at least version 0.9.0... yes checking for LIBDRM_NOUVEAU... configure: error: Package requirements (libdrm_nouveau) were not met: No package 'libdrm_nouveau' found Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. Alternatively, you may set the environment variables LIBDRM_NOUVEAU_CFLAGS and LIBDRM_NOUVEAU_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. --------------------------- I'm trying to follow directions from http://wiki.x.org/wiki/Development/git as hard as I can but to no avail... [root at localhost drm]# echo $PKG_CONFIG_PATH /opt/gfx-test/lib/pkgconfig [root at localhost drm]# echo $ACLOCAL aclocal -I /opt/gfx-test/share/aclocal [root at localhost drm]# ls -la /opt/gfx-test/lib/*.so lrwxrwxrwx 1 root root 21 2009-02-17 09:42 /opt/gfx-test/lib/libdrm_intel.so -> libdrm_intel.so.1.0.0 lrwxrwxrwx 1 root root 15 2009-02-17 09:42 /opt/gfx-test/lib/libdrm.so -> libdrm.so.2.4.0 lrwxrwxrwx 1 root root 22 2009-02-16 15:04 /opt/gfx-test/lib/libpciaccess.so -> libpciaccess.so.0.10.2 lrwxrwxrwx 1 root root 21 2009-02-16 15:09 /opt/gfx-test/lib/libpixman-1.so -> libpixman-1.so.0.15.1
On Tue, Feb 17, 2009 at 9:47 AM, aik <aik.rsdn at gmail.com> wrote:> Younes Manton wrote: >> >> You need various X dev packages installed... you are missing something >> related to randr. I install xserver-xorg-dev, x11proto-randr-dev, etc >> for example on Ubuntu and that usually solves my problems. Try finding >> randr related dev packages for Fedora. >> >> > > Found, installed. Fails different now. As I understand, it builds the > "intel" lib only.You need the --enable-nouveau-experimental-api flag when configuring, e.g.: ./configure --enable-nouveau-experimental-api
Possibly Parallel Threads
- Bug#586670: xen-hypervisor-3.4-i386: xserver does not work on i386 system in dom0, while works on amd64 system
- Xorg problem (CentOS 5.4)
- install nvidia driver under xen 3.0
- Raspberry PI3 - CentOS armv7hl gnome desktop
- xrandr or xorg.conf... help with virtual size desktop