Troubleshooting Radeon KMS with a HD 5700 gpu

Antonis Anastasiadis anastasiadis at datalive.gr
Sun Dec 8 22:16:22 UTC 2013


Hi,

I'm having trouble activating KMS with an AMD Radeon 5770 card: Once the
"radeonkms" module is loaded, the monitor loses the video signal.
The GPU is connected to a 27" Dell monitor via DisplayPort. I'm using
latest HEAD sources with WITH_NEW_XORG in make.conf and the recent svn
ports checkout from here: https://wiki.freebsd.org/Graphics#Ports

The same happens if I don't load the radeonkms module at boot, but put
"radeon" as the display driver in xorg.conf instead.

A dmesg attached. The system runs xorg 7.7, dri 9.1.7and
xf86-video-ati-7.2.0.

I'll gladly test further.

Antonis
-------------- next part --------------
Copyright (c) 1992-2013 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 10.0-RC1 #1 r259098: Sun Dec  8 15:15:21 EET 2013
    antonis at bsd:/usr/obj/usr/src/sys/GENERIC amd64
FreeBSD clang version 3.3 (tags/RELEASE_33/final 183502) 20130610
CPU: AMD Phenom(tm) II X4 955 Processor (3206.32-MHz K8-class CPU)
  Origin = "AuthenticAMD"  Id = 0x100f43  Family = 0x10  Model = 0x4  Stepping = 3
  Features=0x178bfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2,HTT>
  Features2=0x802009<SSE3,MON,CX16,POPCNT>
  AMD Features=0xee500800<SYSCALL,NX,MMX+,FFXSR,Page1GB,RDTSCP,LM,3DNow!+,3DNow!>
  AMD Features2=0x37ff<LAHF,CMP,SVM,ExtAPIC,CR8,ABM,SSE4A,MAS,Prefetch,OSVW,IBS,SKINIT,WDT>
  TSC: P-state invariant
real memory  = 8589934592 (8192 MB)
avail memory = 8269701120 (7886 MB)
Event timer "LAPIC" quality 400
ACPI APIC Table: <120610 APIC1743>
FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs
FreeBSD/SMP: 1 package(s) x 4 core(s)
 cpu0 (BSP): APIC ID:  0
 cpu1 (AP): APIC ID:  1
 cpu2 (AP): APIC ID:  2
 cpu3 (AP): APIC ID:  3
ACPI BIOS Warning (bug): Optional FADT field Pm2ControlBlock has zero address or length: 0x0000000000000000/0x1 (20130823/tbfadt-630)
ioapic0 <Version 2.1> irqs 0-23 on motherboard
random: <Software, Yarrow> initialized
kbd1 at kbdmux0
acpi0: <120610 RSDT1743> on motherboard
acpi0: Power Button (fixed)
acpi0: reservation of fee00000, 1000 (3) failed
acpi0: reservation of ffb80000, 80000 (3) failed
acpi0: reservation of fec10000, 20 (3) failed
acpi0: reservation of 0, a0000 (3) failed
acpi0: reservation of 100000, cff00000 (3) failed
cpu0: <ACPI CPU> on acpi0
cpu1: <ACPI CPU> on acpi0
cpu2: <ACPI CPU> on acpi0
cpu3: <ACPI CPU> on acpi0
attimer0: <AT timer> port 0x40-0x43 irq 0 on acpi0
Timecounter "i8254" frequency 1193182 Hz quality 0
Event timer "i8254" frequency 1193182 Hz quality 100
atrtc0: <AT realtime clock> port 0x70-0x71 irq 8 on acpi0
Event timer "RTC" frequency 32768 Hz quality 0
hpet0: <High Precision Event Timer> iomem 0xfed00000-0xfed003ff on acpi0
Timecounter "HPET" frequency 14318180 Hz quality 950
Event timer "HPET" frequency 14318180 Hz quality 450
Event timer "HPET1" frequency 14318180 Hz quality 450
Event timer "HPET2" frequency 14318180 Hz quality 450
Timecounter "ACPI-fast" frequency 3579545 Hz quality 900
acpi_timer0: <32-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
pcib1: <ACPI PCI-PCI bridge> irq 18 at device 2.0 on pci0
pci1: <ACPI PCI bus> on pcib1
vgapci0: <VGA-compatible display> port 0xd000-0xd0ff mem 0xd0000000-0xdfffffff,0xfe9e0000-0xfe9fffff irq 18 at device 0.0 on pci1
hdac0: <ATI RV840 HDA Controller> mem 0xfe9bc000-0xfe9bffff irq 19 at device 0.1 on pci1
pcib2: <ACPI PCI-PCI bridge> irq 19 at device 7.0 on pci0
pci2: <ACPI PCI bus> on pcib2
xhci0: <XHCI (generic) USB 3.0 controller> mem 0xfeaf0000-0xfeafffff irq 19 at device 0.0 on pci2
xhci0: 32 byte context size.
usbus0 on xhci0
pcib3: <ACPI PCI-PCI bridge> irq 18 at device 10.0 on pci0
pci3: <ACPI PCI bus> on pcib3
re0: <RealTek 8168/8111 B/C/CP/D/DP/E/F/G PCIe Gigabit Ethernet> port 0xe800-0xe8ff mem 0xfdfff000-0xfdffffff,0xfdff8000-0xfdffbfff irq 18 at device 0.0 on pci3
re0: Using 1 MSI-X message
re0: Chip rev. 0x28000000
re0: MAC rev. 0x00100000
miibus0: <MII bus> on re0
rgephy0: <RTL8169S/8110S/8211 1000BASE-T media interface> PHY 1 on miibus0
rgephy0:  none, 10baseT, 10baseT-FDX, 10baseT-FDX-flow, 100baseTX, 100baseTX-FDX, 100baseTX-FDX-flow, 1000baseT, 1000baseT-master, 1000baseT-FDX, 1000baseT-FDX-master, 1000baseT-FDX-flow, 1000baseT-FDX-flow-master, auto, auto-flow
re0: Ethernet address: 00:25:22:99:24:fc
ahci0: <ATI IXP700 AHCI SATA controller> port 0xc000-0xc007,0xb000-0xb003,0xa000-0xa007,0x9000-0x9003,0x8000-0x800f mem 0xfe8ffc00-0xfe8fffff irq 22 at device 17.0 on pci0
ahci0: AHCI v1.10 with 6 3Gbps ports, Port Multiplier supported
ahcich0: <AHCI channel> at channel 0 on ahci0
ahcich1: <AHCI channel> at channel 1 on ahci0
ahcich2: <AHCI channel> at channel 2 on ahci0
ahcich3: <AHCI channel> at channel 3 on ahci0
ahcich4: <AHCI channel> at channel 4 on ahci0
ahcich5: <AHCI channel> at channel 5 on ahci0
ohci0: <AMD SB7x0/SB8x0/SB9x0 USB controller> mem 0xfe8fe000-0xfe8fefff irq 16 at device 18.0 on pci0
usbus1 on ohci0
ohci1: <AMD SB7x0/SB8x0/SB9x0 USB controller> mem 0xfe8fd000-0xfe8fdfff irq 16 at device 18.1 on pci0
usbus2 on ohci1
ehci0: <AMD SB7x0/SB8x0/SB9x0 USB 2.0 controller> mem 0xfe8ff800-0xfe8ff8ff irq 17 at device 18.2 on pci0
usbus3: EHCI version 1.0
usbus3 on ehci0
ohci2: <AMD SB7x0/SB8x0/SB9x0 USB controller> mem 0xfe8fc000-0xfe8fcfff irq 18 at device 19.0 on pci0
usbus4 on ohci2
ohci3: <AMD SB7x0/SB8x0/SB9x0 USB controller> mem 0xfe8fb000-0xfe8fbfff irq 18 at device 19.1 on pci0
usbus5 on ohci3
ehci1: <AMD SB7x0/SB8x0/SB9x0 USB 2.0 controller> mem 0xfe8ff400-0xfe8ff4ff irq 19 at device 19.2 on pci0
usbus6: EHCI version 1.0
usbus6 on ehci1
pci0: <serial bus, SMBus> at device 20.0 (no driver attached)
atapci0: <ATI IXP700/800 UDMA133 controller> port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xff00-0xff0f at device 20.1 on pci0
ata1: <ATA channel> at channel 1 on atapci0
hdac1: <ATI SB600 HDA Controller> mem 0xfe8f4000-0xfe8f7fff irq 16 at device 20.2 on pci0
isab0: <PCI-ISA bridge> at device 20.3 on pci0
isa0: <ISA bus> on isab0
pcib4: <ACPI PCI-PCI bridge> at device 20.4 on pci0
pci4: <ACPI PCI bus> on pcib4
ohci4: <AMD SB7x0/SB8x0/SB9x0 USB controller> mem 0xfe8fa000-0xfe8fafff irq 18 at device 20.5 on pci0
usbus7 on ohci4
acpi_button0: <Power Button> on acpi0
uart0: <16550 or compatible> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
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
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
ppc0: cannot reserve I/O port range
acpi_throttle0: <ACPI CPU Throttling> on cpu0
hwpstate0: <Cool`n'Quiet 2.0> on cpu0
ZFS filesystem version: 5
ZFS storage pool version: features support (5000)
Timecounters tick every 1.000 msec
vboxdrv: fAsync=0 offMin=0x1fe offMax=0x3db
hdacc0: <ATI R6xx HDA CODEC> at cad 0 on hdac0
hdaa0: <ATI R6xx Audio Function Group> at nid 1 on hdacc0
pcm0: <ATI R6xx (HDMI)> at nid 3 on hdaa0
hdacc1: <Realtek ALC892 HDA CODEC> at cad 0 on hdac1
hdaa1: <Realtek ALC892 Audio Function Group> at nid 1 on hdacc1
pcm1: <Realtek ALC892 (Rear Analog 5.1/2.0)> at nid 20,22,21 and 24,26 on hdaa1
pcm2: <Realtek ALC892 (Front Analog)> at nid 27 and 25 on hdaa1
pcm3: <Realtek ALC892 (Rear Digital)> at nid 30 on hdaa1
random: unblocking device.
usbus0: 5.0Gbps Super Speed USB v3.0
usbus1: 12Mbps Full Speed USB v1.0
usbus2: 12Mbps Full Speed USB v1.0
usbus3: 480Mbps High Speed USB v2.0
usbus4: 12Mbps Full Speed USB v1.0
usbus5: 12Mbps Full Speed USB v1.0
usbus6: 480Mbps High Speed USB v2.0
usbus7: 12Mbps Full Speed USB v1.0
ugen2.1: <ATI> at usbus2
uhub0: <ATI OHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus2
ugen1.1: <ATI> at usbus1
uhub1: <ATI OHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus1
ugen0.1: <0x1b73> at usbus0
uhub2: <0x1b73 XHCI root HUB, class 9/0, rev 3.00/1.00, addr 1> on usbus0
ugen7.1: <ATI> at usbus7
uhub3: <ATI OHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus7
ugen6.1: <ATI> at usbus6
uhub4: <ATI EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus6
ugen5.1: <ATI> at usbus5
uhub5: <ATI OHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus5
ugen4.1: <ATI> at usbus4
uhub6: <ATI OHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus4
ugen3.1: <ATI> at usbus3
uhub7: <ATI EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus3
uhub3: 2 ports with 2 removable, self powered
uhub6: 3 ports with 3 removable, self powered
uhub5: 3 ports with 3 removable, self powered
uhub1: 3 ports with 3 removable, self powered
uhub0: 3 ports with 3 removable, self powered
uhub2: 2 ports with 2 removable, self powered
ada0 at ahcich1 bus 0 scbus1 target 0 lun 0
ada0: <ST3160815AS 3.AAD> ATA-7 SATA 1.x device
ada0: Serial Number 9RA36CWR
ada0: 150.000MB/s transfers (SATA 1.x, UDMA6, PIO 8192bytes)
ada0: Command Queueing enabled
ada0: 152627MB (312581808 512 byte sectors: 16H 63S/T 16383C)
ada0: Previously was known as ad6
ada1 at ahcich2 bus 0 scbus2 target 0 lun 0
ada1: <ST3250410AS 3.AAC> ATA-7 SATA 1.x device
ada1: Serial Number 6RY57MKF
ada1: 150.000MB/s transfers (SATA 1.x, UDMA6, PIO 8192bytes)
ada1: Command Queueing enabled
ada1: 238474MB (488395055 512 byte sectors: 16H 63S/T 16383C)
ada1: Previously was known as ad8
Netvsc initializing... SMP: AP CPU #1 Launched!
SMP: AP CPU #2 Launched!
SMP: AP CPU #3 Launched!
Timecounter "TSC-low" frequency 1603161041 Hz quality 800
Root mount waiting for: usbus6 usbus3
Root mount waiting for: usbus6 usbus3
uhub7: 6 ports with 6 removable, self powered
uhub4: 6 ports with 6 removable, self powered
Root mount waiting for: usbus6 usbus3
ugen3.2: <Ralink> at usbus3
ugen2.2: <Microsoft> at usbus2
ugen6.2: <Generic> at usbus6
umass0: <Generic USB Storage, class 0/0, rev 2.00/94.51, addr 2> on usbus6
umass0:  SCSI over Bulk-Only; quirks = 0x4100
umass0:7:0:-1: Attached to scbus7
Trying to mount root from zfs:tank/ROOT/default []...
da0 at umass-sim0 bus 0 scbus7 target 0 lun 0
da0: <Generic STORAGE DEVICE 9451> Removable Direct Access SCSI-0 device 
da0: Serial Number 000000009451
da0: 40.000MB/s transfers
da0: 121MB (248320 512 byte sectors: 64H 32S/T 121C)
da0: quirks=0x3<NO_SYNC_CACHE,NO_6_BYTE>
ugen2.3: <Microsoft> at usbus2
ukbd0: <Microsoft Natural Ergonomic Keyboard 4000, class 0/0, rev 2.00/1.73, addr 3> on usbus2
kbd2 at ukbd0
run0: <1.0> on usbus3
ums0: <Microsoft Microsoft 3-Button Mouse with IntelliEyeTM, class 0/0, rev 1.10/3.00, addr 2> on usbus2
ums0: 3 buttons and [XYZ] coordinates ID=0
uhid0: <Microsoft Natural Ergonomic Keyboard 4000, class 0/0, rev 2.00/1.73, addr 3> on usbus2
run0: MAC/BBP RT3070 (rev 0x0201), RF RT3020 (MIMO 1T1R), address 00:0d:a3:15:61:1f
wlan0: Ethernet address: 00:0d:a3:15:61:1f
run0: firmware RT2870 ver. 0.236 loaded
wlan0: link state changed to UP
ugen2.2: <Microsoft> at usbus2 (disconnected)
ums0: at uhub0, port 2, addr 2 (disconnected)
ugen2.2: <Microsoft> at usbus2
ums0: <Microsoft Microsoft 3-Button Mouse with IntelliEyeTM, class 0/0, rev 1.10/3.00, addr 2> on usbus2
ums0: 3 buttons and [XYZ] coordinates ID=0
ugen6.2: <Generic> at usbus6 (disconnected)
umass0: at uhub4, port 6, addr 2 (disconnected)
da0 at umass-sim0 bus 0 scbus7 target 0 lun 0
da0: <Generic STORAGE DEVICE 9451> s/n 000000009451 detached
(da0:umass-sim0:0:0:0): Periph destroyed
run0: firmware RT2870 ver. 0.236 loaded
wlan0: link state changed to UP
Limiting closed port RST response from 211 to 200 packets/sec


More information about the freebsd-x11 mailing list