XUBUNTU

Saturday, September 22, 2007

More speed Radeon 7000 DRI

If you wish to get more speed from your Radeon 7000 In Linux (Slackware or Ubuntu) --- Follow these steps (Originall from Ubuntu forums - Slackware tips figured out by me)

UBUNTU --

Starting with a basic Dapper install download the latest radeon snapshot from here:
http://dri.freedesktop.org/snapshots/
Extract to a folder in your home directory, eg: /home/???/radeon-20060403-linux.386/

Open synaptec package manager and enable the universe repository and install:

Linux Kernel Headers
linux-headers-x86
make
gcc
driconf

(For SLACKWARE instead of this what you want to do - if you already have your kernel headers and GCC - is head to http://www.slacky.eu/repository/slackware-12.0/system/driconf/0.9.1/ --- And get the driconf - TGZ package -- install it with 'installpkg packname.tgz' you must be root to run installpkg. - after that drop to consold and type 'driconf' you should see the program run in X.)

Open up a terminal and cd to the radeon directory above. Then run sudo ./install.sh
If all goes well type:
sudo gedit /etc/X11/xorg.conf and change the Device section to look like the following:

Section "Device"
Identifier "Radeon"
Driver "radeon"
BusID "PCI:1:0:0"
Option "AGPMode" "4"
Option "AGPFastWrite" "true"
Option "EnablePageFlip" "True"
Option "UseInternalAGPGART" "no"
Option "backingstore" "true"
Option "AllowGLXWithComposite" "true"
Option "RenderAccel" "true"
EndSection


Ensure that you use the same identifier in the screen section if you change it in this section, leave it be is probably best.

Save and exit.

Now run driconf. Do not run this as sudo, some user space applications will not pickup the changes if you do. In my case google earth would not run properly until I ran it as a regular user. (had to sudo rm .drirc before running as a regular user after I had run it as root.)

Change the TCL mode to "Use Software TCL Pipeline" and Use HyperZ to Yes. Save and quit.

Reboot and run glxgears -printfps. Mine went up from around 250fps to 850fps and I nolonger have funny artifacts all over preventing me from using Google Earth.

Wednesday, September 12, 2007

Radeon 7000 better settings

Section "Device"
Identifier "Radeon"
Driver "radeon"
Option "AGPMode" "2"
Option "ColorTiling" "on"
Option "AccelMethod" "XAA"
Option "EnablePageFlip" "on"
Option "XAANoOffScreenPixMaps"
Option "RenderAccel" "true"
BusID "PCI:1:0:0"

These are from my experience the best setting possible in Linux if you are using a radeon card which cannot use the binaries from ATI.

Fast 3D and great 2D performance.

Monday, July 02, 2007

How to install XORG on Debian Etch, from console.

type in the command
apt-get update
>
type in
apt-get install xserver-xorg-core xorg
>
apt-get install gdm
apt-get install gnome

And away you go. Before you say 'wait, Debian is not Ubuntu!' Well your half right, yes it's not
pure Ubuntu - but Ubuntu is based on Debian. ;)

I decided to go with a pure Debian install because that way I could get rid of the extra
"fat" I saw on Ubuntu. That's not to say that Ubuntu is bloated, but I have 10 gigs on my Linux machine..
I need to save every precious meg.

Saturday, October 14, 2006

October is here Ubuntu Edgy should be out soon!

Well I have been using Ubuntu for a few months now and have no intentions on switching to anything else, it does everything I want .. granted there was a little tinkering to do -- but I guess that is all part of the fun hehe.

Anyways my one problem with Xubuntu, is when you are switching console to console or from X to console.. I do not know if it is only me that this happens to but the screen freezes up for a few seconds.. it just goes black and does not come back on for about a minute...


So yeah I hope they fix this problem in Edgy.. unless of course its something to do with my video card, which may be the case, I am not blaming anyone.. it is not really a problem simply a nuissance... because sometimes it does it, other times it switches perfectly...

Any who,,, EDGY ! :d

Sunday, September 10, 2006

RADEON 7000 Ubuntu

Now that you have your Radeon working with the "radeon" driver set in Xorg, it is time to add a little bit of power to the card you may check if hardware rendering is turned on by glxinfo | grep "direct rendering"

If that is all good, the next thing you want to do is sudo, and open your /etc/X11/xorg.conf file and add these...

Section "Device"
Identifier "ATI Technologies, Inc. M9+ 5C63 [Radeon Mobility 9000 (AGP)]"
Driver "radeon"
Option "AGPFastWrite" "yes"
Option "AGPMode" "4"
Option "EnablePageFlip" "on"
Option "ColorTiling" "on"
BusID "PCI:1:0:0"
EndSection

Your card will perform much much better after you restart your Xserver, well perhaps not that much better in 2d but you will see a drastic improvement when it comes to games.

Wednesday, August 16, 2006

RESTART ALSA

/etc/init.d/alsa-utils restart <-- this is how you can restart your ALSA.

-------NOTE
If you are having problems with your ESS 1869 sound card with UBUNTU, do this.

first we want to test the to make sure it's gonna work before we it permanent:

open a terminal window and get ready to type!!!
start a "root" terminal session:

# sudo -s

Enter yor password then type the following to create then jump to a new directory:

# mkdir /etc/modprobe.d/soundcard
# cd /etc/modprobe.d/soundcard

Now create a new file called snd-es18xx and edit it:

# gedit snd-es18xx

Add the following to the newly created file:

alias sound-slot-0 snd-card-0
alias snd-card-0 snd-es18xx
options snd-es18xx enable=1 isapnp=0 port=0x220 mpu_port=0x388 fm_port=0x330 irq=5 dma1=1 dma2=0

NOTE: if you are unsure of your soundcards setting they should be listed in your bios!

Save and exit the file.

ok... let's test it! Type:

# modprobe snd-es18xx
# /etc/init.d/alsa-utils -restart

Now open your volume control - if you have the gui loaded double click the little speaker beside the time.

It should open now (if there was no sound device loaded it would spit out an error).

ok... play a wav or something. Got sound?... if so Great!(don't go anywhere)... if not don't worry. On the volume control make sure you are not muted(default). Still no sound? ok lets try the OSS driver.

On the Volume Control goto File then Change Device and choose Ess AudioDrive ES1869 (OSS Mixer)

make sure it's not muted and turn the volume up. Now you should have sound.

If you reboot your system now the module we added will no longer be loaded with the kernel and you will have no sound. To make it permanent type:

# gedit /etc/modules

Add the following string to the end of the file:

snd-es18xx

Save and Exit... reboot your system and you will have sound!

Hope this works. Worked for me.

CONVERT FLV TO MPEG WITH FFMPEG

How to convert FLV files to Mpeg with FFMPEG.

ffmpeg -i filename.flv -ab 56 -ar 22050 -b 500 -s 320x240 output.mpg

Tuesday, August 15, 2006

XFCE MENU STOPS

If your XUbuntu menu stops to respond when you login to your Ubuntu desktop you must delete ~./config/xfce/desktop/menu.xml

When you are done that press "ctrl-alt-backspace", to reload your X server, the menu should work properly afterwards, it will rebuild itself and you will not lose any links to your applications.