Insane Tweaking for Speedfreaks (Geforce2 MX/MX 400)

Hello,
I just installed 64studio on my desktop computer.
Installed nvidia-glx-legacy-96xx, nvidia-kernel-common, nvidia-kernel-legacy-96xx-2.6.21-1-multimedia-486 and changed Driver "nv" to Driver "nvidia" in my /etc/X11/xorg.conf file.
But I am still suspicious if nvidia driver is used properly. Can I find out this somehow?
Thanks for help.

Did your system boot normally?

Can you see everything you need to see?

If you changed the driver to nvidia, and it did not start you would have seen the warning message that X could not start... easy as that.

Doing graphics adaptor intensive stuff should be much quicker now.

yes

Everything is like before installing... but I have a feeling that graphic performance is a little bit smaller than I've expect.
So I would like to know if my graphic is running on vesa driver or nvidia driver.

Here is part of output from terminal after dmesg command:

vesafb: framebuffer at 0xe8000000, mapped to 0xf8880000, using 6144k, total 32768k
vesafb: mode is 1024x768x16, linelength=2048, pages=0
vesafb: protected mode interface info at c000:c210
vesafb: pmi: set display start = c00cc255, set palette = c00cc2da
vesafb: pmi: ports = b4c3 b503 ba03 c003 c103 c403 c503 c603 c703 c803 c903 cc03 ce03 cf03 d003 d103 d203 d303 d403 d503 da03 ff03
vesafb: scrolling: redraw
vesafb: Truecolor: size=0:5:6:5, shift=0:11:5:0

mirami
Asus M6Va,CPU 2GHz, RAM 2GB, 64studio 32bit 2.1 pre14

Geforce2 MX/MX 400 tweaks

You can also check how your card is performing like this.

read: /var/log/Xorg.0.log

and try:

$ grep "WW" /var/log/Xorg.0.log

This will show a list of warnings

look for errors:
e.g. non-existent font paths, resolutions and comment out or delete wrong parameters

$ su (password)

# cp /etc/X11/xorg.conf /etc/X11/xorg.conf-backup

If you ever have problems and are dropped into a terminal

# ls -la /etc/X11/

# cp /etc/X11/xorg.conf-backup /etc/X11/xorg.conf

and reboot should take you back to your default xorg.conf

TWEAKS:

# edit /etc/X11/xorg.conf (use your fav editor)

$ grep "WW" /var/log/Xorg.0.log

shows:

(ww) The directory "/usr/X11R6/lib/X11/fonts/misc" does not exist

comment out wrong parameter in xorg.conf

e.g. comment out (#)
# FontPath "/usr/X11R6/lib/X11/fonts/misc"

Reboot for changes to work.

When you have rebooted repeat

# cp /etc/X11/xorg.conf /etc/X11/xorg.conf-backup1
# cp /etc/X11/xorg.conf /etc/X11/xorg.conf-backup2

So you have the working xorg.conf to fall back on without having to start from scratch each time.
It's best to do one tweak at a time, e.g. (fonts first).
take your time, and read /var/log/Xorg.0.log well before you begin.

dave

64studio.com/faq_user

See also the last post on the 64studio.com/faq_user page.

Enable Nvidia Driver AGP FastWrite and Side Band Address

It works well on my system.

http://64studio.com/faq_user

dave

Thanks a lot Dave

I was followed your suggestions and my graphic card seem to go much better now.
Specially "fast writes" helps "SBA" is not supported on my model.
But my monitor still flicker before "log in" screen.

I have one unresolved warning in /var/log/Xorg.0.log :

(WW) NVIDIA(GPU-0): Unable to read EDID for display device CRT-0

I've found this on nvidia web sites http://www.nvidia.com/object/IO_32667.html

NVIDIA chip name: GeForce2 MX/MX 400
Device PCI ID: 0x0110

And I have this in my xorg.conf:

Section "Device"
Identifier "nVidia Corporation NV11 [GeForce2 MX/MX 400]"
Driver "nvidia"
BusID "PCI:1:0:0"

Should I try to change "BusID" to something like "PCI:1:1:0" or "PCI:0:1:1" ???

Thanks for advice

mirami
Asus M6Va,CPU 2GHz, RAM 2GB, 64studio 32bit 2.1 pre14

Geforce2 MX/MX 400 tweaks2

You're welcome, glad its getting better.

> But my monitor still flicker before "log in" screen.

This could be caused by your Monitor. >(WW) (flicker)
It could also be caused by the nvidia Logo.
If it's not already there,
add (Option "NoLogo" "True"). As below.

Driver "nvidia"
BusID "PCI:1:0:0"
Option "NoLogo" "True"

> (WW) NVIDIA(GPU-0): Unable to read EDID for display device CRT-0

CRT-0 I think is refering to your monitor.
Do you have a manual for the monitor with recommended refresh rates?

Google the lines below. Before changing any monitor settings.

google: NVIDIA(GPU-0): Unable to read EDID for display device CRT-0
google: Geforce2 MX/MX 400 option "NoDDC" "true"
google: (you're monitor name) Refresh Rates

> Should I try to change "BusID" to something like "PCI:1:1:0" or "PCI:0:1:1" ???

This refers to the graphics card being in the 1st slot.
64studio has always configured this 'fine' so leave this until we know more.
I have never had to changed this on 64studio.
I use (nvidia FX 5200)

the flicker sounds to me like the monitor.
Refresh Rates?
The system might need some time to settle down.

dave

Hello Dave

Thanks for your support

I tried this:

Driver "nvidia"
BusID "PCI:1:0:0"
Option "NoLogo" "True"

But still flickers... I tried this :

Driver "nvidia"
BusID "PCI:1:0:0"
Option "NoLogo" "True"
option "NoDDC" "true"

But after reboot I couldn't get X works so I removed this line. (Hope it should be there)

I downloaded manual for my LCD and set the horizontal and vertical frequencies in xorg.conf

But the same...

I was googling "NVIDIA(GPU-0): Unable to read EDID for display device CRT-0"
I think this means some problem in communication between monitor and graphic card.
According to this thread http://www.nvnews.net/vbulletin/showthread.php?t=93623 maybe disabling of EDID can be solution or set-up manually.

There is also some huge document from Nvidia ftp://download.nvidia.com/XFree86/Linux-x86/169.12/README/README.txt

But I have to say I need some advice here.

mirami
Asus M6Va,CPU 2GHz, RAM 2GB, 64studio 32bit 2.1 pre14

Geforce2 MX/MX 400 tweaks3

You're welcome mirami,

When you're on the desktop, is everything fine? does the flickering continue?
or is it just at the "log in" screen?

googled: monitor flicker before "log in" screen

and found this,
http://en.wikipedia.org/wiki/Flicker_(screen)

The first section shows we are on the right path.
The last section "Health Effects" is the most important part of this page.

If the flickering is only at the log in screen,
setting the computer to log straight on to your user desktop might be an option.
especially if you are the only user!

It would help if you post your monitor make and a link to the manual.

back to tweaking:
Option "RenderAccel" "true"
worked well with my old GeForce, if not just remove it again.

Driver "nvidia"
BusID "PCI:1:0:0"
Option "NoLogo" "True"
Option "RenderAccel" "true"

> disabling of EDID can be solution or set-up manually.

The word bug apears many times in the link.
If you want to try disabling EDID or set it up yourself, I will help as much as I can.
I have never tried, and more research is needed here.

NVIDIA README.txt
ftp://download.nvidia.com/XFree86/Linux-x86/169.12/README/README.txt

go to the page and select Menu > File > Save Page As README.txt in your home directory.

Then:

$ ls -l

README.txt

$ grep "EDID" README.txt
$ grep "Refresh" README.txt
$ grep "RefreshRate" README.txt
$ grep "flicker" README.txt
$ grep "xorg" README.txt
$ grep "monitor" README.txt
$ grep "Monitor" README.txt

Try other "variations" and search the file, I will do the same here.

dave

Flicker

Hello Dave,

Yes I should explain my "flicker issue" more in detail.
I happens only before "log in" screen appears.
It looks like graphic card has a problem to set-up. After logging everything seems to be ok despite freezing of all desktop which I experienced today during watching some video on youtube.
I comment out Option "RenderAccel" "true" in my xorg.conf reboot, tried watch video again for test and it freeze again.

BTW in xorg.conf "Option"-"option" and "True"-"true" it is the same or should I care about capitals?

As regards configuring EDID manually I found that this should works Option "CustomEDID" "DFP-0:/etc/X11/edid.bin"
But still I don't know where or how to get edid.bin
https://bugs.launchpad.net/ubuntu/+source/linux-restricted-modules-2.6.2...

I will continue in searching...

edit:

here is some way to get edid.bin ... not sure if it can works somehow on 64studio
http://www.edwiget.name/content/view/144/26/

and here good info for nvidia options
http://http.download.nvidia.com/XFree86/Linux-x86_64/1.0-9629/README/app...

mirami
Asus M6Va,CPU 2GHz, RAM 2GB, 64studio 32bit 2.1 pre14

re: Flicker

Hi mirami,

Option "NoLogo" "True"
Did you ever see a logo??? with or without this option?
The Logo shows at the place you mention, and if it's failing, this could explain what's causing the flicker.
My GeForce Pro used to flicker like this sometimes, I used to put it down to refresh rates.

> After logging everything seems to be ok despite freezing of all desktop which I experienced today during watching some video on youtube.
Is today the first time this has ever happened? Flash and youtube can be a pain at the best of times.
If you think this is happening because of recent changes to you xorg.conf

cp your xorg.conf now..... as it is.

Take a step back and copy your xorg.conf-backup to /etc/X11/xorg.conf

Reboot and try the video again. If the freezing still happens.
This shows that the freezing has nothing to with any recent changes.

Option "RenderAccel" "true"
Is not needed with new cards but it can work well for older cards.
you have to experiment with it to see what's best for you're system.

> "True"-"true":
I used to use "true" when I first moved to Linux, on searches I started to see "True" more and more so I tried changing over, I never noticed any difference. again see what works for you.

> EDID we are both in the dark on this one, but no doubt we will get there in the end.

did you check out
grep "word" README.txt?
It's a great way to save hours trawling through a large file.

$ grep "EDID" README.txt

I'm off to check out your two links.

I am Learning loads here.

Thanks,

dave

re: re: Flicker

Hi Dave,

1. There is no logo on screen any more during set up when option "NoLogo" "true"

2. I have fresh install of 64studio first time on this machine and this was first time I was watching video on youtube.
It was even first time I was watching video ever on this installation.

3.I checked out "grep word README.txt" It is really very good way how study large files... Thanks for great tip.
But still I am not very clever.

I continue searching... And I let you know if I'll find something what can move things forward.

PS: Please check links from my previous message.

mirami
Asus M6Va,CPU 2GHz, RAM 2GB, 64studio 32bit 2.1 pre14

graphics card performance: swappiness

Getting more power to your Graphics Card and Computer.

On linux we are talking about swappiness, and most distros default vm.swappiness=60
If you have 512MB of ram you can improve performance a lot by setting the swappiness.

$ su (password)
as root

# edit /etc/sysctl.conf (using you're fav editor)

add this line to the end of the file. reducing the size by 50%

vm.swappiness=30

Reboot:

check it out. then try

vm.swappiness=15

Reboot:

15 is a good setting for 512MB ram.

If you have 1 gig or more of ram. try

vm.swappiness=10

Reboot:

It's like finding the powerband/torque range of you're engine, use the ram you've paid for.

Still browsing links, and watching snooker.

dave

Great tweak

Thanks a lot Dave this very helped improve overall performance ...
My computer now behave much better.
I have 1 gig RAM so I set vm.swappiness=10 in the end.

mirami
Asus M6Va,CPU 2GHz, RAM 2GB, 64studio 32bit 2.1 pre14

graphics card performance: testing

Hi mirami,
graphics card performance: swappiness

This is why it is working better.

WINDOWS.
Windows creates and uses a huge swap "virtual memory" system.

You had paid £££s for ram only to see your computer use 10% of this expensive and powerfull ram, whilst all your data was written to virtual memory to be re-read for use. Reading the data twice does not work when recording/editing audio.

So we reduced the virtual memory size or if we had enough disabled it completely.
This made the computer use the ram we had bought and gave massive improvements in performance.
The secret was to find the best swap size to suit the system.
Reading the data twice is a no-brainer when we need performance.

LINUX.
On linux we are talking about swappiness, and most distros default vm.swappiness=60
If you have 512MB of ram you can improve performance a lot by setting the swappiness.

Once you have set this open a Large audio/video project to see how it runs,
Use this project as a BenchMark to keep an eye on performance.
You're main gain should be better recordings in "Ardour" as you are now using your ram to perform tasks without reading the data twice.

Raise the value of swappiness if you feel the need, use you're BenchMark project to fine tune the system.

dave.

Problem

Hi Dave,

my system froze again even I didn't watch any video had just opened several tabs in internet explorer.
It happened several times. I had to comment out #vm.swappiness=10 in sysctl.conf
Now it is running well I will watch it's behavior...

Don't know where is the problem... still graphic card?

mirami
Asus M6Va,CPU 2GHz, RAM 2GB, 64studio 32bit 2.1 pre14

BenchMark project.

Hi mirami,

> my system froze again even I didn't watch any video had just opened several tabs "in internet explorer".

If you had wrote "in iceweasel", I would have said, your web browser should not make a great difference with regard to
swappiness. "In internet explorer". Are we are talking about Wine & internet explorer?.
* With the ram you have, web browsers (any) will be using a tiny % of ram *
I dont use wine so you will have to teach me about it.

Does Wine use a large amount of System Resources?

Take a step backwards. (earlier post).
>add this line to the end of the file. reducing the size by 50%

vm.swappiness=30

50% is a huge chunk. You have to get to know you're system. Take you're time.
Use the BenchMark and "slowly" tweak until you find the sweet spot or powerband/torque range of the computer.

> Don't know where is the problem... still graphic card?

I have had my computers set with "low swappiness" for a couple of years. no problem.
One of the Biggest improvement I made was to change to a FX 5200 nvidia card.(less than £50).
One machine had a GeForce2 Pro (game card), (legacy-glx-drivers), and it used a massive amount of the system resources.
I changed a £300 card for a £50 card and my audio/studio improved instantly.

> Don't know where is the problem... still graphic card?

Have you created a BenchMark project in Ardour yet?

Import a large wav file into Ardour.
Create 5 Audio tracks to begin with, Add the same wav file one after the other.
One long track. BenchMark project.
Or if you already have a large project, this will do fine.

You can convert ogg files to wav in your terminal

$ ls -l
youroggfile.ogg

$ oggdec youroggfile.ogg

$ ls -l
youroggfile.ogg
youroggfile.wav

When the .ogg file is converted to .wav, follow the instructions above to create Ardour BenchMark project.

http://lam.fugal.net/

dave

re:BenchMark project

Hi Dave,

1.Web browser
Of course I was talking about iceweasel I meant "web browser" (any) sorry for confusing terminology.
I've tried Wine because I've wanted to use some my favourite VST, but I am not Wine expert.
As regards performance I think better is use native Linux plugins.

2.Graphic card
You think I should consider to get another graphic card? If yes which one you suggest?
My motherboard is ASUS P4C800/P4P800 with Intel 875/865 Chipset by install CD.
BTW can find it out exactly from /proc somehow?

3.BenchMark project
My Ardour BenchMark project is prepared. What is next step?

mirami
Asus M6Va,CPU 2GHz, RAM 2GB, 64studio 32bit 2.1 pre14

re:re:BenchMark project

Hi mirami,

The story about the graphics card was to let you see how hardware can hog you're computer without you realizing.
The links we have been browsing repeats 'bugs' many times in the same sentence as nvidia-glx-legacy.
I don't know which is the best card. I will help you find out.
64studio offers nvidia. So that's where we should start.

A Gaming computer
B Desktop computer
C DAW: My main recording studio has no desktop background no screensavers no games no printer.
All things not used or needed are removed, less to go wrong.
It's used for music. Music has great healing powers.

BenchMark Iceweasel
test A:
in a terminal:

$ free
mem total used FREE shared buffers cached

open you're web browser (iceweasel). (home page is [about:]).

$ free
mem total used FREE shared buffers cached

iceweasel [about:] is using (1)=13676 (2)=13256 (3)=13280

Tested three times all using the [about:]home page.
close iceweasel

test B:
$ free
mem total used FREE shared buffers cached

open you're web browser (iceweasel).
http://www.nvidia.com/page/home.html

$ free
mem total used FREE shared buffers cached

iceweasel [nvidia.com]. is using (1)=39444 (2)=36724 (3)=36776
close iceweasel

test C:
$ free
mem total used FREE shared buffers cached

iceweasel (3 tabs open) [nvidia.com][64studio.com][distrowatch.com]. Is using (1)=49896

* I am still using a small % of 1 GIG. *

Iceweasel (Firefox IE and Opera) when encountering any form of java will start to gobble up memory.
The only way to release it is to close and restart it.

Check out how much memory your web browser is using. Try a page that uses java, see if you reach 100MB...

How many computers do you have?
How long has you're current install of 64studio been on the computer? years, months, or weeks?
Since the install have you made any Major upgrades/installs or changes?

Does Wine have a registry?
Does Wine use the linux swap or does it create some type of virtual memory of it's own?

I will check out the last two, and the other links from previous posts.
Also I will look at installing wine on my test pc.

One poster in one of the links has upgraded Dapper to Edgy to Feisty. "wow"

back to the snooker,

cheers,

dave

re:re:re:BenchMark project

Hi Dave,

I have two computers one PC and and one notebook both are dualboot XP/64studio my usage of this machines is somewhere between DAW and Desktop
(I need to brows internet, create some documents watch some video not for fun ,but for work.and so on)
I am not gaming at all. As regards my 64studio installations PC 3 weeks notebook 3 months. No major upgrades/installs ... both 64studio rc2

Here results from tests, have to say that my numbers differs very from yours:

test A:
Mem: total 1028424 used 405176 free 623248

test B:
Mem: total 1028424 used 430756 free 597668

test C:
Mem: total 1028424 used 437036 free 591388

As regards yours Wine questions ... I have to say that I don't know I didn't go so deeply in Wine I am quite new in Linux.
Anyway I am interested ... I will try to find out.

BTW two another freezes of my system ... :-(

Cheers

mirami
Asus M6Va,CPU 2GHz, RAM 2GB, 64studio 32bit 2.1 pre14

re:re:re:re:BenchMark project

Hi mirami,

My fault mirami I didn't explain that very well at all :( but the results still tells me a lot about you're ram...

This is what I did:
I opened a terminal and wrote down how much FREE ram I had with just the terminal open.

Then I opened my browser and wrote down how much FREE ram I had with the terminal and browser open.

I used a calculator and subtracted free2 (with browser) from free1 (just terminal).

test A: tested twice.
iceweasel [about:] is using (1)=13676 under 14MB.
iceweasel [about:] is using (2)=13567 under 14MB again.

Then repeated the same only this time with (3 tabs open).

test C:
iceweasel (3 tabs open) using (1)=49896 under 50MB

* I am still using a small % of 1 GIG. *

This is the real test. Java.
Iceweasel (Firefox IE and Opera) when encountering any form of java will start to gobble up memory.
The only way to release it is to close and restart it.

*Try a page that uses java, see if you reach 100MB...*

I'm thinking this is what is causing problems with you're browser...

Cheers,

dave

Mem test A,B,C.

Hi mirami,

m> Here results from tests, have to say that my numbers differs very from yours:

test A:
Mem: total 1028424 used 405176 free 623248
used 395MB free 608MB

test B:
Mem: total 1028424 used 430756 free 597668
used 420MB free 538MB
test C:
Mem: total 1028424 used 437036 free 591388
used 426MB free 577MB

http://egret.net/kb__mb.htm

You are using nearly 50% of your Mem when the system is idle and browsing the web?

The computer here with 1 GIG uses around 200MB, you are using double?

dave

re: Mem test A,B,C.

Hi Dave,

>You are using nearly 50% of your Mem when the system is idle and browsing the web?

Probably yes , this is fresh install without any tweaking.
I don't know how to get better results.

mirami
Asus M6Va,CPU 2GHz, RAM 2GB, 64studio 32bit 2.1 rc2 (pre14)

Mem Usage

Hi mirami

All you had tweaked was the removal of non-existent font paths?
Something was hogging your Mem.

$ free
$ free -m

Post the results of both of these.

Cheers,

dave

Mem Usage

Hi Dave,

>All you had tweaked was the removal of non-existent font paths?
exactly...

here are the results:

$ free
total used free shared buffers cached
Mem: 1028424 432924 595500 0 34604 174924
-/+ buffers/cache: 223396 805028
Swap: 1992052 0 1992052
free -m
total used free shared buffers cached
Mem: 1004 422 581 0 33 170
-/+ buffers/cache: 217 786
Swap: 1945 0 1945

mirami
Asus M6Va,CPU 2GHz, RAM 2GB, 64studio 32bit 2.1 rc2 (pre14)

Mem Usage nvidia card

Hi mirami
m> Probably yes , this is fresh install without any tweaking.

used 422MB? free 581MB

Is the "nvidia" card driver installed or is this the reading without it installed?

I have checked my computers and None of them go above 270MB and thats with a terminal emacs and iceweasel running. All use nvidia.

Checkout
$ ps aux
look down and see what is using large amounts of mem

dave.

re:Mem Usage nvidia card

Hi Dave,

d>Is the "nvidia" card driver installed or is this the reading without it installed?
I don't know what you mean... I installed these packages...nvidia-glx-legacy-96xx, nvidia-kernel-common, nvidia-kernel-legacy-96xx-2.6.21-1-multimedia-486 and changed Driver "nv" to Driver "nvidia" in my /etc/X11/xorg.conf file.

Here is output for ps -aux (processes with highest Memory usage ...others not going above 1%)

USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
mira 4560 18.6 9.2 193212 95604 ? Sl 13:14 56:56 /usr/lib/iceweasel/firefox-bin -a firefox
root 4036 3.4 4.6 52980 47764 tty7 SLs+ 13:13 10:29 /usr/bin/X :0 -dpi 96 -audit 0 -auth /var/lib/gdm/:0.Xauth -nolisten tcp vt7
mira 4462 0.0 1.4 24660 14608 ? Ss 13:13 0:03 gnome-panel --sm-client-id default1
mira 4465 0.0 1.7 65712 17964 ? Ss 13:13 0:01 nautilus --no-default-window --sm-client-id default2
mira 4488 0.0 1.2 22776 13004 ? S 13:13 0:08 /usr/lib/gnome-panel/wnck-applet --oaf-activate-iid=OAFIID:GNOME_Wncklet_Factory --oaf-ior-fd=21
mira 4493 0.0 1.5 25328 16032 ? S 13:13 0:01 /usr/lib/gnome-applets/gnome-keyboard-applet --oaf-activate-iid=OAFIID:GNOME_KeyboardApplet_Factory --oaf-ior-fd=22

edit:
one tweak I forgot ... vm.swappiness=30

mirami
Asus M6Va,CPU 2GHz, RAM 2GB, 64studio 32bit 2.1 rc2 (pre14)

re:re:Mem Usage nvidia card

Hi mirami

m> Probably yes , this is fresh install without any tweaking.
I misread this as a new install today...sorry.
While I check out these stats....
Check these out.

go to Menu > Administration > Services >
and disable any you dont use. This will improve memory usage and security.
e.g. atd ssh festival bluetooth (make sure you don't use them).

Software:

$ dpkg --get-selections > software1
and again
$ dpkg --get-selections > software2

This will create 2 files in your home directory
software1
software2
These list the software installed, leave software1 alone.

# grep "cups" software2
# grep "blue" software2
# grep "bluetooth" software2
etc.,etc., only you know what is not needed.

# apt-get remove --purge (not needed software)

Watch very carefully for shared libs and others apt might try to remove.
This method will also keep a .bash_history of the software you have removed.

$ dpkg --get-selections > software2
again will update the file minus the software removed.

back soon, checking out stats and browsing Geforce2 MX/MX 400 for memory hogging.

dave.

Tweaks

Hi Dave,

I have been out for while....

thanks a lot for your help. I followed your suggestion and I have minus 150MB used memory now... very good.

# fre -m total used free
Mem: 1004 278 726

I disable "fast writes" and remove bluetooth and wifi software which I will not need on my PC.
Also I disable some services which I will not need there I was very careful because my low experience.

I will continue carefully with this a little.

Cheers

edit: what do you think ... should I also disable Option "RenderAccel" "true" from my xorg.conf???

mirami
Asus M6Va,CPU 2GHz, RAM 2GB, 64studio 32bit 2.1 rc2 (pre14)

Revise Tweaks

hi mirami,
Revise Tweaks;

removal of non-existent font paths

vm.swappiness=30 (to be tested)...ok for now...

Specially "fast writes" helps "SBA" is not supported on my model.

edit /etc/modprobe.d/nvidia-kernel-nkc

#options nvidia NVreg_EnableAGPSBA=1 (not supported)
options nvidia NVreg_EnableAGPFW=1 (to be tested)

Option "RenderAccel" "true" ;;; xorg.conf (to be tested)

cat /proc/driver/nvidia/agp/card
cat /proc/driver/nvidia/agp/status
lsmod | grep nvidia
ls -l /dev/nvidia*
cat /proc/driver/nvidia/registry

#.....total.............used.......free
Mem: 1004 used 422 free 581
Mem: 1004 used 278 free 726

dave

Re: Revise Tweaks

Hi Dave,

Revise Tweaks;

removal of non-existent font paths

vm.swappiness=30 (to be tested)...ok for now...

Specially "fast writes" helps "SBA" is not supported on my model.

edit /etc/modprobe.d/nvidia-kernel-nkc

#options nvidia NVreg_EnableAGPSBA=1 (not supported)
#options nvidia NVreg_EnableAGPFW=1 (disabled)

Option "RenderAccel" "true" ;;; xorg.conf (to be tested)

cat /proc/driver/nvidia/agp/card

Fast Writes: Supported
SBA: Not Supported
AGP Rates: 4x 2x 1x
Registers: 0x1f000017:0x1f000104

cat /proc/driver/nvidia/agp/status

Status: Enabled
Driver: AGPGART
AGP Rate: 4x
Fast Writes: Disabled
SBA: Disabled

lsmod | grep nvidia

nvidia 4714292 22
agpgart 33364 2 nvidia,intel_agp
i2c_core 22400 2 nvidia,i2c_i801

ls -l /dev/nvidia*

crw-rw-rw- 1 root root 195, 0 2008-05-05 00:50 /dev/nvidia0
crw-rw-rw- 1 root root 195, 255 2008-05-05 00:50 /dev/nvidiactl

cat /proc/driver/nvidia/registry

VideoMemoryTypeOverride: 1
EnableVia4x: 0
EnableALiAGP: 0
NvAGP: 3
ReqAGPRate: 15
EnableAGPSBA: 0
EnableAGPFW: 0
SoftEDIDs: 1
Mobile: 4294967295
ResmanDebugLevel: 4294967295
FlatPanelMode: 0
DevicesConnected: 0
RmLogonRC: 1
VbiosFromROM: 0
ModifyDeviceFiles: 1
DeviceFileUID: 0
DeviceFileGID: 0
DeviceFileMode: 438
RemapLimit: 0
UseCPA: 4294967295
DetectPrimaryVga: 1
SaveVBios: 0
EnableBrightnessControl: 0
PanelPWMFrequency: 1018
PanelBrightnessLimits: 65280
RMEdgeIntrCheck: 1

#.....total.............used.......free
Mem: 1004 used 422 free 581
Mem: 1004 used 278 free 726

edit:
I forgot that I set up this "AGP Rate: 4x" for nvidia card

mirami
Asus M6Va,CPU 2GHz, RAM 2GB, 64studio 32bit 2.1 rc2 (pre14)

Removing Services: Debian

Hi mirami,
Hope you're well,

#.....total.............used.......free
Mem: 1004 used 422 free 581
Mem: 1004 used 278 free 726

This is another method to improve memory, security and boot up time.

"WARNING".....Do Not Remove these, If you don't know what they are for.
This is a "GUIDE" Laptops and Desktop computers require different services.
...be careful here!...you can break your install...beyond repair...
$ su
# cd /etc/init.d/
# ls -a
you will now see the services.

# update-rc.d -f (SERVICE-NAME) remove

For example to stop anacron service you can type command as follows:

# update-rc.d -f anacron remove

check these out first, double check (google) service-name to sure.

http://fedoranews.org/mediawiki/index.php/Which_Services_Can_I_Disable%3...

http://www.debuntu.org/how-to-manage-services-with-update-rc.d

dave.

re: Removing Services: Debian

Hi Dave,

I am quite fine, hope same there ..
Thanks for your post... I'm learning a lot from this.
I removed several services:

#.........total.........used.......free
Mem: 1004 used 422 free 581
Mem: 1004 used 278 free 726

now I have just after reboot this:

#.........total.........used.......free
Mem: 1004 used 233 free 770

There are still some I hesitate.

exim4, icecast2, icecast-server, sudo-ldap, wpa-ifupdown, urandom

Cheers

mirami
Asus M6Va,CPU 2GHz, RAM 2GB, 64studio 32bit 2.1 rc2 (pre14)

re:re: Removing Services: Debian

Hi mirami,
Thanks to you also, we're both learning, and you're doing great!...
Keep taking you're time, and if you're not sure don't remove.

m> exim4, icecast2, icecast-server, sudo-ldap, wpa-ifupdown, urandom

su (password)
# apt-cache search exim4
# apt-cache show exim4
# apt-cache search icecast2
# apt-cache show icecast2
# apt-cache search sudo-ldap
# apt-cache show sudo-ldap

# history | grep -i cache
# history | grep -i update-rc.d
# exit
$ history | grep -i cp
$ history | grep -i grep
$ history | grep -i software2
$ !history number (exclamation mark + history number) re-runs the command.

#.........total.........used.......free
Mem: 1004 used 422 free 581
Mem: 1004 used 278 free 726
Mem: 1004 used 233 free 770

dave.

re:re:re: Removing Services: Debian

Hi Dave,

very nice lesson... :-) CLI is amazing. Still surprise me... starting understand why people love it.
I didn't removed any other services.

#.........total.........used.......free
Mem: 1004 used 422 free 581
Mem: 1004 used 278 free 726
Mem: 1004 used 233 free 770

Cheers

mirami
Asus M6Va,CPU 2GHz, RAM 2GB, 64studio 32bit 2.1 rc2 (pre14)

Having Fun. Housekeeping

Hi mirami,

You Gotta Love the CLI

Type or copy and paste this into a terminal:

$ find . -type f -exec ls -s {} \; | sort -n -r | head -50 | cat -n | tee /tmp/bigfile.list

Shows the 50 largest files in your home directory.(by size).

$ nautilus .thumbnails/normal/

etc.,etc.,

Do your Housekeeping, Carefully,,

run again:

$ find . -type f -exec ls -s {} \; | sort -n -r | head -50 | cat -n | tee /tmp/bigfile.list

$ find -name "*.wav"
$ find -name "*.txt"
$ find -name "*.html"
$ history | grep -i find

dave.

This topic should be renamed...

Let's call it "Insane Tweaking for Speedfreaks"

Some good info from this little exercise! Thanks for sharing your experiments

This topic should be renamed...2

"Insane Tweaking for Speedfreaks" :-)

hi Quentin,

I Hope you're well,

You're more than welcome Quentin.

Thanks for 64studio, and all your help.

64studio is rock solid and is running like a dream here.

dave

This topic should be renamed...3

Hi,

that's right we've moved a little bit... :-)

"Insane Tweaking for Speedfreaks"
It sounds good :-)

Anyway Dave, it will take months maybe years before I will be able write on the fly things like this:

find . -type f -exec ls -s {} \; | sort -n -r | head -50 | cat -n | tee /tmp/bigfile.list

No it will take years... I am sure .... very nice

I spend some time on man pages just find out how is it working.

Cheers

mirami
Asus M6Va,CPU 2GHz, RAM 2GB, 64studio 32bit 2.1 rc2 (pre14)

This topic should be renamed...To

Whatever "you" wish mirami, you started it, you asked the questions, and keep it alive with your thirst to know.

m> it will take months maybe years before I will be able write on the fly things like this:

d> On the fly
Desktop 1:
I have a terminal open, type "emacs Geforce2MXMX400 &" and copy your last post at the end.
Reading your last post I slowly build this post underneath.

Desktop 2:
Iceweasel, to research and double check. Access to my fat partition "BackUps" documents.
Safe and not on the installed partition. If a new 64studio_testing.iso is born. Its bye-bye sweet install.

My "real" 64studio is on another computer to my right playing a drumtrack.

As grandpa Simpson says "It all started back in 19 dickety". My eldest son gave me a DVD SuSE_8.2.
It was Love at first sight, I ran out and found LinuxUser & Developer magazine issue 44.
It had 2 cd's ubuntu_4.10 & DeMuDi_1.2.0. I still run JackLab and UbuntuStudio.
But 64studio is in front of me most days.

