Page 4 of 4 FirstFirst ... 234
Results 31 to 40 of 40

Thread: Fedora 7 Test 1 + AMD fglrx Drivers

  1. #31
    Join Date
    Oct 2006
    Posts
    42

    Default

    (II) Host-to-PCI bridge:
    (II) Bus 0: bridge is at (0:0:0), (0,0,7), BCTRL: 0x0008 (VGA_EN is set)
    (II) Bus 0 I/O range:
    [0] -1 0 0x00000000 - 0x0000ffff (0x10000) IX[B]
    (II) Bus 0 non-prefetchable memory range:
    [0] -1 0 0x00000000 - 0xffffffff (0x100000000) MX[B]
    (II) Bus 0 prefetchable memory range:
    [0] -1 0 0x00000000 - 0xffffffff (0x100000000) MX[B]
    (II) PCI-to-PCI bridge:
    (II) Bus 1: bridge is at (0:1:0), (0,1,1), BCTRL: 0x000c (VGA_EN is set)
    (II) Bus 1 I/O range:
    [0] -1 0 0x00009000 - 0x000090ff (0x100) IX[B]
    [1] -1 0 0x00009400 - 0x000094ff (0x100) IX[B]
    [2] -1 0 0x00009800 - 0x000098ff (0x100) IX[B]
    [3] -1 0 0x00009c00 - 0x00009cff (0x100) IX[B]
    (II) Bus 1 non-prefetchable memory range:
    [0] -1 0 0xc0100000 - 0xc01fffff (0x100000) MX[B]
    (II) Bus 1 prefetchable memory range:
    [0] -1 0 0xc8000000 - 0xcfffffff (0x8000000) MX[B]
    (II) PCI-to-PCI bridge:
    (II) Bus 2: bridge is at (0:4:0), (0,2,3), BCTRL: 0x0000 (VGA_EN is cleared)
    (II) PCI-to-ISA bridge:
    (II) Bus -1: bridge is at (0:20:3), (0,-1,-1), BCTRL: 0x0008 (VGA_EN is set)
    (II) Subtractive PCI-to-PCI bridge:
    (II) Bus 6: bridge is at (0:20:4), (0,6,8), BCTRL: 0x0002 (VGA_EN is cleared)
    (II) Bus 6 I/O range:
    [0] -1 0 0x0000a000 - 0x0000afff (0x1000) IX[B]
    (II) Bus 6 non-prefetchable memory range:
    [0] -1 0 0xc0200000 - 0xc02fffff (0x100000) MX[B]
    (II) Bus 6 prefetchable memory range:
    [0] -1 0 0x60000000 - 0x63ffffff (0x4000000) MX[B]
    (II) PCI-to-CardBus bridge:
    (II) Bus 7: bridge is at (6:4:0), (6,7,7), BCTRL: 0x05c0 (VGA_EN is cleared)
    (II) Bus 7 I/O range:
    [0] -1 0 0x0000a400 - 0x0000a4ff (0x100) IX[B]
    [1] -1 0 0x0000a800 - 0x0000a8ff (0x100) IX[B]
    (II) Bus 7 prefetchable memory range:
    [0] -1 0 0x60000000 - 0x63ffffff (0x4000000) MX[B]
    (--) PCI:*(1:5:0) ATI Technologies Inc ATI Radeon XPRESS 200M 5955 (PCIE) rev 0, Mem @ 0xc8000000/27, 0xc0100000/16, I/O @ 0x9000/8
    (II) Addressable bus resource ranges are
    [0] -1 0 0x00000000 - 0xffffffff (0x100000000) MX[B]
    [1] -1 0 0x00000000 - 0x0000ffff (0x10000) IX[B]
    (II) OS-reported resource ranges:
    [0] -1 0 0x00100000 - 0x3fffffff (0x3ff00000) MX[B]E(B)
    [1] -1 0 0x000f0000 - 0x000fffff (0x10000) MX[B]
    [2] -1 0 0x000c0000 - 0x000effff (0x30000) MX[B]
    [3] -1 0 0x00000000 - 0x0009ffff (0xa0000) MX[B]
    [4] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[B]
    [5] -1 0 0x00000000 - 0x000000ff (0x100) IX[B]
    (II) Active PCI resource ranges:
    [0] -1 0 0xc020a400 - 0xc020a4ff (0x100) MX[B]
    [1] -1 0 0xc0209800 - 0xc02098ff (0x100) MX[B]
    [2] -1 0 0xc0209c00 - 0xc0209cff (0x100) MX[B]
    [3] -1 0 0xc020a000 - 0xc020a0ff (0x100) MX[B]
    [4] -1 0 0xc0206000 - 0xc0207fff (0x2000) MX[B]
    [5] -1 0 0xc0200000 - 0xc0203fff (0x4000) MX[B]
    [6] -1 0 0xc0209000 - 0xc02097ff (0x800) MX[B]
    [7] -1 0 0xc0204000 - 0xc0205fff (0x2000) MX[B]
    [8] -1 0 0xc0003800 - 0xc00038ff (0x100) MX[B]
    [9] -1 0 0xc0003400 - 0xc00034ff (0x100) MX[B]
    [10] -1 0 0xc0003000 - 0xc00033ff (0x400) MX[B]
    [11] -1 0 0xc0002000 - 0xc0002fff (0x1000) MX[B]
    [12] -1 0 0xc0001000 - 0xc0001fff (0x1000) MX[B]
    [13] -1 0 0xc0000000 - 0xc0000fff (0x1000) MX[B]
    [14] -1 0 0xc0100000 - 0xc010ffff (0x10000) MX[B](B)
    [15] -1 0 0xc8000000 - 0xcfffffff (0x8000000) MX[B](B)
    [16] -1 0 0x0000a000 - 0x0000a0ff (0x100) IX[B]
    [17] -1 0 0x00008410 - 0x0000841f (0x10) IX[B]
    [18] -1 0 0x00000374 - 0x00000374 (0x1) IX[B]
    [19] -1 0 0x00000170 - 0x00000177 (0x8) IX[B]
    [20] -1 0 0x000003f4 - 0x000003f4 (0x1) IX[B]
    [21] -1 0 0x000001f0 - 0x000001f7 (0x8) IX[B]
    [22] -1 0 0x00008400 - 0x0000840f (0x10) IX[B]
    [23] -1 0 0x00009000 - 0x000090ff (0x100) IX[B](B)

  2. #32
    Join Date
    Oct 2006
    Posts
    42

    Default

    (II) Active PCI resource ranges after removing overlaps:
    [0] -1 0 0xc020a400 - 0xc020a4ff (0x100) MX[B]
    [1] -1 0 0xc0209800 - 0xc02098ff (0x100) MX[B]
    [2] -1 0 0xc0209c00 - 0xc0209cff (0x100) MX[B]
    [3] -1 0 0xc020a000 - 0xc020a0ff (0x100) MX[B]
    [4] -1 0 0xc0206000 - 0xc0207fff (0x2000) MX[B]
    [5] -1 0 0xc0200000 - 0xc0203fff (0x4000) MX[B]
    [6] -1 0 0xc0209000 - 0xc02097ff (0x800) MX[B]
    [7] -1 0 0xc0204000 - 0xc0205fff (0x2000) MX[B]
    [8] -1 0 0xc0003800 - 0xc00038ff (0x100) MX[B]
    [9] -1 0 0xc0003400 - 0xc00034ff (0x100) MX[B]
    [10] -1 0 0xc0003000 - 0xc00033ff (0x400) MX[B]
    [11] -1 0 0xc0002000 - 0xc0002fff (0x1000) MX[B]
    [12] -1 0 0xc0001000 - 0xc0001fff (0x1000) MX[B]
    [13] -1 0 0xc0000000 - 0xc0000fff (0x1000) MX[B]
    [14] -1 0 0xc0100000 - 0xc010ffff (0x10000) MX[B](B)
    [15] -1 0 0xc8000000 - 0xcfffffff (0x8000000) MX[B](B)
    [16] -1 0 0x0000a000 - 0x0000a0ff (0x100) IX[B]
    [17] -1 0 0x00008410 - 0x0000841f (0x10) IX[B]
    [18] -1 0 0x00000374 - 0x00000374 (0x1) IX[B]
    [19] -1 0 0x00000170 - 0x00000177 (0x8) IX[B]
    [20] -1 0 0x000003f4 - 0x000003f4 (0x1) IX[B]
    [21] -1 0 0x000001f0 - 0x000001f7 (0x8) IX[B]
    [22] -1 0 0x00008400 - 0x0000840f (0x10) IX[B]
    [23] -1 0 0x00009000 - 0x000090ff (0x100) IX[B](B)
    (II) OS-reported resource ranges after removing overlaps with PCI:
    [0] -1 0 0x00100000 - 0x3fffffff (0x3ff00000) MX[B]E(B)
    [1] -1 0 0x000f0000 - 0x000fffff (0x10000) MX[B]
    [2] -1 0 0x000c0000 - 0x000effff (0x30000) MX[B]
    [3] -1 0 0x00000000 - 0x0009ffff (0xa0000) MX[B]
    [4] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[B]
    [5] -1 0 0x00000000 - 0x000000ff (0x100) IX[B]
    (II) All system resource ranges:
    [0] -1 0 0x00100000 - 0x3fffffff (0x3ff00000) MX[B]E(B)
    [1] -1 0 0x000f0000 - 0x000fffff (0x10000) MX[B]
    [2] -1 0 0x000c0000 - 0x000effff (0x30000) MX[B]
    [3] -1 0 0x00000000 - 0x0009ffff (0xa0000) MX[B]
    [4] -1 0 0xc020a400 - 0xc020a4ff (0x100) MX[B]
    [5] -1 0 0xc0209800 - 0xc02098ff (0x100) MX[B]
    [6] -1 0 0xc0209c00 - 0xc0209cff (0x100) MX[B]
    [7] -1 0 0xc020a000 - 0xc020a0ff (0x100) MX[B]
    [8] -1 0 0xc0206000 - 0xc0207fff (0x2000) MX[B]
    [9] -1 0 0xc0200000 - 0xc0203fff (0x4000) MX[B]
    [10] -1 0 0xc0209000 - 0xc02097ff (0x800) MX[B]
    [11] -1 0 0xc0204000 - 0xc0205fff (0x2000) MX[B]
    [12] -1 0 0xc0003800 - 0xc00038ff (0x100) MX[B]
    [13] -1 0 0xc0003400 - 0xc00034ff (0x100) MX[B]
    [14] -1 0 0xc0003000 - 0xc00033ff (0x400) MX[B]
    [15] -1 0 0xc0002000 - 0xc0002fff (0x1000) MX[B]
    [16] -1 0 0xc0001000 - 0xc0001fff (0x1000) MX[B]
    [17] -1 0 0xc0000000 - 0xc0000fff (0x1000) MX[B]
    [18] -1 0 0xc0100000 - 0xc010ffff (0x10000) MX[B](B)
    [19] -1 0 0xc8000000 - 0xcfffffff (0x8000000) MX[B](B)
    [20] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[B]
    [21] -1 0 0x00000000 - 0x000000ff (0x100) IX[B]
    [22] -1 0 0x0000a000 - 0x0000a0ff (0x100) IX[B]
    [23] -1 0 0x00008410 - 0x0000841f (0x10) IX[B]
    [24] -1 0 0x00000374 - 0x00000374 (0x1) IX[B]
    [25] -1 0 0x00000170 - 0x00000177 (0x8) IX[B]
    [26] -1 0 0x000003f4 - 0x000003f4 (0x1) IX[B]
    [27] -1 0 0x000001f0 - 0x000001f7 (0x8) IX[B]
    [28] -1 0 0x00008400 - 0x0000840f (0x10) IX[B]
    [29] -1 0 0x00009000 - 0x000090ff (0x100) IX[B](B)

  3. #33
    Join Date
    Oct 2006
    Posts
    42

    Default

    (II) LoadModule: "extmod"
    (II) Loading /usr/lib64/xorg/modules/extensions//libextmod.so
    (II) Module extmod: vendor="X.Org Foundation"
    compiled for 7.2.0, module version = 1.0.0
    Module class: X.Org Server Extension
    ABI class: X.Org Server Extension, version 0.3
    (II) Loading extension SHAPE
    (II) Loading extension MIT-SUNDRY-NONSTANDARD
    (II) Loading extension BIG-REQUESTS
    (II) Loading extension SYNC
    (II) Loading extension MIT-SCREEN-SAVER
    (II) Loading extension XC-MISC
    (II) Loading extension XFree86-VidModeExtension
    (II) Loading extension XFree86-Misc
    (II) Loading extension XFree86-DGA
    (II) Loading extension DPMS
    (II) Loading extension TOG-CUP
    (II) Loading extension Extended-Visual-Information
    (II) Loading extension XVideo
    (II) Loading extension XVideo-MotionCompensation
    (II) Loading extension X-Resource
    (II) LoadModule: "dbe"
    (II) Loading /usr/lib64/xorg/modules/extensions//libdbe.so
    (II) Module dbe: vendor="X.Org Foundation"
    compiled for 7.2.0, module version = 1.0.0
    Module class: X.Org Server Extension
    ABI class: X.Org Server Extension, version 0.3
    (II) Loading extension DOUBLE-BUFFER
    (II) LoadModule: "glx"
    (II) Loading /usr/lib64/xorg/modules/extensions//libglx.so
    (II) Module glx: vendor="X.Org Foundation"
    compiled for 7.2.0, module version = 1.0.0
    ABI class: X.Org Server Extension, version 0.3
    (==) AIGLX enabled
    (II) Loading extension GLX
    (II) LoadModule: "freetype"
    (II) Loading /usr/lib64/xorg/modules/fonts//libfreetype.so
    (II) Module freetype: vendor="X.Org Foundation & the After X-TT Project"
    compiled for 7.2.0, module version = 2.1.0
    Module class: X.Org Font Renderer
    ABI class: X.Org Font Renderer, version 0.5
    (II) Loading font FreeType
    (II) LoadModule: "type1"
    (II) Loading /usr/lib64/xorg/modules/fonts//libtype1.so
    (II) Module type1: vendor="X.Org Foundation"
    compiled for 7.2.0, module version = 1.0.2
    Module class: X.Org Font Renderer
    ABI class: X.Org Font Renderer, version 0.5
    (II) Loading font Type1
    (II) LoadModule: "record"
    (II) Loading /usr/lib64/xorg/modules/extensions//librecord.so
    (II) Module record: vendor="X.Org Foundation"
    compiled for 7.2.0, module version = 1.13.0
    Module class: X.Org Server Extension
    ABI class: X.Org Server Extension, version 0.3
    (II) Loading extension RECORD
    (II) LoadModule: "dri"
    (II) Loading /usr/lib64/xorg/modules/extensions//libdri.so
    (II) Module dri: vendor="X.Org Foundation"
    compiled for 7.2.0, module version = 1.0.0
    ABI class: X.Org Server Extension, version 0.3
    (II) Loading extension XFree86-DRI
    (II) LoadModule: "fglrx"
    (II) Loading /usr/lib64/xorg/modules/drivers//fglrx_drv.so
    (II) Module fglrx: vendor="FireGL - ATI Technologies Inc."
    compiled for 7.1.0, module version = 8.33.6
    Module class: X.Org Video Driver
    ABI class: X.Org Video Driver, version 1.0
    (II) LoadModule: "kbd"
    (II) Loading /usr/lib64/xorg/modules/input//kbd_drv.so
    (II) Module kbd: vendor="X.Org Foundation"
    compiled for 7.2.0, module version = 1.1.0
    Module class: X.Org XInput Driver
    ABI class: X.Org XInput driver, version 0.6
    (II) LoadModule: "synaptics"
    (II) Loading /usr/lib64/xorg/modules/input//synaptics_drv.so
    (II) Module synaptics: vendor="X.Org Foundation"
    compiled for 4.3.99.902, module version = 1.0.0
    Module class: X.Org XInput Driver
    ABI class: X.Org XInput driver, version 0.6
    (II) LoadModule: "mouse"
    (II) Loading /usr/lib64/xorg/modules/input//mouse_drv.so
    (II) Module mouse: vendor="X.Org Foundation"
    compiled for 7.2.0, module version = 1.1.1
    Module class: X.Org XInput Driver
    ABI class: X.Org XInput driver, version 0.6

  4. #34
    Join Date
    Oct 2006
    Posts
    42

    Default

    etc....

    Here is the ending of the log:

    (II) fglrx(0): driver needs X.org 7.1.x.y with x.y >= 0.0
    (II) fglrx(0): detected X.org 7.1.0.0
    (II) Loading extension ATIFGLRXDRI
    (II) fglrx(0): doing DRIScreenInit
    drmOpenDevice: node name is /dev/dri/card0
    drmOpenDevice: open result is 7, (OK)
    drmOpenDevice: node name is /dev/dri/card0
    drmOpenDevice: open result is 7, (OK)
    drmOpenByBusid: Searching for BusID PCI:1:5:0
    drmOpenDevice: node name is /dev/dri/card0
    drmOpenDevice: open result is 7, (OK)
    drmOpenByBusid: drmOpenMinor returns 7
    drmOpenByBusid: drmGetBusid reports
    drmOpenDevice: node name is /dev/dri/card1
    drmOpenDevice: open result is -1, (No such device)
    drmOpenDevice: open result is -1, (No such device)
    drmOpenDevice: Open failed
    drmOpenByBusid: drmOpenMinor returns -19
    drmOpenDevice: node name is /dev/dri/card2
    drmOpenDevice: open result is -1, (No such device)
    drmOpenDevice: open result is -1, (No such device)
    drmOpenDevice: Open failed
    drmOpenByBusid: drmOpenMinor returns -19
    drmOpenDevice: node name is /dev/dri/card3
    drmOpenDevice: open result is -1, (No such device)
    drmOpenDevice: open result is -1, (No such device)
    drmOpenDevice: Open failed
    drmOpenByBusid: drmOpenMinor returns -19
    drmOpenDevice: node name is /dev/dri/card4
    drmOpenDevice: open result is -1, (No such device)
    drmOpenDevice: open result is -1, (No such device)
    drmOpenDevice: Open failed
    drmOpenByBusid: drmOpenMinor returns -19
    drmOpenDevice: node name is /dev/dri/card5
    drmOpenDevice: open result is -1, (No such device)
    drmOpenDevice: open result is -1, (No such device)
    drmOpenDevice: Open failed
    drmOpenByBusid: drmOpenMinor returns -19
    drmOpenDevice: node name is /dev/dri/card6
    drmOpenDevice: open result is -1, (No such device)
    drmOpenDevice: open result is -1, (No such device)
    drmOpenDevice: Open failed
    drmOpenByBusid: drmOpenMinor returns -19
    drmOpenDevice: node name is /dev/dri/card7
    drmOpenDevice: open result is -1, (No such device)
    drmOpenDevice: open result is -1, (No such device)
    drmOpenDevice: Open failed
    drmOpenByBusid: drmOpenMinor returns -19
    drmOpenDevice: node name is /dev/dri/card8
    drmOpenDevice: open result is -1, (No such device)
    drmOpenDevice: open result is -1, (No such device)
    drmOpenDevice: Open failed
    drmOpenByBusid: drmOpenMinor returns -19
    drmOpenDevice: node name is /dev/dri/card9
    drmOpenDevice: open result is -1, (No such device)
    drmOpenDevice: open result is -1, (No such device)
    drmOpenDevice: Open failed
    drmOpenByBusid: drmOpenMinor returns -19
    drmOpenDevice: node name is /dev/dri/card10
    drmOpenDevice: open result is -1, (No such device)
    drmOpenDevice: open result is -1, (No such device)
    drmOpenDevice: Open failed
    drmOpenByBusid: drmOpenMinor returns -19
    drmOpenDevice: node name is /dev/dri/card11
    drmOpenDevice: open result is -1, (No such device)
    drmOpenDevice: open result is -1, (No such device)
    drmOpenDevice: Open failed
    drmOpenByBusid: drmOpenMinor returns -19
    drmOpenDevice: node name is /dev/dri/card12
    drmOpenDevice: open result is -1, (No such device)
    drmOpenDevice: open result is -1, (No such device)
    drmOpenDevice: Open failed
    drmOpenByBusid: drmOpenMinor returns -19
    drmOpenDevice: node name is /dev/dri/card13
    drmOpenDevice: open result is -1, (No such device)
    drmOpenDevice: open result is -1, (No such device)
    drmOpenDevice: Open failed
    drmOpenByBusid: drmOpenMinor returns -19
    drmOpenDevice: node name is /dev/dri/card14
    drmOpenDevice: open result is -1, (No such device)
    drmOpenDevice: open result is -1, (No such device)
    drmOpenDevice: Open failed
    drmOpenByBusid: drmOpenMinor returns -19
    drmOpenDevice: node name is /dev/dri/card0
    drmOpenDevice: open result is 7, (OK)
    drmOpenDevice: node name is /dev/dri/card0
    drmOpenDevice: open result is 7, (OK)
    drmGetBusid returned ''
    (II) fglrx(0): [drm] DRM interface version 1.0
    (II) fglrx(0): [drm] created "fglrx" driver at busid "PCI:1:5:0"
    (II) fglrx(0): [drm] added 8192 byte SAREA at 0x1a000
    (II) fglrx(0): [drm] mapped SAREA 0x1a000 to 0x2aaaaf04b000
    (II) fglrx(0): [drm] framebuffer handle = 0x1b000
    (II) fglrx(0): [drm] added 1 reserved context for kernel
    (II) fglrx(0): DRIScreenInit done
    (II) fglrx(0): Kernel Module Version Information:
    (II) fglrx(0): Name: fglrx
    (II) fglrx(0): Version: 8.33.6
    (II) fglrx(0): Date: Jan 8 2007
    (II) fglrx(0): Desc: ATI FireGL DRM kernel module
    (II) fglrx(0): Kernel Module version matches driver.
    (II) fglrx(0): Kernel Module Build Time Information:
    (II) fglrx(0): Build-Kernel UTS_RELEASE: 2.6.20-1.2932.fc7
    (II) fglrx(0): Build-Kernel MODVERSIONS: yes
    (II) fglrx(0): Build-Kernel __SMP__: yes
    (II) fglrx(0): Build-Kernel PAGE_SIZE: 0x1000
    (II) fglrx(0): [drm] register handle = 0x0001c000
    (II) fglrx(0): [drm] ringbuffer size = 0x00100000 bytes
    (II) fglrx(0): [drm] DRM buffer queue setup: nbufs = 100 bufsize = 65536
    (II) fglrx(0): [drm] texture shared area handle = 0x00020000
    (II) fglrx(0): shared FSAAScale=1
    (II) fglrx(0): DRI initialization successfull!
    (II) fglrx(0): FBADPhys: 0x50000000 FBMappedSize: 0x008f7000
    (II) fglrx(0): FBMM initialized for area (0,0)-(1728,1360)
    (II) fglrx(0): FBMM auto alloc for area (0,0)-(1728,1050) (front color buffer - assumption)
    (II) fglrx(0): Largest offscreen area available: 1728 x 304
    (==) fglrx(0): Backing store disabled
    (==) fglrx(0): Silken mouse enabled
    (II) Loading extension FGLRXEXTENSION
    (II) Loading extension ATITVOUT
    (**) fglrx(0): DPMS enabled
    (II) fglrx(0): Using XFree86 Acceleration Architecture (XAA)
    Screen to screen bit blits
    Solid filled rectangles
    8x8 mono pattern filled rectangles
    Solid Lines
    Dashed Lines
    Offscreen Pixmaps
    Setting up tile and stipple cache:
    26 128x128 slots
    (II) fglrx(0): Acceleration enabled
    (WW) fglrx(0): Option "VendorName" is not used
    (WW) fglrx(0): Option "ModelName" is not used
    (II) fglrx(0): X context handle = 0x1
    (II) fglrx(0): [DRI] installation complete
    (II) fglrx(0): Direct rendering enabled
    (==) fglrx(0): Using hardware cursor

  5. #35

    Default

    I have 8.35 just about working with Fedora 7. I have worked out all the errors in the script except for a specifier-qualifier-list problem, which I think may be due to GCC and not the kernel. I am spinning Fedora 7 Test 2 and hopefully that will hopefully be working. So the March drivers should contain proper support, and then once I have it running great with 8.35 I will begin work on 8.34 back-porting.

  6. #36

  7. #37
    Join Date
    Feb 2007
    Posts
    9

    Default

    Quote Originally Posted by Michael View Post
    Will be you be sharing the scripts with the community now or waiting for the March ATI driver to be released?

    Thanks,

  8. #38

    Default

    The main change to add F7T2 support is updating firegl_public. Below is the patch I made for 8.35 to support F7T2 in firegl_public.c. Not certain if the patch will work with 8.34, but you can try. For reference, F7T2 is based on 2.6.21-rc1.

    Code:
    --- firegl_public.c-orig    2007-02-21 19:56:45.000000000 -0500
    +++ firegl_public.c    2007-02-25 12:31:59.000000000 -0500
    @@ -119,6 +119,7 @@
     
     #include <linux/interrupt.h>
     #include <linux/delay.h>
    +#include <linux/freezer.h>
     #include <linux/console.h>
     
     //#include <linux/signal.h>
    @@ -204,6 +205,70 @@
     int errno;
     #endif // __ia64__
     
    +#if defined(__i386__)
    +#define __syscall_return(type, res) \
    +do { \
    +        if ((unsigned long)(res) >= (unsigned long)(-(128 + 1))) { \
    +                errno = -(res); \
    +                res = -1; \
    +        } \
    +        return (type) (res); \
    +} while (0)
    +#define _syscall2(type,name,type1,arg1,type2,arg2) \
    +type name(type1 arg1,type2 arg2) \
    +{ \
    +long __res; \
    +__asm__ volatile ("push %%ebx ; movl %2,%%ebx ; int $0x80 ; pop %%ebx" \
    +        : "=a" (__res) \
    +        : "0" (__NR_##name),"ri" ((long)(arg1)),"c" ((long)(arg2)) \
    +        : "memory"); \
    +__syscall_return(type,__res); \
    +}
    +
    +#define _syscall3(type,name,type1,arg1,type2,arg2,type3,arg3) \
    +type name(type1 arg1,type2 arg2,type3 arg3) \
    +{ \
    +long __res; \
    +__asm__ volatile ("push %%ebx ; movl %2,%%ebx ; int $0x80 ; pop %%ebx" \
    +        : "=a" (__res) \
    +        : "0" (__NR_##name),"ri" ((long)(arg1)),"c" ((long)(arg2)), \
    +                  "d" ((long)(arg3)) : "memory"); \
    +__syscall_return(type,__res); \
    +}
    +#elif defined(__x86_64__)
    +#define __syscall_clobber "r11","rcx","memory" 
    +#define __syscall "syscall"
    +
    +#define __syscall_return(type, res) \
    +do { \
    +        if ((unsigned long)(res) >= (unsigned long)(-127)) { \
    +                errno = -(res); \
    +                res = -1; \
    +        } \
    +        return (type) (res); \
    +} while (0)
    +#define _syscall2(type,name,type1,arg1,type2,arg2) \
    +type name(type1 arg1,type2 arg2) \
    +{ \
    +long __res; \
    +__asm__ volatile (__syscall \
    +        : "=a" (__res) \
    +        : "0" (__NR_##name),"D" ((long)(arg1)),"S" ((long)(arg2)) : __syscall_clobber ); \
    +__syscall_return(type,__res); \
    +}
    +
    +#define _syscall3(type,name,type1,arg1,type2,arg2,type3,arg3) \
    +type name(type1 arg1,type2 arg2,type3 arg3) \
    +{ \
    +long __res; \
    +__asm__ volatile (__syscall \
    +        : "=a" (__res) \
    +        : "0" (__NR_##name),"D" ((long)(arg1)),"S" ((long)(arg2)), \
    +                  "d" ((long)(arg3)) : __syscall_clobber); \
    +__syscall_return(type,__res); \
    +}
    +#endif
    +
     // int mlock(const void *addr, size_t len);
     _syscall2(int, mlock, const void *, addr, size_t, len )
     // int munlock(const void *addr, size_t len);
    @@ -4341,24 +4406,6 @@
     #endif
     }
     
    -/** \brief Freeze the thread if kernel requested so because of going to suspend
    - *
    - * \return Nonzero if freeze has been performed, zero otherwise
    - *
    - */
    -unsigned int kas_try_to_freeze(void)
    -{
    -#if LINUX_VERSION_CODE <= KERNEL_VERSION(2,6,10)
    -    return 0;
    -#else
    -#if LINUX_VERSION_CODE <= KERNEL_VERSION(2,6,12)
    -    return try_to_freeze(PF_FREEZE);
    -#else
    -    return try_to_freeze();
    -#endif
    -#endif
    -}
    -
     /** \brief Storage for execution level(s) */
     #if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,0)
     /* SMP support for 2.6.0 and higher */
    @@ -4985,28 +5032,13 @@
         unsigned int ret = 0;
         kasSlabCache_t* slabcache_obj = (kasSlabCache_t*)hSlabCache;
     
    -    DBG_ENTER("0x%08X", hSlabCache);
    -
    -    if (!(slabcache_obj->cache))
    -    {
    -        DBG_ERROR("slab object '%s' is not initialized");
    -        DBG_LEAVE("0");
    -        return 0;
    -    }
    -
    -    DBG_TRACE("destroying slab object '%s'", slabcache_obj->name);
    -
    -    if (kmem_cache_destroy(slabcache_obj->cache) == 0)
    +    if (slabcache_obj->cache)
         {
    -        ret = 1;
    +        kmem_cache_destroy(slabcache_obj->cache);
             slabcache_obj->cache = NULL;
    -    }
    -    else
    -    {
    -        DBG_ERROR("destroying failed");
    +        ret = 1;
         }
     
    -    DBG_LEAVE("%d", ret);
         return ret;
     }
     
    @@ -5190,6 +5222,24 @@
         return 1;
     }
     
    +/** \brief Freeze the thread if kernel requested so because of going to suspend
    + *
    + * \return Nonzero if freeze has been performed, zero otherwise
    + *
    + */
    +unsigned int kas_try_to_freeze(void)
    +{
    +#if LINUX_VERSION_CODE <= KERNEL_VERSION(2,6,10)
    +    return 0;
    +#else
    +#if LINUX_VERSION_CODE <= KERNEL_VERSION(2,6,12)
    +    return try_to_freeze(PF_FREEZE);
    +#else
    +    return try_to_freeze();
    +#endif
    +#endif
    +}
    +
     /** \brief Wait for the event
      *
      * If event is already signalled, return right away.

  9. #39
    Join Date
    Mar 2007
    Posts
    2

    Talking fglrx 8.35.5 on kernel 2.6.21-rc4-git3 on opensuse

    I am pleased to report that with this patch, fglrx 8.35.5, and SuSE kernel 2.6.21-rc4-git3 that I have full hardware acceleration and XGL, yey
    Thanks many many many many times over. (Dances Happily in joy!)
    Linux now fully supports my laptop I can't wait to make some people on Vista jealous
    This is fantastic, sorry to be spamming here but the HP nx6125 laptops can now run Beryl with all the hardware working and without fear of their laptop melting.

  10. #40

    Default

    Quote Originally Posted by currir55 View Post
    I am pleased to report that with this patch, fglrx 8.35.5, and SuSE kernel 2.6.21-rc4-git3 that I have full hardware acceleration and XGL, yey
    Thanks many many many many times over. (Dances Happily in joy!)
    Linux now fully supports my laptop I can't wait to make some people on Vista jealous
    This is fantastic, sorry to be spamming here but the HP nx6125 laptops can now run Beryl with all the hardware working and without fear of their laptop melting.
    Welcome to the forums.

    That's by no means spamming. Feel free to stick around and continue to share your Linux thoughts, ATI thoughts, etc...

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •