Page 1 of 2 12 LastLast
Results 1 to 10 of 12

Thread: Getting the most out of my GazP7

  1. #1
    Join Date
    Oct 2010
    Beans
    21
    Distro
    Ubuntu 10.04 Lucid Lynx

    Getting the most out of my GazP7

    How can I get the most out of my new GazP7? It has the base i7 offered and I bumped it up to 8 gigs of ram. But being an i7, it's a HUGE bump for me as I come from a dual core pentium processor. But I noticed, I am playing a java based game, and watching a dvd at the same time. The java game slows down tremendously, even at mid settings. The game by itself is laggy even when the dvd isn't playing. The i7 has the HD 4000, which is supposed to be a huge improvement over HD 3000. I already installed the System76 Driver's off the setting's program. How can I make this the i7 it was meant to be?

    Edit: How can I upgrade which version of ubuntu I'm running? When I go to edit my profile, I get a notice saying I need 50+ posts.
    Last edited by imnotanerd; July 28th, 2012 at 06:47 AM.

  2. #2
    Join Date
    Jun 2010
    Beans
    28

    Re: Getting the most out of my GazP7

    Consider installing libva-intel-vaapi-driver (available in the software repositories) and a video player which supports VAAPI hardware video acceleration, such as VLC or MPlayer. This should improve performance while watching video.

    As for the Java game, it's difficult to say. Is it 2D or 3D? Does it give you any options to tweak for performance? Open up System Monitor while the game is running. Is the CPU usage very high, or at least higher than you would expect when there isn't much going on in the game? It could be that the game is doing all the graphical rendering on the CPU and not the GPU. If that's the case, you'll have to figure out how to get it to use hardware graphics acceleration.

    In truth, the HD 4000 graphics chip is seriously impressive. My gazp7 has the i7 3820QM CPU, and with it and the integrated graphics, I have been able to run Amnesia: The Dark Descent at full 1920x1080 resolution, with all but one of the graphical options set to their maximum and it runs like a dream. Some of that may be due to the higher-power CPU but much of it is thanks to the HD 4000 GPU. (note that I have gotten better graphics performance in Arch Linux in which I have the latest Intel xorg drivers, but in Ubuntu it's still very respectable).

    Lastly, just make sure that you don't have a ton of stuff running in the background. With that CPU it shouldn't matter much, but it's worth noting anyway. Whenever I play games, even with this monster of a CPU, I still minimize the amount of things running in the background.

  3. #3
    Join Date
    Oct 2010
    Beans
    21
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Getting the most out of my GazP7

    I've installed it, and it runs fine now. But the game itself, I've put in all mid graphics settings (it's a 3D game) and it's still a bit slow. Here's a screenshot of the system monitor.

  4. #4
    Join Date
    Jun 2010
    Beans
    28

    Re: Getting the most out of my GazP7

    To me, that CPU usage looks pretty high if not much was going on in the game at that moment, though it's really hard to say for sure. It's *possible* (though not certain) that it's using the CPU for rendering somehow. I have no idea.
    I would recommend searching around on the internet for other Linux users talking about that game. Perhaps some others have experience in tuning it for the best performance. Sorry I can't help more in that regard.

  5. #5
    Join Date
    Oct 2010
    Beans
    21
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Getting the most out of my GazP7

    Chrome was the only thing running with one tab for the game when that screenshot was taken. Well, thank you for your help!

  6. #6
    Join Date
    Apr 2007
    Beans
    36

    Re: Getting the most out of my GazP7

    Quote Originally Posted by imnotanerd View Post
    Chrome was the only thing running with one tab for the game when that screenshot was taken. Well, thank you for your help!
    There is something you may want to try for the Java game: Increase the amount of memory Java allocates to the java heap in that game.

    32 bit JVM's used to default to 128M for a beginning maximum heap size - the Xms value - and a hard limit of 256M for the maximun heap size f- the -Xmx value - or an application. That may still be the case with 64 bit JVM's also.

    What would happen is that, although Java runs its own garbage collection, it does not do so until the memory usage approaches the current heap size, Java will then allocate more memory for the javaheap in increments, and run garbage collection when it approaches the new limit until it reaches the final maximum size. Once the actual memory usage approaches the maximum heap size there will be considerable CPU cycles consumed as the JVM increasingly runs garbage collection.


    Determine how the game is being launched. at some point a java ..javaoptions string in the command is being invoked. You will want to insert a JVM argument -Xmx512M for 512M of memory or if an -Xmx argument is already being passed, then increase its value.

    Note that this is completely unrelated to the DVD being played unless the JVM is so busy running garbage collection, it is contending for CPU time that the DVD player is taking, That would be a real stretch but since there have been no recent suggestions, it may be worth a try.

  7. #7
    Join Date
    Mar 2012
    Location
    /home/ubun2to
    Beans
    356
    Distro
    Ubuntu 13.04 Raring Ringtail

    Re: Getting the most out of my GazP7

    Off topic, but how did you get Java working?
    OpenJDK works like a charm, but trying to use the Java from Oracle's website is something I can't figure out how to do.
    Backups are amazing. 99% of data loss can be prevented by spending less than $100 on an external drive.
    If you have seen an error, there is a good chance someone else has, too. Google is your friend.

  8. #8
    Join Date
    Apr 2007
    Beans
    36

    Re: Getting the most out of my GazP7

    Quote Originally Posted by Ubun2to View Post
    Off topic, but how did you get Java working?
    OpenJDK works like a charm, but trying to use the Java from Oracle's website is something I can't figure out how to do.
    I created a directory in /usr/local named java, downloaded the .bin into there.
    I then prepended PATH in .profile with the directory of both the jdk/bin and the jre/bin

    so when I run java -version I get the Oracle version to launch and respond.
    Java(TM) SE Runtime Environment (build 1.7.0_05-b06)
    Java HotSpot(TM) 64-Bit Server VM (build 23.1-b03, mixed mode)
    And I get a similiar result for javac.
    Now the Eclipse Juno installed can use the Oracle version instead of the Iced Tea version.

    Interestingly, I first tried extracting into /usr/java which is my standard location on other Linux platforms and could never get it to work from there. I never did figure it out.

  9. #9
    Join Date
    Mar 2012
    Location
    /home/ubun2to
    Beans
    356
    Distro
    Ubuntu 13.04 Raring Ringtail

    Re: Getting the most out of my GazP7

    Quote Originally Posted by philbert View Post
    I created a directory in /usr/local named java, downloaded the .bin into there.
    I then prepended PATH in .profile with the directory of both the jdk/bin and the jre/bin

    so when I run java -version I get the Oracle version to launch and respond.
    Java(TM) SE Runtime Environment (build 1.7.0_05-b06)
    Java HotSpot(TM) 64-Bit Server VM (build 23.1-b03, mixed mode)
    And I get a similiar result for javac.
    Now the Eclipse Juno installed can use the Oracle version instead of the Iced Tea version.

    Interestingly, I first tried extracting into /usr/java which is my standard location on other Linux platforms and could never get it to work from there. I never did figure it out.
    Will try that when I get the chance.
    I just wish Oracle would make .DEB packages.
    Backups are amazing. 99% of data loss can be prevented by spending less than $100 on an external drive.
    If you have seen an error, there is a good chance someone else has, too. Google is your friend.

  10. #10
    Join Date
    Apr 2007
    Beans
    36

    Re: Getting the most out of my GazP7

    Quote Originally Posted by Ubun2to View Post
    Will try that when I get the chance.
    I just wish Oracle would make .DEB packages.
    The problem with using rpm or deb is that I don't know what is going where. So even on RedHat Systems, I use the .BIN version. Once I drop the .BIN in that directory, It's a matter of making the binary executable using chmod a+x and then ./the .bin file which is a self extracting file that unzips the contents in a directory within the java directory.

    I apologize if I am being circumspect in my descriptions of what to do. But I am trying to conform with the forum rules as I understand it against supplying complete syntax to shell commands.

Page 1 of 2 12 LastLast

Tags for this Thread

Bookmarks

Posting Permissions

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