aGNUla DeMuDi was the one. Rock solid and just worked.
Free Ekanayaka "wow" I dont know how you do what you do, but please don't ever stop. Thank you.
I buy Linuxformat magazine now. LUD mag is going through a strange phase.
Daniel has just finished a four part tutorial on Ardour (lxf mag issues 102-105).
This month he writes about Dynebolic: easy audio streaming.
They are Well written, easy to follow and packed with information.

When DeMuDi passed over 64studio was born. The Forum changed and the people who posted made the transition smooth.
The posters "respect" for Quentin says everthing about this fine distro. Thank you Quentin, and keep up the good work.
It's a well oiled machine, many parts working and integrated to create the final experience.

"Insane Tweaking for Speedfreaks"

Windows2k was my intro to computers,
If you pressed (F5) as the install cd started you could choose the Standard driver and do away with acpi this meant that
you didn't share IRQ's and your perfomance was greatly improved. The first thing you did after the install was set your
virtual memory, disable the not-needed services, remove games and other bloat e.g. help files, wav,jpg,png,etc.,
You ended up with w2k = just over 1 GIG. Reboot in safe mode Defrag... Reboot and install your studio.
Lesson 1 was keep all your data off the install, the blue screen of death or the thought of it was always there.
I have to say it didn't happen very often, and I put that down to keeping the install lean.
Lesson 2 was to practice installing over and over again, I could re-install and set up my studio in a couple of hours.
I suppose I've brought some of those habits with me into linux.

Another name for the topic could be "Good Housekeeping" but I like "Insane Tweaking for Speedfreaks" better :-)

This came from a magazine.(lxf 65).

$ find . -type f -exec ls -s {} \; | sort -n -r | head -50 | cat -n | tee /tmp/bigfile.list

find.in home folder.type file.list by size.sort numerical reverse order.show 50.add line number.create file in /tmp.

m> I spend some time on man pages just find out how is it working.

Never spent a great deal of time with man pages, but I'm going to start today.

Thanks mirami.

dave

Insane Tweaking for Speedfreaks

Hi Dave,

my history is similar, but started with XP after short affair with w98.
I think I know what you are talking about... :-)
My record is 5 complete reistalation in 3 days.. :-)
And as regards linux I am on beginning ... ;-)

I've wanted to rename this topic but don't know how.
It is not possible to edit first post.. Maybe someone with more privileges ... Quentin you can?

Cheers

mirami
Asus M6Va,CPU 2GHz, RAM 2GB, 64studio 32bit 2.1 rc2 (pre14)

Editing...

I can edit everything BUT the first post of a topic... I'll ask Daniel

BackUp Again

Hi mirami,

Hope you're well,
m> 5 complete re-installs in 3 days.. :-)
Yep thats a good deal of learning going on.

