You are not logged in.

#1 2009-09-01 21:06:08

Draetheus
Member
Registered: 2009-09-01
Posts: 7

Compiz/desktop effects using open source radeonhd drivers?

Just wanted to know if it was possible to get compiz/desktop effects working with the radeonhd driver, or whether I need to use the proprietary catalyst driver.  I'm currently running KDE 4.3 on a Mobility HD 2600.  No configuration of xorg.conf seems to allow desktop effects to be enabled (I've read all of the ATI/Xorg wiki documentation).

Thanks in advance, again.

Offline

#2 2009-09-01 21:07:07

flamelab
Member
From: Athens, Hellas (Greece)
Registered: 2007-12-26
Posts: 2,160

Re: Compiz/desktop effects using open source radeonhd drivers?

In order to get 3D acceleration with an opensource driver:

1)Install libdrm-git
2)Mesa-git
3)libgl-git
4)ati-dri-git
5)xf86-video-ati-git

Offline

#3 2009-09-01 22:07:09

apollokk
Member
From: Please delete me!
Registered: 2009-03-23
Posts: 157
Website

Re: Compiz/desktop effects using open source radeonhd drivers?

@flamelab

This:

I have build the following packages:
- libdrm-git from AUR
- mesa-git from AUR (dep for glproto-git dri2proto-git)
- libgl-git from http://www.file-upload.net/download-181 … ar.gz.html
- ati-dri-r6xx-r7xx from AUR (has dependency for the kernel module)
- xf86-video-ati-git from AUR

isn't the right way?


/me wants you to detele this account... please delete it.

Offline

#4 2009-09-01 22:13:28

flamelab
Member
From: Athens, Hellas (Greece)
Registered: 2007-12-26
Posts: 2,160

Re: Compiz/desktop effects using open source radeonhd drivers?

The difference between ati-dri-git and the other one, is that "r600" has been added in configure array.
    --with-dri-drivers=radeon,r600 \

Offline

#5 2009-09-01 22:20:51

apollokk
Member
From: Please delete me!
Registered: 2009-03-23
Posts: 157
Website

Re: Compiz/desktop effects using open source radeonhd drivers?

An HD-3xxx is codenamed as r700?


/me wants you to detele this account... please delete it.

Offline

#6 2009-09-01 22:42:00

Draetheus
Member
Registered: 2009-09-01
Posts: 7

Re: Compiz/desktop effects using open source radeonhd drivers?

I'm getting a lot of issues trying to build the git packages (namely libdrm-git), so I think I may try the proprietary drivers first.  Thanks though.

Offline

#7 2009-09-01 23:12:07

flamelab
Member
From: Athens, Hellas (Greece)
Registered: 2007-12-26
Posts: 2,160

Re: Compiz/desktop effects using open source radeonhd drivers?

It would be good to post here the output of the errors.

Offline

#8 2009-09-01 23:22:15

apollokk
Member
From: Please delete me!
Registered: 2009-03-23
Posts: 157
Website

Re: Compiz/desktop effects using open source radeonhd drivers?

Can someone answer this:

apollokk wrote:

An HD-3xxx is codenamed as r700?

?


/me wants you to detele this account... please delete it.

Offline

#9 2009-09-02 01:14:09

guzz46
Member
From: New Zealand
Registered: 2009-06-18
Posts: 190

Re: Compiz/desktop effects using open source radeonhd drivers?

An HD-3xxx is codenamed as r700?

according to wikipedia http://en.wikipedia.org/wiki/Radeon_R600 its a R600

Offline

#10 2009-09-02 01:33:51

Draetheus
Member
Registered: 2009-09-01
Posts: 7

Re: Compiz/desktop effects using open source radeonhd drivers?

flamelab wrote:

It would be good to post here the output of the errors.

