PCI Radeon 9250 - DRI/DRM in 8.0-RELEASE

Greg Rowe greg at rowes.org
Sat Dec 12 14:29:40 UTC 2009


My system has a Gigabyte Radeon HD4850 1GB PCI Express Card in it. The main
board is an ASUS P5N7A-VM, 4GB ram (tested with 2GB also), Intel Core 2 Duo
E6850, on-board video disabled in the BIOS, and the BIOS is flashed to
ASUS's latest release. I'm using a single monitor off the DVI port.

 I'm running the ATI Radeon driver as it works well with the exception of
DRI. I've tried the released and development version of the RadeonHD driver
but both pretty much lock up X. Whether it helps or not, the background
garbage on the screen I see with the ATI driver is more visible with the hd
drivers and it's the ASUS Bios splash screen in tiny font many times across
the screen.  Dmesg and Memcontrol.list from Xorg with DRI enabled is
attached.

> -----Original Message-----
> From: Steve Polyack [mailto:korvus at comcast.net]
> Sent: Friday, December 11, 2009 11:11 PM
> To: Andriy Gapon
> Cc: Greg Rowe; rnoland at freebsd.org; freebsd-x11 at freebsd.org; John Baldwin
> Subject: Re: PCI Radeon 9250 - DRI/DRM in 8.0-RELEASE
> 
> Andriy Gapon wrote:
> > on 11/12/2009 23:14 Greg Rowe said the following:
> >
> >> Robert,
> >>  I tried the pagezero patch (applied, rebuilt kernel, rebooted, Xorg
> with DRI
> >> enabled) on my system with the Radeon HD4850 and it didn't change
> anything.
> >> See the attached. Thanks.
> >>
> >
> > Greg, Steve, could you please describe your systems some more?
> > Type of CPU, if this is SMP.
> > Providing a link to your dmesg should be helpful.
> > 'memcontrol list' output could be useful too.
> >
> > Thanks!
> >
> >
> I have yet to try the patch, but my system is a a ~3Ghz Pentium 4 with
> Hyperthreading enabled.  Intel chipset (not sure which, but the USB/SATA
> are the ICH7) with onboard graphics.  The Radeon 9250 is a PCI add-on.
> I'm also using both outputs on the card (1 VGA, 1 DVI).  I've attached
> the output of 'dmesg' and 'pciconf -l -v'.

