Bug 248195

Summary: X hangs in RADEONWaitForVerticalSync
Product: [openSUSE] openSUSE 10.3 Reporter: Andreas Schwab <schwab>
Component: X.OrgAssignee: Stefan Dirsch <sndirsch>
Status: RESOLVED FIXED QA Contact: Stefan Dirsch <sndirsch>
Severity: Normal    
Priority: P5 - None CC: edwardsg, eich, jlim
Version: Alpha 1   
Target Milestone: ---   
Hardware: IA64   
OS: Other   
Whiteboard:
Found By: Other Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Bug Depends on: 197190    
Bug Blocks:    

Description Andreas Schwab 2007-02-23 12:16:19 UTC
# hwinfo --gfxcard
13: PCI(AGP) 50000.0: 0300 VGA compatible controller (VGA)      
  [Created at pci.286]
  UDI: /org/freedesktop/Hal/devices/pci_1002_4a4d
  Unique ID: 00qi.v4W8BmEPXm6
  SysFS ID: /devices/pci0005:00/0005:00:00.0
  SysFS BusID: 0005:00:00.0
  Hardware Class: graphics card
  Model: "ATI R420 JM"
  Vendor: pci 0x1002 "ATI Technologies Inc"
  Device: pci 0x4a4d "R420 JM"
  SubVendor: pci 0x1002 "ATI Technologies Inc"
  SubDevice: pci 0x4a4d 
  Revision: 0x80
  Memory Range: 0xc000004148000000-0xc00000414fffffff (rw,prefetchable)
  I/O Ports: 0xc000004023001000-0xc0000040230010ff (rw)
  Memory Range: 0xc000004140100000-0xc00000414010ffff (rw,non-prefetchable)
  Memory Range: 0xc00000347a818000-0xc00000347a837fff (ro,prefetchable,disabled)
  IRQ: 68 (no events)
  I/O Ports: 0x3c0-0x3df (rw)
  Module Alias: "pci:v00001002d00004A4Dsv00001002sd00004A4Dbc03sc00i00"
  Driver Info #0:
    XFree86 v4 Server Module: radeon
  Config Status: cfg=no, avail=yes, need=no, active=unknown

14: PCI 50000.1: 0380 Display controller
  [Created at pci.286]
  UDI: /org/freedesktop/Hal/devices/pci_1002_4a6d
  Unique ID: tKJY.ulYZtNZyFE3
  SysFS ID: /devices/pci0005:00/0005:00:00.1
  SysFS BusID: 0005:00:00.1
  Hardware Class: graphics card
  Model: "ATI Display controller"
  Vendor: pci 0x1002 "ATI Technologies Inc"
  Device: pci 0x4a6d 
  SubVendor: pci 0x1002 "ATI Technologies Inc"
  SubDevice: pci 0x4a4c 
  Revision: 0x80
  Memory Range: 0xc000004150000000-0xc000004157ffffff (rw,prefetchable)
  Memory Range: 0xc000004140110000-0xc00000414011ffff (rw,non-prefetchable)
  Module Alias: "pci:v00001002d00004A6Dsv00001002sd00004A4Cbc03sc80i00"
  Config Status: cfg=no, avail=yes, need=no, active=unknown

15: PCI(AGP) 60000.0: 0300 VGA compatible controller (VGA)
  [Created at pci.286]
  UDI: /org/freedesktop/Hal/devices/pci_1002_4a4d_0
  Unique ID: S8St.v4W8BmEPXm6
  SysFS ID: /devices/pci0006:00/0006:00:00.0
  SysFS BusID: 0006:00:00.0
  Hardware Class: graphics card
  Model: "ATI R420 JM"
  Vendor: pci 0x1002 "ATI Technologies Inc"
  Device: pci 0x4a4d "R420 JM"
  SubVendor: pci 0x1002 "ATI Technologies Inc"
  SubDevice: pci 0x4a4d 
  Revision: 0x80
  Memory Range: 0xc00000c148000000-0xc00000c14fffffff (rw,prefetchable,disabled)
  I/O Ports: 0xc00000c023001000-0xc00000c0230010ff (rw,disabled)
  Memory Range: 0xc00000c140100000-0xc00000c14010ffff (rw,non-prefetchable,disabled)
  Memory Range: 0xc00000347a826800-0xc00000347a8467ff (ro,prefetchable,disabled)
  IRQ: 67 (no events)
  Module Alias: "pci:v00001002d00004A4Dsv00001002sd00004A4Dbc03sc00i00"
  Driver Info #0:
    XFree86 v4 Server Module: radeon
  Config Status: cfg=no, avail=yes, need=no, active=unknown

