[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: X-Windows & NewWorld Macs



I have a similar setup...recent developments in XFree86 means
that things are really looking up for the GeForce2 MX card
and VGA/ADC outputs.

XFree86 4.2 (xf-4_2-branch) works on VGA using "nv" driver.
This driver definitely does not detect the ADC (see posting below).
You'll have to compile it yourself or use one of the 4.2 offerings
posted earlier in the list (until it hits Woody).

Note the default for powerpc is *not* to compile nv. You will
have to add it to your host.def

#define XFree86ExtraCardDrivers nv

(something like that - check the actual macro name).

I have got reports from the XFree86 Xpert mailing list that ADC output
support is now in CVS. (nv driver in XFree86 HEAD has two new Options
"CrtcNumber" and "FlatPanel". ) Here are comments from the Xperts

--------------------------------------------------
>From Ani Joshi ajoshi  at  shell dot unix dot com:

Use the version in cvs right now, or use the attatched patch against 4.2.0
nv driver.
--------------------------------------------------
Ani has posted a patch (a 48k diff) to xpert@Xfree86.Org for 4.2 - it should
be available
in the archives.


---------------------------------------------------
>From Mark Vojkovich (Nvidia!!)  mvojkovich at nvidia dot com:

   It definitely won't work in 4.2, it might work in CVS.  You
may need to set:

Option "CrtcNumber" "1"

  in the Section "Device" of the XF86Config file in order to use
the ADC output.  I believe the ADC output is always hooked up to
CRTC 1, and CRTC 0 is hooked up to the VGA connector.  The "nv"
driver didn't support CRTC 1 until support was added for GeForce2 Go
which uses CRTC 1 for the built in panel.
--------------------------------------------------------

So it should work with a bit of pain so don't give up yet. Good luck.
Overall, I am delighted with Debian-testing on the G4 powermac and when the
ADC stuff works it will be perfect!

Cheers
Richard















----- Original Message -----
From: "Cameron MacFarland" <cameronmc@dingoblue.net.au>
To: <debian-powerpc@lists.debian.org>
Sent: Sunday, April 21, 2002 2:53 AM
Subject: X-Windows & NewWorld Macs


> Hi,
>
> I'm having trouble getting x-windows to run on my NewWorld Mac.
> Specifically it's a Quicksilver 733Mhz with a NVidia GeForce 2MMX. My
> problem seems to be the video card. I found an older message which said
> to download and compile the driver from the NVidia website but I can't
> seem to do that either. I'm using Kernel 2.4.18.
>
> I've included a log of the compile plus the XFree86 log. I had to change
> os-interface.c in the NVIDIA-kernel to include the right asm directory.
>
> As you can see I've been at this a while. Please help.
> Thanks
>
> Cam
> --
> Recorded in the digital domain by an analog brain.
>
> cc -c -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts
> -Wparentheses -Wpointer-arith -Wcast-qual -Wno-multichar  -O -MD
> -D__KERNEL__ -DMODULE -D_LOOSE_KERNEL_NAMES -D_X86=1 -Di386=1 -DUNIX
> -DLINUX -DNV4_HW -DNTRM -DRM20 -D_GNU_SOURCE -DRM_HEAPMGR
> -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE  -DNV_MAJOR_VERSION=1
> -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=2880   -I.
> -I/usr/src/kernel-headers-2.4.18/include/ -Wno-cast-qual nv.c
> cc -c -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts
> -Wparentheses -Wpointer-arith -Wcast-qual -Wno-multichar  -O -MD
> -D__KERNEL__ -DMODULE -D_LOOSE_KERNEL_NAMES -D_X86=1 -Di386=1 -DUNIX
> -DLINUX -DNV4_HW -DNTRM -DRM20 -D_GNU_SOURCE -DRM_HEAPMGR
> -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE  -DNV_MAJOR_VERSION=1
> -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=2880   -I.
> -I/usr/src/kernel-headers-2.4.18/include/ -Wno-cast-qual os-interface.c
> os-interface.c:1207: warning: `wb_list' defined but not used
> cc -c -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts
> -Wparentheses -Wpointer-arith -Wcast-qual -Wno-multichar  -O -MD
> -D__KERNEL__ -DMODULE -D_LOOSE_KERNEL_NAMES -D_X86=1 -Di386=1 -DUNIX
> -DLINUX -DNV4_HW -DNTRM -DRM20 -D_GNU_SOURCE -DRM_HEAPMGR
> -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE  -DNV_MAJOR_VERSION=1
> -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=2880   -I.
> -I/usr/src/kernel-headers-2.4.18/include/ -Wno-cast-qual os-registry.c
> ld -r -o Module-linux nv.o os-interface.o os-registry.o
> ld -r -o NVdriver Module-linux Module-nvkernel
> ld: Module-nvkernel: Relocations in generic ELF (EM: 3)
> Module-nvkernel: could not read symbols: File in wrong format
> make: *** [NVdriver] Error 1
>
>
> This is a pre-release version of XFree86, and is not supported in any
> way.  Bugs may be reported to XFree86@XFree86.Org and patches submitted
> to fixes@XFree86.Org.  Before reporting bugs in pre-release versions,
> please check the latest version in the XFree86 CVS repository
> (http://www.XFree86.Org/cvs)
>
> XFree86 Version 4.1.0.1 / X Window System
> (protocol Version 11, revision 0, vendor release 6510)
> Release Date: 21 December 2001
> If the server is older than 6-12 months, or if your card is
> newer than the above date, look for a newer version before
> reporting problems.  (See http://www.XFree86.Org/FAQ)
> Build Operating System: Linux 2.4.16-powerpc-smp ppc [ELF]
> Module Loader present
> (==) Log file: "/var/log/XFree86.0.log", Time: Sun Apr 21 02:20:25 2002
> (==) Using config file: "/etc/X11/XF86Config-4"
> Markers: (--) probed, (**) from config file, (==) default setting,
>           (++) from command line, (!!) notice, (II) informational,
>           (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
> (==) ServerLayout "Default Layout"
> (**) |-->Screen "Default Screen" (0)
> (**) |   |-->Monitor "Generic Monitor"
> (**) |   |-->Device "Generic Video Card"
> (**) |-->Input Device "Generic Keyboard"
> (**) Option "XkbRules" "xfree86"
> (**) XKB: rules: "xfree86"
> (**) Option "XkbModel" "macintosh"
> (**) XKB: model: "macintosh"
> (**) Option "XkbLayout" "us"
> (**) XKB: layout: "us"
> (==) Keyboard: CustomKeycode disabled
> (**) |-->Input Device "Configured Mouse"
> (WW) The directory "/usr/lib/X11/fonts/cyrillic" does not exist.
> Entry deleted from font path.
> (**) FontPath set to
>
"unix/:7100,/usr/lib/X11/fonts/misc,/usr/lib/X11/fonts/100dpi/:unscaled,/usr
/
> lib/X11/fonts/75dpi/:unscaled,/usr/lib/X11/fonts/Type1,/usr/lib/X11/fonts/
> Speedo,/usr/lib/X11/fonts/100dpi,/usr/lib/X11/fonts/75dpi"
> (==) RgbPath set to "/usr/X11R6/lib/X11/rgb"
> (==) ModulePath set to "/usr/X11R6/lib/modules"
> (--) using VT number 7
>
> (WW) Cannot open APM
> (II) Module ABI versions:
> XFree86 ANSI C Emulation: 0.1
> XFree86 Video Driver: 0.4
> XFree86 XInput driver : 0.2
> XFree86 Server Extension : 0.1
> XFree86 Font Renderer : 0.2
> (II) Loader running on linux
> (II) LoadModule: "bitmap"
> (II) Loading /usr/X11R6/lib/modules/fonts/libbitmap.a
> (II) Module bitmap: vendor="The XFree86 Project"
> compiled for 4.1.0.1, module version = 1.0.0
> Module class: XFree86 Font Renderer
> ABI class: XFree86 Font Renderer, version 0.2
> (II) Loading font Bitmap
> (II) LoadModule: "pcidata"
> (II) Loading /usr/X11R6/lib/modules/libpcidata.a
> (II) Module pcidata: vendor="The XFree86 Project"
> compiled for 4.1.0.1, module version = 0.1.0
> ABI class: XFree86 Video Driver, version 0.4
> (II) PCI: PCI scan (all values are in hex)
> (II) PCI: 00:0b:0: chip 106b,002d card 0000,0000 rev 00 class 06,00,00
> hdr 00
> (II) PCI: 00:0e:0: chip 11c1,5811 card 11c1,5811 rev 00 class 0c,00,10
> hdr 00
> (II) PCI: 00:10:0: chip 10de,0110 card 0208,a5b8 rev a1 class 03,00,00
> hdr 00
> (II) PCI: 00:17:0: chip 106b,0022 card 0000,0000 rev 03 class ff,00,00
> hdr 00
> (II) PCI: 00:18:0: chip 106b,0019 card 0000,0000 rev 00 class 0c,03,10
> hdr 00
> (II) PCI: 00:19:0: chip 106b,0019 card 0000,0000 rev 00 class 0c,03,10
> hdr 00
> (II) PCI: End of PCI scan
> (II) LoadModule: "scanpci"
> (II) Loading /usr/X11R6/lib/modules/libscanpci.a
> (II) Module scanpci: vendor="The XFree86 Project"
> compiled for 4.1.0.1, module version = 0.1.0
> ABI class: XFree86 Video Driver, version 0.4
> (II) UnloadModule: "scanpci"
> (II) Unloading /usr/X11R6/lib/modules/libscanpci.a
> (II) Host-to-PCI bridge:
> (II) Bus 0: bridge is at (0:0:0), (-1,0,0), BCTRL: 0x08 (VGA_EN is set)
> (II) Bus 0 I/O range:
> [0] -1 0 0x00000000 - 0x0000ffff (0x10000) IX[B]
> (II) Bus 0 non-prefetchable memory range:
> [0] -1 0 0x00000000 - 0xffffffff (0x0) MX[B]
> (II) Bus 0 prefetchable memory range:
> [0] -1 0 0x00000000 - 0xffffffff (0x0) MX[B]
> (--) PCI: (0:16:0) NVidia GeForce2 MX rev 161, Mem @ 0x91000000/24,
> 0x98000000/27, BIOS @ 0x90000000/16
> (II) Addressable bus resource ranges are
> [0] -1 0 0x00000000 - 0xffffffff (0x0) MX[B]
> [1] -1 0 0x00000000 - 0x0000ffff (0x10000) IX[B]
> (II) OS-reported resource ranges:
> [0] -1 0 0xffffffff - 0xffffffff (0x1) MX[B]
> [1] -1 0 0x00000000 - 0x00000000 (0x1) MX[B]
> [2] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[B]
> [3] -1 0 0x00000000 - 0x00000000 (0x1) IX[B]
> (II) Active PCI resource ranges:
> [0] -1 0 0x80080000 - 0x800fffff (0x80000) MX[B]E
> [1] -1 0 0x80081000 - 0x80081fff (0x1000) MX[B]E
> [2] -1 0 0x80000000 - 0xffffffff (0x80000000) MX[B]E
> [3] -1 0 0x90000000 - 0x9000ffff (0x10000) MX[B](B)
> [4] -1 0 0x98000000 - 0x9fffffff (0x8000000) MX[B](B)
> [5] -1 0 0x91000000 - 0x91ffffff (0x1000000) MX[B](B)
> (II) Inactive PCI resource ranges:
> [0] -1 0 0xf5000000 - 0xf5ffffff (0x1000000) MX[B]E
> (II) PCI Memory resource overlap reduced 0x80080000 from 0x800fffff to
> 0x80080fff
> (II) PCI Memory resource overlap reduced 0x80000000 from 0xffffffff to
> 0x8007ffff
> (II) Active PCI resource ranges after removing overlaps:
> [0] -1 0 0x80080000 - 0x80080fff (0x1000) MX[B]E
> [1] -1 0 0x80081000 - 0x80081fff (0x1000) MX[B]E
> [2] -1 0 0x80000000 - 0x8007ffff (0x80000) MX[B]E
> [3] -1 0 0x90000000 - 0x9000ffff (0x10000) MX[B](B)
> [4] -1 0 0x98000000 - 0x9fffffff (0x8000000) MX[B](B)
> [5] -1 0 0x91000000 - 0x91ffffff (0x1000000) MX[B](B)
> (II) Inactive PCI resource ranges after removing overlaps:
> [0] -1 0 0xf5000000 - 0xf5ffffff (0x1000000) MX[B]E
> (II) OS-reported resource ranges after removing overlaps with PCI:
> [0] -1 0 0xffffffff - 0xffffffff (0x1) MX[B]
> [1] -1 0 0x00000000 - 0x00000000 (0x1) MX[B]
> [2] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[B]
> [3] -1 0 0x00000000 - 0x00000000 (0x1) IX[B]
> (II) All system resource ranges:
> [0] -1 0 0xffffffff - 0xffffffff (0x1) MX[B]
> [1] -1 0 0x00000000 - 0x00000000 (0x1) MX[B]
> [2] -1 0 0x80080000 - 0x80080fff (0x1000) MX[B]E
> [3] -1 0 0x80081000 - 0x80081fff (0x1000) MX[B]E
> [4] -1 0 0x80000000 - 0x8007ffff (0x80000) MX[B]E
> [5] -1 0 0x90000000 - 0x9000ffff (0x10000) MX[B](B)
> [6] -1 0 0x98000000 - 0x9fffffff (0x8000000) MX[B](B)
> [7] -1 0 0x91000000 - 0x91ffffff (0x1000000) MX[B](B)
> [8] -1 0 0xf5000000 - 0xf5ffffff (0x1000000) MX[B]E
> [9] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[B]
> [10] -1 0 0x00000000 - 0x00000000 (0x1) IX[B]
> (II) LoadModule: "GLcore"
> (II) Loading /usr/X11R6/lib/modules/extensions/libGLcore.a
> (II) Module GLcore: vendor="The XFree86 Project"
> compiled for 4.1.0.1, module version = 1.0.0
> ABI class: XFree86 Server Extension, version 0.1
> (II) LoadModule: "bitmap"
> (II) Reloading /usr/X11R6/lib/modules/fonts/libbitmap.a
> (II) Loading font Bitmap
> (II) LoadModule: "dbe"
> (II) Loading /usr/X11R6/lib/modules/extensions/libdbe.a
> (II) Module dbe: vendor="The XFree86 Project"
> compiled for 4.1.0.1, module version = 1.0.0
> Module class: XFree86 Server Extension
> ABI class: XFree86 Server Extension, version 0.1
> (II) Loading extension DOUBLE-BUFFER
> (II) LoadModule: "ddc"
> (II) Loading /usr/X11R6/lib/modules/libddc.a
> (II) Module ddc: vendor="The XFree86 Project"
> compiled for 4.1.0.1, module version = 1.0.0
> ABI class: XFree86 Video Driver, version 0.4
> (II) LoadModule: "dri"
> (II) Loading /usr/X11R6/lib/modules/extensions/libdri.a
> (II) Module dri: vendor="The XFree86 Project"
> compiled for 4.1.0.1, module version = 1.0.0
> ABI class: XFree86 Server Extension, version 0.1
> (II) Loading sub module "drm"
> (II) LoadModule: "drm"
> (II) Loading /usr/X11R6/lib/modules/linux/libdrm.a
> (II) Module drm: vendor="The XFree86 Project"
> compiled for 4.1.0.1, module version = 1.0.0
> ABI class: XFree86 Server Extension, version 0.1
> (II) Loading extension XFree86-DRI
> (II) LoadModule: "extmod"
> (II) Loading /usr/X11R6/lib/modules/extensions/libextmod.a
> (II) Module extmod: vendor="The XFree86 Project"
> compiled for 4.1.0.1, module version = 1.0.0
> Module class: XFree86 Server Extension
> ABI class: XFree86 Server Extension, version 0.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 FontCache
> (II) Loading extension TOG-CUP
> (II) Loading extension Extended-Visual-Information
> (II) Loading extension XVideo
> (II) Loading extension XVideo-MotionCompensation
> (II) LoadModule: "freetype"
> (II) Loading /usr/X11R6/lib/modules/fonts/libfreetype.a
> (II) Module freetype: vendor="The XFree86 Project"
> compiled for 4.1.0.1, module version = 1.1.9
> Module class: XFree86 Font Renderer
> ABI class: XFree86 Font Renderer, version 0.2
> (II) Loading font FreeType
> (II) LoadModule: "glx"
> (II) Loading /usr/X11R6/lib/modules/extensions/libglx.so
>
> Fatal server error:
>
> _LoaderFileToMem() lseek() failed: Invalid argument
>
>
> When reporting a problem related to a server crash, please send
> the full server output, not just the last messages.
> This can be found in the log file "/var/log/XFree86.0.log".
> Please report problems to submit@bugs.debian.org.
>
>
> --
> To UNSUBSCRIBE, email to debian-powerpc-request@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact
listmaster@lists.debian.org
>


-- 
To UNSUBSCRIBE, email to debian-powerpc-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: