ubuntu intel 945GM low framerate

Help with Setup, Hardware, Performance or other Issues...Or just pimp your rig.
User avatar
Cobra_Fast
Dev Monkey
Dev Monkey
Posts: 321
Joined: Sat Oct 07, 2006 11:51 am
Location: Germany
Contact:

Re: ubuntu intel 945GM low framerate

Post by Cobra_Fast » Thu Nov 25, 2010 9:26 pm

Did a quick google and it looks like the driver name for this particular package is "intel", so you would be writing "intel" to the driver line. Good luck.

User avatar
blast
General
General
Posts: 4735
Joined: Fri Mar 21, 2003 3:49 pm
Location: playing.cxx
Contact:

Re: ubuntu intel 945GM low framerate

Post by blast » Fri Nov 26, 2010 12:59 am

The module name might just be "intel" now.

http://packages.ubuntu.com/maverick/i38 ... l/filelist (notice "intel_drv.so")

Maybe this is related? I haven't looked too far into it to see if it's the same problem, but it sounds like similar performance issues:
https://bugs.launchpad.net/ubuntu/+sour ... bug/663147

I also see on that bug report the following:
Disabling the vsync, opengl runs smoothly both inside KDE with no kwin effects both outside on a fluxbox wm.
2100 frames in 5.0 seconds = 420fps
More or less the same performance of lucid.
Inside KDE with kwin effects and no vsync I loose 50% of performance.
Maybe not a xorg-intel bug?

To disable vsync on opengl edit ".drirc" on $HOME direcotry.
cat ~/.drirc
<option name="vblank_mode" value="0"/>
So I'd say to wipe your xorg config and just try that method instead.
"In addition to knowing the secrets of the Universe, I can assure you that I am also quite potty trained." -Koenma (Yu Yu Hakusho)

Image

User avatar
leviathan
Private First Class
Private First Class
Posts: 43
Joined: Mon Jan 02, 2006 6:41 pm
Location: Sweden

Re: ubuntu intel 945GM low framerate

Post by leviathan » Sat Nov 27, 2010 1:00 pm

blast wrote: To disable vsync on opengl edit ".drirc" on $HOME direcotry.
cat ~/.drirc
<option name="vblank_mode" value="0"/>
can you translate this into beginner-code please?
i tried to open this file with

Code: Select all

sudo gedit /home/leviathan/.drirc
but it opened a blank file!?
what does "cat" mean? do i really write the "<" , ">"?

levi

User avatar
blast
General
General
Posts: 4735
Joined: Fri Mar 21, 2003 3:49 pm
Location: playing.cxx
Contact:

Re: ubuntu intel 945GM low framerate

Post by blast » Sat Nov 27, 2010 2:41 pm

Right, the file probably does not exist yet. Their 'cat' command was just dumping the contents of their file to the terminal. Just create that file and put this inside:

Code: Select all

<option name="vblank_mode" value="0"/>
"In addition to knowing the secrets of the Universe, I can assure you that I am also quite potty trained." -Koenma (Yu Yu Hakusho)

Image

User avatar
leviathan
Private First Class
Private First Class
Posts: 43
Joined: Mon Jan 02, 2006 6:41 pm
Location: Sweden

Re: ubuntu intel 945GM low framerate

Post by leviathan » Sat Nov 27, 2010 2:55 pm

man i'm pretty silly :/ : how to elegantly delete the xorg.conf file, without dealing with permissions... googling it always says i should be very careful with the "rm" command?

so:

Code: Select all

rm /home/leviathan/.drirc
?

User avatar
blast
General
General
Posts: 4735
Joined: Fri Mar 21, 2003 3:49 pm
Location: playing.cxx
Contact:

Re: ubuntu intel 945GM low framerate

Post by blast » Sat Nov 27, 2010 3:19 pm

That's not the xorg.conf file. The xorg.conf would be inside /etc/ somewhere.

find /etc -name xorg.conf
"In addition to knowing the secrets of the Universe, I can assure you that I am also quite potty trained." -Koenma (Yu Yu Hakusho)

Image

User avatar
leviathan
Private First Class
Private First Class
Posts: 43
Joined: Mon Jan 02, 2006 6:41 pm
Location: Sweden

Re: ubuntu intel 945GM low framerate

Post by leviathan » Sat Nov 27, 2010 3:24 pm

ah sry i mean

Code: Select all

rm /etc/X11/xorg.conf
, is that right now?

User avatar
blast
General
General
Posts: 4735
Joined: Fri Mar 21, 2003 3:49 pm
Location: playing.cxx
Contact:

Re: ubuntu intel 945GM low framerate

