Linux is a little slow ?

For everything that's not in any way related to PureBasic. General chat etc...
User avatar
Joakim Christiansen
Addict
Addict
Posts: 2452
Joined: Wed Dec 22, 2004 4:12 pm
Location: Norway
Contact:

Post by Joakim Christiansen »

Inf0Byt3 wrote:Yeah :(. Well, if you use it, you learn. It's not so hard afterall. It's just different :D.

About the xorg.conf file. It didn't worked :(. Should I format? I tried all methods.
But if you have some important stuff there you should find one of those programs that can read from the partition and copy the stuff over to Windows.
I like logic, hence I dislike humans but love computers.
Inf0Byt3
PureBasic Fanatic
PureBasic Fanatic
Posts: 2236
Joined: Fri Dec 09, 2005 12:15 pm
Location: Elbonia

Post by Inf0Byt3 »

Well, yeah... I'll try it :). Just found Yareg, and good thing it's free (I have ReiserFS) so i'll try to get the files out.
None are more hopelessly enslaved than those who falsely believe they are free. (Goethe)
Trond
Always Here
Always Here
Posts: 7446
Joined: Mon Sep 22, 2003 6:45 pm
Location: Norway

Post by Trond »

First of all, what on earth is the "death screen"?
Second, don't format if you don't want to lose your data. Can you get access to a command prompt?
Inf0Byt3
PureBasic Fanatic
PureBasic Fanatic
Posts: 2236
Joined: Fri Dec 09, 2005 12:15 pm
Location: Elbonia

Post by Inf0Byt3 »

Death screen is that blue screen where it says he couldn't start the X server. Yes, i can get access if I boot in safe-mode. But i don't know if there's something i can do. Anyway I got the files safe now.
None are more hopelessly enslaved than those who falsely believe they are free. (Goethe)
walker
Enthusiast
Enthusiast
Posts: 634
Joined: Wed May 05, 2004 4:04 pm
Location: Germany

Post by walker »

If you can access a console and the non starting X-server is your only problem, try this (you're running ubuntu... right?)

Code: Select all

sudo dpkg-reconfigure xserver-xorg
and follow the steps... leave almost all option on default .. that should rebuilt your Xorg.conf
Inf0Byt3
PureBasic Fanatic
PureBasic Fanatic
Posts: 2236
Joined: Fri Dec 09, 2005 12:15 pm
Location: Elbonia

Post by Inf0Byt3 »

I allready did that but it didn't worked. I'll install ubuntu 6.10 :D now. I was anyway curious how it looks and performs. (I had 6.06)
None are more hopelessly enslaved than those who falsely believe they are free. (Goethe)
walker
Enthusiast
Enthusiast
Posts: 634
Joined: Wed May 05, 2004 4:04 pm
Location: Germany

Post by walker »

then you'd recently updated your system... and got an buggy x-server (read it somewhere in the Ubunu forum) anyway... big changes to 6.06????
Inf0Byt3
PureBasic Fanatic
PureBasic Fanatic
Posts: 2236
Joined: Fri Dec 09, 2005 12:15 pm
Location: Elbonia

Post by Inf0Byt3 »

Nono, i had the old dapper drake installed. I didn't do an update. The old one broke and i'll install the new edgy today. I am now downloading 6.10 and i'll install it tonight. I don't know how 6.10 looks yet, i'll test it today.
None are more hopelessly enslaved than those who falsely believe they are free. (Goethe)
Inf0Byt3
PureBasic Fanatic
PureBasic Fanatic
Posts: 2236
Joined: Fri Dec 09, 2005 12:15 pm
Location: Elbonia

Post by Inf0Byt3 »

@walker: I tested 6.10 and it's damn buggy. The installer crashed 3 times and it didn't even detect my network card. So i'm sticking with 6.06 until a final release.
None are more hopelessly enslaved than those who falsely believe they are free. (Goethe)
Thalius
Enthusiast
Enthusiast
Posts: 711
Joined: Thu Jul 17, 2003 4:15 pm
Contact:

Post by Thalius »

Hihi Inf0Byt3 ;)

i use 6.06 here on desktop and runs smooth and fast as hell ( also the gui ).

All you need to do is install the correct Vid drivers.

For ATI this is fglrx if you want to have native 3d support.
If you select ATI drivers in the configtool you only have software rendering.

As stated above you will need the universe data-source for the newest drivers.

on Ubuntu 6.06 theres also a step thru in the help simply hit F1 on desktop and search for ATI. Installing your system -> installing hardware or so in the docu ( am on windows atm or i could tell you exactly.. )

I got to say nvidia's drivers were lots easer to install ( it took me a while to get the correct one with 3d support for a radeon 9250 - the 9800 was pretty quick installed ).

This basically is what you are looking for:
https://help.ubuntu.com/community/RadeonDriver

Cheers, Thalius
"In 3D there is never enough Time to do Things right,
but there's always enough Time to make them *look* right."
"psssst! i steal signatures... don't tell anyone! ;)"
Inf0Byt3
PureBasic Fanatic
PureBasic Fanatic
Posts: 2236
Joined: Fri Dec 09, 2005 12:15 pm
Location: Elbonia

Post by Inf0Byt3 »

Thanks. Well, i followed that one... But i was talking in general, it's much more slower than windows's gui... It seems that KDE is approaching to the speed of windows considerably. I now use KDE as window manager and it runs pretty smooth.
None are more hopelessly enslaved than those who falsely believe they are free. (Goethe)
Trond
Always Here
Always Here
Posts: 7446
Joined: Mon Sep 22, 2003 6:45 pm
Location: Norway

Post by Trond »

i use 6.06 here on desktop and runs smooth and fast as hell ( also the gui ).
You got anything to compare with?
Thalius
Enthusiast
Enthusiast
Posts: 711
Joined: Thu Jul 17, 2003 4:15 pm
Contact:

Post by Thalius »

As fast as my win2k =p using gnome. KDE is too bloaty for me =)

Thalius =)
"In 3D there is never enough Time to do Things right,
but there's always enough Time to make them *look* right."
"psssst! i steal signatures... don't tell anyone! ;)"
Thalius
Enthusiast
Enthusiast
Posts: 711
Joined: Thu Jul 17, 2003 4:15 pm
Contact:

Post by Thalius »

Ok, anyone .. about Hardware Accelerated Linux Desktop. Anyone still have problems ?

ATI, Nvidia etc.

Currently i am writing a lil panel + installer for the ATI drivers ( some extra hardware settings etc. ) + Dual Screen Support ( Since fireglcontrol simply isnt as powerful as the windows version *gg* ) - Gonna be my first GUI Linux Prog written in PB ( So far i ve been a console fool =P )

Infobyte: Got it running ?
btw use Ubuntu 6.06 .. instead of 10..

ps: tell me what driver you have runnign actually:

Code: Select all

cat /etc/X11/xorg.conf
Tips:

Code: Select all

Section "Device"
        Identifier      "ATI Technologies, Inc. Radeon RV250 If [Radeon 9000 Pro]"
        Driver          "fglrx"
        BusID           "PCI:1:0:0"
        Option     "AGPMode" "4"
        Option      "DesktopSetup" "horizontal" # DUAL HEAD!
        Option      "OpenGLOverlay" "on"
        Option      "AllowGLXWithComposite" "true"
        Option      "CenterMode" "off"
EndSection
If theres Driver "vesa" you run completelly ass-slow unaccelerated Video and it means your card is not supported by the OpenSource Drivers ( eg. you need to install the drivers provided by manufacturer ).

If theres "ati" you run the OpenSource ATI driver ( you may also try replacing it with "radeon" if you have an ATI Radeon Card ( Supported up to rv 150 ( tested ).

If you have "nv" in there you run the Opensource Nvidia Driver.

If you have "nvidia" in there you run the Nvidia Hardware accelerated Driver.

If you have "fglrx" in there you run teh ATI Hardware Accelerated Driver.

you can edit /etc/X11/xorg.conf via :
sudo gedit /etc/X11/xorg.conf

or via bare console ( recovery )
joe /etc/X11/xorg.conf
( install paket "joe" in synaptic paket manager )

Joe newbies:
to save a file with joe just use CTRL K + CTRL X
CTRL H shows help.

If you have no picture upon boot you can boot in recovery Mode and edit your file again. To get back into X you can either use "vesa" or "ati" "nv" ( depending what card you have .. vesa should always run but is very slow ).

In recovery mode "startx" starts x for now if you prefer to edit that stuff in a GUI Editor ( gedit etc ).

to get Nvidia accelerated Desktop:
Open synaptic paket manager -> and add the paket:
nvidia-glx ( with dependencies )

if its an older Nvidia like a Riva TNT2 , Geforce 2 etc.
nvidia-glx-legacy

after installing run:

Code: Select all

sudo dpkg-reconfigure xserver-xorg

and select the driver "nvidia" - after completing your settings there
reboot your system via : sudo reboot

After rebooting you should have an Nvidia logo ( you can disable that in xorg.conf via Option ) and accelerated video. To test if you have 3d Support : glxinfo should put out something like this:

Code: Select all

name of display: :0.0
display: :0  screen: 0
direct rendering: Yes
ATI:
For ATI Cards select the paket "fglrx-control" + dependencies in Synaptic Paket Manager.
After install run

Code: Select all

sudo dpkg-reconfigure xserver-xorg
and select "fglrx" as driver.

Now reboot your system via : sudo reboot

After restart you should have Acclerated 3d support : try running :
glxgears

if its still very slow check what glxinfo puts out:
look for "Direct Rendering" if that is no you are unlucky and have an RV200 or RV250 chip for this one you will need a lil fix of teh libGL.1.2.so
which you can get here:
http://files.covertprestige.info/important/libGL.so.1.2

copy that into /usr/lib/
via:

Code: Select all

sudo cp /home/Desktop/libGL.so.1.2 /usr/lib/
(provided you downloaded it to desktop...

after this you may use CTRL + ALT + Entf to restart X and you should have 3D Acceleration under X.

if not or you get a hang - try rebooting ( to load new libs and reinitialize 3d hardware )

fireglcontrol - should output your cards name etc now if the driver runs correctly.

For a lil benchmark comparison you can use glxgears via:

Code: Select all

glxgears -iacknowledgethatthistoolisnotabenchmark
an accelerated Linux desktop is suddenly anotehr portion of fun ... =p
like zero cpu load for any graphical stuff suddenly. And blazing fast GUI.

Now all we need is PB4 for Linux <3 ... ;)

Cheers, Thalius
"In 3D there is never enough Time to do Things right,
but there's always enough Time to make them *look* right."
"psssst! i steal signatures... don't tell anyone! ;)"
MadMax
Enthusiast
Enthusiast
Posts: 237
Joined: Mon Oct 06, 2003 11:56 am

Post by MadMax »

I have an athlon 1Ghz 512RAM and use KDE, never noticed slow resize, even with eye-candy at maximun it's perfectly useable.

The memory usage is different in linux. Windows tends to use the HD while linux will use the RAM first. In my experience Linux might be slightly slower than windows on a freshly started session, but seems to liberate memory better, after a few hours Windows begins to get slow and you get less and less available RAM. While linux goes on for months whithout the need to reset; at least when I check after weeks of use without reseting the memory usage is very similar. In my experience some PC have trouble running linux because some of their components have specifically beeen designed for windows and linux drivers are not available or not very good. Strangely sometimes it works the other way round my DVD-burner that came with a Windows compatible logo, drivers and special software doesn't work very well on windows, while on linux it's great, fast and yet has to fail burning anything.

Hopefuly as more people start using linux, there will be fewer and fewer problems of this kind. On the other hand maybe we are a bit unfair with our Operating Systems when we blame them for not working as expected, my guess is that the software we install or run can be badly coded and create most of the trouble we have.
Post Reply