LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 02-26-2007, 02:53 AM   #1
trebek
Member
 
Registered: Feb 2005
Location: Costa Rica
Distribution: Ubuntu, gOS, Debian & Slack 12
Posts: 426

Rep: Reputation: 30
Beryl kubuntu


Hello, i got kubuntu running on a toshiba laptop that has an "ATI Technologies, Inc. Radeon Mobility 9100 U3 (R200 IGP)". I've been following the following instructions to install beryl:
http://wiki.beryl-project.org/wiki/I...o_Acceleration
https://help.ubuntu.com/ubuntu/deskt.../hardware.html

Now, as a regular user, from the command 'glxinfo | grep rendering', i get:
direct rendering: No
As root, i get:
Error: unable to open display (null)

I completed the tasks there in the hardware link, with no errors displayed, restarted the machine, and i don't get that yes to appear. What's missing here? Is my machine or video card not beryl capable?
 
Old 02-26-2007, 03:25 AM   #2
b0uncer
LQ Guru
 
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
Radeon should be fine with Beryl, but getting DRI enabled is another matter. You need to make sure there is a section for DRI (which sets a correct mode) in your /etc/X11/xorg.conf, that you have correct modules loaded there, that the driver is actually in use (again the same file) and so on..there are numerous things that can prevent DRI from starting. One thing is that it won't work (with ATI cards at least) if Compiz is enabled, and it might well be enabled in Kubuntu; that means you'll have to manually disable it. I think there are a whole lot better guides/howtos on the web that I can write here, about getting DRI working with ATI cards, so go ahead and search -- they should be easy to find. The thing depends a lot on the kernel, X and distribution you use; sometimes even the best advices don't solve problems. Last time I dealt with a mobility radeon and ATI's fglrx drivers I had to install them (from the Ubuntu reposity; ATI's official installer didn't do the trick -- Ubuntu's .deb did some alterations to system config after the actual driver install that would otherwise have to be done manually to get the thing working), then manually disable Compiz, tell X to load a module that wasn't loaded by default (can't remember which, but it's in the howtos on the web, and depends on your distribution/X if it is there already), restart the machine (for some reason restarting X wasn't enough) and only then got it working. Must say that before it was at this point, I had worked on the matter for two days, first didn't get DRI working, then I did get DRI working but with MESA drivers and not ATI's fglrx...

It's complicated at the moment, I'm afraid. ATI's drivers aren't the easiest to install, or get working after they've been installed, and the whole DRI stuff -- especially when added to Beryl/other OpenGL desktops -- is a difficult piece if it doesn't work all right for some magical reason the first time. I've installed it on some machines in less than two minutes just by installing some binary packages and rebooting, and spent days with other machines tweaking X and Beryl manually to get it running. And one laptop just refused to work with it, even running 'glxinfo' resulted in X crashing.

So..good luck
 
Old 02-27-2007, 11:25 PM   #3
NobeyamaGP
Member
 
Registered: Jun 2006
Location: Bedford, IN
Distribution: Kubuntu 7.10, Arch Linux
Posts: 39

Rep: Reputation: 15
ATI's drivers don't really work well, since to use Beryl with AIGLX (which is the best option) "Composite" has to be enabled in your xorg.conf file. Only problem is, ATI's drivers don't support Comosite. I finally got the fglrx drivers to install and work, then had to remove them and use mesa's DRI driver for my card (Worked better anyhow) to get Beryl running. The only real feature the fglrx drivers had to offer that I miss is the TV-out.
 
Old 02-28-2007, 12:44 AM   #4
trebek
Member
 
Registered: Feb 2005
Location: Costa Rica
Distribution: Ubuntu, gOS, Debian & Slack 12
Posts: 426

Original Poster
Rep: Reputation: 30
That sounds really out of reach. But hey, i'll be giving it a try eventually, patiently. I'll let you guys now in detail what i do. Gotta write down and document every step i perform, that works of course, so that other people like me don't have that hard a time as i am going to. Jajajaja. LOL.

Thanks dudes, LQ rules.
 
Old 02-28-2007, 11:32 PM   #5
NobeyamaGP
Member
 
Registered: Jun 2006
Location: Bedford, IN
Distribution: Kubuntu 7.10, Arch Linux
Posts: 39

Rep: Reputation: 15
Just a word of caution in case you don't already know. Back up your xorg.conf file before making any changes at all. It'll bite you in the @$$ if you don't.
 
Old 03-02-2007, 12:37 AM   #6
trebek
Member
 
Registered: Feb 2005
Location: Costa Rica
Distribution: Ubuntu, gOS, Debian & Slack 12
Posts: 426

Original Poster
Rep: Reputation: 30
Yeah man, i know, i already did. Now, here are other steps i took to install this fglrx thing. I got everything down without problems, but when restarting the machine, it stalls instead of displaying the logon screen. The hard drive light turns off and stops blinking, and i just see a blue kubuntu logo as nothing happens.

1. Enabled the restricted repositories.
2. Disabled composite Extension:
Code:
Section "Extensions"
        Option  "Composite" "Disable"
EndSection

Section "ServerFlags"
        Option  "AIGLX" "off"
EndSection
3. Install:
Code:
sudo apt-get update
sudo apt-get install linux-restricted-modules-$(uname -r) #Okay if it is already installed
sudo apt-get install xorg-driver-fglrx
4. Configured the driver:
Change ati for fglrx in the Device Section of /etc/X11/xorg.conf
sudo aticonfig --overlay-type=Xv
5. Restarted the machine.

Here's the link!!!
http://wiki.cchtml.com/index.php/Ubu...uide#Verifying

After the restart, that's where the computer stalls.

Help me get this beryl going please!!!!! LOL ROTGL

Last edited by trebek; 03-03-2007 at 02:11 AM.
 
Old 03-17-2007, 11:59 PM   #7
trebek
Member
 
Registered: Feb 2005
Location: Costa Rica
Distribution: Ubuntu, gOS, Debian & Slack 12
Posts: 426

Original Poster
Rep: Reputation: 30
Hey there guys.

I just upgraded to feisty fawn and i got the 'direct rendering = yes' message, but i got an extra line that i don't know the meaning of it. Here's the entire message:
Code:
libGL warning: 3D driver claims to not support visual 0x4b
direct rendering: Yes
Just in case, i had to uninstall and install xserver again after the upgrade, because somehow x didn't load even when putting the original xorg.conf file. If you tell me that that line there doesn't matter, i'll take your word for it and start the latter steps to get beryl working.

Thanks in advanced for the help.
 
Old 03-19-2007, 12:22 AM   #8
NobeyamaGP
Member
 
Registered: Jun 2006
Location: Bedford, IN
Distribution: Kubuntu 7.10, Arch Linux
Posts: 39

Rep: Reputation: 15
That line doesn't matter. At least for getting beryl running. It has something to do with the Open source ati driver. I get the same thing and Beryl runs just fine. I believe it is saying that the driver does not support 32-bit color. "visual 0x4b" corresponds to this line in "glxinfo":
Code:
0x4b 32 tc  0 32  0 r  .  .  8  8  8  8  0  0  0  0  0  0  0  0 0 Ncon
which specifies 32-bit color depth. All this is saying is that the driver doesn't seem to support it. Not really a problem for this, so just use 24-bit color.
 
Old 03-20-2007, 01:36 AM   #9
trebek
Member
 
Registered: Feb 2005
Location: Costa Rica
Distribution: Ubuntu, gOS, Debian & Slack 12
Posts: 426

Original Poster
Rep: Reputation: 30
You would not believe what just happened to me, so have a look at this. I typed the following command just like the manual says, and this is the output:


:~$ sudo apt-get install beryl emerald-themes
Reading package lists... Done
Building dependency tree... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
openoffice.org-l10n-en-gb: Conflicts: openoffice.org-core (>= 2.0.3) but 2.2.0~rc3~oof680m10-0ubuntu3 is to be installed
openoffice.org-l10n-en-us: Conflicts: openoffice.org-core (>= 2.0.3) but 2.2.0~rc3~oof680m10-0ubuntu3 is to be installed
openoffice.org-l10n-en-za: Conflicts: openoffice.org-core (>= 2.0.3) but 2.2.0~rc3~oof680m10-0ubuntu3 is to be installed
E: Broken packages


What the hell does openoffice have to do with beryl??? I mean, i am just following instructions, and the first step worked fine (sudo apt-get install xserver-xgl).
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Beryl Help in Kubuntu 6.10 darkparadox Linux - Desktop 0 02-12-2007 06:36 PM
Kubuntu XGL Beryl (Small Problem) JonBrant Ubuntu 3 11-09-2006 10:17 PM
Kubuntu XGL Beryl (Small Problem) JonBrant Linux - General 1 11-09-2006 04:03 AM
Installing kubuntu on ubuntu with kubuntu CD coolblue Linux - Newbie 1 07-12-2005 01:22 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 01:13 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration