Posts Tagged ‘ATI’

My menuscript for a happy Ubuntu 64 bit installation

Monday, March 19th, 2007

I have been extremely busy for the last few weeks and couldn’t find time to update my blog, so apologies are in place. I am sorry, and I will add later this week several tips and tricks about BASH scripting, which might save time and effort for those of you who use if for more complicated tasks.

But alas – This post is about the things need to be done after new installation of Ubuntu Dapper (6.10) x86_64 has just been done, including, of course, links.

First – This is PentiumD 2.8GHz, Duo, on Abit IB9 Mobo (which I wasn’t too impressed with), 2x 320GB Sata2 HDDs, 2GB RAM and NVidia 7100 Dual-Head (I didn’t want ATI due to their limitations with max accelerated resolution, and the limitations it imposed on my Dual-head setup).

Initial installation as follows:

Edgy Server x86_64, created software mirror (raid1) for /boot, 2x 2GB swap spaces (one on each HDD), and LVM2 VG on mirror on the rest of the disk. Created LV for “/” (10GB XFS) and LV for “/home” (30GB Reiserfs).

During installation the Mobo didn’t recognize my IDE CD, and as the quickest remedy I have used USB-to-IDE adapter with additional CDROM which worked just fine.

Post installation I had to fix /etc/fstab to point to the correct (and now working) IDE CDROM.

To install full Ubuntu desktop, I have used “sudo aptitude ubuntu-desktop”. Sound worked out of the box.

Requirements:

– Skype

– Hebrew TTF Fonts

– mplayer

– Beryl (+XGL because of NVidia)

– Flash in Firefox

Skype:

Skype website has allowed me to download the statically compiled Skype package. It didn’t work, of course, since it was 32bit only. I have installed the following additional packages:

ia32-libs ia32-libs-gtk lib32asound2 lib32objc1 linux32 lib32ncurses5 ia32-libs-sdl

Extracted the archived Skype package, moved its contents to /usr/lib/skype and created symlink from /usr/lib/skype/skype to /usr/bin/skype

Hebrew TTF Fonts:

It was a bit more tricky. I had to get these fonts from some Windwos machine. I got them from one of my licensed desktops, and copied them (only .TTF and .ttf) to /usr/share/fonts/truetype/ttf-windows – a directory created for this purpose. I have then created a symlink for every ttf file in this directory to /var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType , which gets included in the default xorg.conf. After restarting X, it worked like a charm.

mplayer:

I have installed mplayer using the restricted and multiverse repositories. I was surprised when I was able to play movies out of the box. Maybe my common codecs are just enough… I will look into it later.

XGL:

I have installed the latest NVidia driver for amd64 from NVidia’s site, and configured Dual-Head setup per my already-existing-too-messy xorg.conf file. xorg.conf.nvidia

Followed the Beryl Wiki for Ubuntu, by the letter. Mind you – I was aiming at XGL with Gnome.

I was so delighted when it turned out to work with my Dual-Head at a total resolution of 2560×1024

Flash in Firefox:

That was to trickier one. I managed to find this guide in Ubuntu forums which was more than enough for me. I did not notice on the first attempt, however, that there are two RPM packages required, and thus failed the procedure. When I have noted it, I was able to complete the task flawlessly.

So, now I have a completely working system, per my needs and requirements. I’m very happy, and I hope I gave good pointers to others who want to use their new 64bit system in a normal manner, even when some vendors do not supply 64bit compatible binary software.

Remember the power of the open source – If it is required to work under 64bit environment it wil be ported to one, while commercial software companies tend to fall behind with new, and sometimes not too popular, propriety systems.

Xgl, ATI fglrx and Dual-Head setup

Monday, December 11th, 2006

I’ve had a problem for a long while now configuring Xgl on my Dual-Head setup, using GLX and fglrx driver. I have been using 1280×1024 on both of my screen, so my total resolution was 2560×1024. When using Dual-Head setup in “Wide Desktop” mode (via the option Option “DesktopSetup” “horizontal” in the Device section in /etc/X11/xorg.conf), I was unable to load Xgl. When hashing this specific option, I reverted to mirror-mode (two screens show the same content), and Xgl worked fine.

Since I’ve seen dual-head setups (screenshots on the net), I assumed that the problem was due to ATI drivers. I didn’t know how accurate I was.

It appears, based on post in this forum, that fglrx (ATI Drivers) do not function in a resolution beyond 2048. I have tried alterning the max resolution per-screen to 1024×768, and although I get huge icons now, Xgl works correctly with Beryl (version 0.1.3). I have used a combination of this excellent guide, and of a link to the new SVN Beryl binaries, available for Ubuntu here. So far, it seems to work nice, although it forces me to use low resolution at the moment. I think I will just go and buy myself a nice Dual-head capable AGP NVidia card.

Small but annoying – no XVideo for movies

Wednesday, June 28th, 2006

It means I cannot resize video. Using the x11 generic driver does not allow resize.

I’ve searched for a solution just now, and got to this web page. After some tweeks with my own config file (to remind you, it was built using ATI’s tools), I’ve got it to work correctly.

Here’s the updated config file xorg.conf.ati-dualhead.txt

Radeon 9600 Dual Display (dual-head)

Wednesday, June 21st, 2006

After much agony with my faulted NVidia Dual-head card, and the frequent hard-freeze which were part of this experience.

A new and shining ATI Radeon 9600 has entered my AGP slot, and I was ready to make it rock.

First thing first – I utterly failed to install the damn driver. ATI build their drivers for someone else. Not me. I was able (I swear I don’t remember how) to make it work, and was into setting my brand new VGA card for dual-head for my Xorg.

I’ve used aticonfig, and run the following commands to do the trick:

aticonfig –initial=dual-head –screen-layout=right

aticonfig –screen-layout=left –dtop horizontal –resolution=0,1280×1024,1024×768 –resolution=1,1280×1024,1024×768 –screen-overlap=0

It worked like charm (I’m saving you from the ugly trial and error part of it).