Post by blast » Sat Nov 27, 2010 3:30 pm

Sure, I guess.
"In addition to knowing the secrets of the Universe, I can assure you that I am also quite potty trained." -Koenma (Yu Yu Hakusho)

Image

User avatar
leviathan
Private First Class
Private First Class
Posts: 43
Joined: Mon Jan 02, 2006 6:41 pm
Location: Sweden

Re: ubuntu intel 945GM low framerate

Post by leviathan » Sat Nov 27, 2010 4:08 pm

wow, we got a first success!
with this method i could double my FPS to 60 in full screen!

i still wonder why i cant reach 245 fps like i have under OS X but for now im satisfied. i think this is playable. at least i will test this for the next time!

applause to blast, cobra_fast and all the other who contrubuted to this first success! thanks!

maybe i come back to all you guys when it comes to bringing my fps to 240 :)

User avatar
joevano
General
General
Posts: 1863
Joined: Sat Jun 18, 2005 1:08 pm
Location: South Bend, Indiana, USA

Re: ubuntu intel 945GM low framerate

Post by joevano » Sat Nov 27, 2010 4:23 pm

60 is really as good as it needs to be...
There is nothing worse than aggressive stupidity. -- Johann Wolfgang von Goethe
"How many legs does a dog have if you call his tail a leg? Four. Calling a tail a leg doesn't make it a leg." -- Abraham Lincoln

User avatar
leviathan
Private First Class
Private First Class
Posts: 43
Joined: Mon Jan 02, 2006 6:41 pm
Location: Sweden

Re: ubuntu intel 945GM low framerate

Post by leviathan » Sat Nov 27, 2010 4:27 pm

well 60 is the highest value, for the most time it is at an average of 45, but i don't wanna be nitpicky here, i guess you are right, it'sufficient!

User avatar
blast
General
General
Posts: 4735
Joined: Fri Mar 21, 2003 3:49 pm
Location: playing.cxx
Contact:

Re: ubuntu intel 945GM low framerate

Post by blast » Sun Nov 28, 2010 7:24 am

The open-source linux driver probably just isn't (yet) as good as the closed-source OSX driver.
"In addition to knowing the secrets of the Universe, I can assure you that I am also quite potty trained." -Koenma (Yu Yu Hakusho)

Image

User avatar
gorgomol
Private First Class
Private First Class
Posts: 125
Joined: Tue Sep 19, 2006 7:23 pm

Re: ubuntu intel 945GM low framerate

Post by gorgomol » Sun Nov 28, 2010 2:38 pm

life is too short , spread love around you.

User avatar
leviathan
Private First Class
Private First Class
Posts: 43
Joined: Mon Jan 02, 2006 6:41 pm
Location: Sweden

Re: ubuntu intel 945GM low framerate

Post by leviathan » Sun Nov 28, 2010 2:44 pm

received two new tips (these guys are obviously too shy to post in here):

first tip (thanks rex!): i ought to use this small guide:http://blog.nixternal.com/2007.12.30/in ... ideo-hint/

result: glxgears (about 700FPS after the vblank method) and bzflag (60 on HIX, 40 on football-stadium) show no increase in fps

second tip (thanks gorgomol): i ought to add the following to my (newly created) xorg.conf-file:

Code: Select all

Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 16
SubSection "Display"
Depth 16
EndSubSection
SubSection "Display"
Depth 24
EndSubSection
EndSection
result: a deformed screen, with weird colors and shades and an even lower fps of 45 on HIX


my question now: do these tips ring a bell at anyone? do they maybe include useful code to think of an alternative way of try and error?
if not i will call this journey quits, but dont see this as menace!

levi

User avatar
blast
General
General
Posts: 4735
Joined: Fri Mar 21, 2003 3:49 pm
Location: playing.cxx
Contact:

Re: ubuntu intel 945GM low framerate

Post by blast » Sun Nov 28, 2010 4:27 pm

We've probably reached the limit of what we can provide for help here. You might try asking on the Ubuntu Forums and reference this thread so they know what you've tried.
"In addition to knowing the secrets of the Universe, I can assure you that I am also quite potty trained." -Koenma (Yu Yu Hakusho)

Image

User avatar
leviathan
Private First Class
Private First Class
Posts: 43
Joined: Mon Jan 02, 2006 6:41 pm
Location: Sweden

Re: ubuntu intel 945GM low framerate

Post by leviathan » Sun Nov 28, 2010 4:41 pm

yep! we might want to close this thread then.

again THANKS TO EVERYONE, SEE YOU INGAME SOON!

appreciation, levi

Post Reply

Who is online

Users browsing this forum: Google [Bot] and 2 guests