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: 322
Joined: Sat Oct 07, 2006 11:51 am
Location: Germany
Contact:

Re: ubuntu intel 945GM low framerate

Post by Cobra_Fast »

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: 4931
Joined: Fri Mar 21, 2003 3:49 pm
Location: playing.cxx
Contact:

Re: ubuntu intel 945GM low framerate

Post by blast »

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: 44
Joined: Mon Jan 02, 2006 6:41 pm
Location: Sweden

Re: ubuntu intel 945GM low framerate

Post by leviathan »

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: 4931
Joined: Fri Mar 21, 2003 3:49 pm
Location: playing.cxx
Contact:

Re: ubuntu intel 945GM low framerate

Post by blast »

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: 44
Joined: Mon Jan 02, 2006 6:41 pm
Location: Sweden

Re: ubuntu intel 945GM low framerate

Post by leviathan »

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: 4931
Joined: Fri Mar 21, 2003 3:49 pm
Location: playing.cxx
Contact:

Re: ubuntu intel 945GM low framerate

Post by blast »

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: 44
Joined: Mon Jan 02, 2006 6:41 pm
Location: Sweden

Re: ubuntu intel 945GM low framerate

Post by leviathan »

ah sry i mean

Code: Select all

rm /etc/X11/xorg.conf
, is that right now?
User avatar
blast
General
General
Posts: 4931
Joined: Fri Mar 21, 2003 3:49 pm
Location: playing.cxx
Contact:

Re: ubuntu intel 945GM low framerate

Post by blast »

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: 44
Joined: Mon Jan 02, 2006 6:41 pm
Location: Sweden

Re: ubuntu intel 945GM low framerate

Post by leviathan »

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 »

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: 44
Joined: Mon Jan 02, 2006 6:41 pm
Location: Sweden

Re: ubuntu intel 945GM low framerate

Post by leviathan »

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: 4931
Joined: Fri Mar 21, 2003 3:49 pm
Location: playing.cxx
Contact:

Re: ubuntu intel 945GM low framerate

Post by blast »

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: 134
Joined: Tue Sep 19, 2006 7:23 pm

Re: ubuntu intel 945GM low framerate

Post by gorgomol »

life is too short , spread love around you.
User avatar
leviathan
Private First Class
Private First Class
Posts: 44
Joined: Mon Jan 02, 2006 6:41 pm
Location: Sweden

Re: ubuntu intel 945GM low framerate

Post by leviathan »

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: 4931
Joined: Fri Mar 21, 2003 3:49 pm
Location: playing.cxx
Contact:

Re: ubuntu intel 945GM low framerate

Post by blast »

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: 44
Joined: Mon Jan 02, 2006 6:41 pm
Location: Sweden

Re: ubuntu intel 945GM low framerate

Post by leviathan »

yep! we might want to close this thread then.

again THANKS TO EVERYONE, SEE YOU INGAME SOON!

appreciation, levi
Post Reply