Announcement

Collapse
No announcement yet.

Intel Video troubleshooting/performance improvement link

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    #16
    Re: Intel Video troubleshooting/performance improvement link

    Originally posted by marcopl
    this is what i got;

    ~$ sudo cat /proc/mtrr

    reg00: base=0x000000000 ( 0MB), size= 2048MB, count=1: write-back
    reg01: base=0x080000000 ( 2048MB), size= 1024MB, count=1: write-back
    reg02: base=0x0fff00000 ( 4095MB), size= 1MB, count=1: write-protect
    reg03: base=0x0bc000000 ( 3008MB), size= 64MB, count=1: uncachable
    reg04: base=0x0bbc00000 ( 3004MB), size= 4MB, count=1: uncachable

    i dont notice anything....konqueror is still shows some garbled graphics..my kmenu button is still phased out. can only see the outline.


    i did all the changes except use the new kernel.

    i modified the xorg file,

    Option "AccelMethod" "uxa"
    Option "EXAOptimizeMigration" "true"
    Option "MigrationHeuristic" "greedy"
    Option "Tiling" "false"

    executed fixmtrr.sh via systemsettings->auto-start, installed the new xorg drivers and still cant see the line that says 'write-combining'

    Commenting out the 'Accelmethod' option helps - things are not so sluggish. still having problems with 'write-combining' not appearing in /proc/mtrr

    Comment


      #17
      Re: Intel Video troubleshooting/performance improvement link

      Well, after getting back to my previous level of acceleration, I got greedy.

      I decided to go the whole "Optimal" route and install the 0.30 kernel.

      It made no difference in Tux Racer or in Stellarium, BUT, it made a SIGNIFICANT difference in Second Life. Without the 0.30 kernel SL would hover around 5 to 10 fps, with the occasional climb to around 25-30 fps when I was moving the avatar vigorously. WITH the 0.30 kernel SL hovers around 15 fps and during movement of the avatar the fps climbs to 30-40 !!

      And, so far, I haven't found any "restricted" processes which are not working.
      "A nation that is afraid to let its people judge the truth and falsehood in an open market is a nation that is afraid of its people.”
      – John F. Kennedy, February 26, 1962.

      Comment


        #18
        Re: Intel Video troubleshooting/performance improvement link

        Good thing I was persistent You _are_ welcome 8)

        Comment


          #19
          Re: Intel Video troubleshooting/performance improvement link

          Originally posted by GreyGeek
          Well, after getting back to my previous level of acceleration, I got greedy.

          I decided to go the whole "Optimal" route and install the 0.30 kernel.

          It made no difference in Tux Racer or in Stellarium, BUT, it made a SIGNIFICANT difference in Second Life. Without the 0.30 kernel SL would hover around 5 to 10 fps, with the occasional climb to around 25-30 fps when I was moving the avatar vigorously. WITH the 0.30 kernel SL hovers around 15 fps and during movement of the avatar the fps climbs to 30-40 !!

          And, so far, I haven't found any "restricted" processes which are not working.
          i envy u bro...imy fixmtrr.sh has a permission problem....

          when i try to run fixmtrr.shh i get;

          techie@compaq-laptop:/usr/local/bin$ ./fixmtrr.sh
          Extracing base address and memory size from lspci -v
          c0000000
          10000000

          Supplying corrected MTRR ranges to /proc/mtrr
          ./fixmtrr.sh: 43: cannot create /proc/mtrr: Permission denied
          reg00: base=0x000000000 ( 0MB), size= 2048MB, count=1: write-back
          reg01: base=0x080000000 ( 2048MB), size= 1024MB, count=1: write-back
          reg02: base=0x0fff00000 ( 4095MB), size= 1MB, count=1: write-protect
          reg03: base=0x0bc000000 ( 3008MB), size= 64MB, count=1: uncachable
          reg04: base=0x0bbc00000 ( 3004MB), size= 4MB, count=1: uncachable

          thats why i am not able to achieve 'write combining'

          how r u running yr script? via system settings ->advanced -> autostart -> add script right?

          i have made the script executable as shown below;

          ls -al fixmtrr.sh

          -rwxr-xr-x 1 techie techie 1012 2009-05-01 06:43 fixmtrr.sh

          ? ideas?

          Comment


            #20
            Re: Intel Video troubleshooting/performance improvement link

            My script is installed thusly:

            -rwxr-xr-x 1 root root 1012 2009-04-30 17:43 fixmtrr.sh
            I run it manually (since I am running KDE4.2.4) thusly:

            sudo /usr/local/bin/fixmtrr.sh
            though it doesn't seem to make any difference if I used sudo or not.

            After verifying that I had accelerated my 3D I added the script to the KDE4 autostart option in SystemSettings.
            "A nation that is afraid to let its people judge the truth and falsehood in an open market is a nation that is afraid of its people.”
            – John F. Kennedy, February 26, 1962.

            Comment


              #21
              Re: Intel Video troubleshooting/performance improvement link

              Originally posted by marcopl
              ......

              Commenting out the 'Accelmethod' option helps - things are not so sluggish. still having problems with 'write-combining' not appearing in /proc/mtrr


              I thought the whole purpose of this series of changes was to ENAbLE UAX acceleration.

              What kind of Intel video chip do you have?
              "A nation that is afraid to let its people judge the truth and falsehood in an open market is a nation that is afraid of its people.”
              – John F. Kennedy, February 26, 1962.

              Comment


                #22
                Re: Intel Video troubleshooting/performance improvement link

                Originally posted by lmilano
                Good thing I was persistent You _are_ welcome 8)

                yup! Pushing me all the way! And silly me, I kept thinking there was a cliff ahead...
                "A nation that is afraid to let its people judge the truth and falsehood in an open market is a nation that is afraid of its people.”
                – John F. Kennedy, February 26, 1962.

                Comment


                  #23
                  Re: Intel Video troubleshooting/performance improvement link

                  I finally went to the bleeding edge configuration too. It was pain free, no problems, and took all of 10 minutes. I don't really play games but it sure made a difference with Hulu. I could never get smooth full-screen video with Hulu until I made the optimizations.
                  linux && bash = "the future"

                  Comment


                    #24
                    Re: Intel Video troubleshooting/performance improvement link

                    Originally posted by GreyGeek
                    Originally posted by marcopl
                    ......

                    Commenting out the 'Accelmethod' option helps - things are not so sluggish. still having problems with 'write-combining' not appearing in /proc/mtrr


                    I thought the whole purpose of this series of changes was to ENAbLE UAX acceleration.

                    What kind of Intel video chip do you have?
                    the same as yours.

                    lspci -v;

                    00:02.0 VGA compatible controller: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller (rev 07)
                    Subsystem: Hewlett-Packard Company Device 3607
                    Flags: bus master, fast devsel, latency 0, IRQ 2294
                    Memory at d0000000 (64-bit, non-prefetchable) [size=4M]
                    Memory at c0000000 (64-bit, prefetchable) [size=256M]
                    I/O ports at 7110
                    Capabilities: [90] Message Signalled Interrupts: Mask- 64bit- Queue=0/0 Enable+
                    Capabilities: [d0] Power Management version 3

                    00:02.1 Display controller: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller (rev 07)
                    Subsystem: Hewlett-Packard Company Device 3607
                    Flags: bus master, fast devsel, latency 0
                    Memory at d6400000 (64-bit, non-prefetchable) [size=1M]
                    Capabilities: [d0] Power Management version 3

                    i have since enabled uxa AND also enabled tiling. the issue i have now is with the fixmtrr.sh. not able to get write combining with that.

                    i dont know why there is permission denied problem when executing fixmtrr.sh.

                    my /proc/mtrr belongs to root.root

                    ls -al /proc/mtrr
                    -rw-r--r-- 1 root root 0 2009-07-15 13:46 /proc/mtrr

                    Comment


                      #25
                      Re: Intel Video troubleshooting/performance improvement link

                      Originally posted by marcopl

                      i dont know why there is permission denied problem when executing fixmtrr.sh.

                      my /proc/mtrr belongs to root.root

                      ls -al /proc/mtrr
                      -rw-r--r-- 1 root root 0 2009-07-15 13:46 /proc/mtrr
                      sudo chmod +x /proc/mttr

                      It needs to be executable (do another ls -l after that command, it will show an x)

                      Comment


                        #26
                        Re: Intel Video troubleshooting/performance improvement link

                        Originally posted by marcopl
                        Originally posted by GreyGeek
                        ....
                        What kind of Intel video chip do you have?
                        the same as yours.

                        lspci -v;

                        00:02.0 VGA compatible controller: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller (rev 07)
                        Yup, sure is!

                        i dont know why there is permission denied problem when executing fixmtrr.sh.

                        my /proc/mtrr belongs to root.root

                        ls -al /proc/mtrr
                        -rw-r--r-- 1 root root 0 2009-07-15 13:46 /proc/mtrr
                        You skipped the second step in this sequence:
                        $ sudo wget http://launchpadlibrarian.net/26193373/fixmtrr.sh -O /usr/local/bin/fixmtrr.sh
                        $ sudo chmod +x /usr/local/bin/fixmtrr.sh
                        "A nation that is afraid to let its people judge the truth and falsehood in an open market is a nation that is afraid of its people.”
                        – John F. Kennedy, February 26, 1962.

                        Comment


                          #27
                          Re: Intel Video troubleshooting/performance improvement link

                          Yes, I was pointing to the wrong location (the /proc entry, not the script). Thanks for the correction, GreyGeek!

                          Comment


                            #28
                            Re: Intel Video troubleshooting/performance improvement link


                            You skipped the second step in this sequence:
                            $ sudo wget http://launchpadlibrarian.net/26193373/fixmtrr.sh -O /usr/local/bin/fixmtrr.sh
                            $ sudo chmod +x /usr/local/bin/fixmtrr.sh

                            No. i did make my fixmtrr.sh executable.

                            -rwxr-xr-x 1 root root 1012 2009-05-01 06:43 fixmtrr.sh

                            Comment


                              #29
                              Re: Intel Video troubleshooting/performance improvement link

                              Originally posted by lmilano
                              Originally posted by marcopl

                              i dont know why there is permission denied problem when executing fixmtrr.sh.

                              my /proc/mtrr belongs to root.root

                              ls -al /proc/mtrr
                              -rw-r--r-- 1 root root 0 2009-07-15 13:46 /proc/mtrr
                              sudo chmod +x /proc/mttr

                              It needs to be executable (do another ls -l after that command, it will show an x)
                              Should i do sudo chmod +x /proc/mttr ?


                              Currently;

                              ls -al /proc/mtrr
                              -rw-r--r-- 1 root root 0 2009-07-15 13:46 /proc/mtrr

                              Comment


                                #30
                                Re: Intel Video troubleshooting/performance improvement link

                                No, /proc/mtrr is not executable. You can leave it alone, it has the right permissions. The fixmtrr.sh script is pretty simple. It writes to the mtrr file with the following line:

                                echo "base=0x$address size=0x$hsize type=write-combining" >| /proc/mtrr && echo success

                                A permission denied would result if you can't write to /proc/mtrr.
                                linux && bash = "the future"

                                Comment

                                Working...
                                X