2 Replies Latest reply on Feb 16, 2010 1:12 PM by coleb

    Strange X Error when trying to run HelloCL

    coleb

      I'm getting the following error:

      coleb@hd5870/scr/coleb/ati-stream-sdk-v2.01-rhel64/samples/opencl/bin/x86_64$ ./HelloCL
      HelloCL!
      Getting Platform Information
      X Error of failed request:  BadRequest (invalid request code or no such operation)
        Major opcode of failed request:  143 ()
        Minor opcode of failed request:  19
        Serial number of failed request:  8
        Current serial number in output stream:  8

      I've got the following driver installed, "ati-driver-installer-10-1-x86.x86_64.run", and the follownig sdk, "ati-stream-sdk-v2.01-rhel64.tgz". And I've sym-linked the appropriate x86_64 library to /usr/lib/OpenCL/vendors. I've got a single radeon hd5870 in this machine. Here's some more information on my machine if it helps:

      coleb@hd5870/scr/coleb$ uname -a
      Linux hd5870 2.6.18-164.11.1.el5 #1 SMP Wed Jan 20 07:32:21 EST 2010 x86_64 x86_64 x86_64 GNU/Linux
      coleb@hd5870/scr/coleb$ cat /etc/issue
      CentOS release 5.4 (Final)
      Kernel \r on an \m

      coleb@hd5870/scr/coleb$ /sbin/lspci
      00:00.0 Host bridge: Intel Corporation 5400 Chipset Memory Controller Hub (rev 20)
      00:01.0 PCI bridge: Intel Corporation 5400 Chipset PCI Express Port 1 (rev 20)
      00:05.0 PCI bridge: Intel Corporation 5400 Chipset PCI Express Port 5 (rev 20)
      00:09.0 PCI bridge: Intel Corporation 5400 Chipset PCI Express Port 9 (rev 20)
      00:10.0 Host bridge: Intel Corporation 5400 Chipset FSB Registers (rev 20)
      00:10.1 Host bridge: Intel Corporation 5400 Chipset FSB Registers (rev 20)
      00:10.2 Host bridge: Intel Corporation 5400 Chipset FSB Registers (rev 20)
      00:10.3 Host bridge: Intel Corporation 5400 Chipset FSB Registers (rev 20)
      00:10.4 Host bridge: Intel Corporation 5400 Chipset FSB Registers (rev 20)
      00:11.0 Host bridge: Intel Corporation 5400 Chipset CE/SF Registers (rev 20)
      00:15.0 Host bridge: Intel Corporation 5400 Chipset FBD Registers (rev 20)
      00:15.1 Host bridge: Intel Corporation 5400 Chipset FBD Registers (rev 20)
      00:16.0 Host bridge: Intel Corporation 5400 Chipset FBD Registers (rev 20)
      00:16.1 Host bridge: Intel Corporation 5400 Chipset FBD Registers (rev 20)
      00:1b.0 Audio device: Intel Corporation 631xESB/632xESB High Definition Audio Controller (rev 09)
      00:1c.0 PCI bridge: Intel Corporation 631xESB/632xESB/3100 Chipset PCI Express Root Port 1 (rev 09)
      00:1d.0 USB Controller: Intel Corporation 631xESB/632xESB/3100 Chipset UHCI USB Controller #1 (rev 09)
      00:1d.1 USB Controller: Intel Corporation 631xESB/632xESB/3100 Chipset UHCI USB Controller #2 (rev 09)
      00:1d.2 USB Controller: Intel Corporation 631xESB/632xESB/3100 Chipset UHCI USB Controller #3 (rev 09)
      00:1d.3 USB Controller: Intel Corporation 631xESB/632xESB/3100 Chipset UHCI USB Controller #4 (rev 09)
      00:1d.7 USB Controller: Intel Corporation 631xESB/632xESB/3100 Chipset EHCI USB2 Controller (rev 09)
      00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev d9)
      00:1f.0 ISA bridge: Intel Corporation 631xESB/632xESB/3100 Chipset LPC Interface Controller (rev 09)
      00:1f.1 IDE interface: Intel Corporation 631xESB/632xESB IDE Controller (rev 09)
      00:1f.2 SATA controller: Intel Corporation 631xESB/632xESB SATA AHCI Controller (rev 09)
      00:1f.3 SMBus: Intel Corporation 631xESB/632xESB/3100 Chipset SMBus Controller (rev 09)
      05:00.0 VGA compatible controller: ATI Technologies Inc Unknown device 6898
      05:00.1 Audio device: ATI Technologies Inc Unknown device aa50
      09:00.0 PCI bridge: Intel Corporation 6311ESB/6321ESB PCI Express Upstream Port (rev 01)
      09:00.3 PCI bridge: Intel Corporation 6311ESB/6321ESB PCI Express to PCI-X Bridge (rev 01)
      0a:00.0 PCI bridge: Intel Corporation 6311ESB/6321ESB PCI Express Downstream Port E1 (rev 01)
      0a:01.0 PCI bridge: Intel Corporation 6311ESB/6321ESB PCI Express Downstream Port E2 (rev 01)
      0a:02.0 PCI bridge: Intel Corporation 6311ESB/6321ESB PCI Express Downstream Port E3 (rev 01)
      0f:00.0 Ethernet controller: Intel Corporation 80003ES2LAN Gigabit Ethernet Controller (Copper) (rev 01)
      0f:00.1 Ethernet controller: Intel Corporation 80003ES2LAN Gigabit Ethernet Controller (Copper) (rev 01)
      1f:00.0 SCSI storage controller: LSI Logic / Symbios Logic SAS1068E PCI-Express Fusion-MPT SAS (rev 04)
      20:04.0 PCI bridge: PLX Technology, Inc. PEX8112 x1 Lane PCI Express-to-PCI Bridge (rev aa)
      20:05.0 FireWire (IEEE 1394): Texas Instruments TSB43AB22/A IEEE-1394a-2000 Controller (PHY/Link)
      21:00.0 VGA compatible controller: nVidia Corporation G98 [GeForce 8400 GS] (rev a1)

      Thanks,

      Brian

        • Strange X Error when trying to run HelloCL
          genaganna

           

          Originally posted by: coleb I'm getting the following error:

           

          coleb@hd5870/scr/coleb/ati-stream-sdk-v2.01-rhel64/samples/opencl/bin/x86_64$ ./HelloCL HelloCL! Getting Platform Information X Error of failed request:  BadRequest (invalid request code or no such operation)   Major opcode of failed request:  143 ()   Minor opcode of failed request:  19   Serial number of failed request:  8   Current serial number in output stream:  8

           

          I've got the following driver installed, "ati-driver-installer-10-1-x86.x86_64.run", and the follownig sdk, "ati-stream-sdk-v2.01-rhel64.tgz". And I've sym-linked the appropriate x86_64 library to /usr/lib/OpenCL/vendors. I've got a single radeon hd5870 in this machine. Here's some more information on my machine if it helps:

           

          coleb@hd5870/scr/coleb$ uname -a Linux hd5870 2.6.18-164.11.1.el5 #1 SMP Wed Jan 20 07:32:21 EST 2010 x86_64 x86_64 x86_64 GNU/Linux coleb@hd5870/scr/coleb$ cat /etc/issue CentOS release 5.4 (Final) Kernel \r on an \m coleb@hd5870/scr/coleb$ /sbin/lspci 00:00.0 Host bridge: Intel Corporation 5400 Chipset Memory Controller Hub (rev 20) 00:01.0 PCI bridge: Intel Corporation 5400 Chipset PCI Express Port 1 (rev 20) 00:05.0 PCI bridge: Intel Corporation 5400 Chipset PCI Express Port 5 (rev 20) 00:09.0 PCI bridge: Intel Corporation 5400 Chipset PCI Express Port 9 (rev 20) 00:10.0 Host bridge: Intel Corporation 5400 Chipset FSB Registers (rev 20) 00:10.1 Host bridge: Intel Corporation 5400 Chipset FSB Registers (rev 20) 00:10.2 Host bridge: Intel Corporation 5400 Chipset FSB Registers (rev 20) 00:10.3 Host bridge: Intel Corporation 5400 Chipset FSB Registers (rev 20) 00:10.4 Host bridge: Intel Corporation 5400 Chipset FSB Registers (rev 20) 00:11.0 Host bridge: Intel Corporation 5400 Chipset CE/SF Registers (rev 20) 00:15.0 Host bridge: Intel Corporation 5400 Chipset FBD Registers (rev 20) 00:15.1 Host bridge: Intel Corporation 5400 Chipset FBD Registers (rev 20) 00:16.0 Host bridge: Intel Corporation 5400 Chipset FBD Registers (rev 20) 00:16.1 Host bridge: Intel Corporation 5400 Chipset FBD Registers (rev 20) 00:1b.0 Audio device: Intel Corporation 631xESB/632xESB High Definition Audio Controller (rev 09) 00:1c.0 PCI bridge: Intel Corporation 631xESB/632xESB/3100 Chipset PCI Express Root Port 1 (rev 09) 00:1d.0 USB Controller: Intel Corporation 631xESB/632xESB/3100 Chipset UHCI USB Controller #1 (rev 09) 00:1d.1 USB Controller: Intel Corporation 631xESB/632xESB/3100 Chipset UHCI USB Controller #2 (rev 09) 00:1d.2 USB Controller: Intel Corporation 631xESB/632xESB/3100 Chipset UHCI USB Controller #3 (rev 09) 00:1d.3 USB Controller: Intel Corporation 631xESB/632xESB/3100 Chipset UHCI USB Controller #4 (rev 09) 00:1d.7 USB Controller: Intel Corporation 631xESB/632xESB/3100 Chipset EHCI USB2 Controller (rev 09) 00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev d9) 00:1f.0 ISA bridge: Intel Corporation 631xESB/632xESB/3100 Chipset LPC Interface Controller (rev 09) 00:1f.1 IDE interface: Intel Corporation 631xESB/632xESB IDE Controller (rev 09) 00:1f.2 SATA controller: Intel Corporation 631xESB/632xESB SATA AHCI Controller (rev 09) 00:1f.3 SMBus: Intel Corporation 631xESB/632xESB/3100 Chipset SMBus Controller (rev 09) 05:00.0 VGA compatible controller: ATI Technologies Inc Unknown device 6898 05:00.1 Audio device: ATI Technologies Inc Unknown device aa50 09:00.0 PCI bridge: Intel Corporation 6311ESB/6321ESB PCI Express Upstream Port (rev 01) 09:00.3 PCI bridge: Intel Corporation 6311ESB/6321ESB PCI Express to PCI-X Bridge (rev 01) 0a:00.0 PCI bridge: Intel Corporation 6311ESB/6321ESB PCI Express Downstream Port E1 (rev 01) 0a:01.0 PCI bridge: Intel Corporation 6311ESB/6321ESB PCI Express Downstream Port E2 (rev 01) 0a:02.0 PCI bridge: Intel Corporation 6311ESB/6321ESB PCI Express Downstream Port E3 (rev 01) 0f:00.0 Ethernet controller: Intel Corporation 80003ES2LAN Gigabit Ethernet Controller (Copper) (rev 01) 0f:00.1 Ethernet controller: Intel Corporation 80003ES2LAN Gigabit Ethernet Controller (Copper) (rev 01) 1f:00.0 SCSI storage controller: LSI Logic / Symbios Logic SAS1068E PCI-Express Fusion-MPT SAS (rev 04) 20:04.0 PCI bridge: PLX Technology, Inc. PEX8112 x1 Lane PCI Express-to-PCI Bridge (rev aa) 20:05.0 FireWire (IEEE 1394): Texas Instruments TSB43AB22/A IEEE-1394a-2000 Controller (PHY/Link) 21:00.0 VGA compatible controller: nVidia Corporation G98 [GeForce 8400 GS] (rev a1)

           

           

           

          coleb,

                  ATI stream SDK is supported on RHEL 5.3 with default GCC.