XFree86 4.2 on ATI R128 Mobility M4 (Dell laptops)

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

 




Hi,

Read on to see how to make it work :).

Today I did an upgrade from SuSE 7.3 (XFree86 4.1) to SuSE 8.0 (XFree86
4.2). To my surprise, X didn't work anymore (w/the same config file).

sax2 does detect the card but doesn't start.

When I try to run the server using my old config file (working fine in
4.1.0) it says (relevant section):

----------------
IBM ITUX97E
Color, Single, TFT
(EE) R128(0): No valid modes found
(EE) Screen(s) found, but none have a usable configuration.

Fatal server error:
no screens found
---------------

After some fussing around the web it turns out some other people were
asking the same question (also on this list) but no good answer has come
up.

I have a Dell Latitude C800 laptop, ATI Mobility M4, 1600x1200 TFT
display. I know that the HorizSync should be 31.5-90 and VertRefresh
should be 60 (this is what they are set to in my XF86Config that's
working).

Out of sheer desperation, I changed the VertRefresh from 60 to 55-65 to
see what happens.

Bingo ! It works (!?!?!?!).

I've attached the XF86Config-4.

I assume this is because of some sort of "approximation" that takes place
when the actual VertRefresh is calculated ? (59-61 doesn't work, BTW;
although xvidtune says the actual frequency is 59.26).

The mode is described in /var/log/XFree86.log as:

(**) R128(0): Default mode "1600x1200": 160.0 MHz, 81.2 kHz, 65.0 Hz
(II) R128(0): Modeline "1600x1200"  160.00  1600 1664 1688 2160  1200 1200
1203 1250 +hsync +vsync

What happened between 4.1.0 and 4.2.0 to require this change (60 -> 65) ?
I think this is pretty bad - I guess all TFTs have a fixed VertRefresh and
they will be affected by this problem. I assume this is only happening
with ATI cards ?

Hope this helps,
Cornel.


# /.../
# SaX generated XFree86 config file
# Created on: 2002-07-20.
#
# Version: 4.3
# Contact: Marcus Schaefer <sax@suse.de>, 2001
#
# Automatically generated by [SaX2] (4.3)
# PLEASE DO NOT EDIT THIS FILE!
#

Section "Files"
  FontPath     "/usr/X11R6/lib/X11/fonts/misc:unscaled"
  FontPath     "/usr/X11R6/lib/X11/fonts/local"
  FontPath     "/usr/X11R6/lib/X11/fonts/75dpi:unscaled"
  FontPath     "/usr/X11R6/lib/X11/fonts/100dpi:unscaled"
  FontPath     "/usr/X11R6/lib/X11/fonts/Type1"
  FontPath     "/usr/X11R6/lib/X11/fonts/URW"
  FontPath     "/usr/X11R6/lib/X11/fonts/Speedo"
  FontPath     "/usr/X11R6/lib/X11/fonts/PEX"
  FontPath     "/usr/X11R6/lib/X11/fonts/cyrillic:unscaled"
  FontPath     "/usr/X11R6/lib/X11/fonts/latin2/misc:unscaled"
  FontPath     "/usr/X11R6/lib/X11/fonts/latin2/75dpi:unscaled"
  FontPath     "/usr/X11R6/lib/X11/fonts/latin2/100dpi:unscaled"
  FontPath     "/usr/X11R6/lib/X11/fonts/latin2/Type1"
  FontPath     "/usr/X11R6/lib/X11/fonts/latin7/75dpi:unscaled"
  FontPath     "/usr/X11R6/lib/X11/fonts/baekmuk:unscaled"
  FontPath     "/usr/X11R6/lib/X11/fonts/japanese:unscaled"
  FontPath     "/usr/X11R6/lib/X11/fonts/kwintv:unscaled"
  FontPath     "/usr/X11R6/lib/X11/fonts/truetype"
  FontPath     "/usr/X11R6/lib/X11/fonts/uni:unscaled"
  FontPath     "/usr/X11R6/lib/X11/fonts/CID"
  FontPath     "/usr/X11R6/lib/X11/fonts/ucs/misc:unscaled"
  FontPath     "/usr/X11R6/lib/X11/fonts/ucs/75dpi:unscaled"
  FontPath     "/usr/X11R6/lib/X11/fonts/ucs/100dpi:unscaled"
  FontPath     "/usr/X11R6/lib/X11/fonts/hellas/misc:unscaled"
  FontPath     "/usr/X11R6/lib/X11/fonts/hellas/75dpi:unscaled"
  FontPath     "/usr/X11R6/lib/X11/fonts/hellas/100dpi:unscaled"
  FontPath     "/usr/X11R6/lib/X11/fonts/hellas/Type1"
  FontPath     "/usr/X11R6/lib/X11/fonts/misc/sgi:unscaled"
  FontPath     "/usr/X11R6/lib/X11/fonts/xtest"
  ModulePath   "/usr/X11R6/lib/modules"
  RgbPath      "/usr/X11R6/lib/X11/rgb"
EndSection

Section "Module"
  Load         "dbe"
  Load         "type1"
  Load         "speedo"
  Load         "freetype"
  Load         "extmod"
EndSection

Section "ServerFlags"
  Option       "AllowMouseOpenFail"
EndSection

Section "InputDevice"
  Driver       "Keyboard"
  Identifier   "Keyboard[0]"
  Option       "MapName" "Generic keyboard [ pc101 ]"
  Option       "Protocol" "Standard"
  Option       "XkbLayout" "us"
  Option       "XkbModel" "pc101"
  Option       "XkbRules" "xfree86"
EndSection

Section "InputDevice"
  Driver       "mouse"
  Identifier   "Mouse[1]"
  Option       "Device" "/dev/mouse"
  Option       "Emulate3Buttons" "on"
  Option       "Name" "Autodetection"
  Option       "Protocol" "ps/2"
  Option       "Vendor" "Sysp"
EndSection


Section "Monitor"
  Identifier   "DELL_TFT"
  ModelName    "1600x1200@60Hz"
  VendorName   "DELL"
  HorizSync    31.5 - 90
  VertRefresh  55-65
# V-freq: 60.00 Hz  // h-freq: 74.69 KHz
Modeline "1600x1200" 170.89  1600 1688 1896 2288  1200 1200 1203 1244 
EndSection

Section "Device"
  Identifier   "Device[0]"
  BoardName    "Rage 128 Mobility MF"
  BusID        "1:0:0"
  Driver       "ati"
  VendorName   "ATI"
EndSection

Section "Screen"
	Identifier "Screen[0]"
	Device "Device[0]"
	Monitor "DELL_TFT"
	DefaultDepth 24
	Subsection "Display"
		Depth 32 
		Modes "1600x1200"
	EndSubSection
	Subsection "Display"
		Depth 24
		Modes "1600x1200"
	EndSubSection
EndSection

Section "ServerLayout"
  Identifier   "Layout[all]"
  InputDevice  "Keyboard[0]" "CoreKeyboard"
  InputDevice  "Mouse[1]" "CorePointer"
  Screen       0 "Screen[0]" 0 0
EndSection

Section "DRI"
#    Group      "video"
#    Mode       0660
EndSection


[Index of Archives]     [XFree86]     [Xfree86 Xpert]     [X.org]     [IETF Annouce]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Picture Sharing]     [Linux Security]     [Linux RAID]

  Powered by Linux