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

[LONG] Radeon 9600 and XFree (new powerbook)



Hi,

I can't make xfree work on my new powerbook (Superdrive 1,25 GHz with radeon 9600) with a video xhipset detected as a M10 radeon, 0x4e50.

(from /var/log/XFree86.0.log) :

(--) RADEON(0): Chipset: "ATI Radeon Mobility M10 NP (AGP)" (ChipID = 0x4e50)
(--) RADEON(0): Linear framebuffer at 0xb8000000
(--) RADEON(0): BIOS at 0xb0020000
(II) RADEON(0): Video RAM override, using 65536 kB instead of 65536 kB
(**) RADEON(0): VideoRAM: 65536 kByte (64-bit SDR SDRAM)
(II) RADEON(0): AGP card detected
(II) Loading sub module "ddc"

<...cut...>


I've found (with google) a fiew models of XF86Config-4 and have made a lot of tests, without any success.

FYI, dmesg says :

Using unsupported 1280x854 ATY,Jasper_A at bc008000, depth=8, pitch=1280
Console: switching to colour frame buffer device 160x53
fb0: Open Firmware frame buffer device on /pci@f0000000/ATY,JasperParent@10/ATY,Jasper_A@0
Using unsupported 1280x960 ATY,Jasper_B at ba008000, depth=8, pitch=1280
fb1: Open Firmware frame buffer device on /pci@f0000000/ATY,JasperParent@10/ATY,Jasper_B@1


And, when I connect a second CRT screen, I can read :

...ok
copying OF device tree...done
Initializing fake screen : ATY, Jasper_A
address:bc008000
Calling quiesce...
returning 0x0140000 prom_init

with a 1600x??? (I think) resolution. Anytimes, it's a 640x480 (??)


I've tested a lot of Modelines, with and without the UseFBDev (true/false) option. Other options, like "NoAccel" ("Device" section) don't work too. Of course, I've tested 16, 24 and 32 depth.

Module Section :

I've tested too with/without dri, glx option. Not tested without GLcore


For example, a short list of Modelines I've tested :


Mode "1024x768"
    # D:65.003 MHz, H: 48.365 kHz, V: 60.006 Hz
    DotClock	65.004
    HTimings 1024 1048 1184 1344
    VTimings 768 771 777 806
    Flags "-HSync" "-VSync"
EndMode

#/#Mode "1024x768"
#/#    # D: 44.901 MHz, H: 35.523 kHz, V: 86.960 Hz
#/#    DotClock 44.902
#/#    HTimings 1024 1048 1208 1264
#/#    VTimings 768 776 784 817
#    Flags   "Interlace" "-HSync" "-VSync"
#/#    Flags    "Interlace" "-HSync" "-VSync"
#/#EndMode

#Mode "1280x854"	# D: 79.815 MHz, H: 51.963 kHz, V: 60.003 Hz
#	DotClock 79.816
#	HTimings 1280 1296 1408 1536
#	VTimings 854 855 858 866
#	Flags    "-HSync" "-VSync"
#EndMode

Mode "640x480"	# D: 79.815 MHz, H: 51.963 kHz, V: 60.003 Hz
	DotClock 79.816
	HTimings 1280 1296 1408 1536
	VTimings 854 855 858 866
	Flags  "-HSync" "-VSync"
EndMode
									
	
# 1024x768X16=generic mode 75Hz for mirroring on external output, #althought 87Hz# 640x480x16 for Frozen-bubble in fullscreen !-)
# other modelines :  for testing Mac On Linux

Modeline "1280x960@100" 143.472 1152 1232 1360 1568 864 865 868 915 +hsync +vsync

Modeline "1152x864@60" 81.642 1152 1216 1336 1520 864 865 868 895 +hsync +vsync Modeline "1280x960@75" 129.859 1280 1368 1504 1728 960 961 964 1002 +hsync +vsync

Modeline "800x600" 100 800 816 824 840 600 616 624 640 -hsync -vsync

Modeline "800x600" 95 800 821 901 1040 600 601 604 632 +hsync +vsync

Modeline "640x512" 67.50 640 648 720 844 512 512 514 533 doublescan +hsync +vsync Modeline "640x512" 54.00 640 664 720 844 512 512 514 533 doublescan +hsync +vsync
Modeline "640x400"   31.50  640 672 736 832  400 401 404 445 -hsync +vsync


ModeLine "800x600" 56.3 800 832 896 1048 600 601 604 631 +hsync +vsync Modeline "800x600" 95 800 821 901 1040 600 601 604 632 +hsync +vsync

Modeline "640x480" 117 640 661 725 832 480 481 484 514 +hsync +vsync

# Apple PowerBook G3
Modeline "800x600" 100 800 816 824 840 600 616 624 640 -hsync -vsync

#----------
#1024x768 à 75Hz clone mode for projector
# modeline magique ! (from mac mode in Mac OS)
# DVD (vlc/Mplayer) / hardware acceleration both works

Modeline "1024x768" 78 1024 1046 1142 1304 768 769 772 800 +hsync +vsync


#----------

# 1024x768 @ 70 Hz, 56.5 kHz hsync
Modeline "1024x768" 75 1024 1048 1184 1328 768 771 777 806 -hsync -vsync


The XFree version I'm using is (like /var/log/XFree86.0.log says) :


XFree86 Version 4.3.99.12 (DRI trunk)
Release Date: 10 September 2003
X Protocol Version 11, Revision 0, Release 6.6
Build Operating System: Linux 2.6.0-test5 ppc [ELF]
Current Operating System: Linux alube 2.4.23-pre5ben1 #1 Wed Oct 29 22:03:30 CET 2003 ppc
Build Date: 06 October 2003
Changelog Date: 10 September 2003

....

The chipset is :

(II) Primary Device is: PCI 00:10:0
(II) ATI:  Candidate "Device" section "ATI Radeon Mobility M10".
(--) Assigning device section with no busID to primary device
(--) Chipset ATI Radeon Mobility M10 NP (AGP) found


BTW : the kernel is a 2.4.23pre5-ben0, with correct vmalloc_start, radeon driver :

(dmesg) :

[drm] Initialized radeon 1.9.0 20020828 on minor 0
Linux agpgart interface v0.99 (c) Jeff Hartmann
agpgart: Maximum main memory to use for agp memory: 440M
agpgart: Detected Apple UniNorth 2 chipset
agp: configuring for size idx: 4
agpgart: AGP aperture is 16M @ 0x0

The distribution is a sid / Debian. (installed after copying my kernel from MacOSX partition).


The last but not the least : the only thing I can _correctly_ see is the mouse, correctly drawned ! The rest of the screen looks like stripes with periodic offset...Yes, it's a bit strange...


So, if someone is using this hardware, any help is welcome.



Best regards,


--
NO ePATENTS/ NON AUX BREVETS SUR LES LOGICIELS. Voir / See http://swpat.ffii.org/

eric b



Reply to: