Hi, I've tried the "nsc" driver. The setting 1024x768 24 bpp is ok. When I tried the 1280x1024 24 bpp, X loaded successfully but the screen flickered. X exited successfully when I closed the X server. I have several questions regarding the report from the log file? 1. (EE) NSC(0): Unable to reserve scanline area What does this error indicate? How do I make sure that my monitor supports the configuration that I set with the X server? 2. (--) NSC(0): Virtual size is 1280x1024(pitch 2048) Does this mean that the driver attempts to use the 2048x1536 resolution instead of the 1280x1024 resolution? The graphics controller cannot support 2048 3. (--) Depth 24 pixmap format is 32 bpp (**) NSC(0): Depth 24, (--)framebuffer bpp 32 How come the probed depth is different from the framebuffer depth? Thanks, Ina -----Original Message----- From: Alan Hourihane [mailto:alanh@xxxxxxxxxxxxxxxxxxxx] Sent: Monday, March 29, 2004 5:39 AM To: Ina Miranda Cc: xfree86@xxxxxxxxxxx Subject: Re: geode gx2 You should really be using the 'nsc' driver. Alan. On Sat, Mar 27, 2004 at 07:27:01PM +0800, Ina Miranda wrote: > > > Hi, > > > > I'm using a Geode GX2 processor which has an integrated graphics controller > that can support up to 1280x1024 24 bpp. > > I need to achieve this resolution in X. I tried using both generic vesa and > framebuffer drivers. For the vesa driver, X starts successfully but > > uses the 1204x768 resolution. For the framebuffer driver, I can only achieve > 1204x768 24 bpp resolution since whenever I try the 1280x1024 24 bpp > > during the VGA=ASK prompt it returns a "mode not supported error". > > > > I've noticed that if I set anything with a 24bpp setting, fbset reports that > 32bpp is used. As an example: > > > > mode "1024x768-76" > > # D: 78.653 MHz, H: 59.949 kHz, V: 75.694 Hz > > geometry 1024 768 1024 768 32 > > timings 12714 128 32 16 4 128 4 > > rgba 8/16,8/8,8/0,0/0 > > endmode > > > > I suspect that the controller is set in a 1280x1024 32 bpp resolution even if I > only set it with 1280x1024 24 bpp. Naturally, this mode fails since it is not > supported by > > the processor. What could be the source of the problem? Is my assumption > correct? > > > > Thanks, > > > > Ina > > > > Here is the sample Xfree86 log: > > > > _XSERVTransSocketOpenCOTSServer: Unable to open socket for inet6 > > _XSERVTransOpen: transport open failed for inet6/(none):0 > > _XSERVTransMakeAllCOTSServerListeners: failed to open listener for inet6 > > > > XFree86 Version 4.4.0 > > Release Date: 29 February 2004 > > X Protocol Version 11, Revision 0, Release 6.6 > > Build Operating System: Linux 2.4.18_mvl30-pc_target i586 [ELF] > > Current Operating System: Linux (none) 2.4.18_mvl30-pc_target #14 Thu Mar 25 > 17:07:19 PHT 2004 i586 > > Build Date: 27 March 2004 > > Changelog Date: 29 February 2004 > > Before reporting problems, check http://www.XFree86.Org/ > > to make sure that you have the latest version. > > Module Loader present > > 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/XFree86.0.log", Time: Sat Mar 27 19:51:12 2004 > > (==) Using config file: "/etc/X11/XF86Config" > > (==) ServerLayout "Simple Layout" > > (**) |-->Screen "Screen 1" (0) > > (**) | |-->Monitor "My Monitor" > > (**) | |-->Device "** Linux framebuffer (generic) [fbdev]" > > (**) |-->Input Device "Mouse1" > > (**) |-->Input Device "Keyboard1" > > (**) Option "AutoRepeat" "500 30" > > (**) Option "XkbRules" "xfree86" > > (**) XKB: rules: "xfree86" > > (**) Option "XkbModel" "pc101" > > (**) XKB: model: "pc101" > > (**) Option "XkbLayout" "us" > > (**) XKB: layout: "us" > > (==) Keyboard: CustomKeycode disabled > > (**) FontPath set to "/usr/X11R6/lib/X11/fonts/local/,/usr/X11R6/lib/X11/fonts/ > misc/,/usr/X11R6/lib/X11/fonts/75dpi/:unscaled,/usr/X11R6/lib/X11/fonts/100dpi > /:unscaled,/usr/X11R6/lib/X11/fonts/Speedo/,/usr/X11R6/lib/X11/fonts/Type1/,/ > usr/X11R6/lib/X11/fonts/75dpi/,/usr/X11R6/lib/X11/fonts/100dpi/" > > (**) RgbPath set to "/usr/X11R6/lib/X11/rgb" > > (==) ModulePath set to "/usr/X11R6/lib/modules" > > (WW) Open APM failed (/dev/apm_bios) (No such file or directory) > > (II) Module ABI versions: > > XFree86 ANSI C Emulation: 0.2 > > XFree86 Video Driver: 0.7 > > XFree86 XInput driver : 0.4 > > XFree86 Server Extension : 0.2 > > XFree86 Font Renderer : 0.4 > > (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.4.0, module version = 1.0.0 > > Module class: XFree86 Font Renderer > > ABI class: XFree86 Font Renderer, version 0.4 > > (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.4.0, module version = 1.0.0 > > ABI class: XFree86 Video Driver, version 0.7 > > (--) using VT number 2 > > > > (II) PCI: Probing config type using method 1 > > (II) PCI: Config type is 1 > > (II) PCI: stages = 0x03, oldVal1 = 0x80007d0c, mode1Res1 = 0x80000000 > > (II) PCI: PCI scan (all values are in hex) > > (II) PCI: 00:01:0: chip 100b,0028 card 100b,0028 rev 21 class 06,00,00 hdr 80 > > (II) PCI: 00:01:1: chip 100b,0030 card 100b,0030 rev 00 class 03,00,00 hdr 00 > > (II) PCI: 00:0e:0: chip 10ec,8139 card 10ec,8139 rev 10 class 02,00,00 hdr 00 > > (II) PCI: 00:0f:0: chip 100b,002b card 100b,002b rev 13 class 06,01,00 hdr 80 > > (II) PCI: 00:0f:2: chip 100b,002d card 100b,002d rev 00 class 01,01,80 hdr 00 > > (II) PCI: 00:0f:3: chip 100b,002e card 100b,002e rev 00 class 04,01,00 hdr 00 > > (II) PCI: 00:0f:4: chip 100b,002f card 100b,002f rev 06 class 0c,03,10 hdr 00 > > (II) PCI: 00:0f:5: chip 100b,002f card 100b,002f rev 06 class 0c,03,10 hdr 00 > > (II) PCI: End of PCI scan > > (II) Host-to-PCI bridge: > > (II) Bus 0: bridge is at (0:1:0), (0,0,0), BCTRL: 0x0008 (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] > > (II) PCI-to-ISA bridge: > > (II) Bus -1: bridge is at (0:15:0), (0,-1,-1), BCTRL: 0x0008 (VGA_EN is set) > > (--) PCI:*(0:1:1) National Semiconductor Corporation CS5535 Video rev 0, Mem @ > 0x41000000/24, 0x40ffc000/14, 0x40ff8000/14, 0x40ff4000/14 > > (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 0xffe00000 - 0xffffffff (0x200000) MX[B](B) > > [1] -1 0 0x00100000 - 0x3fffffff (0x3ff00000) MX[B]E(B) > > [2] -1 0 0x000f0000 - 0x000fffff (0x10000) MX[B] > > [3] -1 0 0x000c0000 - 0x000effff (0x30000) MX[B] > > [4] -1 0 0x00000000 - 0x0009ffff (0xa0000) MX[B] > > [5] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[B] > > [6] -1 0 0x00000000 - 0x000000ff (0x100) IX[B] > > (II) PCI I/O resource overlap reduced 0x0000ac1c from 0x0000ac1f to 0x0000ac1b > > (II) Active PCI resource ranges: > > [0] -1 0 0xefffe000 - 0xefffefff (0x1000) MX[B] > > [1] -1 0 0xeffff000 - 0xefffffff (0x1000) MX[B] > > [2] -1 0 0xefffdf00 - 0xefffdfff (0x100) MX[B] > > [3] -1 0 0x40ff4000 - 0x40ff7fff (0x4000) MX[B](B) > > [4] -1 0 0x40ff8000 - 0x40ffbfff (0x4000) MX[B](B) > > [5] -1 0 0x40ffc000 - 0x40ffffff (0x4000) MX[B](B) > > [6] -1 0 0x41000000 - 0x41ffffff (0x1000000) MX[B](B) > > [7] -1 0 0x0000ed80 - 0x0000edff (0x80) IX[B] > > [8] -1 0 0x0000eff0 - 0x0000efff (0x10) IX[B] > > [9] -1 0 0x00009c00 - 0x00009c3f (0x40) IX[B] > > [10] -1 0 0x00009d00 - 0x00009d7f (0x80) IX[B] > > [11] -1 0 0x00001000 - 0x0000101f (0x20) IX[B] > > [12] -1 0 0x00006200 - 0x0000623f (0x40) IX[B] > > [13] -1 0 0x00006100 - 0x000061ff (0x100) IX[B] > > [14] -1 0 0x00006000 - 0x00006007 (0x8) IX[B] > > [15] -1 0 0x0000ee00 - 0x0000eeff (0x100) IX[B] > > [16] -1 0 0x0000ac1c - 0x0000ac1b (0x0) IX[B]O > > (II) Active PCI resource ranges after removing overlaps: > > [0] -1 0 0xefffe000 - 0xefffefff (0x1000) MX[B] > > [1] -1 0 0xeffff000 - 0xefffffff (0x1000) MX[B] > > [2] -1 0 0xefffdf00 - 0xefffdfff (0x100) MX[B] > > [3] -1 0 0x40ff4000 - 0x40ff7fff (0x4000) MX[B](B) > > [4] -1 0 0x40ff8000 - 0x40ffbfff (0x4000) MX[B](B) > > [5] -1 0 0x40ffc000 - 0x40ffffff (0x4000) MX[B](B) > > [6] -1 0 0x41000000 - 0x41ffffff (0x1000000) MX[B](B) > > [7] -1 0 0x0000ed80 - 0x0000edff (0x80) IX[B] > > [8] -1 0 0x0000eff0 - 0x0000efff (0x10) IX[B] > > [9] -1 0 0x00009c00 - 0x00009c3f (0x40) IX[B] > > [10] -1 0 0x00009d00 - 0x00009d7f (0x80) IX[B] > > [11] -1 0 0x00001000 - 0x0000101f (0x20) IX[B] > > [12] -1 0 0x00006200 - 0x0000623f (0x40) IX[B] > > [13] -1 0 0x00006100 - 0x000061ff (0x100) IX[B] > > [14] -1 0 0x00006000 - 0x00006007 (0x8) IX[B] > > [15] -1 0 0x0000ee00 - 0x0000eeff (0x100) IX[B] > > [16] -1 0 0x0000ac1c - 0x0000ac1b (0x0) IX[B]O > > (II) OS-reported resource ranges after removing overlaps with PCI: > > [0] -1 0 0xffe00000 - 0xffffffff (0x200000) MX[B](B) > > [1] -1 0 0x00100000 - 0x3fffffff (0x3ff00000) MX[B]E(B) > > [2] -1 0 0x000f0000 - 0x000fffff (0x10000) MX[B] > > [3] -1 0 0x000c0000 - 0x000effff (0x30000) MX[B] > > [4] -1 0 0x00000000 - 0x0009ffff (0xa0000) MX[B] > > [5] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[B] > > [6] -1 0 0x00000000 - 0x000000ff (0x100) IX[B] > > (II) All system resource ranges: > > [0] -1 0 0xffe00000 - 0xffffffff (0x200000) MX[B](B) > > [1] -1 0 0x00100000 - 0x3fffffff (0x3ff00000) MX[B]E(B) > > [2] -1 0 0x000f0000 - 0x000fffff (0x10000) MX[B] > > [3] -1 0 0x000c0000 - 0x000effff (0x30000) MX[B] > > [4] -1 0 0x00000000 - 0x0009ffff (0xa0000) MX[B] > > [5] -1 0 0xefffe000 - 0xefffefff (0x1000) MX[B] > > [6] -1 0 0xeffff000 - 0xefffffff (0x1000) MX[B] > > [7] -1 0 0xefffdf00 - 0xefffdfff (0x100) MX[B] > > [8] -1 0 0x40ff4000 - 0x40ff7fff (0x4000) MX[B](B) > > [9] -1 0 0x40ff8000 - 0x40ffbfff (0x4000) MX[B](B) > > [10] -1 0 0x40ffc000 - 0x40ffffff (0x4000) MX[B](B) > > [11] -1 0 0x41000000 - 0x41ffffff (0x1000000) MX[B](B) > > [12] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[B] > > [13] -1 0 0x00000000 - 0x000000ff (0x100) IX[B] > > [14] -1 0 0x0000ed80 - 0x0000edff (0x80) IX[B] > > [15] -1 0 0x0000eff0 - 0x0000efff (0x10) IX[B] > > [16] -1 0 0x00009c00 - 0x00009c3f (0x40) IX[B] > > [17] -1 0 0x00009d00 - 0x00009d7f (0x80) IX[B] > > [18] -1 0 0x00001000 - 0x0000101f (0x20) IX[B] > > [19] -1 0 0x00006200 - 0x0000623f (0x40) IX[B] > > [20] -1 0 0x00006100 - 0x000061ff (0x100) IX[B] > > [21] -1 0 0x00006000 - 0x00006007 (0x8) IX[B] > > [22] -1 0 0x0000ee00 - 0x0000eeff (0x100) IX[B] > > [23] -1 0 0x0000ac1c - 0x0000ac1b (0x0) IX[B]O > > (II) LoadModule: "dbe" > > (II) Loading /usr/X11R6/lib/modules/extensions/libdbe.a > > (II) Module dbe: vendor="The XFree86 Project" > > compiled for 4.4.0, module version = 1.0.0 > > Module class: XFree86 Server Extension > > ABI class: XFree86 Server Extension, version 0.2 > > (II) Loading extension DOUBLE-BUFFER > > (II) LoadModule: "extmod" > > (II) Loading /usr/X11R6/lib/modules/extensions/libextmod.a > > (II) Module extmod: vendor="The XFree86 Project" > > compiled for 4.4.0, module version = 1.0.0 > > Module class: XFree86 Server Extension > > ABI class: XFree86 Server Extension, version 0.2 > > (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 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) Loading extension X-Resource > > (II) LoadModule: "type1" > > (II) Loading /usr/X11R6/lib/modules/fonts/libtype1.a > > (II) Module type1: vendor="The XFree86 Project" > > compiled for 4.4.0, module version = 1.0.2 > > Module class: XFree86 Font Renderer > > ABI class: XFree86 Font Renderer, version 0.4 > > (II) Loading font Type1 > > (II) Loading font CID > > (II) LoadModule: "speedo" > > (II) Loading /usr/X11R6/lib/modules/fonts/libspeedo.a > > (II) Module speedo: vendor="The XFree86 Project" > > compiled for 4.4.0, module version = 1.0.1 > > Module class: XFree86 Font Renderer > > ABI class: XFree86 Font Renderer, version 0.4 > > (II) Loading font Speedo > > (II) LoadModule: "freetype" > > (II) Loading /usr/X11R6/lib/modules/fonts/libfreetype.a > > (II) Module freetype: vendor="The XFree86 Project & the After X-TT Project" > > compiled for 4.4.0, module version = 2.1.0 > > Module class: XFree86 Font Renderer > > ABI class: XFree86 Font Renderer, version 0.4 > > (II) Loading font FreeType > > (II) LoadModule: "fbdev" > > (II) Loading /usr/X11R6/lib/modules/drivers/fbdev_drv.o > > (II) Module fbdev: vendor="The XFree86 Project" > > compiled for 4.4.0, module version = 0.1.0 > > ABI class: XFree86 Video Driver, version 0.7 > > (II) LoadModule: "mouse" > > (II) Loading /usr/X11R6/lib/modules/input/mouse_drv.o > > (II) Module mouse: vendor="The XFree86 Project" > > compiled for 4.4.0, module version = 1.0.0 > > Module class: XFree86 XInput Driver > > ABI class: XFree86 XInput driver, version 0.4 > > (II) FBDEV: driver for framebuffer: fbdev, afb > > (II) Primary Device is: PCI 00:01:1 > > (II) Loading sub module "fbdevhw" > > (II) LoadModule: "fbdevhw" > > (II) Loading /usr/X11R6/lib/modules/linux/libfbdevhw.a > > (II) Module fbdevhw: vendor="The XFree86 Project" > > compiled for 4.4.0, module version = 0.0.2 > > ABI class: XFree86 Video Driver, version 0.7 > > (II) FBDEV(0): using default device > > (II) Running in FRAMEBUFFER Mode > > (==) FBDEV(0): Depth 24, (==) framebuffer bpp 32 > > (==) FBDEV(0): RGB weight 888 > > (==) FBDEV(0): Default visual is TrueColor > > (==) FBDEV(0): Using gamma correction (1.0, 1.0, 1.0) > > (II) FBDEV(0): Hardware: VESA VGA (vidmem: 8192k) > > (II) FBDEV(0): Checking Modes against framebuffer device... > > (II) FBDEV(0): mode "1280x1024" test failed > > (II) FBDEV(0): mode "1024x768" ok > > (II) FBDEV(0): mode "800x600" test failed > > (II) FBDEV(0): mode "640x480" test failed > > (II) FBDEV(0): Checking Modes against monitor... > > (--) FBDEV(0): Virtual size is 1024x768 (pitch 1024) > > (**) FBDEV(0): Default mode "1024x768": 44.9 MHz (scaled from 0.0 MHz), 35.5 > kHz, 87.0 Hz (I) > > (II) FBDEV(0): Modeline "1024x768" 44.90 1024 1032 1208 1264 768 768 776 > 817 interlace +hsync +vsync > > (==) FBDEV(0): DPI set to (75, 75) > > (II) Loading sub module "fb" > > (II) LoadModule: "fb" > > (II) Loading /usr/X11R6/lib/modules/libfb.a > > (II) Module fb: vendor="The XFree86 Project" > > compiled for 4.4.0, module version = 1.0.0 > > ABI class: XFree86 ANSI C Emulation, version 0.2 > > (**) FBDEV(0): Using "Shadow Framebuffer" > > (II) Loading sub module "shadow" > > (II) LoadModule: "shadow" > > (II) Loading /usr/X11R6/lib/modules/libshadow.a > > (II) Module shadow: vendor="The XFree86 Project" > > compiled for 4.4.0, module version = 1.0.0 > > ABI class: XFree86 ANSI C Emulation, version 0.2 > > (--) Depth 24 pixmap format is 32 bpp > > (EE) FBDEV(0): FBIOPAN_DISPLAY: Invalid argument > > (==) FBDEV(0): Backing store disabled > > (==) RandR enabled > > (II) Initializing built-in extension MIT-SHM > > (II) Initializing built-in extension XInputExtension > > (II) Initializing built-in extension XTEST > > (II) Initializing built-in extension XKEYBOARD > > (II) Initializing built-in extension LBX > > (II) Initializing built-in extension XC-APPGROUP > > (II) Initializing built-in extension SECURITY > > (II) Initializing built-in extension XINERAMA > > (II) Initializing built-in extension XFree86-Bigfont > > (II) Initializing built-in extension RENDER > > (II) Initializing built-in extension RANDR > > (**) Option "Protocol" "Auto" > > (**) Mouse1: Device: "/dev/mouse" > > (**) Mouse1: Protocol: "Auto" > > (**) Option "CorePointer" > > (**) Mouse1: Core Pointer > > (**) Option "Device" "/dev/mouse" > > (**) Option "Emulate3Buttons" > > (**) Mouse1: Emulate3Buttons, Emulate3Timeout: 50 > > (==) Mouse1: Buttons: 3 > > (II) Keyboard "Keyboard1" handled by legacy driver > > (II) XINPUT: Adding extended input device "Mouse1" (type: MOUSE) > > (**) Option "Device" "/dev/mouse" > > (II) Mouse1: GuessProtocol: setting mouse protocol to "PS/2" > > (II) Mouse1: ps2EnableDataReporting: succeeded > > Could not init font path element /usr/X11R6/lib/X11/fonts/local/, removing from > list! > > > > > > > > > --- > Outgoing mail is certified Virus Free. > Checked by AVG anti-virus system (http://www.grisoft.com). > Version: 6.0.567 / Virus Database: 358 - Release Date: 1/24/2004 > --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.567 / Virus Database: 358 - Release Date: 1/24/2004 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.567 / Virus Database: 358 - Release Date: 1/24/2004 _______________________________________________ XFree86 mailing list XFree86@xxxxxxxxxxx http://XFree86.Org/mailman/listinfo/xfree86