You are not logged in.

#126 2009-10-18 09:23:54

yimm
Member
From: France
Registered: 2009-10-16
Posts: 106

Re: Discussion: the ati/radeon open source drivers & radeon repository

csslayer wrote:

If you have the makepkg directory, you can just move pkg/lib/modules/2.6.31-ARCH/kernel/drivers/gpu/drm.next to
pkg/lib/modules/2.6.31-ARCH/updates/drm.next and use makepkg -Rf to repackage.

Thanks, now it's good, all works : KMS and 3D.
Now I have to wait for power management. It will be good for my laptop (4850 mobility)

Last edited by yimm (2009-10-18 09:46:13)

Offline

#127 2009-10-18 10:01:15

darkst0rm
Member
Registered: 2009-10-18
Posts: 1

Re: Discussion: the ati/radeon open source drivers & radeon repository

[root@myhost libgl-git]# makepkg --asroot
==> Determining latest git revision...
  -> Version found: 20091018
==> Making package: libgl-git 20091018-1 i686 (Sun Oct 18 20:00:16 EST 2009)
==> Checking Runtime Dependencies...
==> Checking Buildtime Dependencies...
==> Retrieving Sources...
  -> Found mesa-7.1-link-shared.patch in build dir
==> Validating source files with md5sums...
    mesa-7.1-link-shared.patch ... Passed
==> Extracting Sources...
==> Removing existing pkg/ directory...
==> Starting build()...
==> Connecting to git.freedesktop.org GIT server....
Already up-to-date.
==> The local files are updated.
==> GIT checkout done or server timeout
==> Starting make...
patching file src/mesa/drivers/dri/Makefile
Hunk #2 succeeded at 37 (offset 1 line).
Hunk #3 succeeded at 58 (offset -1 lines).
patching file src/mesa/drivers/dri/Makefile.template
Hunk #1 succeeded at 1 with fuzz 2.
Hunk #2 FAILED at 64.
1 out of 2 hunks FAILED -- saving rejects to file src/mesa/drivers/dri/Makefile.template.rej
patching file src/mesa/x86/read_rgba_span_x86.S
==> ERROR: Build Failed.
    Aborting...
[root@myhost libgl-git]#

Been trying to get X running on my Asus W2W notebook. Which has a Mobility HD 2600 been such a nightmare.

Last edited by darkst0rm (2009-10-18 11:51:20)

Offline

#128 2009-10-18 11:34:47

Perry3D
Member
Registered: 2008-03-20
Posts: 553

Re: Discussion: the ati/radeon open source drivers & radeon repository

yimm wrote:
modprobe -l drm
kernel/drivers/gpu/drm/drm.ko
modprobe -l radeon
kernel/drivers/gpu/drm/radeon/radeon.ko

Ok, i try to recompile wink
Edit : same problem ...

You are using the drm modules from 2.6.31. There is something wrong with kernel26-drm-next package. Did you remove both patches? I just remove the config-patch.

Offline

#129 2009-10-18 12:02:07

Dejan
Member
Registered: 2009-08-25
Posts: 5

Re: Discussion: the ati/radeon open source drivers & radeon repository

darkst0rm wrote:

[root@myhost libgl-git]# makepkg --asroot
==> Determining latest git revision...
  -> Version found: 20091018
==> Making package: libgl-git 20091018-1 i686 (Sun Oct 18 20:00:16 EST 2009)
==> Checking Runtime Dependencies...
==> Checking Buildtime Dependencies...
==> Retrieving Sources...
  -> Found mesa-7.1-link-shared.patch in build dir
==> Validating source files with md5sums...
    mesa-7.1-link-shared.patch ... Passed
==> Extracting Sources...
==> Removing existing pkg/ directory...
==> Starting build()...
==> Connecting to git.freedesktop.org GIT server....
Already up-to-date.
==> The local files are updated.
==> GIT checkout done or server timeout
==> Starting make...
patching file src/mesa/drivers/dri/Makefile
Hunk #2 succeeded at 37 (offset 1 line).
Hunk #3 succeeded at 58 (offset -1 lines).
patching file src/mesa/drivers/dri/Makefile.template
Hunk #1 succeeded at 1 with fuzz 2.
Hunk #2 FAILED at 64.
1 out of 2 hunks FAILED -- saving rejects to file src/mesa/drivers/dri/Makefile.template.rej
patching file src/mesa/x86/read_rgba_span_x86.S
==> ERROR: Build Failed.
    Aborting...