16: PCI 60000.1: 0380 Display controller
  [Created at pci.286]
  UDI: /org/freedesktop/Hal/devices/pci_1002_4a6d_0
  Unique ID: JTxi.ulYZtNZyFE3
  SysFS ID: /devices/pci0006:00/0006:00:00.1
  SysFS BusID: 0006:00:00.1
  Hardware Class: graphics card
  Model: "ATI Display controller"
  Vendor: pci 0x1002 "ATI Technologies Inc"
  Device: pci 0x4a6d 
  SubVendor: pci 0x1002 "ATI Technologies Inc"
  SubDevice: pci 0x4a4c 
  Revision: 0x80
  Memory Range: 0xc00000c150000000-0xc00000c157ffffff (rw,prefetchable)
  Memory Range: 0xc00000c140110000-0xc00000c14011ffff (rw,non-prefetchable)
  Module Alias: "pci:v00001002d00004A6Dsv00001002sd00004A4Cbc03sc80i00"
  Config Status: cfg=no, avail=yes, need=no, active=unknown

Primary display adapter: #13
# tail /var/log/Xorg.0.log
(**) RADEON(0): dc=15400, of=30800, fd=137, pd=2
(**) RADEON(0): TMDS_PLL from 1fbb011c to 1fbb011c
(II) RADEON(0): BIOS HotKeys Disabled
(**) RADEON(0): RADEONInit returns 0x60000000001764e8
(**) RADEON(0): RADEONRestoreMode()
(**) RADEON(0): RADEONRestoreMode(0x60000000001764e8)
(**) RADEON(0): RADEONRestoreMemMapRegisters() : 
(**) RADEON(0):   MC_FB_LOCATION   : 0x0fff0000
(**) RADEON(0):   MC_AGP_LOCATION  : 0xffffffc0
(**) RADEON(0):   Map Changed ! Applying ...
(gdb) bt
#0  0xa000000000010621 in __kernel_syscall_via_break ()
#1  0x2000000000584940 in nanosleep () from /lib/libc.so.6.1
#2  0x20000000005dd050 in usleep (useconds=<value optimized out>)
    at ../sysdeps/unix/sysv/linux/usleep.c:33
#3  0x40000000000dee30 in xf86usleep (usec=1)
    at ./../shared/libc_wrapper.c:1198
#4  0x2000000000ddf4c0 in RADEONWaitForVerticalSync (
    pScrn=<value optimized out>) at radeon_driver.c:838
#5  0x2000000000de29e0 in RADEONRestoreMemMapRegisters (
    pScrn=0x6000000000174e10, restore=0x60000000001764e8)
    at radeon_driver.c:6242
#6  0x2000000000df38c0 in RADEONRestoreMode (pScrn=0x6000000000174e10, 
    restore=0x60000000001764e8) at radeon_driver.c:7110
#7  0x2000000000df4950 in RADEONModeInit (pScrn=0x6000000000174e10, 
    mode=0x600000000019b1c0) at radeon_driver.c:8743
#8  0x2000000000df7480 in RADEONScreenInit (scrnIndex=0, 
    pScreen=0x600000000018a7b0, argc=268435456, argv=0x6000000000175a18)
    at radeon_driver.c:5873
#9  0x400000000003efe0 in AddScreen (pfnInit=0x2000000000a47cb0, argc=6, 
    argv=0x607fffffff8c7b38) at main.c:773
#10 0x40000000000ba8e0 in InitOutput (pScreenInfo=<value optimized out>, 
    argc=6, argv=0x607fffffff8c7b38) at xf86Init.c:927
#11 0x4000000000040150 in main (argc=6, argv=0x607fffffff8c7b38, 
    envp=0x607fffffff8c7b70) at main.c:370
Comment 1 Stefan Dirsch 2007-02-23 13:10:56 UTC
Well, I think there are still a lot of issues with X.Org 7 on IA64. :-(
Comment 2 Stefan Dirsch 2007-03-15 15:26:02 UTC
Patch applied from Bug #197190. Fixed for STABLE/Factory.