Announcement

Collapse
No announcement yet.

KDE 4.2.4 and Intel graphics?

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

    #16
    Re: KDE 4.2.4 and Intel graphics?

    Originally posted by exploder
    Could someone explain how to do this, step by step?

    fixmttr.sh script - need to create the symlink in ~/.kde/Autostart
    chmod +sx this script (not only +x - need to execute as root)
    I can't get the script to run at start up.

    This is from the safe method of the Intel work around.

    Edit: I am running KDE 4.3 beta 2 if that matters.
    What you need to do is type this code in ur konsole

    Code:
    $ sudo wget [url]http://launchpadlibrarian.net/26193373/fixmtrr.sh[/url] -O /usr/local/bin/fixmtrr.sh
    $ sudo chmod +x /usr/local/bin/fixmtrr.sh
    This will download the fixmttr.sh in ur bin folder so that u can run it from anywhere just typing fixmttr.sh in ur konsole and second code will make it executable.

    To create symbolic link to autostart, enter these code in ur konsole.

    Code:
    $ sudo ln -s /usr/local/bin/fixmtrr.sh /home/<user>/.kde/Autostart
    Make sure u enter above codes without those "$" sign

    This sud do ur job. Pls post the reply whether it helped.

    Cheers!!
    Sony Vaio VGN-NR160E/T<br />Kubuntu 9.04 KDE 4.3.00

    Comment


      #17
      Re: KDE 4.2.4 and Intel graphics?

      Thanks! The script and symbolic link are where they are supposed to be but the script is not auto starting at boot. Do I have to do anything with the permissions?

      When I enter sudo fixmtrr.sh in the terminal I get this.

      Supplying corrected MTRR ranges to /proc/mtrr
      success
      reg00: base=0x000000000 ( 0MB), size= 2048MB, count=1: write-back
      reg01: base=0x080000000 ( 2048MB), size= 1024MB, count=1: write-back
      reg02: base=0x0bf700000 ( 3063MB), size= 1MB, count=1: uncachable
      reg03: base=0x0bf800000 ( 3064MB), size= 8MB, count=1: uncachable
      reg04: base=0x0bf600000 ( 3062MB), size= 1MB, count=1: uncachable
      reg05: base=0x0d0000000 ( 3328MB), size= 256MB, count=1: write-combining

      This is what I get after manually running the script.

      Supplying corrected MTRR ranges to /proc/mtrr
      doing nothing, MTRR range already set up
      reg00: base=0x000000000 ( 0MB), size= 2048MB, count=1: write-back
      reg01: base=0x080000000 ( 2048MB), size= 1024MB, count=1: write-back
      reg02: base=0x0bf700000 ( 3063MB), size= 1MB, count=1: uncachable
      reg03: base=0x0bf800000 ( 3064MB), size= 8MB, count=1: uncachable
      reg04: base=0x0bf600000 ( 3062MB), size= 1MB, count=1: uncachable
      reg05: base=0x0d0000000 ( 3328MB), size= 256MB, count=1: write-combining


      I should see this if the script runs at start up......

      doing nothing, MTRR range already set up

      I must have something set wrong somewhere.

      Comment


        #18
        Re: KDE 4.2.4 and Intel graphics?

        The SystemSettings application has, on the Advanced tab, an Icon labled Autostart.
        Click it and you will be presented with two options: 1) add a desktop file and 2) add a script file.

        You can set your script to start at startup, shutdown or before KDE starts. As long as your script has the "magic first line" and is marked +x then Autostart will fire it. This is a lot easier than doing or adding stuff which is outside the KDE4 protocol.
        "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


          #19
          Re: KDE 4.2.4 and Intel graphics?

          The script was in Autostart, so I must have done all right with the earlier instructions.

          As long as your script has the "magic first line" and is marked +x then Autostart will fire it.
          How do I know if I have this? Sorry to ask so many questions but I have not used KDE for years.

          Comment


            #20
            Re: KDE 4.2.4 and Intel graphics?

            No problem!

            Here is a script that I have which turns off my touch pad. I added it in Autostart to fire before KDE4 starts up. The "magic line" which identifies this script as executable (IF its x permssion is set) is the first one: #!/bin/bash

            Without that line the script would not execute when called. Config script files do not have that first line, so they cannot execute.

            #!/bin/bash
            # toggle synaptic touchpad on/off

            # get current state
            SYNSTATE=$(synclient -l | grep TouchpadOff | awk '{ print $3 }')

            # change to other state
            if [ $SYNSTATE = 0 ]; then
            synclient touchpadoff=1
            elif [ $SYNSTATE = 1 ]; then
            synclient touchpadoff=0
            else
            echo "Couldn't get touchpad status from synclient"
            exit 1
            fi
            exit 0
            Here is a short tutorial of the basics of the bash command line and scripting.
            http://www.arachnoid.com/linux/shell_programming.html
            "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: KDE 4.2.4 and Intel graphics?

              Thanks for the help GreyGeek ! The Intel fix does not seem to have as much impact in Kubuntu but I turned off desktop effects and things aren't looking too bad right now.

              Comment


                #22
                Re: KDE 4.2.4 and Intel graphics?

                I noticed this in the "How To" for the Intel issue today.

                N.B. This works only if you are using the GNOME Display Manager (GDM). KDE/other users need to execute this script manually - see the Important Note section.
                Note: If you are using Kubuntu or a custom distribution of Ubuntu that does not use the GNOME Display Manager (GDM), you need to execute the fixmtrr.sh script each time X (re)starts. Therefore, executing this script in your rc.local script is not sufficient.
                If I had the script running the log off feature would produce a black screen... I gave the Optimal instructions a try, minus the script. Everything is working as it should now. I tested the configuration out by watching a movie on Fancast using full screen flash. No more flickering and choppy video! The movie was almost an hour long and I had desktop effects enabled, so everything should be ok. I left tiling set to true in xorg.conf, there seemed to be some argument in the thread about this setting and I thought, what the heck lets see what happens.

                I am running Intel 8x on board graphics (cheap Compaq system). I thought I would post what I had to do to get things working so maybe others do not have to spend hours trying to fix this problem.

                exploder


                Edit: Here is the exact graphics card I was working with.
                Intel Corporation 82G33/G31 Express Integrated Graphics Controller [8086:29c2] (rev 10)

                Comment

                Working...
                X