[root@myhost libgl-git]#

Been trying to get X running on my Asus W2W notebook. Which has a Mobility HD 2600 been such a nightmare.

I'm getting the same error. My card is HD2600pro.

Offline

#130 2009-10-18 15:54:23

yimm
Member
From: France
Registered: 2009-10-16
Posts: 106

Re: Discussion: the ati/radeon open source drivers & radeon repository

Perry3D wrote:

You are using the drm modules from 2.6.31. There is something wrong with kernel26-drm-next package. Did you remove both patches? I just remove the config-patch.

I have just removed the config-patch. If I remove both patches, there is a version problem (because of -rc9 includes in fix-version.patch).
Now it works by doing this :

If you have the makepkg directory, you can just move pkg/lib/modules/2.6.31-ARCH/kernel/drivers/gpu/drm.next to
pkg/lib/modules/2.6.31-ARCH/updates/drm.next and use makepkg -Rf to repackage.

Offline

#131 2009-10-18 16:05:29

Perry3D
Member
Registered: 2008-03-20
Posts: 553

Re: Discussion: the ati/radeon open source drivers & radeon repository

darkst0rm wrote:

[root@myhost libgl-git]# makepkg --asroot
==> Determining latest git revision...
  -> Version found: 20091018
==> Making package: libgl-git 20091018-1 i686 (Sun Oct 18 20:00:16 EST 2009)
==> Checking Runtime Dependencies...
==> Checking Buildtime Dependencies...
==> Retrieving Sources...
  -> Found mesa-7.1-link-shared.patch in build dir
==> Validating source files with md5sums...
    mesa-7.1-link-shared.patch ... Passed
==> Extracting Sources...
==> Removing existing pkg/ directory...
==> Starting build()...
==> Connecting to git.freedesktop.org GIT server....
Already up-to-date.
==> The local files are updated.
==> GIT checkout done or server timeout
==> Starting make...
patching file src/mesa/drivers/dri/Makefile
Hunk #2 succeeded at 37 (offset 1 line).
Hunk #3 succeeded at 58 (offset -1 lines).
patching file src/mesa/drivers/dri/Makefile.template
Hunk #1 succeeded at 1 with fuzz 2.
Hunk #2 FAILED at 64.
1 out of 2 hunks FAILED -- saving rejects to file src/mesa/drivers/dri/Makefile.template.rej
patching file src/mesa/x86/read_rgba_span_x86.S
==> ERROR: Build Failed.
    Aborting...
[root@myhost libgl-git]#

Been trying to get X running on my Asus W2W notebook. Which has a Mobility HD 2600 been such a nightmare.

It should be fixed. You can also use the PKGBUILD in the first post to build ati-dri, libgl and mesa at once.

Offline

#132 2009-10-18 17:09:42

elocal
Member
Registered: 2004-03-18
Posts: 54
Website

Re: Discussion: the ati/radeon open source drivers & radeon repository

Using:
ati-dri-git: up to date
dri2proto-git:  (local=20091018-1 aur=20090508-1)
glproto-git:  (local=20091018-1 aur=20091014-1)
kernel26-drm-next:  (local=20091018-1 aur=20090922-1)
libdrm-git:  (local=20091018-1 aur=20090907-1)
libgl-git: up to date
mesa-git:  (local=20091018-1 aur=20090508-1)
radeon-firmware:  (local=20091018-1 aur=20090926-1)
xf86-video-ati-git:  (local=20091018-1 aur=20090830-1)

KDE 4.3.2 with composite working pretty beautifully. Haven't seen any artefacts so far. WIN!

EDIT: only noticed scrolling to be rather slow in for example Pidgin's buddy list, Dolphin, and other apps...

Last edited by elocal (2009-10-18 17:31:35)

Offline

#133 2009-10-19 06:46:59

yimm
Member
From: France
Registered: 2009-10-16
Posts: 106

Re: Discussion: the ati/radeon open source drivers & radeon repository

elocal wrote:

EDIT: only noticed scrolling to be rather slow in for example Pidgin's buddy list, Dolphin, and other apps...

Same for me.

Offline

#134 2009-10-19 18:15:34

pyropeter
Member
Registered: 2009-10-19
Posts: 7

Re: Discussion: the ati/radeon open source drivers & radeon repository

Perry3D wrote:

To build ati-dri-git, libgl-git and mesa-git at once (faster), use this PKGBUILD: http://encodable.com/uploaddemo/files/mesa-split.tar.gz

Link is broken

Offline

#135 2009-10-19 20:39:35

dan.boff
Member
Registered: 2009-04-07
Posts: 42

Re: Discussion: the ati/radeon open source drivers & radeon repository

you could also take mesa-full from aur, does the same

Offline

#136 2009-10-20 15:20:53

pyropeter
Member
Registered: 2009-10-19
Posts: 7

Re: Discussion: the ati/radeon open source drivers & radeon repository

dan.boff wrote:

you could also take mesa-full from aur, does the same

mesa-full does a lot more than ati-dri-git+mesa-git+libgl-git

mesa-full-PKGBUILD wrote:

provides=("libgl=${_realver}", "mesa=${_realver}", "glut=${_realver}", "ati-dri=${_realver}", "intel-dri=${_realver}", "mach64-dri=${_realver}", "mga-dri=${_realver}", "r128-dri=${_realver}", "savage-dri=${_realver}", "tdfx-dri=${_realver}", "unichrome-dri=${_realver}")

Last edited by pyropeter (2009-10-20 15:21:19)

Offline

#137 2009-10-20 15:31:33

Perry3D
Member
Registered: 2008-03-20
Posts: 553

Re: Discussion: the ati/radeon open source drivers & radeon repository

pyropeter wrote:
Perry3D wrote:

To build ati-dri-git, libgl-git and mesa-git at once (faster), use this PKGBUILD: http://encodable.com/uploaddemo/files/mesa-split.tar.gz

Link is broken

Try this link: http://www.dateihosting.de/file/details … lit.tar.gz

Last edited by Perry3D (2009-10-20 15:39:16)

Offline

#138 2009-10-22 15:21:43

Misfit138
Misfit Emeritus
From: USA
Registered: 2006-11-27
Posts: 4,189

Re: Discussion: the ati/radeon open source drivers & radeon repository

flamelab wrote:

..xf86-video-ati will be gone in the future as well wink The plan is to have just mesa + kernel and have full 3D acceleration with KMS support..

Would it be as accurate to say that the plan is to have newly introduced kernel drivers (interacting through the KMS API) to replace all existing X drivers? (Starting with Intel/ATi)
That seems to be what I gather from my reading.

Offline

#139 2009-10-24 20:29:29

jjj137
Member
Registered: 2008-12-18
Posts: 11

Re: Discussion: the ati/radeon open source drivers & radeon repository

Hi, I tried to follow the instuctions in the first post, but there's something wrong.
The drm module can't be loaded, I get following message when try to run "modprobe drm":

WARNING: All config files need .conf: /etc/modprobe.d/framebuffer_blacklist.pacsave, it will be ignored in a future release.
FATAL: Error inserting drm (/lib/modules/2.6.31-ARCH/updates/drm.next/drm.ko): Invalid module format

dmesg:

drm: version magic '2.6.31-ARCH-g1527711 SMP preempt mod_unload ' should be '2.6.31-ARCH SMP preempt mod_unload '

Xorg.0.log:

drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is -1, (No such device or address)
drmOpenDevice: open result is -1, (No such device or address)
drmOpenDevice: Open failed
[drm] failed to load kernel module "radeon"
(EE) RADEON(0): [dri] RADEONDRIGetVersion failed to open the DRM
[dri] Disabling DRI.

(WW) RADEON(0): Direct rendering disabled
(EE) RADEON(0): Acceleration initialization failed

I think it is caused by kernel26-drm-next, which gived drm.ko a wrong version magic. It didn't clear git suffix(g1527711).
Anyone knows how to fix it?

SOLVED: I compiled it in a git managed directory.

Last edited by jjj137 (2009-10-25 03:50:09)

Offline

