Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 22 Nov 2009 19:27:31 +0100
From:      volodim <benjamin.burget@gmail.com>
To:        freebsd-x11@freebsd.org
Subject:   xorg freeze with radeon driver and AGP enabled (ati x800 AGP)
Message-ID:  <20091122192731.6f83bef4@pizza.dev-zero.org>

next in thread | raw e-mail | index | archive | help
Hi,

I've recently installed FreeBSD 8.0-RC3 on my computer, I configured
Xorg 7.4 with the radeon driver, but when I turn on AGP mode in
xorg.conf, the whole OS freeze during X startup with a black screen
(the monitor turns in standby mode).

I noticed that when I add the line "BusType" "PCI", the driver radeon
works fine, and xorg too. 

I can't post a Xorg.0.log when AGP is turned on, because when I reboot
while the system is freezed, the log is not keeped in /var instead I
found the previous (of working X) log. 

Here's my dmesg output: 

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-RC3 #0: Tue Nov 10 07:50:36 UTC 2009
    root@almeida.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel(R) Pentium(R) 4 CPU 2.66GHz (2671.00-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0xf29  Stepping = 9
  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=0x4400<CNXT-ID,xTPR>
real memory  = 1073741824 (1024 MB)
avail memory = 1032077312 (984 MB)
ACPI APIC Table: <ASUS   P4S800  >
ioapic0 <Version 8.0> irqs 0-23 on motherboard
kbd1 at kbdmux0
acpi0: <ASUS P4S800> on motherboard
acpi0: Overriding SCI Interrupt from IRQ 9 to IRQ 20
acpi0: [ITHREAD]
acpi0: Power Button (fixed)
acpi0: reservation of 0, a0000 (3) failed
acpi0: reservation of 100000, 3ff00000 (3) failed
Timecounter "ACPI-safe" frequency 3579545 Hz quality 850
acpi_timer0: <24-bit timer at 3.579545MHz> port 0xe408-0xe40b on acpi0
acpi_button0: <Power Button> on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
agp0: <SiS 648 host to AGP bridge> on hostb0
pcib1: <ACPI PCI-PCI bridge> at device 1.0 on pci0
pci1: <ACPI PCI bus> on pcib1
vgapci0: <VGA-compatible display> port 0xd800-0xd8ff mem
0xf0000000-0xf7ffffff,0xbf800000-0xbf80ffff irq 16 at device 0.0 on
pci1 drm0: <ATI Radeon JJ R420 X800 SE> on vgapci0 vgapci0: child drm0
requested pci_enable_busmaster info: [drm] AGP at 0xc0000000 256MB
info: [drm] Initialized radeon 1.29.0 20080528
vgapci1: <VGA-compatible display> mem
0xe0000000-0xe7ffffff,0xbf000000-0xbf00ffff at device 0.1 on pci1
isab0: <PCI-ISA bridge> at device 2.0 on pci0 isa0: <ISA bus> on isab0
atapci0: <SiS 963 UDMA133 controller> port
0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xa400-0xa40f irq 16 at device 2.5
on pci0 ata0: <ATA channel 0> on atapci0 ata0: [ITHREAD]
ata1: <ATA channel 1> on atapci0
ata1: [ITHREAD]
pcm0: <SiS 7012> port 0x9400-0x94ff,0x9000-0x907f irq 18 at device 2.7
on pci0 pcm0: [ITHREAD]
pcm0: <Analog Devices AD1980 AC97 Codec>
ohci0: <SiS 5571 USB controller> mem 0xbe800000-0xbe800fff irq 20 at
device 3.0 on pci0 ohci0: [ITHREAD]
usbus0: <SiS 5571 USB controller> on ohci0
ohci1: <SiS 5571 USB controller> mem 0xbe000000-0xbe000fff irq 21 at
device 3.1 on pci0 ohci1: [ITHREAD]
usbus1: <SiS 5571 USB controller> on ohci1
ehci0: <EHCI (generic) USB 2.0 controller> mem 0xbd800000-0xbd800fff
irq 23 at device 3.3 on pci0 ehci0: [ITHREAD]
usbus2: EHCI version 1.0
usbus2: <EHCI (generic) USB 2.0 controller> on ehci0
sis0: <SiS 900 10/100BaseTX> port 0x8800-0x88ff mem
0xbd000000-0xbd000fff irq 19 at device 4.0 on pci0 miibus0: <MII bus>
on sis0 ukphy0: <Generic IEEE 802.3u media interface> PHY 1 on miibus0
ukphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
sis0: Ethernet address: 00:0e:a6:13:dc:bc
sis0: [ITHREAD]
atrtc0: <AT realtime clock> port 0x70-0x73 irq 8 on acpi0
ppc0: <Parallel port> port 0x378-0x37f,0x778-0x77b irq 7 drq 3 on acpi0
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/9 bytes threshold
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
uart0: <16550 or compatible> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
uart0: [FILTER]
cpu0: <ACPI CPU> on acpi0
p4tcc0: <CPU Frequency Thermal Control> on cpu0
pmtimer0 on isa0
orm0: <ISA Option ROMs> at iomem 0xd0000-0xd3fff,0xd4000-0xe3fff 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 atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
atkbd0: [ITHREAD]
Timecounter "TSC" frequency 2671002648 Hz quality 800
Timecounters tick every 1.000 msec
usbus0: 12Mbps Full Speed USB v1.0
usbus1: 12Mbps Full Speed USB v1.0
usbus2: 480Mbps High Speed USB v2.0
ugen0.1: <SiS> at usbus0
uhub0: <SiS OHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus0
ugen1.1: <SiS> at usbus1
uhub1: <SiS OHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus1
ugen2.1: <SiS> at usbus2
uhub2: <SiS EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus2
ad0: 78533MB <Hitachi HDS728080PLAT20 PF2OA21B> at ata0-master UDMA133
GEOM: ad0s2: geometry does not match label (255h,63s != 16h,63s).
acd0: DVDR <TSSTcorpCD/DVDW SH-W162C/TS03> at ata1-slave UDMA33
uhub0: 3 ports with 3 removable, self powered
uhub1: 3 ports with 3 removable, self powered
Root mount waiting for: usbus2
Root mount waiting for: usbus2
Root mount waiting for: usbus2
uhub2: 6 ports with 6 removable, self powered
Root mount waiting for: usbus2
ugen0.2: <vendor 0x062a> at usbus0
ukbd0: <vendor 0x062a USB-compliant keyboard, class 0/0, rev 1.10/1.00,
addr 2> on usbus0 kbd2 at ukbd0
ums0: <vendor 0x062a USB-compliant keyboard, class 0/0, rev 1.10/1.00,
addr 2> on usbus0 ums0: 0 buttons and [XYZ] coordinates ID=5
Trying to mount root from ufs:/dev/ad0s2a

And btw my xorg.conf: 

Section "ServerLayout"
        Identifier     "X.org Configured"
        Screen      0  "Screen0" 0 0
        InputDevice    "Mouse0" "CorePointer"
        InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
        ModulePath   "/usr/local/lib/xorg/modules"
        FontPath     "/usr/local/lib/X11/fonts/misc/"
        FontPath     "/usr/local/lib/X11/fonts/TTF/"
        FontPath     "/usr/local/lib/X11/fonts/OTF"
        FontPath     "/usr/local/lib/X11/fonts/Type1/"
        FontPath     "/usr/local/lib/X11/fonts/100dpi/"
        FontPath     "/usr/local/lib/X11/fonts/75dpi/"
        FontPath "/usr/local/lib/X11/fonts/dejavu/"
EndSection

Section "Module"
        Load  "dbe"
        Load  "dri"
        Load  "dri2"
        Load  "extmod"
        Load  "glx"
        Load  "record"
EndSection

Section "InputDevice"
        Identifier  "Keyboard0"
        Driver      "kbd"
EndSection

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

Section "Monitor"
        #DisplaySize      360   270     # mm
        Identifier   "Monitor0"
        VendorName   "DEL"
        ModelName    "DELL  M991"
        HorizSync    30.0 - 98.0
        VertRefresh  50.0 - 100.0
        Option      "DPMS"
EndSection

Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
        ### [arg]: arg optional
        #Option     "NoAccel"                   # [<bool>]
        #Option     "SWcursor"                  # [<bool>]
        #Option     "Dac6Bit"                   # [<bool>]
        #Option     "Dac8Bit"                   # [<bool>]
        #Option     "BusType"                   # [<str>]
        #Option     "CPPIOMode"                 # [<bool>]
        #Option     "CPusecTimeout"             # <i>
        #Option     "AGPMode"                   "4"
        #Option     "AGPFastWrite"              "0"
        #Option     "AGPSize"                   # <i>
        #Option     "GARTSize"                  # <i>
        #Option     "RingSize"                  # <i>
        #Option     "BufferSize"                # <i>
        Option     "EnableDepthMoves"           "1"
        #Option     "EnablePageFlip"            # [<bool>]
        #Option     "NoBackBuffer"              # [<bool>]
        #Option     "DMAForXv"                  # [<bool>]
        #Option     "FBTexPercent"              # <i>
        #Option     "DepthBits"                 # <i>
        #Option     "PCIAPERSize"               # <i>
        #Option     "AccelDFS"                  # [<bool>]
        #Option     "IgnoreEDID"                # [<bool>]
        #Option     "DisplayPriority"           # [<str>]
        #Option     "PanelSize"                 # [<str>]
        #Option     "ForceMinDotClock"          # <freq>
        #Option     "ColorTiling"               # [<bool>]
        #Option     "VideoKey"                  # <i>
        Option     "RageTheatreCrystal"         "1"
        #Option     "RageTheatreTunerPort"      # <i>
        #Option     "RageTheatreCompositePort"  # <i>
        Option     "RageTheatreSVideoPort"      "1"
        #Option     "TunerType"                 # <i>
        #Option     "RageTheatreMicrocPath"     # <str>
        #Option     "RageTheatreMicrocType"     # <str>
        #Option     "ScalerWidth"               # <i>
        Option     "RenderAccel"                "1"
        #Option     "SubPixelOrder"             # [<str>]
        #Option     "ShowCache"                 # [<bool>]
        #Option     "DynamicClocks"             # [<bool>]
        #Option     "VGAAccess"                 # [<bool>]
        #Option     "ReverseDDC"                # [<bool>]
        #Option     "LVDSProbePLL"              # [<bool>]
        #Option     "AccelMethod"               # <str>
        #Option     "DRI"                       # [<bool>]
        #Option     "ConnectorTable"            # <str>
        #Option     "DefaultConnectorTable"     # [<bool>]
        #Option     "DefaultTMDSPLL"            # [<bool>]
        #Option     "TVDACLoadDetect"           # [<bool>]
        #Option     "ForceTVOut"                # [<bool>]
        #Option     "TVStandard"                # <str>
        #Option     "IgnoreLidStatus"           # [<bool>]
        #Option     "DefaultTVDACAdj"           # [<bool>]
        #Option     "Int10"                     # [<bool>]
        #Option     "EXAVSync"                  # [<bool>]
        #Option     "ATOMTVOut"                 # [<bool>]
        #Option     "R4xxATOM"                  # [<bool>]
        Option      "BusType" "PCI"
        Option      "TVOutput" "PAL-N"
        Identifier  "Card0"
        Driver      "radeon"
        VendorName  "ATI Technologies Inc"
        BoardName   "R420 JJ [Radeon X800SE]"
        BusID       "PCI:1:0:0"
EndSection

Section "Screen"
        Identifier "Screen0"
        Device     "Card0"
        Monitor    "Monitor0"
        SubSection "Display"
                Viewport   0 0
                Depth     1
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     4
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     8
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     15
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     16
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     24
                Modes     "1280x1024"
        EndSubSection
EndSection

Section "DRI"
        Mode 0666
EndSection

Section "Extensions"
        Option "Composite" "1"
EndSection

I'm seeking for an issue, because I can't have a smooth 3D acceleration
without AGP ... PCI mode is slow when I use 3D apps.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20091122192731.6f83bef4>