LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-12-2004, 07:54 PM   #1
Braveheart1980
Member
 
Registered: Jan 2004
Location: Greece!
Distribution: Ubuntu 9.10
Posts: 633
Blog Entries: 1

Rep: Reputation: 30
Amazing drop of glxgears under gnome!


I have an ati radeon 9600 pro with the latest drivers (3.11.1) working with 3d acceleration.Under kde i get about 4700 fps in glxgears but under gnome i get about 1750 fps!!!!Why?????

PS fglrxinfo under gnome (as under kde) returns:

display: :0.0 screen: 0
OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: RADEON 9600 Generic
OpenGL version string: 1.3 (X4.3.0-3.11.1)

What on earth is going on????
 
Old 08-13-2004, 10:24 AM   #2
foo_bar_foo
Senior Member
 
Registered: Jun 2004
Posts: 2,553

Rep: Reputation: 53
this is an interesting question
theoretically this shouldn't be happening and you should get the same results generally
so the only thing i can thing of is possibly there is something in GNOME that is misconfigured to the point of eating up cpu cycles with some race condition or something.
is there anything strange about the processes running while under GNOME ???
or indication in logs about something going haywire ??
 
Old 08-13-2004, 05:10 PM   #3
Braveheart1980
Member
 
Registered: Jan 2004
Location: Greece!
Distribution: Ubuntu 9.10
Posts: 633

Original Poster
Blog Entries: 1

Rep: Reputation: 30
Where should i look?
 
Old 08-13-2004, 11:35 PM   #4
foo_bar_foo
Senior Member
 
Registered: Jun 2004
Posts: 2,553

Rep: Reputation: 53
first just look in gSystemMonitor
CPU should be like 98% idle
if it's not which process it using it up??
and go from there
then i think look in x and service and kernel log files
this stuff can be different places and called different things
mine are in /var/log
it's hard to know ahead of time what to look for
you can post log files somewhere and have us look if you like
i'd look for stuff like
(this was from my service log once when i had a race condition and it repeated over and over for pages and pages on end until i fixed it when i started kde)
Code:
04/4/14@08:43:41: FAIL: sgi_fam address from=<no address>
04/4/14@08:43:41: START: sgi_fam pid=348 from=<no address>
04/4/14@08:43:41: FAIL: sgi_fam address from=<no address>
04/4/14@08:43:41: START: sgi_fam pid=349 from=<no address
i get this one in my kernel log when i startx but it only repeats a few times then stops
Code:
Apr 13 09:04:34 sourcery kernel: atkbd.c: Unknown key released (translated set 2, code 0x7a on isa0060/serio0).
Apr 13 09:04:34 sourcery kernel: atkbd.c: This is an XFree86 bug. It shouldn't access hardware directly.
Apr 13 09:04:34 sourcery kernel: atkbd.c: Unknown key released (translated set 2, code 0x7a on isa0060/serio0).
Apr 13 09:04:34 sourcery kernel: atkbd.c: This is an XFree86 bug. It shouldn't access hardware directly.
basically repeating errors
some logs will just file something like above error repeated 87 times or something.
i think i'd also look at ram used in gnome like -- try changing the background image over and over
while checking x memory usage in gSystemMonitor and make sure it's not going up and up and up.
 
Old 08-14-2004, 09:39 AM   #5
cutterjohn
LQ Newbie
 
Registered: Jan 2004
Location: Notre Dame
Distribution: Slackware
Posts: 14

Rep: Reputation: 0
Doubt this is your problem, but are you positive that you are running both KDE and GNOME at the same screen resolution? If you make the gears program window larger, then your FPS will go down.
 
Old 08-14-2004, 05:51 PM   #6
Braveheart1980
Member
 
Registered: Jan 2004
Location: Greece!
Distribution: Ubuntu 9.10
Posts: 633

Original Poster
Blog Entries: 1

Rep: Reputation: 30
Here r my files under /var/log :

[george@localhost log]$ ls
acpid dmesg messages.2 secure.1 up2date.2
boot.log gdm messages.3 secure.2 up2date.3
boot.log.1 lastlog ppp secure.3 vbox
boot.log.2 mail prelink.log spooler wtmp
boot.log.3 maillog rpmpkgs spooler.1 wtmp.1
cron maillog.1 rpmpkgs.1 spooler.2 Xorg.0.log
cron.1 maillog.2 rpmpkgs.2 spooler.3 Xorg.0.log.old
cron.2 maillog.3 rpmpkgs.3 system-config-network
cron.3 messages scrollkeeper.log up2date
cups messages.1 secure up2date.1
[george@localhost log]$

I've searched a couple myself but couldn't find something weird! Do u want me to post any file?

PS 1 There is no application eating up my CPU resources-i've checked that
PS 2 Yes it is the same analysis and the same window size
 
Old 08-14-2004, 07:08 PM   #7
Braveheart1980
Member
 
Registered: Jan 2004
Location: Greece!
Distribution: Ubuntu 9.10
Posts: 633

Original Poster
Blog Entries: 1

Rep: Reputation: 30
I can't believe it!!!!!!!!!!!!!!!!!!!!! I ran glxgears again , still the same low fps compared tokde and then i had the idea to move (not resize) the glxgear window a bit. Then i noticed that the fps raised to the kde levels ( around 4700)!!AMAZING!
 
Old 08-14-2004, 10:42 PM   #8
foo_bar_foo
Senior Member
 
Registered: Jun 2004
Posts: 2,553

Rep: Reputation: 53
that's wild --

I wonder if it's a bug in X or the radeon drivers or the opengl libs ???
possibly a bug report is in order but i don't understand opengl enough to know
 
Old 08-15-2004, 01:14 AM   #9
cutterjohn
LQ Newbie
 
Registered: Jan 2004
Location: Notre Dame
Distribution: Slackware
Posts: 14

Rep: Reputation: 0
I wouldn't worry about it too much. glxgears is not a well designed test suite. It is just meant to give you an idea of performance. i.e. bogoMIPS. It probably just started in a spot that required some heavy refreshing of the screen. Just for kicks ... start up a window manager that uses very few resources, such as TWM or FVWM2 and see how it does there. I bet your numbers are higher.
 
Old 08-15-2004, 02:27 PM   #10
foo_bar_foo
Senior Member
 
Registered: Jun 2004
Posts: 2,553

Rep: Reputation: 53
doesn't seem lke the window manager has anything to do with glxgears ??
just a frame around the thing....
gnome wm or kde wm just as light as fvwm and twm really or very close....
the thing missing from fvwm or twm is desktop environment
but unless you are really low on ram that shouldn't effect anything either i don't think ??
an interesting test might be to start kde with another wm like fvwm
then minimize the kde desktop and kill of fvwm
then from kde menu run a term then glxgears wiithout a window manager at all
i bet the numbers are exactly the same
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Drop connections to port 80 at firewall machine also drop at protected network? Niceman2005 Linux - Security 2 10-27-2005 08:21 AM
iptables - drop all -> allow needed OR allow all -> drop specific lucastic Linux - Security 5 12-21-2004 02:07 AM
Drop-Line Gnome w/ Slackware 10 support released! ProgramGeek Slackware 12 07-27-2004 08:43 PM
gnome question (drop shadow) littleking Slackware 0 11-28-2003 12:15 PM
drop-line gnome naflan Slackware 1 09-12-2003 05:03 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:44 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration