LinuxQuestions.org
Help answer threads with 0 replies.
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 10-15-2005, 03:07 PM   #1
Saquel
LQ Newbie
 
Registered: Sep 2005
Distribution: Debian
Posts: 12

Rep: Reputation: 0
slow java applets


hey

All java applets seem to run slower than in Windows XP. I think I have the latest java version:

dpkg --list | grep j2
ii sun-j2re1.5 1.5.0+update05 Java(TM) 2 RE, Standard Edition, Sun Microsy

any ideas what could be causing this?

--
saquel
 
Old 10-15-2005, 05:05 PM   #2
Vgui
Member
 
Registered: Apr 2005
Location: Canada
Distribution: Slackware
Posts: 496

Rep: Reputation: 31
What browser are you using as the platform for your java install? Is it the same browser as you are using in Windows?
I would try a runthrough of the "major" browsers (ie: firefox, opera, etc.) and see which performs best for java applets, then use that.
 
Old 10-15-2005, 08:46 PM   #3
Saquel
LQ Newbie
 
Registered: Sep 2005
Distribution: Debian
Posts: 12

Original Poster
Rep: Reputation: 0
Mainly I use Firefox. I tried Opera as you suggested but couldn't notice any difference. Thanks for the tip anyway.
 
Old 10-15-2005, 11:19 PM   #4
Vgui
Member
 
Registered: Apr 2005
Location: Canada
Distribution: Slackware
Posts: 496

Rep: Reputation: 31
Hmm, not sure what the problem could be, especially if things are going faster on the Windows side on the same machine. I know that apps on Linux normally take a bit longer to load, but once they are loaded it seems fine. Sorry I can't be much more help, most of the Java stuff I do is offline and seems a comparable speed
 
Old 10-17-2005, 05:40 AM   #5
Saquel
LQ Newbie
 
Registered: Sep 2005
Distribution: Debian
Posts: 12

Original Poster
Rep: Reputation: 0
I found the problem. It was not in the java applets. The Top says that Xorg takes all my cpu time. Any ideas what could be causing this?
For one particular time it worked perfectly. But after reboot it's the same cheesy java applets again.
 
Old 10-17-2005, 11:00 AM   #6
Vgui
Member
 
Registered: Apr 2005
Location: Canada
Distribution: Slackware
Posts: 496

Rep: Reputation: 31
Hmm, that would be related to X having trouble rendering the graphics. Getting a bit more information might help, such as what kind of video card do you have, and is it setup correctly with drivers? Also, the applets you are running, are they simple graphics or something 3D based like Runescape?
It might be that your video card is accelerated under Windows XP, and so Windows has no problem keeping up with the applets drawing requests. On your Linux side, it might still be running in "software mode", which means low FPS / unplayable for most 3D games (Java or otherwise).
For comparision, take a look at how sluggish Windows is _before_ any drivers for video cards. Even scrolling is brutal on "software mode".
 
Old 10-18-2005, 01:49 AM   #7
Saquel
LQ Newbie
 
Registered: Sep 2005
Distribution: Debian
Posts: 12

Original Poster
Rep: Reputation: 0
Java applets are sluggish in general. Not only the 3D stuff.

I have Radeon 8500 chipset and using the dirver named "ati" (not the fglrx, can't get the driver version 8.16-20 working). I think direct rendering is on since glxgears gives about 1600 fps and glxinfo gives this:

name of display: :0.0
display: :0 screen: 0
direct rendering: Yes
server glx vendor string: SGI
server glx version string: 1.2
.
.
.
. // Didn't want to paste the whole output
.
.
.
visual x bf lv rg d st colorbuffer ax dp st accumbuffer ms cav
id dep cl sp sz l ci b ro r g b a bf th cl r g b a ns b eat
----------------------------------------------------------------------
0x23 24 tc 0 32 0 r . . 8 8 8 8 0 24 0 0 0 0 0 0 0 None
0x24 24 tc 0 32 0 r . . 8 8 8 8 0 24 8 0 0 0 0 0 0 None
0x25 24 tc 0 32 0 r . . 8 8 8 8 0 24 0 16 16 16 16 0 0 Slow
0x26 24 tc 0 32 0 r . . 8 8 8 8 0 24 8 16 16 16 16 0 0 Slow
0x27 24 tc 0 32 0 r y . 8 8 8 8 0 24 0 0 0 0 0 0 0 None
0x28 24 tc 0 32 0 r y . 8 8 8 8 0 24 8 0 0 0 0 0 0 None
0x29 24 tc 0 32 0 r y . 8 8 8 8 0 24 0 16 16 16 16 0 0 Slow
0x2a 24 tc 0 32 0 r y . 8 8 8 8 0 24 8 16 16 16 16 0 0 Slow
0x2b 24 dc 0 32 0 r . . 8 8 8 8 0 24 0 0 0 0 0 0 0 None
0x2c 24 dc 0 32 0 r . . 8 8 8 8 0 24 8 0 0 0 0 0 0 None
0x2d 24 dc 0 32 0 r . . 8 8 8 8 0 24 0 16 16 16 16 0 0 Slow
0x2e 24 dc 0 32 0 r . . 8 8 8 8 0 24 8 16 16 16 16 0 0 Slow
0x2f 24 dc 0 32 0 r y . 8 8 8 8 0 24 0 0 0 0 0 0 0 None
0x30 24 dc 0 32 0 r y . 8 8 8 8 0 24 8 0 0 0 0 0 0 None
0x31 24 dc 0 32 0 r y . 8 8 8 8 0 24 0 16 16 16 16 0 0 Slow
0x32 24 dc 0 32 0 r y . 8 8 8 8 0 24 8 16 16 16 16 0 0 Slow


Is it normal to have those Slow-values at the end?


I noticed that ati has released a new driver version (8.18.6) and gave it a try, but I guess it's beyond my skills to get it working under Debian. Maybe I'll just wait until Flavio Stanchina updates his page (instructions of building Debian packgaes and kernel modules of ATI drivers) and try those java applets after that again.
 
Old 10-18-2005, 07:58 AM   #8
Saquel
LQ Newbie
 
Registered: Sep 2005
Distribution: Debian
Posts: 12

Original Poster
Rep: Reputation: 0
solved

Problem solved.

I managed to install the new ati drivers. Now everything runs nice and smooth.
Thanks for tipping me to the right tracks.
 
Old 10-18-2005, 11:08 AM   #9
Vgui
Member
 
Registered: Apr 2005
Location: Canada
Distribution: Slackware
Posts: 496

Rep: Reputation: 31
No problem, glad it worked out. Yeah software rendering on it's own isn't so great, and unaccelerated openGL is even worse.
Good job on getting the ATI drivers installed, I've heard those are a bit of work.
 
  


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
Java applets are very slow drigz Linux - Software 3 11-11-2004 11:27 AM
Writing Java applets munchies Programming 2 09-05-2004 08:44 AM
java applets nOOb1kanobee Linux - Newbie 1 02-25-2004 02:47 AM
Firebird + Java Applets chrisk5527 Linux - Software 2 02-09-2004 04:25 PM
running java applets ? senthilasks Linux - Software 1 08-21-2003 04:17 AM

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

All times are GMT -5. The time now is 01:51 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration