[ltp] [770x] Problem with XFree86 V4.1.0.1 and screen size

Brian Button linux-thinkpad@www.bm-soft.com
29 Sep 2001 00:11:20 -0500


I apologize if this has been asked and answered before, but I've spent
the last couple of hours searching for the answer :(

Anyhow, the problem is that I have a 1.5 inch black border all the way
around my root window. I upgraded to XFree Version 4.1.0.1 today, got
KDE to work, and everything is great, other than the screen size.

My machine is a 770x, running at 1280x1024 and 24bpp.

Here are the interesting sections from my XF86Config-4 file:
===================================

Section "ServerFlags"
EndSection

Section "Device"
	Identifier	"Generic Video Card"
	Driver		"trident"
#	Option		"UseFBDev"		"true"
EndSection

Section "Monitor"
	Identifier	"Generic Monitor"
	HorizSync	30-60
	VertRefresh	50-90
	Option		"DPMS"
EndSection

Section "Screen"
	Identifier	"Default Screen"
	Device		"Generic Video Card"
	Monitor		"Generic Monitor"
	DefaultDepth	24
	SubSection "Display"
		Depth		1
		Modes		"1280x1024" "1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		4
		Modes		"1280x1024" "1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		8
		Modes		"1280x1024" "1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		15
		Modes		"1280x1024" "1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		16
		Modes		"1280x1024" "1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		24
		Modes		"1280x1024" "1024x768" "800x600" "640x480"
	EndSubSection
EndSection

Section "ServerLayout"
	Identifier	"Default Layout"
	Screen		"Default Screen"
	InputDevice	"Generic Keyboard"
	InputDevice	"Configured Mouse"
#	InputDevice	"Generic Mouse"
EndSection

#Section "DRI"
#	Mode	0666
#EndSection

# end of XF86Config
==============================

and here is the captured output of startx. I see where it says that it
isn't going to use any of the modes that I want it to, I just don't
know how to fix it :(

=============================

XFree86 Version 4.1.0.1 / X Window System
(protocol Version 11, revision 0, vendor release 6510)
Release Date: xx August 2001

Build Operating System: Linux 2.4.7 i686 [ELF] 
Module Loader present
(==) Log file: "/var/log/XFree86.0.log", Time: Fri Sep 28 23:52:00 2001
(==) 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"
(**) XKB: rules: "xfree86"
(**) XKB: model: "pc101"
(**) XKB: layout: "us"

(--) PCI:*(1:0:0) Trident Cyber 939A/DVD rev 243, Mem @ 0x70800000/23, 0x71000000/17, 0x70000000/23

(II) TRIDENT: driver for Trident chipsets: tvga8900d, cyber9320, cyber9388,
	cyber9397, cyber9397dvd, cyber9520, cyber9525dvd, cyberblade/e4,
	tgui9420dgi, tgui9440agi, tgui9660, tgui9680, providia9682,
	providia9685, cyber9382, cyber9385, 3dimage975, 3dimage985, blade3d,
	cyberbladei7, cyberbladei7d, cyberbladei1, cyberbladei1d,
	cyberbladeAi1, cyberbladeAi1d, cyberbladeXP, cyberbladeXPm
(--) Assigning device section with no busID to primary device
(--) Chipset cyber9397dvd found
(**) TRIDENT(0): Depth 24, (--) framebuffer bpp 32

(==) TRIDENT(0): RGB weight 888
(==) TRIDENT(0): Default visual is TrueColor
(==) TRIDENT(0): Using gamma correction (1.0, 1.0, 1.0)
(==) TRIDENT(0): Linear framebuffer at 0x70800000
(--) TRIDENT(0): IO registers at 0x71000000
(II) TRIDENT(0): initializing int10
(II) TRIDENT(0): Primary V_BIOS segment is: 0xc000
(II) TRIDENT(0): VESA BIOS detected
(II) TRIDENT(0): VESA VBE DDC supported
(--) TRIDENT(0): Revision is 42
(==) TRIDENT(0): Using HW cursor
(--) TRIDENT(0): Found Cyber 9397/DVD chip
(--) TRIDENT(0): RAM type is SGRAM
(--) TRIDENT(0): VideoRAM: 8192 kByte
(--) TRIDENT(0): TFT Panel 1280x1024 found
(--) TRIDENT(0): Memory Clock is 83.00 MHz
(==) TRIDENT(0): Min pixel clock is 12 MHz
(--) TRIDENT(0): Max pixel clock is 115 MHz
(II) TRIDENT(0): Generic Monitor: Using hsync range of 30.00-60.00 kHz
(II) TRIDENT(0): Generic Monitor: Using vrefresh range of 50.00-90.00 Hz
(II) TRIDENT(0): Clock range:  12.00 to 115.00 MHz
(II) TRIDENT(0): Not using default mode "1024x768" (hsync out of range)
(II) TRIDENT(0): Not using default mode "1152x864" (hsync out of range)
(II) TRIDENT(0): Not using default mode "1280x960" (bad mode clock/interlace/doublescan)
(II) TRIDENT(0): Not using default mode "1280x1024" (hsync out of range)
(II) TRIDENT(0): Not using default mode "1280x1024" (bad mode clock/interlace/doublescan)
(II) TRIDENT(0): Not using default mode "1280x1024" (bad mode clock/interlace/doublescan)
(II) TRIDENT(0): Not using default mode "1600x1200" (bad mode clock/interlace/doublescan)
(II) TRIDENT(0): Not using default mode "1600x1200" (bad mode clock/interlace/doublescan)
(II) TRIDENT(0): Not using default mode "1600x1200" (bad mode clock/interlace/doublescan)
(II) TRIDENT(0): Not using default mode "1600x1200" (bad mode clock/interlace/doublescan)
(II) TRIDENT(0): Not using default mode "1600x1200" (bad mode clock/interlace/doublescan)
(II) TRIDENT(0): Not using default mode "1792x1344" (insufficient memory for mode)
(II) TRIDENT(0): Not using default mode "1792x1344" (insufficient memory for mode)
(II) TRIDENT(0): Not using default mode "1856x1392" (insufficient memory for mode)
(II) TRIDENT(0): Not using default mode "1856x1392" (insufficient memory for mode)
(II) TRIDENT(0): Not using default mode "1920x1440" (insufficient memory for mode)
(II) TRIDENT(0): Not using default mode "1920x1440" (insufficient memory for mode)
(II) TRIDENT(0): Not using default mode "1400x1050" (bad mode clock/interlace/doublescan)
(II) TRIDENT(0): Not using default mode "1400x1050" (bad mode clock/interlace/doublescan)
(II) TRIDENT(0): Not using mode "1280x1024" (no mode of this name)
(--) TRIDENT(0): Virtual size is 1024x768 (pitch 1024)
(**) TRIDENT(0): Default mode "1024x768": 78.8 MHz, 60.1 kHz, 75.1 Hz
(**) TRIDENT(0): Default mode "800x600": 56.3 MHz, 53.7 kHz, 85.1 Hz
(**) TRIDENT(0): Default mode "640x480": 36.0 MHz, 43.3 kHz, 85.0 Hz
(++) TRIDENT(0): DPI set to (100, 100)

(--) Depth 24 pixmap format is 32 bpp
(==) TRIDENT(0): Write-combining range (0x70800000,0x800000)
(II) TRIDENT(0): Initializing int10
(II) TRIDENT(0): Primary V_BIOS segment is: 0xc000
(II) TRIDENT(0): Overriding Horizontal timings.
(II) TRIDENT(0): Shadow on
(II) TRIDENT(0): H-timing shadow registers: 0xce           0x91 0xa6 0x14
(II) TRIDENT(0): H-timing registers:        0x9f 0x7f 0x7f 0x82 0x82 0x8e
(II) TRIDENT(0): V-timing shadow registers: 0x28 0x50 0x01 0x04           0x28 (0xa8)
(II) TRIDENT(0): V-timing registers:        0x1e 0xf5 0x01 0x24 0xff 0x00 0x1e
(II) TRIDENT(0): Setting BIOS Mode: 6e
(II) TRIDENT(0): Using XFree86 Acceleration Architecture (XAA)
	Screen to screen bit blits
	Solid filled rectangles
	8x8 mono pattern filled rectangles
	Solid Horizontal and Vertical Lines
	Offscreen Pixmaps
	Setting up tile and stipple cache:
		32 128x128 slots
		10 256x256 slots

(II) TRIDENT(0): Overriding Horizontal timings.
(II) TRIDENT(0): Shadow on
(II) TRIDENT(0): H-timing shadow registers: 0xce           0x91 0xa6 0x14
(II) TRIDENT(0): H-timing registers:        0x9f 0x7f 0x7f 0x82 0x82 0x8e
(II) TRIDENT(0): V-timing shadow registers: 0x28 0x50 0x01 0x04           0x28 (0xa8)
(II) TRIDENT(0): V-timing registers:        0x1e 0xf5 0x01 0x24 0xff 0x00 0x1e
(II) TRIDENT(0): Setting BIOS Mode: 6e

===============================

Sorry for the length of this post, but I wanted to give as much info
as possible.

Thanks in advance for any help I might get,

bab

-- 
Brian Button            bbutton@objectmentor.com
Senior Consultant       Object Mentor, Inc
St. Louis, MO		http://www.objectmentor.com

Extreme Programming in St. Louis - http://groups.yahoo.com/group/xpstl

----- The Linux ThinkPad mailing list -----
The linux-thinkpad mailing list home page is at:
http://www.bm-soft.com/~bm/tp_mailing.html