Skip to main content

Running on ATI x1400 Ubuntu Feisty

14 replies [Last post]
ken822
Offline
Joined: 2007-05-22
Points: 0

I succeed to run wonder land in my thinkpad R60 laptop Ubuntu box.
But I have a feeling it's not using the 3D acceleration, but working only CPU power.
Fps shows 8-35...

I installed my graphic driver like this,

sudo apt-get install xorg-driver-fglrx fglrx-control
sudo depmod -a
sudo aticonfig --initial
sudo aticonfig --overlay-type=Xv

I found here another users successfully run on X1600 ATI card, I think there shouldn't be big differences between X1400 and X1600...

I want some advise...

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
ken822
Offline
Joined: 2007-05-22
Points: 0

aha, so that vista was too slowly on my laptop ;)

#Btw, it costed almost twice of my monthly salary and still is non-scientific calculator...
#I'm planning to go to USA or UK !

> 128Mb RAM ? eheheh it is not a computer, it is a very
> old
> non-scientific calculator :))))
>
> On 5/24/07, wonderland@javadesktop.org
> wrote:
> > Thanks, njtromp.
> >
> > I have 128MB may be this is problem...
> >
> > Does any body know how to configure WL to work low
> memory graphic cards?
> > [Message sent by forum member 'ken822' (ken822)]
> >
> >
> http://forums.java.net/jive/thread.jspa?messageID=2187
> 24
> >

Felipe Gaúcho

128Mb RAM ? eheheh it is not a computer, it is a very old
non-scientific calculator :))))

On 5/24/07, wonderland@javadesktop.org wrote:
> Thanks, njtromp.
>
> I have 128MB may be this is problem...
>
> Does any body know how to configure WL to work low memory graphic cards?
> [Message sent by forum member 'ken822' (ken822)]
>
> http://forums.java.net/jive/thread.jspa?messageID=218724
>

paulby
Offline
Joined: 2003-06-13
Points: 0

glxgears on my laptop (tecra m2, geforce go 5200) reports ~215 fps at 1400x1050. Wonderland runs at between 28-60 fps (default screen size). The worst (slowest) place to stand is in the far corner of the conference room looking back to the team room. From this position almost everything is in the view frustum which means all the animations are running.

We cap the frame rate at 40fps to leave resources spare for running applications. If you want to see how fast the system will run look in build.xml and edit the line that contains maxfps=40, change it to 200 and you will see what your machine can do.

When looking at performance please remember we have done almost no optimisations in the system, this work will come later once we have a few more of the important features implemented.

paulby
Offline
Joined: 2003-06-13
Points: 0

128Mb of video memory is not enough to run the default world we have at the moment. This world was built to show that a rich environment was possible and that text on things like posters can be easily read etc. As a result it uses a lot of texture memory. We need some new areas which are less demanding on resources and then it should run fine on smaller amounts of video memory.

Also there is some work going on at the moment to split up the room geometry which would allow you to switch off the large posters. But it's not ready :-(

njtromp
Offline
Joined: 2004-12-03
Points: 0

Hi Ken,

fgl_glxgears runs with 420 fps in default size. 150 fps in fullscreen (1600 x 1050) and around 170 fps when i resize it to approx. 1400 x 1050.

How much memory has your card? I have 256 MB.

I do not know if you can blame Java, the games you mentioned are probably written by game developers with nothing on there minds but performance. While wonderland is written by researchers with nothing more on there minds then writing applications in Java to show that their ideas are feasible.

Maybe someone else knows how WL will perform on your machine. I know a lot about writing Java/J2EE applications and know somethings about running Linux but I am by no means on expert in squeezing the last bit out of a video card.

Good luck.

ken822
Offline
Joined: 2007-05-22
Points: 0

Thanks, njtromp.

I have 128MB may be this is problem...

Does any body know how to configure WL to work low memory graphic cards?

ken822
Offline
Joined: 2007-05-22
Points: 0

But, please don't say "so it's time to dive into code." ;)
I am the java programmer, but only for the web programing.

ken822
Offline
Joined: 2007-05-22
Points: 0

Thank you for help, but all of xorg configuration was written...
My fgl_glxgears result is

1025 frames in 5.0 seconds = 205.000 FPS

when the window is maximized.

My xorg.conf is below

Section "ServerLayout"
Identifier "Default Layout"
screen 0 "aticonfig-Screen[0]" 0 0
Inputdevice "Generic Keyboard"
Inputdevice "Configured Mouse"
Inputdevice "stylus" "SendCoreEvents"
Inputdevice "cursor" "SendCoreEvents"
Inputdevice "eraser" "SendCoreEvents"
Inputdevice "Synaptics Touchpad"
EndSection

Section "Files"

# path to defoma fonts
Fontpath "/usr/share/fonts/X11/misc"
Fontpath "/usr/share/fonts/X11/cyrillic"
Fontpath "/usr/share/fonts/X11/100dpi/:unscaled"
Fontpath "/usr/share/fonts/X11/75dpi/:unscaled"
Fontpath "/usr/share/fonts/X11/Type1"
Fontpath "/usr/share/fonts/X11/100dpi"
Fontpath "/usr/share/fonts/X11/75dpi"
Fontpath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection

Section "Module"
Load "i2c"
Load "bitmap"
Load "ddc"
Load "dri"
Load "extmod"
Load "freetype"
Load "glx"
Load "int10"
Load "vbe"
EndSection

Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "hr"
EndSection

Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ImPS/2"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "true"
Option "EmulateWheel" "on"
Option "EmulateWheelButton" "2"
Option "EmulateWheelTimeOut" "200"
Option "Emulate3TimeOut" "50"
Option "YAxisMapping" "4 5"
Option "XAxisMapping" "6 7"
EndSection