#140 2009-10-25 13:15:56

xheyther
Member
Registered: 2009-10-18
Posts: 40

Re: Discussion: the ati/radeon open source drivers & radeon repository

I'm currently trying to build mesa-git, and libgl-git and they stop, with no error message right after the

remote: counting objects: XXXX, done.

step.

Still trying to figure if the issue comes from my desktop... Any way if someone has a clue...

edit : solved, the freedesktop mirror seems to experience issue, and I wonder why, the time out is extremely loooong.

edit 2 :
An hint for those who are trying to get kms activated erly during boot process.
I dont know if it can be ported to Arch (since it use a BSD init style).

Last edited by xheyther (2009-10-25 19:45:59)

Offline

#141 2009-10-26 16:13:12

venky80
Member
Registered: 2007-05-13
Posts: 1,002

Re: Discussion: the ati/radeon open source drivers & radeon repository

fedora just made it real easy to use 3D with r6xx/r7xx cards http://www.phoronix.com/scan.php?page=a … 0_3d&num=1


Acer Aspire V5-573P Antergos KDE

Offline

#142 2009-10-26 17:29:49

mum1989
Member
From: france
Registered: 2009-09-19
Posts: 50

Re: Discussion: the ati/radeon open source drivers & radeon repository

hi, need help to have good 3D acceleration and 1280*1024 (not 1024*768)
(because teeworld always run at 0.5fps)
I've got a old screen 17", and have a ATI 4870

I installed drm-radeon-module-git-r6xx-r7xx-3d , libdrm-git,  glproto-git (dep), dri2proto-git (dep), libgl-git, mesa-git and ati-dri-git. , and xf86-video-radeonhd-git.

result of glxinfo |grep -i opengl :

$ glxinfo |grep -i opengl
OpenGL vendor string: Mesa Project
OpenGL renderer string: Software Rasterizer
OpenGL version string: 2.1 Mesa 7.7-devel
OpenGL shading language version string: 1.20
OpenGL extensions:

I try X -configure.

Offline

#143 2009-10-26 22:02:08

Perry3D
Member
Registered: 2008-03-20
Posts: 553

Re: Discussion: the ati/radeon open source drivers & radeon repository

Hi mum1989,

can you show us the content of /var/log/Xorg.0.log?
And, if you have one, also the xorg.conf.

Offline

#144 2009-10-27 11:57:10

Mazur
Member
Registered: 2009-06-10
Posts: 103
Website

Re: Discussion: the ati/radeon open source drivers & radeon repository

Can anybody upload lib32-mesa-git package or mesa-git for i686? I am running x86_64 system but I would like to try some games which are i686 only.

Offline

#145 2009-10-28 19:28:58

Vi0L0
Member
From: Poland
Registered: 2009-06-24
Posts: 1,349
Website

Re: Discussion: the ati/radeon open source drivers & radeon repository

I've tried to install that os driver, but without success...
I'm using 2.6.31.5-bfs (with disabled kms), so i modified some below listed PKGBUILDs, but it compiled without errors.
Cuz of no time i used yaourt.
Heres what I have done.
1) uncoment testing repo, pacman -Sy, pacman -S xorg  <~~ for xorg 7.5
2) yaourt -S kernel26-drm-next radeon-firmware libdrm-git mesa-full xf86-video-ati-git
pacman -Rd freeglut mesa

(i comment in kernel26-drm-next this line
# patch -Np1 -i "${srcdir}/fix-version.patch" || return 1
and comment that lines
# source=('.config')
# cp ${srcdir}/.config .
and add that line:
zcat /proc/config.gz > .config
to radeon-firmware)

