Not working: Installing Beryl on Feisty Fawn w/ATI Radeon Card

Discussion in 'HOWTO-Related Questions' started by thepossiblehuman, Apr 29, 2007.

  1. thepossiblehuman

    thepossiblehuman New Member

    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.
     
  2. thepossiblehuman

    thepossiblehuman New Member

    (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?
     
  3. thepossiblehuman

    thepossiblehuman New Member

    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.
     
  4. thepossiblehuman

    thepossiblehuman New Member

    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.
     
  5. falko

    falko Super Moderator Howtoforge Staff

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

    thepossiblehuman New Member

    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.
     
  7. thepossiblehuman

    thepossiblehuman New Member

    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?
     
  8. thepossiblehuman

    thepossiblehuman New Member

    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
    
     
  9. thepossiblehuman

    thepossiblehuman New Member

    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!
     
  10. SpiffBB

    SpiffBB New Member

    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
     
  11. thepossiblehuman

    thepossiblehuman New Member

    Aha! That makes sense. Thanks a lot.

    Scheduling won't have me near the computer until tomorrow evening, but that seems like it'd work. I'd do that in xorg right?
     
  12. SpiffBB

    SpiffBB New Member

    Yes. Change default depth from 24 to 16 and remove the line with depth 24 in xorg.conf.

    I think I will stick to compiz but unfortunatly 0.36 doesnt have "animations" in the feisty version, I hope that the repos will soon upgrade to 0.40 since its now the stable version.

    Regards
    Oscar
     
  13. thepossiblehuman

    thepossiblehuman New Member

    As expected, it works perfectly. Thanks again.

    Falko, great SOP.
     
  14. rakusson

    rakusson New Member

    I am too having the same problem. I hope i can fix with your advise. if not, i will knock again in this forum:D
     
  15. rakusson

    rakusson New Member

    thanks buddy. now it works. I hope one day ubuntu will take place of Windows.

    Ubuntu should focus more on third-world countries. Using ubuntu will eliminate the issue of software-piracy.
     
  16. ravihp

    ravihp New Member

    please help me

    here are some problems when i started to make 3d effect.By looking at these error could anyone tell me is this possible for my pc or not?

    when typed "lspci"
    it shows

    00:00.0 Host bridge: ATI Technologies Inc Radeon Xpress 200 Host Bridge (rev 01)
    00:01.0 PCI bridge: ATI Technologies Inc RS480 PCI Bridge
    00:05.0 PCI bridge: ATI Technologies Inc Unknown device 5a37
    00:1a.0 PCI bridge: ALi Corporation M5249 HTT to PCI Bridge
    00:1c.0 USB Controller: ALi Corporation USB 1.1 Controller (rev 03)
    00:1c.1 USB Controller: ALi Corporation USB 1.1 Controller (rev 03)
    00:1c.2 USB Controller: ALi Corporation USB 1.1 Controller (rev 03)
    00:1c.3 USB Controller: ALi Corporation USB 2.0 Controller (rev 01)
    00:1d.0 Audio device: ALi Corporation High Definition Audio/AC'97 Host Controller (rev 02)
    00:1e.0 ISA bridge: ALi Corporation Unknown device 1575
    00:1e.1 Bridge: ALi Corporation M7101 Power Management Controller [PMU]
    00:1f.0 IDE interface: ALi Corporation M5229 IDE (rev c8)
    00:1f.1 IDE interface: ALi Corporation ULi M5288 SATA (rev 10)
    01:05.0 VGA compatible controller: ATI Technologies Inc RC410 [Radeon Xpress 200]
    02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 01)

    still i continued...
    and one more error i had got is

    direct rendering: No

    please let me know how to proceed

    i appreciate your help
     
  17. falko

    falko Super Moderator Howtoforge Staff

    These are no error messages...

    Do you get any errors when you try to start Beryl? Any errors in your log files?
     
  18. ravihp

    ravihp New Member

    i proceeded as the instructions but in the first stage itself i got a error that should not come
    direct rendering: No

    it should have come "Yes"
    so didn't proceed .does anyone know how to get a 3d desktop in ubuntu
    please either give link or step by step commands .I wiil be so thankful to you

    ravi
     
  19. falko

    falko Super Moderator Howtoforge Staff

Share This Page