Announcement

Collapse
No announcement yet.

Problem with IS_NVIDIA_GRAPHICS in PTS

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Problem with IS_NVIDIA_GRAPHICS in PTS

    I just installed PTS 1.4 (thanks for putting it together, it makes my life way easier).

    I have a problem getting the graphics to work though - I'm using an NVIDIA GTX 280 with SuSe 11 and a custom kernel (2.6.27.9) and I compiled the NVIDIA kernel module myself.

    When I run most benchmarks - I get these odd error messages, which I believe indicate that PTS can't find my graphics card.

    PHP Notice: Use of undefined constant IS_MESA_GRAPHICS - assumed 'IS_MESA_GRAPHICS' in /usr/share/phoronix-test-suite/pts-core/functions/pts-functions_system_graphics.php on line 947
    PHP Notice: Use of undefined constant IS_NVIDIA_GRAPHICS - assumed 'IS_NVIDIA_GRAPHICS' in /usr/share/phoronix-test-suite/pts-core/functions/pts-functions_system_graphics.php on line 863
    PHP Notice: Use of undefined constant IS_ATI_GRAPHICS - assumed 'IS_ATI_GRAPHICS' in /usr/share/phoronix-test-suite/pts-core/functions/pts-functions_system_graphics.php on line 698
    PHP Notice: Use of undefined constant IS_NVIDIA_GRAPHICS - assumed 'IS_NVIDIA_GRAPHICS' in /usr/share/phoronix-test-suite/pts-core/functions/pts-functions_system_graphics.php on line 799

    Any ideas on how to fix this?

    Thanks

    David

  • #2
    dkanter:

    Which version of Phoronix Test Suite 1.4 are you using? 1.4.0, 1.4.1, or 1.4.2?

    Make sure you're using 1.4.2 or ideally to checkout the latest development release of Phoronix Test Suite 1.6 from http://www.phoronix-test-suite.com/ If the problem still persists, be sure to report back.
    Michael Larabel
    http://www.michaellarabel.com/

    Comment


    • #3
      Originally posted by Michael View Post
      dkanter:

      Which version of Phoronix Test Suite 1.4 are you using? 1.4.0, 1.4.1, or 1.4.2?

      Make sure you're using 1.4.2 or ideally to checkout the latest development release of Phoronix Test Suite 1.6 from http://www.phoronix-test-suite.com/ If the problem still persists, be sure to report back.
      I'm using 1.4.2 and the problem is still there...

      DK

      Comment


      • #4
        Are you able to try Phoronix Test Suite 1.6.0 Beta 1: http://www.phoronix-test-suite.com/d...-suite-1.6.0b1 ?

        Also, what is the output of:

        phoronix-test-suite system-info

        and

        phoronix-test-suite diagnostics
        Michael Larabel
        http://www.michaellarabel.com/

        Comment


        • #5
          Originally posted by Michael View Post
          Are you able to try Phoronix Test Suite 1.6.0 Beta 1: http://www.phoronix-test-suite.com/d...-suite-1.6.0b1 ?

          Also, what is the output of:

          phoronix-test-suite system-info

          and

          phoronix-test-suite diagnostics
          SYSTEM INFO:

          linux-u69t:/usr/share # phoronix-test-suite system-info
          PHP Notice: Use of undefined constant IS_MESA_GRAPHICS - assumed 'IS_MESA_GRAPHICS' in /usr/share/phoronix-test-suite/pts-core/functions/pts-functions_system_graphics.php on line 947
          PHP Notice: Use of undefined constant IS_NVIDIA_GRAPHICS - assumed 'IS_NVIDIA_GRAPHICS' in /usr/share/phoronix-test-suite/pts-core/functions/pts-functions_system_graphics.php on line 863
          PHP Notice: Use of undefined constant IS_ATI_GRAPHICS - assumed 'IS_ATI_GRAPHICS' in /usr/share/phoronix-test-suite/pts-core/functions/pts-functions_system_graphics.php on line 698
          PHP Notice: Use of undefined constant IS_NVIDIA_GRAPHICS - assumed 'IS_NVIDIA_GRAPHICS' in /usr/share/phoronix-test-suite/pts-core/functions/pts-functions_system_graphics.php on line 799

          ====================================
          Phoronix Test Suite v1.4.2 (ORKDAL)
          System Information
          ====================================

          Hardware:
          Processor: Intel CPU 000 @ 3.19GHz (Total Cores: 8), Motherboard: Intel DX58SO, Chipset: Intel QuickPath Architecture I/O, System Memory: 3 x 1024 MB Other-1067MHz, Disk: 80GB WDC WD740GD-00FLA1, Graphics: NVIDIA GPU, Screen Resolution: 1594x1138

          Software:
          OS: openSUSE 11.0 (X86-64), Kernel: 2.6.27.9-default (x86_64), X.Org Server: 1.4.0.90, OpenGL: 1.3 Mesa 4.0.4, Compiler: GCC 4.3, File-System: ext2/ext3



          DIAGNOSTICS:

          linux-u69t:/usr/share # phoronix-test-suite diagnostics
          PHP Notice: Use of undefined constant IS_MESA_GRAPHICS - assumed 'IS_MESA_GRAPHICS' in /usr/share/phoronix-test-suite/pts-core/functions/pts-functions_system_graphics.php on line 947
          PHP Notice: Use of undefined constant IS_NVIDIA_GRAPHICS - assumed 'IS_NVIDIA_GRAPHICS' in /usr/share/phoronix-test-suite/pts-core/functions/pts-functions_system_graphics.php on line 863
          PHP Notice: Use of undefined constant IS_ATI_GRAPHICS - assumed 'IS_ATI_GRAPHICS' in /usr/share/phoronix-test-suite/pts-core/functions/pts-functions_system_graphics.php on line 698
          PHP Notice: Use of undefined constant IS_NVIDIA_GRAPHICS - assumed 'IS_NVIDIA_GRAPHICS' in /usr/share/phoronix-test-suite/pts-core/functions/pts-functions_system_graphics.php on line 799

          ====================================
          Phoronix Test Suite v1.4.2 (ORKDAL)
          Diagnostics Dump
          ====================================

          PTS_VERSION = 1.4.2
          PTS_CODENAME = ORKDAL
          PTS_TYPE = DESKTOP
          PTS_DIR = /usr/share/phoronix-test-suite/
          PTS_TEMP_DIR = /tmp/phoronix-test-suite/
          PHP_BIN = php5
          THIS_RUN_TIME = 1229905666
          PTS_START_TIME = 1229905666
          OPERATING_SYSTEM = Linux
          OS_PREFIX = linux_
          S_TEST_OPTIONS_MENU_GROUP_NAME = Entry/Name
          S_TEST_OPTIONS_MENU_GROUP_VALUE = Entry/Value
          S_RESULTS_RESULTS_GROUP_IDENTIFIER = Group/Entry/Identifier
          S_RESULTS_RESULTS_GROUP_VALUE = Group/Entry/Value
          DEFAULT_VIDEO_RAM_CAPACITY = 128
          TYPE_TEST = TEST
          TYPE_OS_TEST = OS_TEST
          TYPE_TEST_SUITE = TEST_SUITE
          TYPE_LOCAL_TEST = LOCAL_TEST
          TYPE_LOCAL_BASE_TEST = LOCAL_TEST
          TYPE_OS_LOCAL_TEST = OS_LOCAL_TEST
          TYPE_LOCAL_TEST_SUITE = LOCAL_TEST_SUITE
          TYPE_SCTP_TEST = LOCAL_SCTP_TEST
          TYPE_BASE_TEST = BASE_TEST
          PTS_MODULE_UNLOAD = PTS_MODULE_UNLOAD
          PTS_QUIT = PTS_QUIT
          PTS_USER_DIR = /root/.phoronix-test-suite/
          XML_DISTRO_DIR = /usr/share/phoronix-test-suite/pts/distro-xml/
          SCRIPT_DISTRO_DIR = /usr/share/phoronix-test-suite/pts/distro-scripts/
          ETC_DIR = /usr/share/phoronix-test-suite/pts/etc/
          MODULE_DIR = /usr/share/phoronix-test-suite/pts-core/modules/
          RESULTS_VIEWER_DIR = /usr/share/phoronix-test-suite/pts-core/results-viewer/
          TEST_LIBRARIES_DIR = /usr/share/phoronix-test-suite/pts-core/test-libraries/
          FONT_DIR = /usr/share/phoronix-test-suite/pts-core/results-viewer/fonts/
          XML_PROFILE_DIR = /usr/share/phoronix-test-suite/pts/test-profiles/
          XML_PROFILE_CTP_BASE_DIR = /usr/share/phoronix-test-suite/pts/test-profiles/base/
          XML_SUITE_DIR = /usr/share/phoronix-test-suite/pts/test-suites/
          TEST_RESOURCE_DIR = /usr/share/phoronix-test-suite/pts/test-resources/
          TEST_RESOURCE_CTP_BASE_DIR = /usr/share/phoronix-test-suite/pts/test-resources/base/
          XML_PROFILE_LOCAL_DIR = /root/.phoronix-test-suite/test-profiles/
          XML_PROFILE_LOCAL_CTP_BASE_DIR = /root/.phoronix-test-suite/test-profiles/base/
          XML_SUITE_LOCAL_DIR = /root/.phoronix-test-suite/test-suites/
          TEST_RESOURCE_LOCAL_DIR = /root/.phoronix-test-suite/test-resources/
          TEST_RESOURCE_LOCAL_CTP_BASE_DIR = /root/.phoronix-test-suite/test-resources/base/
          TEST_ENV_DIR = /root/.phoronix-test-suite/installed-tests/
          SAVE_RESULTS_DIR = /root/.phoronix-test-suite/test-results/
          PTS_DOWNLOAD_CACHE_DIR = /root/.phoronix-test-suite/download-cache/

          End-User Run-Time Variables:
          VIDEO_RESOLUTION = 1594x1138
          VIDEO_CARD = NVIDIA GPU
          VIDEO_DRIVER = 1.3 Mesa 4.0.4
          OPERATING_SYSTEM = openSUSE 11.0 (X86-64)
          PROCESSOR = Intel CPU 000 @ 3.19GHz
          MOTHERBOARD = Intel DX58SO
          CHIPSET = Intel QuickPath Architecture I/O
          KERNEL_VERSION = 2.6.27.9-default
          COMPILER = GCC 4.3
          HOSTNAME = linux-u69t

          Environmental Variables (accessible via test scripts):
          PTS_TYPE = DESKTOP
          PTS_VERSION = 1.4.2
          PTS_CODENAME = ORKDAL
          PTS_DIR = /usr/share/phoronix-test-suite/
          FONT_DIR = /usr/share/phoronix-test-suite/pts-core/results-viewer/fonts/
          PHP_BIN = php5
          NUM_CPU_CORES = 8
          NUM_CPU_JOBS = 16
          SYS_MEMORY = 3011
          VIDEO_MEMORY = 128
          VIDEO_WIDTH = 1594
          VIDEO_HEIGHT = 1138
          VIDEO_MONITOR_COUNT = 1
          VIDEO_MONITOR_LAYOUT = CENTER
          VIDEO_MONITOR_SIZES = 1594x1138
          OPERATING_SYSTEM = opensuse
          OS_VERSION = Unknown
          OS_ARCH = x86_64
          OS_TYPE = Linux
          THIS_RUN_TIME = 1229905666


          Again, I'm still scratching my head at why it can't find my video card...

          DK

          Comment


          • #6
            Originally posted by dkanter View Post
            Again, I'm still scratching my head at why it can't find my video card...
            Have you tried 1.6.0 Beta 1 yet? :P
            Michael Larabel
            http://www.michaellarabel.com/

            Comment


            • #7
              Originally posted by Michael View Post
              Have you tried 1.6.0 Beta 1 yet? :P
              No I haven't.

              Are tests run in 1.6.0 beta 1 identical to those in 1.4.2? i.e. is it fair to compare results for 1.6.0 to results from 1.4.2? It seems like it should be, since if I understand correctly, PTS is a test harness.

              Second, does installing 1.6.0 require uninstalling 1.4.2? Or do I just run the install script on 1.6.0 and it will overwrite anything in 1.4.2 that has changed?

              I originally went with 1.4.2 since it was stable, and there was no beta for 1.6.0 yet : )

              David

              Comment


              • #8
                Originally posted by dkanter View Post
                No I haven't.

                Are tests run in 1.6.0 beta 1 identical to those in 1.4.2? i.e. is it fair to compare results for 1.6.0 to results from 1.4.2? It seems like it should be, since if I understand correctly, PTS is a test harness.
                Only if a test profile version was changed between 1.4.2 -> 1.6.0 Beta 1. There's been a number of test changes between those two markers, but I don't believe any graphics tests were updated besides OpenArena. However, if there are any, Phoronix Test Suite will automatically plot the incompatible results below each other and will not merge them side-by-side to prevent any confusion.

                Originally posted by dkanter View Post
                Second, does installing 1.6.0 require uninstalling 1.4.2? Or do I just run the install script on 1.6.0 and it will overwrite anything in 1.4.2 that has changed?
                Tests are only re-installed if the processor, motherboard, or compiler is changed or the test profile itself is updated.
                Michael Larabel
                http://www.michaellarabel.com/

                Comment


                • #9
                  Michael,

                  I tried reinstalling, and the error message I got went away, so I think PTS found my video card.

                  Sadly, I've encountered yet another error

                  I'll post that in another thread since it's not clearly related.

                  David

                  Comment

                  Working...
                  X