If you're computer is running ok,
we will start checking this out next.
m> 3.BenchMark project
m> My Ardour BenchMark project is prepared. What is next step?

Mem: 1004 used 422 free 581
Mem: 1004 used 233 free 770
That's loads better, you've done well. you're using less than I am here.
back up you're user and root .bash_history so you have a reference for the next time you re-install.

$ cp .bash_history bu-bh-user
$ su to root
# cp /root/.bash_history bu-bh-root
# chown -R yourusername bu-bh-root
# chgrp -Rv yourusername bu-bh-root

dave

BackUp Again...2

Hi Dave,

I'm fine... Hope same there.. :-)

Mem: 1004 used 233 free 770
I have to say that got these values only just after reboot. They are a little bit worse later.

My history from bash is backuped, but it is not whole history.
Only last two days or so. Maybe I did some shortcut by accident and delete it or something like this.
But never mind , this thread is my back-up... :-)

Cheers

mirami
Asus M6Va,CPU 2GHz, RAM 2GB, 64studio 32bit 2.1 rc2 (pre14)

Ardour BenchMark project

Hi Dave,
this is a result when "Ardour BenchMark project" is running.

Mem: 1004 used 385 free 618

Cheers

mirami
Asus M6Va,CPU 2GHz, RAM 2GB, 64studio 32bit 2.1 rc2 (pre14)

Ardour BenchMark project test1

Hi mirami,

Same here I'm fine.. :-)

BackUp your BackUps, and then back them up, it's the only way to be sure ;-)

cp .bash_history bu-bh-user
cp .bash_history bu-bh-user1
cp .bash_history bu-bh-user2

Your default bu-bh-user & bu-bh-root should be left alone.

m> But never mind , this thread is my back-up... :-)

$ emacs Geforce2MXMX400 &
The (&) at the end keeps the terminal usable.
Try with your favourite editor.
Emacs creates a backup of the file as you open the file (cool). I make backups anyway ;-)

Desktop 1: top half terminal, bottom half open file.
Desktop 2: Iceweasel
OR:
Desktop 1: terminal ($ top) q to quit
Desktop 2: qjackctl
Desktop 3: Ardour

m> Mem: 1004 used 233 free 770 m>> after reboot. They are a little bit worse later.
w2k & xp:
registry:
This D Word \AlwaysUnloadDLL
created in the registry would make sure all the drivers were unloaded when you shut down a large project.
Question: How does linux deal with unloading drivers, Mem etc.,.

#.........total.........used.......free
Mem: 1004 used 422 free 581
Mem: 1004 used 278 free 726
Mem: 1004 used 233 free 770

Mem: 1004 used 385 free 618 "Ardour BenchMark project" is running. (test1).

Question: when it's 3am (England) it's 9pm (USA Chicago), what time is it where you live?

http://www.worldtimezone.com/

Cheers,
dave

Ok, the title has changed, and it moved to Tuning.

Cheers,

Better place and name... :-)

Thank you Quentin.. you can everything.. :-)

Hi Dave,
hope you are well.

& is good for what?
It create a job? I am using tabs.. Isn't it same?
Or emacs create a copy by this sign?

>Try with your favourite editor.
I am so shortly in linux that I can't to say what is my favorit editor, still looking for.
Today I've played a little with Vim it seems to be not very intuitive for first look.
Your recommendation will be probably Emacs?

>w2k & xp: registry: This D Word \AlwaysUnloadDLL
I never played with registries. It was too much for me to understand and nobody around to explain.

>Question: How does linux deal with unloading drivers, Mem etc.,.
... good question.. I noticed that after using and closing some apps memory usage stay quite high.

>Question: when it's 3am (England) it's 9pm (USA Chicago), what time is it where you live?
Here is "GMT/UTC + 01:00 hour" (Prague)

mirami
Asus M6Va,CPU 2GHz, RAM 2GB, 64studio 32bit 2.1 rc2 (pre14)

edit benchmark1

Hi mirami, thanks Quentin,

Desktop 1: right click on desktop, left click Open Terminal.
drag it to the top/left of the screen and expand it to the right so the terminal covers the top half of your screen type:
$ gedit benchmark1 &
move the file benchmark1 to the bottom/left of the screen expand it to the right so the terminal covers the bottom half of your screen
Top half of the desktop terminal, Bottom half of the desktop gedit. You will see something like this in the terminal window.
$ gedit benchmark1 &
[1] 3417
$
Your bash prompt is 'available' for use, if you type $ gedit benchmark1 without the (&), the bash prompt is not available!
Go up to the terminal and type:
$ date
$ uname -a
$ uname -r
$ df -hT
$ free -m
We now have our system info in the terminal. go to the terminal, left click hold down and select all the text. Go to the end of the gedit file and left click once to paste the text into the file. Save the file.
Back in the terminal type
$ cat benchmark1
To read the contents of the file in the terminal...
m> & is good for what?
a: By having the teminal (top of screen) with the 'prompt' available and gedit (bottom of screen), I can copy/paste between the two.
e.g. I type $ cat benchmark1 in the terminal to make sure it works. Then copy/paste the command from the teminal knowing it is safe for 'you' to use.
b: I can open as many files, run commands, search for info, grep, find, cat etc., with One terminal. Six terminals on one desktop gets messy.
c: The terminal keeps a history, and once you get used to using it I believe it is more efficient.
m> Your recommendation will be probably Emacs?
64studio uses nano, most distros have vi, so you need to know the basics of at least one of these for repair work (no gui).
You have looked at vim, once you get to know it a little, you will find you can work very quickly, its the default on many many distros.
Enable Etch in Synaptic.
$ su
# apt-get update
# apt-get install vim vim-runtime vim-doc vim-scripts exuberant-ctags
Spend some time with type:
$ vimtutor
or
# apt-get update
# apt-get install emacs emacs21 emacs21-el emacs21-common-non-dfsg info
This will get you up and running with emacs.
I use.
# apt-get update
# apt-get install emacs emacs21 emacs21-el emacs21-common-non-dfsg info emacs21-bin-common emacs21-common emacsen-common liblockfile1 xaw3dg

Some call it the Church of Emacs, I am just starting with it (2 years). You can spend "all" your time in Emacs very easily.
Only you can choose ;-)
I have both installed, no problem. Nice to compare.

linux/driver management. still browsing.

have fun,
dave

edit benchmark1

Hi Dave,

thanks for lesson... now it is more clear... my history was messed because I was used a lot of terminals open tty1, tty2 ,tty3...
>$ cp .bash_history bu-bh-user
And when I've copied ".bash_history" I've got history only from tty1 terminal.. :-)

So "&" is very useful tip.

I continue with vimtutor.. I think it is essential.

BTW on win I was used to have divided hard drive. I would like to do it in next installation of 64studio too.
Is there some way how to get my home directory to other partition?

Cheers

mirami
Asus M6Va,CPU 2GHz, RAM 2GB, 64studio 32bit 2.1 rc2 (pre14)

nano vim emacs

you're welcome mirami,

desktop1 terminal/editor. desktop2 iceweasel. copy/paste etc., between them.
? when you open vim, how do you still use tty1?

vim tutorial
http://www.apmaths.uwo.ca/~xli/vim/vim_tutorial.html

readme $ vim /etc/vim/vimrc
$ ls -a /usr/share/vim/vim70/
readme $ vim /usr/share/vim/vim70/vimrc_example.vim

todo: create backup partition, revise thread.

Bram Moolenaar
This one is worth bookmarking. 80 min long.
http://video.google.com/videoplay?docid=2538831956647446078

A mostly Lisp weblog by John Wiseman
http://www.lemonodor.com/

Cheers

dave