I didn't install any other packages
Ive deleted all other depends from PKGBUILDs (like dri2proto, glproto - is it needed? maybe i didn't understand Perry's hawto)
3) modified xorg.conf (basing on aticonfig)

 Section "ServerLayout"
  7         Identifier     "aticonfig Layout"
  8         Screen      0  "aticonfig-Screen[0]-0" 0 0
  9 EndSection
 10
 11 Section "Files"
 12 EndSection
 13
 14 Section "Module"
 15 EndSection
 16
 17
 18 Section "Monitor"
 19         Identifier   "aticonfig-Monitor[0]-0"
 20         HorizSync    30.0 - 81.0
 21         VertRefresh  75.0 - 75.0
 22         Option      "VendorName" "ATI Proprietary Driver"
 23         Option      "ModelName" "Generic Autodetecting Monitor"
 24 #        Option      "DPMS" "true"
 25 EndSection
 26
 27
 28 Section "Device"
 29         Identifier  "aticonfig-Device[0]-0"
 30         Driver "radeon"
 31         Option "AccelMethod" "exa"
 32         Option "DRI" "on"
 33 EndSection
 34
 35 Section "Screen"
 36         Identifier "aticonfig-Screen[0]-0"
 37         Device     "aticonfig-Device[0]-0"
 38         Monitor    "aticonfig-Monitor[0]-0"
 39         DefaultDepth     24
 40         SubSection "Display"
 41                 Viewport   0 0
 42                 Depth     24
 43                 Modes    "1280x1024" "1024x768" "800x600" "640x480"
 44         EndSubSection
 45 EndSection
 46
 47 Section "DRI"
 48         Group "video"
 49         Mode 0660
 50 EndSection

Kdm is starting, showing login screen, and nothing - no mouse nor keyboard works, but prompt is blinkin, so its alive... hmm looks like evdev/udev case... anyway reset...
Theres nothing in logs also...
Switching to catalyst to write that post...

Last edited by Vi0L0 (2009-10-28 23:06:40)

Offline

#146 2009-10-28 21:33:23

cahr_g
Member
Registered: 2009-09-24
Posts: 35

Re: Discussion: the ati/radeon open source drivers & radeon repository

I think it is xorg problem. I had the same issue, compiled with old xorg and everything works fine, installed xorg from test, recompiled and keyboard works on terminal login before startx, after startx no mouse and no keyboard

Offline

#147 2009-10-29 01:08:10

Vi0L0
Member
From: Poland
Registered: 2009-06-24
Posts: 1,349
Website

Re: Discussion: the ati/radeon open source drivers & radeon repository

Same for default xorg hmm
No, not the same, i dont see kdm login screen, its all dressed in black screen of linux death.
No logs.
I have recompiled almost every package, except radeon-firmware - no time...
Although i dont see sense in recomiling, since im using same kernel and same gcc, i think that compiling dont even touch/use xorg files.
Hmm... Maybe its becouse i didn't compiled KMS into kernel? Maybe its caused by bfs (its almost impossible)?
I dont know...
I think i won't test it on arch default kernel since im in love with bfs tongue.
Maybe ill find some time to recompile kernel with KMS, maybe.

Last edited by Vi0L0 (2009-10-29 01:10:21)

Offline

#148 2009-10-29 03:01:04

venky80
Member
Registered: 2007-05-13
Posts: 1,002

Re: Discussion: the ati/radeon open source drivers & radeon repository

what does bfs do? does anyone know if 2.6.31-5 has support for ati r600 3d without the radeon-firmware?


Acer Aspire V5-573P Antergos KDE

Offline

#149 2009-10-29 09:43:30

Vi0L0
Member
From: Poland
Registered: 2009-06-24
Posts: 1,349
Website

Re: Discussion: the ati/radeon open source drivers & radeon repository

venky80 wrote:

what does bfs do?

bfs is fresh linux scheduler. I love it cuz with it my linux is noticeably faster.
http://en.wikipedia.org/wiki/Brain_Fuck_Scheduler
http://aur.archlinux.org/packages.php?ID=29842

Offline

#150 2009-10-29 19:24:36

arti74
Member
From: Poland
Registered: 2009-10-21
Posts: 27

Re: Discussion: the ati/radeon open source drivers & radeon repository

yaourt -Ss kernel26-drm-next
aur/kernel26-drm-next 20090922-1 (Out of Date) (9)

Installation interrupt by this:
kernel26=2.6.31 package not found, searching for group...
error: 'kernel26=2.6.31': not found in sync db
==> ERROR: Pacman failed to install missing dependencies.
Error: Makepkg was unable to build kernel26-drm-next package.

uname -r
2.6.31-ARCH

What I am doing wrong?

And maybe is anywhere most recent version of this package?

Offline

Board footer

Powered by FluxBB