==> Making package: libdrm-git 20090810-1 x86_64 (Tue Sep  1 21:27:41 EDT 2009)
==> Checking Runtime Dependencies...
==> Checking Buildtime Dependencies...
==> Retrieving Sources...
==> Extracting Sources...
==> Starting build()...
==> Connecting to git.freedesktop.org GIT server....
/builds/libdrm-git/PKGBUILD: line 31: git: command not found
==> GIT checkout done or server timeout
==> Starting make...
/builds/libdrm-git/PKGBUILD: line 37: cd: /builds/libdrm-git/src/drm: No such fle or directory
/builds/libdrm-git/PKGBUILD: line 39: cd: /builds/libdrm-git/src/libdrm-git-2000810: No such file or directory
sh: autogen.sh: No such file or directory
==> ERROR: Build Failed.
    Aborting...

Offline

#11 2009-09-02 01:47:06

guzz46
Member
From: New Zealand
Registered: 2009-06-18
Posts: 190

Re: Compiz/desktop effects using open source radeonhd drivers?

do you have git installed, pacman -S git

Offline

#12 2009-09-02 01:48:40

Draetheus
Member
Registered: 2009-09-01
Posts: 7

Re: Compiz/desktop effects using open source radeonhd drivers?

My mistake, I didn't have the git package installed.  roll

Offline

#13 2009-09-02 03:58:36

Draetheus
Member
Registered: 2009-09-01
Posts: 7

Re: Compiz/desktop effects using open source radeonhd drivers?

Okay I've built and installed all of the packages.  Is there anything different I need to enable in my xorg.conf to get 3D acceleration working?  I still cannot enable desktop effects in KDE.

Offline

#14 2009-09-02 09:22:33

apollokk
Member
From: Please delete me!
Registered: 2009-03-23
Posts: 157
Website

Re: Compiz/desktop effects using open source radeonhd drivers?

Put this in your xorg.conf:

Section "Device"
    Identifier  "My Graphics Card"
    Driver      "radeon"
        Option      "DRI" "on" ## Eάν επιμένει να μην ενεργοποιείται το DRI, το βάζουμε επίτηδες.
        Option      "DynamicClocks" "on" ## Powersaving option
        Option      "AccelMethod" "EXA" ## Ενεργοποίηση του EXA rendering, για γρήγορο 2D acceleration
        Option      "EXAVSync" "on" ## Flicker-free Xv overlay accelerated Video.
        Option      "DMAForXv" "on" ## Εάν δεν ενεργοποείται το Xv, video acceleration, το βάζουμε επίτηδες.
        Option      "ScalerWidth" "2048" ## Καλό είναι να μπει για να μην υπάρχουν artifacts σε HD video.
        Option      "EnablePageFlip" "on" ## Special option για 3D δεν είναι απαραίτητη. Δείτε στο man του radeon.
        Option      "RenderAccel" "on" ## Ενεργοποιεί το acceleration για την κάρτα γραφικών εάν δεν ξεκινάει. 
        Option      "AccelDFS" "on" ## Ενεργοποιείστε ΜΟΝΟ εάν έχετε ενεργοποιήσει το EXA option.
    #BusID       "PCI:1:0:0"
EndSection

Then, open a terminal and enter:

su -
touch /etc/hal/fdi/policy/10-keymap.fdi
nano /etc/hal/fdi/policy/10-keymap.fdi

And put this:

<?xml version="1.0" encoding="ISO-8859-1"?> <!-- -*- SGML -*- -->
<deviceinfo version="0.2">
  <device>
    <match key="info.capabilities" contains="input.keymap">
      <append key="info.callouts.add" type="strlist">hal-setup-keymap</append>
    </match>

    <match key="info.capabilities" contains="input.keys">
      <merge key="input.xkb.rules" type="string">base</merge>

      <!-- If we're using Linux, we use evdev by default (falling back to
           keyboard otherwise). -->
      <merge key="input.xkb.model" type="string">keyboard</merge>
      <match key="/org/freedesktop/Hal/devices/computer:system.kernel.name"
             string="Linux">
        <merge key="input.xkb.model" type="string">evdev</merge>
      </match>

      <merge key="input.xkb.layout" type="string">us,gr</merge>
      <merge key="input.xkb.model" type="string">pc105</merge>
      </match>
  </device>
</deviceinfo>

See the "      <merge key="input.xkb.layout" type="string">us,gr</merge>" line, and change "us,gr" it with your languages, e.g. "us,fr".

Then save the file.

If you, also, have a touchpad, you should do this:

touch /etc/hal/fdi/policy/11-x11-synaptics.fdi

And put there:

<?xml version="1.0" encoding="ISO-8859-1"?>
<deviceinfo version="0.2">
  <device>
    <match key="info.capabilities" contains="input.touchpad">
      <match key="info.product" contains="Synaptics TouchPad">
        <merge key="input.x11_driver" type="string">synaptics</merge>
    <merge key="input.x11_options.MinSpeed"     type="string">0.09</merge>
    <merge key="input.x11_options.MaxSpeed"     type="string">0.18</merge>
    <merge key="input.x11_options.Emulate3Buttons"  type="string">true</merge>
        <merge key="input.x11_options.SHMConfig"        type="string">true</merge>
        <merge key="input.x11_options.AccelFactor"      type="string">0.032</merge>
        <merge key="input.x11_options.LeftEdge"         type="string">1700</merge>
        <merge key="input.x11_options.RightEdge"        type="string">5300</merge>
        <merge key="input.x11_options.TopEdge"          type="string">1700</merge>
        <merge key="input.x11_options.BottomEdge"       type="string">4200</merge>
        <merge key="input.x11_options.FingerLow"        type="string">25</merge>
        <merge key="input.x11_options.FingerHigh"       type="string">30</merge>
        <merge key="input.x11_options.MaxTapTime"       type="string">180</merge>
        <merge key="input.x11_options.MaxTapMove"       type="string">220</merge>
        <merge key="input.x11_options.HorizEdgeScroll"  type="string">true</merge>
        <merge key="input.x11_options.HorizScrollDelta" type="string">100</merge>
        <merge key="input.x11_options.VertEdgeScroll"   type="string">true</merge>
        <merge key="input.x11_options.VertScrollDelta"  type="string">100</merge>
        <!-- Restore old synaptics driver defaults removed by Fedora/RH patch -->
        <merge key="input.x11_options.RTCornerButton"   type="string">2</merge>
        <merge key="input.x11_options.RBCornerButton"   type="string">3</merge>
        <merge key="input.x11_options.TapButton1"       type="string">1</merge>
        <merge key="input.x11_options.TapButton2"       type="string">2</merge>
        <merge key="input.x11_options.TapButton3"       type="string">3</merge>
      <!-- Arbitrary options can be passed to the driver using 
         the input.x11_options property since xorg-server-1.5. -->
    <!-- EXAMPLE:
    <merge key="input.x11_options.LeftEdge" type="string">120</merge>
    -->
      </match>
      <match key="info.product" contains="AlpsPS/2 ALPS">
        <merge key="input.x11_driver" type="string">synaptics</merge>
      </match>
      <match key="info.product" contains="appletouch">
        <merge key="input.x11_driver" type="string">synaptics</merge>
      </match>
      <match key="info.product" contains="bcm5974">
        <merge key="input.x11_driver" type="string">synaptics</merge>
      </match>
    </match>
  </device>
</deviceinfo>

For this you must have installed:

- Xserver 1.5
- xf86-input-evdev
- xf86-input-synaptics
- halxorg-input-drivers

This guide is written by Flamelab.

Last edited by apollokk (2009-09-02 09:23:11)


/me wants you to detele this account... please delete it.

Offline

#15 2009-09-02 23:57:04

flamelab
Member
From: Athens, Hellas (Greece)
Registered: 2007-12-26
Posts: 2,160

Re: Compiz/desktop effects using open source radeonhd drivers?

These instructions are deprecated and not-r600-r700 specific. And you also included my greek instructions that the members here won't understand.

Last edited by flamelab (2009-09-02 23:57:43)

Offline

#16 2009-09-04 21:38:15

apollokk
Member
From: Please delete me!
Registered: 2009-03-23
Posts: 157
Website

Re: Compiz/desktop effects using open source radeonhd drivers?

Yes, I know.

Now, you must have an empty xorg.conf.


/me wants you to detele this account... please delete it.

Offline

Board footer

Powered by FluxBB