HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   HOWTO-Related Questions (http://www.howtoforge.com/forums/forumdisplay.php?f=2)
-   -   Not working: Installing Beryl on Feisty Fawn w/ATI Radeon Card (http://www.howtoforge.com/forums/showthread.php?t=12403)

thepossiblehuman 29th April 2007 15:59

Not working: Installing Beryl on Feisty Fawn w/ATI Radeon Card
 
I'm having a problem with this HowTo. I have the same video card specified by the author, and install of everything actually goes fine without an error. I can even start Beryl and get the little red gem in the top right of my screen. The problem is that it simply does not work. There are no 3D animations at all.

I right-click on the gem and goto "Select Windows Manager" and Metacity (Gnome Window Manager) is selected. I select Beryl, everything flickers for a second or two and then come back. I go back to "Select Windows Manager" and Metacity is still selected.

I've even tried the login where I choose Beryl at login. Beryl loads, and "Windows Manager" is even added to the load bar where it wasn't previously. Still, no 3D effects. I go to "Select Windows Manager" and still Metacity is selected. The same thing happens when I attempt to switch it Beryl again...

Any ideas? Thanks.

thepossiblehuman 29th April 2007 18:12

(Using a Radeon 9000)

Alright. It could be a problem with AIGLX because after I run now glxinfo | grep vendor, I get:

Code:

glxinfo | grep vendor
Error: unable to open display (null)

I swear that after I ran everything the first time, I got the:

server glx vendor string: SGI
client glx vendor string: SGI
OpenGL vendor string: Tungsten Graphics, Inc.


That I was supposed to. I'd imagine that this happenned after I restarted.

Thinking that I may need to uninstall I run through the "sudo apt-get remove xorg-driver-fglrx; sudo apt-get install libgl1-mesa-glx libgl1-mesa-dri" step again, to which I get:

Code:

sudo apt-get remove xorg-driver-fglrx
Reading package lists... Done
Building dependency tree     
Reading state information... Done
Package xorg-driver-fglrx is not installed, so not removed
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
root@overhand-right:~# sudo apt-get install libgl1-mesa-glx libgl1-mesa-dri
Reading package lists... Done
Building dependency tree     
Reading state information... Done
libgl1-mesa-glx is already the newest version.
libgl1-mesa-dri is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

So it definately sees the correct version is installed. Any idea on what gives?

Here is some addition info -

xorg.conf:
Code:

Section "Files"
        FontPath        "/usr/share/fonts/X11/misc"
        FontPath        "/usr/share/fonts/X11/cyrillic"
        FontPath        "/usr/share/fonts/X11/100dpi/:unscaled"
        FontPath        "/usr/share/fonts/X11/75dpi/:unscaled"
        FontPath        "/usr/share/fonts/X11/Type1"
        FontPath        "/usr/share/fonts/X11/100dpi"
        FontPath        "/usr/share/fonts/X11/75dpi"
        # path to defoma fonts
        FontPath        "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection

Section "Module"
        Load        "i2c"
        Load        "bitmap"
        Load        "ddc"
        Load        "dri"
        Load        "extmod"
        Load        "freetype"
        Load        "glx"
        Load        "int10"
        Load        "vbe"
        Load    "dbe"
EndSection

Section "InputDevice"
        Identifier        "Generic Keyboard"
        Driver                "kbd"
        Option                "CoreKeyboard"
        Option                "XkbRules"        "xorg"
        Option                "XkbModel"        "pc105"
        Option                "XkbLayout"        "us"
EndSection

Section "InputDevice"
        Identifier        "Configured Mouse"
        Driver                "mouse"
        Option                "CorePointer"
        Option                "Device"                "/dev/input/mice"
        Option                "Protocol"                "ImPS/2"
        Option                "ZAxisMapping"                "4 5"
        Option                "Emulate3Buttons"        "true"
EndSection

Section "InputDevice"
        Identifier        "Synaptics Touchpad"
        Driver                "synaptics"
        Option                "SendCoreEvents"        "true"
        Option                "Device"                "/dev/psaux"
        Option                "Protocol"                "auto-dev"
        Option                "HorizScrollDelta"        "0"
EndSection

Section "InputDevice"
        Driver                "wacom"
        Identifier        "stylus"
        Option                "Device"        "/dev/input/wacom"
        Option                "Type"                "stylus"
        Option                "ForceDevice"        "ISDV4"                # Tablet PC ONLY
EndSection

Section "InputDevice"
        Driver                "wacom"
        Identifier        "eraser"
        Option                "Device"        "/dev/input/wacom"
        Option                "Type"                "eraser"
        Option                "ForceDevice"        "ISDV4"                # Tablet PC ONLY
EndSection

Section "InputDevice"
        Driver                "wacom"
        Identifier        "cursor"
        Option                "Device"        "/dev/input/wacom"
        Option                "Type"                "cursor"
        Option                "ForceDevice"        "ISDV4"                # Tablet PC ONLY
EndSection

Section "Device"
        Identifier        "ATI Technologies Inc Radeon R250 [Mobility FireGL 9000]"
        Driver                "radeon"
        BusID                "PCI:1:0:0"
        Option          "XAANoOffscreenPixmaps"
        Option "AGPMode" "4"
        Option "AGPFastWrite" "true"
        Option "DisableGLXRootClipping" "true"
        Option "AddARGBGLXVisuals" "true"
        Option "AllowGLXWithComposite" "true"
        Option "EnablePageFlip" "true"
EndSection

Section "Monitor"
        Identifier        "Generic Monitor"
        Option                "DPMS"
EndSection

Section "Screen"
        Identifier        "Default Screen"
        Device                "ATI Technologies Inc Radeon R250 [Mobility FireGL 9000]"
        Monitor                "Generic Monitor"
        DefaultDepth        24
        SubSection "Display"
                Depth                1
                Modes                "1400x1050"
        EndSubSection
        SubSection "Display"
                Depth                4
                Modes                "1400x1050"
        EndSubSection
        SubSection "Display"
                Depth                8
                Modes                "1400x1050"
        EndSubSection
        SubSection "Display"
                Depth                15
                Modes                "1400x1050"
        EndSubSection
        SubSection "Display"
                Depth                16
                Modes                "1400x1050"
        EndSubSection
        SubSection "Display"
                Depth                24
                Modes                "1400x1050"
        EndSubSection
EndSection

Section "ServerLayout"
        Option          "AIGLX"        "true"
        Identifier        "Default Layout"
        Screen                "Default Screen"
        InputDevice        "Generic Keyboard"
        InputDevice        "Configured Mouse"
        InputDevice    "stylus"        "SendCoreEvents"
        InputDevice    "cursor"        "SendCoreEvents"
        InputDevice    "eraser"        "SendCoreEvents"
        InputDevice        "Synaptics Touchpad"
EndSection

Section "DRI"
        Mode        0666
EndSection

Section "Extensions"
        Option "Composite" "Enable"
EndSection

lspci:
Code:

~# lspci
00:00.0 Host bridge: Intel Corporation 82855PM Processor to I/O Controller (rev 03)
00:01.0 PCI bridge: Intel Corporation 82855PM Processor to AGP Controller (rev 03)
00:1d.0 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #1 (rev 01)
00:1d.1 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #2 (rev 01)
00:1d.2 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #3 (rev 01)
00:1d.7 USB Controller: Intel Corporation 82801DB/DBM (ICH4/ICH4-M) USB2 EHCI Controller (rev 01)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev 81)
00:1f.0 ISA bridge: Intel Corporation 82801DBM (ICH4-M) LPC Interface Bridge (rev 01)
00:1f.1 IDE interface: Intel Corporation 82801DBM (ICH4-M) IDE Controller (rev 01)
00:1f.5 Multimedia audio controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Audio Controller (rev 01)
00:1f.6 Modem: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Modem Controller (rev 01)
01:00.0 VGA compatible controller: ATI Technologies Inc Radeon R250 [Mobility FireGL 9000] (rev 02)
02:00.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5705M Gigabit Ethernet (rev 01)
02:01.0 CardBus bridge: O2 Micro, Inc. OZ711EC1 SmartCardBus Controller (rev 20)
02:01.1 CardBus bridge: O2 Micro, Inc. OZ711EC1 SmartCardBus Controller (rev 20)
02:03.0 Network controller: Broadcom Corporation BCM4309 802.11a/b/g (rev 03)

Code:

# lsmod | grep radeon
radeon                124576  2
drm                    81044  3 radeon

Code:

~# glxinfo | grep "direct rendering"
Error: unable to open display (null)

Now, I definately got the correct results back when I did the glxinfo | grep "direct rendering" & vendor before my restart, so something died on restart. Any help?

thepossiblehuman 29th April 2007 21:47

Alright. Bare with me here. It doesn't look like AIGLX is the problem. I think that may have been self inflicted with screwing around to get this working. :) Upon rebooting everything still seems to be in order, but Beryl still crashes and reverts to Metacity immediately:

Upon reboot:

Code:

$ glxinfo | grep vendor
server glx vendor string: SGI
client glx vendor string: SGI
OpenGL vendor string: Tungsten Graphics, Inc.

Direct Rending is enabled as well:

Code:

~$ glxinfo | grep "direct rendering"
direct rendering: Yes

Then I open Beryl Manager and select Beryl and my window manager. Same thing happens... ie flicker. When I go back in to check my Window Manager, sure enough Metacity is selected again due to Beryl crashing.

I'm not sure if this helps, but I tried to select Compiz as well. That will stay open, but everything goes to hell. I loose the top name bar of all my windows and the right side of my top menu bar and task bar disappears. When I drag the windows and they go into their 3d effects, it leaves a trail that doesn't go away. The top menu bar locks too, so I can't right-clock the red gym icon to turn it off. I have to go in through Applications > System Tools > Beryl Manager.

Any input is appreciated.

thepossiblehuman 29th April 2007 22:29

One last thing:

When I turn on the 3D Effects that come with Feisty Fawn itself, I get similar behavior that I see when I select Compiz as my Windows Manager. Title bars disappear, the right side of the top menu bar disappears, etc. Wasn't sure if that points to anything specific.

falko 30th April 2007 14:39

Are there any errors in your log files (in the /var/log/ directory)?

thepossiblehuman 1st May 2007 00:15

Nothing that jumps out at me. Any particular search string I should try? I searched everything for video and beryl. Nothing jumped out. Nothing really jumped out period even after starting Beryl and having it crash on me then checking the logs immediately. Thanks.

thepossiblehuman 1st May 2007 00:31

Just saw this when sorting by date modified in my Xorg.o.log from today:


Code:

drmOpenByBusid: drmGetBusid reports pci:0000:01:00.0
(WW) AIGLX: 3D driver claims to not support visual 0x23
(WW) AIGLX: 3D driver claims to not support visual 0x24
(WW) AIGLX: 3D driver claims to not support visual 0x25
(WW) AIGLX: 3D driver claims to not support visual 0x26
(WW) AIGLX: 3D driver claims to not support visual 0x27
(WW) AIGLX: 3D driver claims to not support visual 0x28
(WW) AIGLX: 3D driver claims to not support visual 0x29
(WW) AIGLX: 3D driver claims to not support visual 0x2a
(WW) AIGLX: 3D driver claims to not support visual 0x2b
(WW) AIGLX: 3D driver claims to not support visual 0x2c
(WW) AIGLX: 3D driver claims to not support visual 0x2d
(WW) AIGLX: 3D driver claims to not support visual 0x2e
(WW) AIGLX: 3D driver claims to not support visual 0x2f
(WW) AIGLX: 3D driver claims to not support visual 0x30
(WW) AIGLX: 3D driver claims to not support visual 0x31
(WW) AIGLX: 3D driver claims to not support visual 0x32
(II) AIGLX: Loaded and initialized /usr/lib/dri/r200_dri.so
(II) GLX: Initialized DRI GL provider for screen 0

That's the part that piqued my curiosity. Does that mean anything to you?

thepossiblehuman 1st May 2007 00:34

Here we go. This shot on my terminal session when trying to initialize Beryl:

Code:


**************************************************************
* Beryl system compatiblity check                            *
**************************************************************

Detected xserver                                : AIGLX

Checking Display :0.0 ...

Checking for XComposite extension              : passed (v0.3)
Checking for XDamage extension                  : passed
Checking for RandR extension                    : passed
Checking for XSync extension                    : passed

Checking Screen 0 ...

Checking for GLX_SGIX_fbconfig                  : passed
Checking for GLX_EXT_texture_from_pixmap        : passed
Checking for non power of two texture support  : passed
Checking maximum texture size                  : failed

Root window size (1400/1050) is bigger then maximum texture size (1024x1024)

X Error of failed request:  GLXBadContext
  Major opcode of failed request:  157 (GLX)
  Minor opcode of failed request:  4 (X_GLXDestroyContext)
  Serial number of failed request:  39
  Current serial number in output stream:  41


thepossiblehuman 1st May 2007 00:41

Well that did it:

Code:

Checking maximum texture size                  : failed

Root window size (1400/1050) is bigger then maximum texture size (1024x1024)

I set my screen resolution to 1024x768 and I'm up and running. The bad part is that this resolution is horrible and I'd certainly need a cube of desktops to get anything done. ;) Any idea on how to change my maximum texture size? I didn't see anything in Beryl Settings Manager. Thanks again!

SpiffBB 1st May 2007 11:55

Hello

I had the same problem.
The thing with texture size is that the computer grapic card runs out of memory. Therefore you can get your fullresolution but then you have to go down in depth. Therefore change depth to maximum 16 instead of 24 and go back to 1400x1050 and it will (probably) work!!!
Regards
Oscar


All times are GMT +2. The time now is 16:32.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.