ATI Radeon 7000 and YDL 2.2/XFree86 4.2?

Robert M. Fuhrer yellowdog-general@lists.terrasoftsolutions.com
Mon Apr 15 21:04:01 2002


I haven't figured out how to get anything better than VGA resolution
on the text console with my Radeon 7000 card.  [N.B.: It worked fine
on YDL 2.1 with this video card.]

I've got an OldWorld mac (PowerTower Pro) with a fairly recent BootX
(1.2 I think?).  I'm currently using kernel 2.4.18-0.8a from the YDL
2.2 CD.

 -> Any clues what boot args to use to set the monitor's resolution to
    1600x1200 (or at least 1280x1024)?

    I used to use video:vmode:20,cmode:8 with YDL 2.1, but that no
    longer works with YDL 2.2; it gives me something like VGA
    resolution.

    video=radeon:vmode:20 also gives me roughly VGA resolution).
    Specifying no video options at all gives me the same thing.

    If I use "Force video modes", the console goes black *very* early
    in the boot process (say, after a couple of seconds), and never
    comes back.  I have to give the 3-fingered salute to reboot.

 -> Is there a way to switch resolutions *outside X Windows* after
    booting?

Also, I can't get into X Windows.

 -> The display goes black, and never comes back.

    It looks from the log file like it gets hung during/just after the
    PCI scan.  'ps' tells me that the server is alive and chewing up
    96% of the CPU, but nothing good comes of it.

    I've appended the output of "cat /proc/pci" and the contents of
    both /etc/X11/XF86Config-4 and /var/log/XFree86.0.log to this
    message.

 -> Once this happens, trying to switch consoles using Alt-Fn (or
    Ctl-Alt-Fn) does nothing!

    Although it's natural to suspect that my X keyboard mapping is
    buggered, the keyboard section of my XF86Config-4 looks reasonable
    to me.  On the other hand, I saw somewhere on the Web that perhaps
    the XkbModel option is no longer used with XFree86; is that true?

 -> I'm using an old ADB keyboard (an Alps GlidePoint circa 1997 with
    an embedded trackpad that emulates an ADB mouse).  Should I be
    using "/dev/mouse" or "/dev/adbmouse" for my mouse device file?

Thanks,
  -- Bob

 -------------------------------------------------------------
 >               "Smooth Jazz" is no jazz at all...          <
 > Dr. Robert M. Fuhrer                   rfuhrer@ba-dsg.net <
 > IBM T.J. Watson Research Center    rfuhrer@watson.ibm.com <
 -------------------------------------------------------------

==============================================================================
$ cat /proc/pci
PCI devices found:
  Bus  0, device  11, function  0:
    Host bridge: Apple Computer Inc. Bandit PowerPC host bridge (rev 3).
      Master Capable.  Latency=32.  
  Bus  0, device  16, function  0:
    Class ff00: Apple Computer Inc. Grand Central I/O (rev 2).
      Master Capable.  Latency=32.  
      Non-prefetchable 32 bit memory at 0xf3000000 [0xf301ffff].
  Bus  1, device  11, function  0:
    Host bridge: Apple Computer Inc. Bandit PowerPC host bridge (#2) (rev 3).
      Master Capable.  Latency=32.  
  Bus  1, device  13, function  0:
    USB Controller: OPTi Inc. 82C861 (rev 16).
      IRQ 27.
      Master Capable.  Latency=32.  
      Non-prefetchable 32 bit memory at 0x90000000 [0x90000fff].
  Bus  1, device  14, function  0:
    VGA compatible controller: ATI Technologies Inc Radeon VE QY (rev 0).
      IRQ 28.
      Master Capable.  Latency=32.  Min Gnt=8.
      Prefetchable 32 bit memory at 0x98000000 [0x9fffffff].
      I/O at 0xff7fe400 [0xff7fe4ff].
      Non-prefetchable 32 bit memory at 0x90010000 [0x9001ffff].

==============================================================================
# XF86Config-4 (XFree86 server configuration file) generated by Yi, the
# Yellow Dog Linux installation tool.
#
# Edit this file with caution, and see the XF86Config manual page.
# (Type "man XF86Config" at the shell prompt.)

Section "ServerLayout"
        Identifier      "XFree86 Configured"
        Screen          0 "Screen0" 0 0
        InputDevice     "Mouse0" "CorePointer"
        InputDevice     "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
        RgbPath         "/usr/X11R6/lib/X11/rgb"
        FontPath        "unix/:7100" # local font server
EndSection

Section "Module"
        Load  "GLcore"
        Load  "dbe"
        Load  "dri"
        Load  "extmod"
        Load  "glx"
        Load  "record"
        Load  "ddc"
        Load  "bitmap"
        Load  "freetype"
        Load  "speedo"
        Load  "type1"
        Load  "vbe"
        Load  "int10"
        Load  "v4l"
EndSection

Section "InputDevice"
        Identifier      "Keyboard0"
        Driver          "keyboard"

        Option          "CustomKeycodes"
        Option          "XkbModel"      "macintosh_old"
        Option          "XkbLayout"     "us"
EndSection

Section "InputDevice"
        Identifier      "Mouse0"
        Driver          "mouse"
        Option          "ZAxisMapping"  "4 5"
        Option          "Protocol"      ""
        Option          "Device"        "/dev/mouse"
EndSection

Section "Monitor"
        Identifier      "Sony-20sfII"
        VendorName      "Sony"
        ModelName       "CDP-20sfII"

        HorizSync       30-85  # taken out of the Sony CDP-20sfII manual
        VertRefresh     48-150

    # 1024x768 @ 70 Hz, 56.5 kHz hsync
    Modeline "1024x768"    75    1024 1048 1184 1328   768  771  777  806 -hsync -vsync
    # 1024x768 @ 76 Hz, 62.5 kHz hsync
    Modeline "1024x768"    85    1024 1032 1152 1360   768  784  787  823
    # 1024x768 @ 85 Hz, 70.24 kHz hsync
    Modeline "1024x768"   98.9  1024 1056 1216 1408   768 782 788 822 -HSync -VSync
    # 1024x768 @ 100Hz, 80.21 kHz hsync
    Modeline "1024x768"   115.5  1024 1056 1248 1440  768  771  781  802 -HSync -VSync

    # 1152x864 @ 70 Hz, 62.4 kHz hsync
    Modeline  "1152x864"   92    1152 1208 1368 1474   864  865  875  895

    # 1152x864 @ 78 Hz, 70.8 kHz hsync
    Modeline "1152x864"   110   1152 1240 1324 1552   864  864  876  908
    # 1152x864 @ 84 Hz, 76.0 kHz hsync
    Modeline "1152x864"   135    1152 1464 1592 1776   864  864  876  908
    # 1152x864 @ 100 Hz, 89.62 kHz hsync
    Modeline "1152x864"   137.65 1152 1184 1312 1536   864  866  885  902 -HSync -VSync

    # 1280x1024 @ 70 Hz, 74.59 kHz hsync
    Modeline "1280x1024"  126.5 1280 1312 1472 1696  1024 1032 1040 1068 -HSync -VSync
    # 1280x1024 @ 74 Hz, 78.85 kHz hsync
    Modeline "1280x1024"  135    1280 1312 1456 1712  1024 1027 1030 1064
    # 1280x1024 @ 76 Hz, 81.13 kHz hsync
    Modeline "1280x1024"  135    1280 1312 1416 1664  1024 1027 1030 1064
    # 1280x1024 @ 85 Hz, 91.15 kHz hsync
    Modeline "1280x1024"  157.5  1280 1344 1504 1728  1024 1025 1028 1072 +HSync +VSync
    # 1280x1024 @ 100 Hz, 107.16 kHz hsync
    Modeline "1280x1024"  181.75 1280 1312 1440 1696  1024 1031 1046 1072 -HSync -VSync

    # 1600x1200 @ 70 Hz, 87.50 kHz hsync
    Modeline "1600x1200"  189    1600 1664 1856 2160  1200 1201 1204 1250 -HSync -VSync
    # 1600x1200 @ 75 Hz, 93.75 kHz hsync
    Modeline "1600x1200"  202.5  1600 1664 1856 2160  1200 1201 1204 1250 +HSync +VSync
    # 1600x1200 @ 85 Hz, 105.77 kHz hsync
    Modeline "1600x1200"  220    1600 1616 1808 2080  1200 1204 1207 1244 +HSync +VSync
EndSection

Section "Device"
        Identifier      "ATI Radeon"
        Driver          "ati"
        BusID           "PCI:1:14:0"
EndSection

Section "Screen"
        Identifier "Screen0"
        Device     "ATI Radeon"
        Monitor    "Sony-20sfII"
        DefaultDepth 24
        SubSection "Display"
                Depth   8
                Modes "1280x1024"
        EndSubSection
        SubSection "Display"
                Depth   15
                Modes "1280x1024"
        EndSubSection
        SubSection "Display"
                Depth   16
                Modes "1280x1024"
        EndSubSection
        SubSection "Display"
                Depth   24
                Modes "1280x1024"
        EndSubSection
EndSection

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

XFree86 Version 4.2.0 (echo Yellow Dog Linux release: 4.2.0-6.30d) / X Window System
(protocol Version 11, revision 0, vendor release 6600)
Release Date: 23 January 2002
        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/)
Build Operating System: Linux 2.4.18-0.8asmp ppc [ELF] 
Build Host: kaelta.terraplex.com
 
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: Sun Apr 14 06:54:48 2002
(==) Using config file: "/etc/X11/XF86Config-4"
(==) ServerLayout "XFree86 Configured"
(**) |-->Screen "Screen0" (0)
(**) |   |-->Monitor "Sony-20sfII"
(**) |   |-->Device "ATI Radeon"
(**) |-->Input Device "Mouse0"
(**) |-->Input Device "Keyboard0"
(**) Option "XkbModel" "macintosh_old"
(**) XKB: model: "macintosh_old"
(**) Option "XkbLayout" "us"
(**) XKB: layout: "us"
(**) Option "CustomKeycodes"
(**) Keyboard: CustomKeycode enabled
(WW) The directory "/usr/share/fonts/default/TrueType" does not exist.
        Entry deleted from font path.
(**) FontPath set to "unix/:7100,/usr/lib/X11/fonts/misc:unscaled,/usr/lib/X11/fonts/75dpi/:unscaled,/usr/lib/X11/fonts/100dpi/:unscaled,/usr/lib/X11/fonts/misc,/usr/lib/X11/fonts/cyrillic,/usr/lib/X11/fonts/Type1,/usr/lib/X11/fonts/Speedo,/usr/lib/X11/fonts/75dpi,/usr/lib/X11/fonts/100dpi,/usr/share/fonts/default/Type1"
(**) RgbPath set to "/usr/X11R6/lib/X11/rgb"
(==) ModulePath set to "/usr/X11R6/lib/modules"
(--) using VT number 7

(WW) Open APM failed (/dev/apm_bios) (No such device)
(II) Module ABI versions:
        XFree86 ANSI C Emulation: 0.1
        XFree86 Video Driver: 0.5
        XFree86 XInput driver : 0.3
        XFree86 Server Extension : 0.1
        XFree86 Font Renderer : 0.3
(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.2.0, module version = 1.0.0
        Module class: XFree86 Font Renderer
        ABI class: XFree86 Font Renderer, version 0.3
(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.2.0, module version = 0.1.0
        ABI class: XFree86 Video Driver, version 0.5
(II) PCI: PCI scan (all values are in hex)
(II) PCI: 00:0b:0: chip 106b,0001 card 0000,0000 rev 03 class 06,00,00 hdr 00
(II) PCI: 00:10:0: chip 106b,0002 card 0000,0000 rev 02 class ff,00,00 hdr 00
(II) PCI: 01:0b:0: chip 106b,0001 card 0000,0000 rev 03 class 06,00,00 hdr 00
(II) PCI: 01:0d:0: chip 1045,c861 card 1045,c861 rev 10 class 0c,03,10 hdr 00
(II) PCI: 01:0e:0: chip 1002,5159 card 1002,0908 rev 00 class 03,00,00 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.2.0, module version = 0.1.0
        ABI class: XFree86 Video Driver, version 0.5
(II) UnloadModule: "scanpci"
(II) Unloading /usr/X11R6/lib/modules/libscanpci.a
(II) Host-to-PCI bridge:
(II) Host-to-PCI bridge:
(II) Bus 0: bridge is at (0:11:0), (-1,0,0), BCTRL: 0x08 (VGA_EN is set)
(II) Bus 0 I/O range:
        [0] -1  0x00000000 - 0x0000ffff (0x10000) IX[B]
(II) Bus 0 non-prefetchable memory range:
        [0] -1  0x00000000 - 0xffffffff (0x0) MX[B]
(II) Bus 0 prefetchable memory range:
        [0] -1  0x00000000 - 0xffffffff (0x0) MX[B]
(II) Bus 1: bridge is at (1:11:0), (-1,1,0), BCTRL: 0x08 (VGA_EN is set)
(II) Bus 1 I/O range:
        [0] -1  0x00000000 - 0x0000ffff (0x10000) IX[B]
(II) Bus 1 non-prefetchable memory range:
        [0] -1  0x00000000 - 0xffffffff (0x0) MX[B]
(II) Bus 1 prefetchable memory range:
        [0] -1  0x00000000 - 0xffffffff (0x0) MX[B]
==============================================================================