-------------- next part --------------
Copyright (c) 1992-2009 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
	The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 8.0-STABLE #0: Sun Dec  6 15:43:13 EST 2009
    root at psv.rowes.org:/usr/obj/usr/src/sys/PSV i386
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel(R) Core(TM)2 Duo CPU     E6850  @ 3.00GHz (3000.03-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x6fb  Stepping = 11
  Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
  Features2=0xe3fd<SSE3,DTES64,MON,DS_CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM>
  AMD Features=0x20100000<NX,LM>
  AMD Features2=0x1<LAHF>
  TSC: P-state invariant
real memory  = 4294967296 (4096 MB)
avail memory = 3668586496 (3498 MB)
ACPI APIC Table: <101408 APIC1314>
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
FreeBSD/SMP: 1 package(s) x 2 core(s)
 cpu0 (BSP): APIC ID:  0
 cpu1 (AP): APIC ID:  1
ioapic0 <Version 1.1> irqs 0-23 on motherboard
kbd1 at kbdmux0
acpi0: <101408 RSDT1314> on motherboard
acpi0: [ITHREAD]
acpi0: Power Button (fixed)
acpi0: reservation of fefe1000, 1000 (3) failed
acpi0: reservation of fee01000, ff000 (3) failed
acpi0: reservation of fec00000, 1000 (3) failed
acpi0: reservation of fee00000, 1000 (3) failed
acpi0: reservation of 0, a0000 (3) failed
acpi0: reservation of 100000, dff00000 (3) failed
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_timer0: <32-bit timer at 3.579545MHz> port 0x4008-0x400b on acpi0
acpi_hpet0: <High Precision Event Timer> iomem 0xfed00000-0xfed003ff on acpi0
Timecounter "HPET" frequency 25000000 Hz quality 900
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
pci0: <memory, RAM> at device 0.1 (no driver attached)
isab0: <PCI-ISA bridge> port 0x4f00-0x4fff at device 3.0 on pci0
isa0: <ISA bus> on isab0
pci0: <memory, RAM> at device 3.1 (no driver attached)
pci0: <serial bus, SMBus> at device 3.2 (no driver attached)
pci0: <memory, RAM> at device 3.3 (no driver attached)
pci0: <memory, RAM> at device 3.4 (no driver attached)
pci0: <processor> at device 3.5 (no driver attached)
ohci0: <OHCI (generic) USB controller> mem 0xfbd7f000-0xfbd7ffff irq 22 at device 4.0 on pci0
ohci0: [ITHREAD]
usbus0: <OHCI (generic) USB controller> on ohci0
ehci0: <EHCI (generic) USB 2.0 controller> mem 0xfbd7ec00-0xfbd7ecff irq 23 at device 4.1 on pci0
ehci0: [ITHREAD]
usbus1: EHCI version 1.0
usbus1: <EHCI (generic) USB 2.0 controller> on ehci0
ohci1: <OHCI (generic) USB controller> mem 0xfbd7d000-0xfbd7dfff irq 20 at device 6.0 on pci0
ohci1: [ITHREAD]
usbus2: <OHCI (generic) USB controller> on ohci1
ehci1: <EHCI (generic) USB 2.0 controller> mem 0xfbd7e800-0xfbd7e8ff irq 21 at device 6.1 on pci0
ehci1: [ITHREAD]
usbus3: EHCI version 1.0
usbus3: <EHCI (generic) USB 2.0 controller> on ehci1
hdac0: <NVidia MCP79 High Definition Audio Controller> mem 0xfbd78000-0xfbd7bfff irq 22 at device 8.0 on pci0
hdac0: HDA Driver Revision: 20091113_0138
hdac0: [ITHREAD]
pcib1: <ACPI PCI-PCI bridge> at device 9.0 on pci0
pci1: <ACPI PCI bus> on pcib1
nfe0: <NVIDIA nForce MCP79 Networking Adapter> port 0xc480-0xc487 mem 0xfbd7c000-0xfbd7cfff,0xfbd7e400-0xfbd7e4ff,0xfbd7e000-0xfbd7e00f irq 23 at device 10.0 on pci0
miibus0: <MII bus> on nfe0
rgephy0: <RTL8169S/8110S/8211B media interface> PHY 3 on miibus0
rgephy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto
nfe0: Ethernet address: 00:23:54:5d:38:f9
nfe0: [FILTER]
atapci0: <nVidia nForce MCP79 SATA300 controller> port 0xc400-0xc407,0xc080-0xc083,0xc000-0xc007,0xbc00-0xbc03,0xb880-0xb88f mem 0xfbd76000-0xfbd77fff irq 20 at device 11.0 on pci0
atapci0: [ITHREAD]
atapci0: AHCI v1.20 controller with 6 3Gbps ports, PM supported
ata2: <ATA channel 0> on atapci0
ata2: [ITHREAD]
ata3: <ATA channel 1> on atapci0
ata3: [ITHREAD]
ata4: <ATA channel 2> on atapci0
ata4: [ITHREAD]
ata5: <ATA channel 3> on atapci0
ata5: [ITHREAD]
ata6: <ATA channel 4> on atapci0
ata6: [ITHREAD]
ata7: <ATA channel 5> on atapci0
ata7: [ITHREAD]
pcib2: <ACPI PCI-PCI bridge> irq 21 at device 12.0 on pci0
pci2: <ACPI PCI bus> on pcib2
vgapci0: <VGA-compatible display> port 0xd000-0xd0ff mem 0xe0000000-0xefffffff,0xfbef0000-0xfbefffff irq 16 at device 0.0 on pci2
drm0: <ATI Radeon 4800 Series> on vgapci0
info: [drm] MSI enabled 1 message(s)
vgapci0: child drm0 requested pci_enable_busmaster
info: [drm] Initialized radeon 1.31.0 20080613
hdac1: <ATI RV770 High Definition Audio Controller> mem 0xfbeec000-0xfbeeffff irq 17 at device 0.1 on pci2
hdac1: HDA Driver Revision: 20091113_0138
hdac1: [ITHREAD]
pcib3: <ACPI PCI-PCI bridge> irq 22 at device 21.0 on pci0
pci3: <ACPI PCI bus> on pcib3
pcib4: <ACPI PCI-PCI bridge> irq 23 at device 22.0 on pci0
pci4: <ACPI PCI bus> on pcib4
atapci1: <JMicron JMB368 UDMA133 controller> port 0xec00-0xec07,0xe880-0xe883,0xe800-0xe807,0xe480-0xe483,0xe400-0xe40f irq 18 at device 0.0 on pci4
atapci1: [ITHREAD]
ata8: <ATA channel 0> on atapci1
ata8: [ITHREAD]
acpi_button0: <Power Button> on acpi0
ACPI Warning: \\_SB_.PCI0.SBRG.FDC_._FDE: Return type mismatch - found Package, expected Buffer 20090521 nspredef-1051
fdc0: <floppy drive controller (FDE)> port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on acpi0
fdc0: [FILTER]
ppc0: <Parallel port> port 0x378-0x37f irq 7 on acpi0
ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode
ppc0: [ITHREAD]
ppbus0: <Parallel port bus> on ppc0
plip0: <PLIP network interface> on ppbus0
plip0: [ITHREAD]
lpt0: <Printer> on ppbus0
lpt0: [ITHREAD]
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
atrtc0: <AT realtime clock> port 0x70-0x71 on acpi0
atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
atkbd0: [ITHREAD]
uart0: <16550 or compatible> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
uart0: [FILTER]
cpu0: <ACPI CPU> on acpi0
ACPI Warning: Incorrect checksum in table [OEMB] - 22, should be 15 20090521 tbutils-275
est0: <Enhanced SpeedStep Frequency Control> on cpu0
p4tcc0: <CPU Frequency Thermal Control> on cpu0
cpu1: <ACPI CPU> on acpi0
est1: <Enhanced SpeedStep Frequency Control> on cpu1
p4tcc1: <CPU Frequency Thermal Control> on cpu1
pmtimer0 on isa0
orm0: <ISA Option ROMs> at iomem 0xc0000-0xcffff,0xd0000-0xd1fff pnpid ORM0000 on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
ata0 at port 0x1f0-0x1f7,0x3f6 irq 14 on isa0
ata0: [ITHREAD]
ata1 at port 0x170-0x177,0x376 irq 15 on isa0
ata1: [ITHREAD]
Timecounters tick every 1.000 msec
usbus0: 12Mbps Full Speed USB v1.0
usbus1: 480Mbps High Speed USB v2.0
usbus2: 12Mbps Full Speed USB v1.0
usbus3: 480Mbps High Speed USB v2.0
ad4: 715404MB <WDC WD7501AALS-00J7B1 05.00K05> at ata2-master SATA300
ugen0.1: <nVidia> at usbus0
uhub0: <nVidia OHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus0
ugen1.1: <nVidia> at usbus1
uhub1: <nVidia EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus1
ugen2.1: <nVidia> at usbus2
uhub2: <nVidia OHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus2
ugen3.1: <nVidia> at usbus3
uhub3: <nVidia EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus3
ad6: 715404MB <WDC WD7501AALS-00J7B1 05.00K05> at ata3-master SATA300
acd0: DVDR <PIONEER DVD-RW DVR-K06/1.01> at ata8-master UDMA33
hdac0: HDA Codec #0: Realtek ALC888
hdac0: HDA Codec #3: NVidia MCP7A HDMI
pcm0: <HDA Realtek ALC888 PCM #0 Analog> at cad 0 nid 1 on hdac0
pcm1: <HDA Realtek ALC888 PCM #1 Analog> at cad 0 nid 1 on hdac0
pcm2: <HDA Realtek ALC888 PCM #2 Digital> at cad 0 nid 1 on hdac0
pcm3: <HDA Realtek ALC888 PCM #3 Digital> at cad 0 nid 1 on hdac0
pcm4: <HDA NVidia MCP7A HDMI PCM #0 Digital> at cad 3 nid 1 on hdac0
hdac1: HDA Codec #0: ATI R6xx HDMI
pcm5: <HDA ATI R6xx HDMI PCM #0 HDMI> at cad 0 nid 1 on hdac1
SMP: AP CPU #1 Launched!
Root mount waiting for: usbus3 usbus2 usbus1 usbus0
uhub0: 6 ports with 6 removable, self powered
uhub2: 6 ports with 6 removable, self powered
Root mount waiting for: usbus3 usbus1
Root mount waiting for: usbus3 usbus1
uhub1: 6 ports with 6 removable, self powered
uhub3: 6 ports with 6 removable, self powered
Trying to mount root from ufs:/dev/ad4s1a
ugen0.2: <Logitech> at usbus0
ums0: <Logitech USB RECEIVER, class 0/0, rev 1.10/25.10, addr 2> on usbus0
ums0: 16 buttons and [XYZ] coordinates ID=0
nfe0: link state changed to UP
info: [drm] Setting GART location based on new memory map
info: [drm] Loading RV770/RV790 Microcode
info: [drm] Resetting GPU
info: [drm] writeback test succeeded in 1 usecs
drm0: [ITHREAD]
info: [drm] Resetting GPU
-------------- next part --------------
0x0/0x10000 BIOS write-back fixed-base fixed-length set-by-firmware active 
0x10000/0x10000 BIOS write-back fixed-base fixed-length set-by-firmware active 
0x20000/0x10000 BIOS write-back fixed-base fixed-length set-by-firmware active 
0x30000/0x10000 BIOS write-back fixed-base fixed-length set-by-firmware active 
0x40000/0x10000 BIOS write-back fixed-base fixed-length set-by-firmware active 
0x50000/0x10000 BIOS write-back fixed-base fixed-length set-by-firmware active 
0x60000/0x10000 BIOS write-back fixed-base fixed-length set-by-firmware active 
0x70000/0x10000 BIOS write-back fixed-base fixed-length set-by-firmware active 
0x80000/0x4000 BIOS write-back fixed-base fixed-length set-by-firmware active 
0x84000/0x4000 BIOS write-back fixed-base fixed-length set-by-firmware active 
0x88000/0x4000 BIOS write-back fixed-base fixed-length set-by-firmware active 
0x8c000/0x4000 BIOS write-back fixed-base fixed-length set-by-firmware active 
0x90000/0x4000 BIOS write-back fixed-base fixed-length set-by-firmware active 
0x94000/0x4000 BIOS write-back fixed-base fixed-length set-by-firmware active 
0x98000/0x4000 BIOS write-back fixed-base fixed-length set-by-firmware active 
0x9c000/0x4000 BIOS write-back fixed-base fixed-length set-by-firmware active 
0xa0000/0x4000 BIOS uncacheable fixed-base fixed-length set-by-firmware active 
0xa4000/0x4000 BIOS uncacheable fixed-base fixed-length set-by-firmware active 
0xa8000/0x4000 BIOS uncacheable fixed-base fixed-length set-by-firmware active 
0xac000/0x4000 BIOS uncacheable fixed-base fixed-length set-by-firmware active 
0xb0000/0x4000 BIOS uncacheable fixed-base fixed-length set-by-firmware active 
0xb4000/0x4000 BIOS uncacheable fixed-base fixed-length set-by-firmware active 
0xb8000/0x4000 BIOS uncacheable fixed-base fixed-length set-by-firmware active 
0xbc000/0x4000 BIOS uncacheable fixed-base fixed-length set-by-firmware active 
0xc0000/0x1000 BIOS write-protect fixed-base fixed-length set-by-firmware active 
0xc1000/0x1000 BIOS write-protect fixed-base fixed-length set-by-firmware active 
0xc2000/0x1000 BIOS write-protect fixed-base fixed-length set-by-firmware active 
0xc3000/0x1000 BIOS write-protect fixed-base fixed-length set-by-firmware active 
0xc4000/0x1000 BIOS write-protect fixed-base fixed-length set-by-firmware active 
0xc5000/0x1000 BIOS write-protect fixed-base fixed-length set-by-firmware active 
0xc6000/0x1000 BIOS write-protect fixed-base fixed-length set-by-firmware active 
0xc7000/0x1000 BIOS write-protect fixed-base fixed-length set-by-firmware active 
0xc8000/0x1000 BIOS write-protect fixed-base fixed-length set-by-firmware active 
0xc9000/0x1000 BIOS write-protect fixed-base fixed-length set-by-firmware active 
0xca000/0x1000 BIOS write-protect fixed-base fixed-length set-by-firmware active 
0xcb000/0x1000 BIOS write-protect fixed-base fixed-length set-by-firmware active 
0xcc000/0x1000 BIOS write-protect fixed-base fixed-length set-by-firmware active 
0xcd000/0x1000 BIOS write-protect fixed-base fixed-length set-by-firmware active 
0xce000/0x1000 BIOS write-protect fixed-base fixed-length set-by-firmware active 
0xcf000/0x1000 BIOS write-protect fixed-base fixed-length set-by-firmware active 
0xd0000/0x1000 BIOS write-protect fixed-base fixed-length set-by-firmware active 
0xd1000/0x1000 BIOS write-protect fixed-base fixed-length set-by-firmware active 
0xd2000/0x1000 BIOS write-protect fixed-base fixed-length set-by-firmware active 
0xd3000/0x1000 BIOS write-protect fixed-base fixed-length set-by-firmware active 
0xd4000/0x1000 BIOS uncacheable fixed-base fixed-length set-by-firmware active 
0xd5000/0x1000 BIOS uncacheable fixed-base fixed-length set-by-firmware active 
0xd6000/0x1000 BIOS uncacheable fixed-base fixed-length set-by-firmware active 
0xd7000/0x1000 BIOS uncacheable fixed-base fixed-length set-by-firmware active 
0xd8000/0x1000 BIOS uncacheable fixed-base fixed-length set-by-firmware active 
0xd9000/0x1000 BIOS uncacheable fixed-base fixed-length set-by-firmware active 
0xda000/0x1000 BIOS uncacheable fixed-base fixed-length set-by-firmware active 
0xdb000/0x1000 BIOS uncacheable fixed-base fixed-length set-by-firmware active 
0xdc000/0x1000 BIOS uncacheable fixed-base fixed-length set-by-firmware active 
0xdd000/0x1000 BIOS uncacheable fixed-base fixed-length set-by-firmware active 
0xde000/0x1000 BIOS uncacheable fixed-base fixed-length set-by-firmware active 
0xdf000/0x1000 BIOS uncacheable fixed-base fixed-length set-by-firmware active 
0xe0000/0x1000 BIOS write-through fixed-base fixed-length set-by-firmware active 
0xe1000/0x1000 BIOS write-through fixed-base fixed-length set-by-firmware active 
0xe2000/0x1000 BIOS write-through fixed-base fixed-length set-by-firmware active 
0xe3000/0x1000 BIOS write-through fixed-base fixed-length set-by-firmware active 
0xe4000/0x1000 BIOS write-through fixed-base fixed-length set-by-firmware active 
0xe5000/0x1000 BIOS write-through fixed-base fixed-length set-by-firmware active 
0xe6000/0x1000 BIOS write-through fixed-base fixed-length set-by-firmware active 
0xe7000/0x1000 BIOS write-through fixed-base fixed-length set-by-firmware active 
0xe8000/0x1000 BIOS write-through fixed-base fixed-length set-by-firmware active 
0xe9000/0x1000 BIOS write-through fixed-base fixed-length set-by-firmware active 
0xea000/0x1000 BIOS write-through fixed-base fixed-length set-by-firmware active 
0xeb000/0x1000 BIOS write-through fixed-base fixed-length set-by-firmware active 
0xec000/0x1000 BIOS write-through fixed-base fixed-length set-by-firmware active 
0xed000/0x1000 BIOS write-through fixed-base fixed-length set-by-firmware active 
0xee000/0x1000 BIOS write-through fixed-base fixed-length set-by-firmware active 
0xef000/0x1000 BIOS write-through fixed-base fixed-length set-by-firmware active 
0xf0000/0x1000 BIOS write-protect fixed-base fixed-length set-by-firmware active 
0xf1000/0x1000 BIOS write-protect fixed-base fixed-length set-by-firmware active 
0xf2000/0x1000 BIOS write-protect fixed-base fixed-length set-by-firmware active 
0xf3000/0x1000 BIOS write-protect fixed-base fixed-length set-by-firmware active 
0xf4000/0x1000 BIOS write-protect fixed-base fixed-length set-by-firmware active 
0xf5000/0x1000 BIOS write-protect fixed-base fixed-length set-by-firmware active 
0xf6000/0x1000 BIOS write-protect fixed-base fixed-length set-by-firmware active 
0xf7000/0x1000 BIOS write-protect fixed-base fixed-length set-by-firmware active 
0xf8000/0x1000 BIOS write-protect fixed-base fixed-length set-by-firmware active 
0xf9000/0x1000 BIOS write-protect fixed-base fixed-length set-by-firmware active 
0xfa000/0x1000 BIOS write-protect fixed-base fixed-length set-by-firmware active 
0xfb000/0x1000 BIOS write-protect fixed-base fixed-length set-by-firmware active 
0xfc000/0x1000 BIOS write-protect fixed-base fixed-length set-by-firmware active 
0xfd000/0x1000 BIOS write-protect fixed-base fixed-length set-by-firmware active 
0xfe000/0x1000 BIOS write-protect fixed-base fixed-length set-by-firmware active 
0xff000/0x1000 BIOS write-protect fixed-base fixed-length set-by-firmware active 
0xe0000000/0x20000000 BIOS uncacheable set-by-firmware active 
0x0/0x100000000 BIOS write-back set-by-firmware active 
0x100000000/0x20000000 BIOS write-back set-by-firmware active 


More information about the freebsd-x11 mailing list