Section "InputDevice"
Identifier "Synaptics Touchpad"
Driver "synaptics"
Option "SendCoreEvents" "true"
Option "Device" "/dev/psaux"
Option "Protocol" "auto-dev"
Option "HorizScrollDelta" "0"
EndSection

Section "InputDevice"
Identifier "stylus"
Driver "wacom"
Option "Device" "/dev/input/wacom"
Option "Type" "stylus"
Option "ForceDevice" "ISDV4"# Tablet PC ONLY
EndSection

Section "InputDevice"
Identifier "eraser"
Driver "wacom"
Option "Device" "/dev/input/wacom"
Option "Type" "eraser"
Option "ForceDevice" "ISDV4"# Tablet PC ONLY
EndSection

Section "InputDevice"
Identifier "cursor"
Driver "wacom"
Option "Device" "/dev/input/wacom"
Option "Type" "cursor"
Option "ForceDevice" "ISDV4"# Tablet PC ONLY
EndSection

Section "Monitor"
Identifier "Generic Monitor"
Option "DPMS"
EndSection

Section "Monitor"
Identifier "aticonfig-Monitor[0]"
Option "VendorName" "ATI Proprietary Driver"
Option "ModelName" "Generic Autodetecting Monitor"
Option "DPMS" "true"
EndSection

Section "Device"
Identifier "Generic Video Card"
Driver "fglrx"
Busid "PCI:1:0:0"
EndSection

Section "Device"
Identifier "aticonfig-Device[0]"
Driver "fglrx"
Option "VideoOverlay" "on"
Option "OpenGLOverlay" "off"
EndSection

Section "Screen"
Identifier "Default Screen"
Device "Generic Video Card"
Monitor "Generic Monitor"
Defaultdepth 24
SubSection "Display"
Depth 1
Modes "1400x1050" "(pitch" "1400)"
EndSubSection
SubSection "Display"
Depth 4
Modes "1400x1050" "(pitch" "1400)"
EndSubSection
SubSection "Display"
Depth 8
Modes "1400x1050" "(pitch" "1400)"
EndSubSection
SubSection "Display"
Depth 15
Modes "1400x1050" "(pitch" "1400)"
EndSubSection
SubSection "Display"
Depth 16
Modes "1400x1050" "(pitch" "1400)"
EndSubSection
SubSection "Display"
Depth 24
Modes "1400x1050" "(pitch" "1400)"
EndSubSection
EndSection

Section "Screen"
Identifier "aticonfig-Screen[0]"
Device "aticonfig-Device[0]"
Monitor "aticonfig-Monitor[0]"
Defaultdepth 24
Option "AddARGBGLXVisuals" "true"
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
EndSection

Section "DRI"
Mode 0666
EndSection

Section "Extensions"
Option "Composite" "0"
EndSection

Section "ServerFlags"
Option "AIGLX" "off"
EndSection

that's all.

So, from Jonathan's advice, I gusee my 3d accelaretion works in wonder land... Just my machine is weak...
But another 3D games, sure they are native code, works fine. More complex 3D environment and fps is about 25... Hmmm, I don't want make conclusion , all the same java is slow...

Felipe Gaúcho

> Hmmm, I don't want make conclusion , all the same java is slow...

so, don't do that :)

ken822
Offline
Joined: 2007-05-22
Points: 0

YES!!!
I'm really impressioned by this project.
I must run smoothly this wonder land in my laptop!!!

Message was edited by: ken822

njtromp
Offline
Joined: 2004-12-03
Points: 0

Nice to hear you like it so much. Lets hope they can increase the performance for all of us out there with no state of the art hardware.

njtromp
Offline
Joined: 2004-12-03
Points: 0

I used the same instructions with my X1600 card except for the last line if I recall it correctly (I did not use that one). I do not know if that will make the difference. Looking at your framerate (it starts at 8 fps) I can only advice you to check the /etx/X11/xorg.conf file. It should contain a section that enables DRI.

Section "DRI"
Mode 0666
EndSection

and in the modules section.

Section "Module"
Load "dri"
EndSection

Hope this helps. I can post my xorg.conf file if you like to compare it with yours.

Jonathan Kaplan

The fgl driver on Feisty is a little finicky. I find the best test is
to run fgl_glxgears (it should be installed as part of the driver
installation). Basically it will either run or it won't -- if it
doesn't run, check your xorg.conf. If it does run, Wonderland is
probably being accelerated correctly.

wonderland@javadesktop.org wrote:
> I used the same instructions with my X1600 card except for the last line if I recall it correctly (I did not use that one). I do not know if that will make the difference. Looking at your framerate (it starts at 8 fps) I can only advice you to check the /etx/X11/xorg.conf file. It should contain a section that enables DRI.
>
> Section "DRI"
> Mode 0666
> EndSection
>
> and in the modules section.
>
> Section "Module"
> Load "dri"
> EndSection
>
> Hope this helps. I can post my xorg.conf file if you like to compare it with yours.
> [Message sent by forum member 'njtromp' (njtromp)]
>
> http://forums.java.net/jive/thread.jspa?messageID=218685
>

thaniwa
Offline
Joined: 2004-06-12
Points: 0

Hi ken822,

> I succeed to run wonder land in my thinkpad R60 laptop Ubuntu box.
> But I have a feeling it's not using the 3D acceleration, but working only CPU power.
> Fps shows 8-35...

Fglrx driver cannot use DRI when Composite extension is enabled.
Check fglrx_info or /var/log/Xorg.0.log.

In this case, add the following lines into /etc/X11/xorg.conf

=====
Section "Extensions"
Option "Composite" "false"
EndSection
=====

thanks,

yasuhiro(thaniwa)