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)
-   -   Installing Beryl On An Ubuntu Feisty Fawn Desktop With An ATI Radeon Graphic Card (http://www.howtoforge.com/forums/showthread.php?t=12150)

skyshock21 18th April 2007 06:11

Installing Beryl On An Ubuntu Feisty Fawn Desktop With An ATI Radeon Graphic Card
 
Sorry direct rendering doesn't work as was explained in Step 1 of the How-To. I've followed the first step to a TEE. I had it working in Edgy Eft no problem. When I upgraded to Feisty, direct rendering broke (surprise surprise).

I use a Radeon 9000. Here's my xorg.conf

Code:

# /etc/X11/xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the xorg.conf(5) manual page.
# (Type "man xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
#  sudo dpkg-reconfigure -phigh xserver-xorg

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        "bitmap"
        Load        "ddc"
        Load        "dri"
        Load        "extmod"
        Load        "freetype"
        Load        "glx"
        Load        "int10"
        Load        "vbe"
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"
        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        "Radeon 9000"
        Driver                "radeon"
        BusID                "PCI:1:0:0"
        #Option                "UseFBDev"                "true"
        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"
        HorizSync        30-75
        VertRefresh        50-85
EndSection

Section "Screen"
        Identifier        "Default Screen"
        Device                "Radeon 9000"
        Monitor                "Generic Monitor"
        DefaultDepth        16
        SubSection "Display"
                Depth                1
                Modes                "1600x1200" "1440x900" "1400x1050" "1280x1024" "1280x960" "1280x854" "1280x800" "1280x768" "1200x800" "1152x864" "1152x768" "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth                4
                Modes                "1600x1200" "1440x900" "1400x1050" "1280x1024" "1280x960" "1280x854" "1280x800" "1280x768" "1200x800" "1152x864" "1152x768" "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth                8
                Modes                "1600x1200" "1440x900" "1400x1050" "1280x1024" "1280x960" "1280x854" "1280x800" "1280x768" "1200x800" "1152x864" "1152x768" "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth                15
                Modes                "1600x1200" "1440x900" "1400x1050" "1280x1024" "1280x960" "1280x854" "1280x800" "1280x768" "1200x800" "1152x864" "1152x768" "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth                16
                Modes                "1600x1200" "1440x900" "1400x1050" "1280x1024" "1280x960" "1280x854" "1280x800" "1280x768" "1200x800" "1152x864" "1152x768" "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth                24
                Modes                "1600x1200" "1440x900" "1400x1050" "1280x1024" "1280x960" "1280x854" "1280x800" "1280x768" "1200x800" "1152x864" "1152x768" "1024x768" "800x600" "640x480"
        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"
EndSection

Section "DRI"
        Mode        0666
EndSection

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

Code:

$ glxinfo | grep direct
direct rendering: No
OpenGL renderer string: Mesa GLX Indirect

Any clues?

falko 19th April 2007 14:26

As far as I can see, the line
Code:

Load "dbe"
is missing in the Module section.

skyshock21 22nd April 2007 03:58

Quote:

Originally Posted by falko
As far as I can see, the line
Code:

Load "dbe"
is missing in the Module section.

I added that line in the Module section, but it made no difference when I restarted X.

Here's the current config:

Code:

# /etc/X11/xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the xorg.conf(5) manual page.
# (Type "man xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
#  sudo dpkg-reconfigure -phigh xserver-xorg

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"
        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 RV250 If [Radeon 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        "SyncMaster"
        Option                "DPMS"
EndSection

Section "Screen"
        Identifier        "Default Screen"
        Device                "ATI Technologies Inc Radeon RV250 If [Radeon 9000]"
        Monitor                "SyncMaster"
        DefaultDepth        24
        SubSection "Display"
                Depth                1
                Modes                "1280x1024" "1152x864" "1024x768" "832x624" "800x600" "720x400" "640x480"
        EndSubSection
        SubSection "Display"
                Depth                4
                Modes                "1280x1024" "1152x864" "1024x768" "832x624" "800x600" "720x400" "640x480"
        EndSubSection
        SubSection "Display"
                Depth                8
                Modes                "1280x1024" "1152x864" "1024x768" "832x624" "800x600" "720x400" "640x480"
        EndSubSection
        SubSection "Display"
                Depth                15
                Modes                "1280x1024" "1152x864" "1024x768" "832x624" "800x600" "720x400" "640x480"
        EndSubSection
        SubSection "Display"
                Depth                16
                Modes                "1280x1024" "1152x864" "1024x768" "832x624" "800x600" "720x400" "640x480"
        EndSubSection
        SubSection "Display"
                Depth                24
                Modes                "1280x1024" "1152x864" "1024x768" "832x624" "800x600" "720x400" "640x480"
        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"
EndSection

Section "DRI"
        Mode        0666
EndSection

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

Code:

$ glxinfo | grep direct
direct rendering: No
OpenGL renderer string: Mesa GLX Indirect

:confused:

falko 23rd April 2007 18:08

What's the output of
Code:

lspci
?

skyshock21 24th April 2007 09:21

Quote:

Originally Posted by falko
What's the output of
Code:

lspci
?


Code:

$ lspci
00:00.0 Host bridge: Intel Corporation 82875P/E7210 Memory Controller Hub (rev 02)
00:01.0 PCI bridge: Intel Corporation 82875P Processor to AGP Controller (rev 02)
00:03.0 PCI bridge: Intel Corporation 82875P/E7210 Processor to PCI to CSA Bridge (rev 02)
00:1d.0 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #1 (rev 02)
00:1d.1 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #2 (rev 02)
00:1d.2 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #3 (rev 02)
00:1d.3 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #4 (rev 02)
00:1d.7 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB2 EHCI Controller (rev 02)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev c2)
00:1f.0 ISA bridge: Intel Corporation 82801EB/ER (ICH5/ICH5R) LPC Interface Bridge (rev 02)
00:1f.1 IDE interface: Intel Corporation 82801EB/ER (ICH5/ICH5R) IDE Controller (rev 02)
00:1f.2 IDE interface: Intel Corporation 82801EB (ICH5) SATA Controller (rev 02)
00:1f.3 SMBus: Intel Corporation 82801EB/ER (ICH5/ICH5R) SMBus Controller (rev 02)
00:1f.5 Multimedia audio controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) AC'97 Audio Controller (rev 02)
01:00.0 VGA compatible controller: ATI Technologies Inc Radeon RV250 If [Radeon 9000] (rev 01)
01:00.1 Display controller: ATI Technologies Inc Radeon RV250 [Radeon 9000] (Secondary) (rev 01)
02:01.0 Ethernet controller: Intel Corporation 82547EI Gigabit Ethernet Controller
03:03.0 FireWire (IEEE 1394): VIA Technologies, Inc. IEEE 1394 Host Controller (rev 80)
03:04.0 RAID bus controller: Promise Technology, Inc. PDC20378 (FastTrak 378/SATA 378) (rev 02)
03:0a.0 Multimedia audio controller: Creative Labs SB Audigy (rev 04)
03:0a.1 Input device controller: Creative Labs SB Audigy Game Port (rev 04)
03:0a.2 FireWire (IEEE 1394): Creative Labs SB Audigy FireWire Port (rev 04)
03:0c.0 Ethernet controller: Atheros Communications, Inc. AR5212 802.11abg NIC (rev 01)

It looks as though it's picking up the Radeon 9000 okay... ? :confused:

falko 25th April 2007 14:19

Looks ok. Are you sure that you followed the tutorial as close as possible? Maybe you made a typo somewhere?

skyshock21 26th April 2007 03:31

Quote:

Originally Posted by falko
Looks ok. Are you sure that you followed the tutorial as close as possible? Maybe you made a typo somewhere?

I basically copied/pasted everything additional you need into xorg.conf that was in the tutorial. There has to be something either myself or the tutorial is missing. Is there a way to contact the author(s) of the tutorial? Maybe it's possible they left something out?

If indeed it's a typo on my end, shouldn't there be some sort of log I could check to see why hardware acceleration isn't working?

skyshock21 26th April 2007 04:44

OOps! Sorry I didn't realize you were the author Falko. :p It's been a long week. At any rate there has to be something logged somewhere... do you have anything like this in Dmesg...?

Code:

$ dmesg | grep -i error
[  58.426325] [drm:radeon_cp_init] *ERROR* radeon_cp_init called without lock held
[  58.426481] [drm:drm_unlock] *ERROR* Process 5019 using kernel context 0
[  193.053089] [drm:radeon_cp_init] *ERROR* radeon_cp_init called without lock held
[  193.053244] [drm:drm_unlock] *ERROR* Process 5711 using kernel context 0
[ 5748.405127] [drm:radeon_cp_init] *ERROR* radeon_cp_init called without lock held
[ 5748.405282] [drm:drm_unlock] *ERROR* Process 10278 using kernel context 0
[152491.837807] [drm:radeon_cp_init] *ERROR* radeon_cp_init called without lock held
[152491.837966] [drm:drm_unlock] *ERROR* Process 9100 using kernel context 0


falko 26th April 2007 21:21

That's strange. Are you sure the correct driver is installed (and fglrx is not installed)?

skyshock21 27th April 2007 04:55

Quote:

Originally Posted by falko
That's strange. Are you sure the correct driver is installed (and fglrx is not installed)?

Code:

$ sudo modprobe -r fglrx
Password:
$ glxinfo | grep vendor
server glx vendor string: SGI
client glx vendor string: SGI
OpenGL vendor string: Mesa project: www.mesa3d.org
$ lsmod | grep radeon
radeon                124576  0
drm                    81044  1 radeon

Pretty sure. ;) Actually I've had such awful experiences using fglrx that pretty much the first thing I do on a new system with a Radeon is remove that driver and install the open source ATI driver.


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

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