You are not logged in.

#751 2010-01-30 04:34:29

handy
Member
From: Oz
Registered: 2008-03-26
Posts: 719

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

Well I turned KMS back on in modprobe.d/radeon.conf

Rebooted & nothing changed, so I turned it back on in menu.lst as well & rebooted;  I certainly saw a change during the boot process, the fonts got awful tiny on this 24" screen. smile

Everything looks as it should in Openbox, I tested speed in glxgears & such as shown below, now I have the DRI2 addition & about a 550 f/5s speed increase in glxgears:

handy ~  $  glxgears
do_wait: drmWaitVBlank returned -1, IRQs don't seem to be working correctly.
Try adjusting the vblank_mode configuration parameter.
9436 frames in 5.0 seconds = 1887.164 FPS
9434 frames in 5.0 seconds = 1886.770 FPS
9437 frames in 5.0 seconds = 1887.396 FPS
9437 frames in 5.0 seconds = 1887.336 FPS
9438 frames in 5.0 seconds = 1887.534 FPS
XIO:  fatal IO error 104 (Connection reset by peer) on X server ":0.0"
      after 152130 requests (152127 known processed) with 0 events remaining.
handy ~  $  glxinfo |grep -i opengl
do_wait: drmWaitVBlank returned -1, IRQs don't seem to be working correctly.
Try adjusting the vblank_mode configuration parameter.
OpenGL vendor string: Advanced Micro Devices, Inc.
OpenGL renderer string: Mesa DRI R600 (RV630 9583) 20090101  TCL DRI2
OpenGL version string: 2.0 Mesa 7.8-devel
OpenGL shading language version string: 1.10
OpenGL extensions:
handy ~  $


I'm using a HD2600Pro/256Mb.

Is there anything else I can do to bring up my 3D speed? 

As previously mentioned I didn't use CONFIG_DRM_RADEON=m (because I didn't really know how to, I thought I had to do it in the kernel configuration window...) when building kernel-git. I'm very ignorant about this stuff, so I don't know if there is something else I can do, that may save me the time spent building the kernel again?

Whatever, I'm quite happy that I have got some good improvement for the hours spent today; for the 5 hours work, I picked up KMS, OpenGL 2.0, DRI2, Blitter support? & about 550 f/5s in glxgears. Which is all cool, though I was hoping for a bit more 3D speed.. smile

Thanks again Perry3D for your great how-to.

Last edited by handy (2010-02-04 10:31:07)


I used to be surprised that I was still surprised by my own stupidity, finding it strangely refreshing.
Well, now I don't find it refreshing.
I'm over it!

Offline

#752 2010-01-30 13:56:11

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

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

handy wrote:

Make sure you set CONFIG_DRM_RADEON=m in your kernel config. If you want KMS to be enabled by default set CONFIG_DRM_RADEON_KMS=y.

Mean that those two CONFIG_ lines have to be set in the kernel's PKGBUILD?

That mean that those two lines have to be set in kernel config file. Usually when you are compiling kernel from AUR you need to change (or not - most of new configs got those options) lines in config or config.x86_64 file. If you are compiling kernel from source you need to change lines in .config.

handy wrote:

And thanks ViOLO for uploading those files, it saved me a great deal of time. smile

No problemo, thats why i did it - to save time smile.

handy wrote:

if there is something else I can do, that may save me the time spent building the kernel again?

well if you have more than one processor/core you can add -jX option to 'make bzImage modules ', where X is number of cores ex. make -j4 bzImage modules

handy wrote:

I was hoping for a bit more 3D speed.. smile

Yes, its still hard to play even in quakelive on lowest setting.

Last edited by Vi0L0 (2010-01-30 14:03:29)

Offline

#753 2010-01-30 19:31:24

ares952
Member
Registered: 2009-11-08
Posts: 50

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

hi, I made it work today, it works perfectly, I can now play openarena with my HD3200 :-)
however, my 2D acceleration has broken. When I try to scroll any window (eg. in firefox, in liferea, in mc under terminal, in file manager) or if I try, eg, select files in file manager, it is very slow and it takes 100% of CPU usage. Before installing git packages, everythink was working fine.

Do you have any suggestions?

Thanks a lot.

Offline

#754 2010-01-30 20:17:47

Neuro
Member
From: Poland
Registered: 2005-10-12
Posts: 352

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

Has anyone tried 2.6.33rc6? What does it bring to the table?

Offline

#755 2010-01-30 21:02:10

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

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

ares952 wrote:

hi, I made it work today, it works perfectly, I can now play openarena with my HD3200 :-)
however, my 2D acceleration has broken. When I try to scroll any window (eg. in firefox, in liferea, in mc under terminal, in file manager) or if I try, eg, select files in file manager, it is very slow and it takes 100% of CPU usage. Before installing git packages, everythink was working fine.

Do you have any suggestions?

Thanks a lot.

Look in your /var/log/Xorg.0.log. The 2d-acceleration is called exa.

Offline

#756 2010-01-30 23:59:17

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

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

Neuro wrote:

Has anyone tried 2.6.33rc6? What does it bring to the table?

I don't what it bring : I didn't spot any regression with rc5 nor with rc6. Everything works with package from nigthly (kms and 3D), I've a HD4870 :

[xhe@ArchDesktop ~]$ uname -r
2.6.33-rc6-dirty
[xhe@ArchDesktop ~]$ glxinfo | grep -i opengl
OpenGL vendor string: Advanced Micro Devices, Inc.
OpenGL renderer string: Mesa DRI R600 (RV770 9440) 20090101  TCL DRI2
OpenGL version string: 2.0 Mesa 7.8-devel
OpenGL shading language version string: 1.10
[xhe@ArchDesktop ~]$ sudo cat /var/log/kernel.log | grep -i modesetting                                                                     
Jan 30 20:19:29 ArchDesktop kernel: [drm] radeon defaulting to kernel modesetting.
Jan 30 20:19:29 ArchDesktop kernel: [drm] radeon kernel modesetting enabled.
Jan 30 20:19:29 ArchDesktop kernel: [drm] radeon: Initializing kernel modesetting.

Last edited by xheyther (2010-01-30 23:59:36)

Offline

#757 2010-01-31 02:19:15

handy
Member
From: Oz
Registered: 2008-03-26
Posts: 719

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

I just did a packer -Syu , during which libdrm-git was upgraded.  After which I've lost over 1,100 f/5s on glxgears  & I'm back to software rasteriser, but I now no longer have the IRQ error, the OpenGL version has moved to 2.1 & shading version is now 1.20 (KMS is still functioning fine from an early start) as follows:

handy ~  $  glxgears
3534 frames in 5.0 seconds = 706.678 FPS
3539 frames in 5.0 seconds = 707.689 FPS
3540 frames in 5.0 seconds = 707.906 FPS
3543 frames in 5.0 seconds = 708.582 FPS
XIO:  fatal IO error 104 (Connection reset by peer) on X server ":0.0"
      after 31348 requests (39 known processed) with 0 events remaining.
handy ~  $  glxinfo |grep -i opengl
OpenGL vendor string: Mesa Project
OpenGL renderer string: Software Rasterizer
OpenGL version string: 2.1 Mesa 7.8-devel
OpenGL shading language version string: 1.20
OpenGL extensions:
handy ~  $

A rather momentous set of changes in that libdrm-git upgrade.

Last edited by handy (2010-01-31 03:50:26)


I used to be surprised that I was still surprised by my own stupidity, finding it strangely refreshing.
Well, now I don't find it refreshing.
I'm over it!

Offline

#758 2010-01-31 07:05:29

surfed
Member
From: Vienna Austria
Registered: 2009-10-30
Posts: 86

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

handy wrote:

I just did a packer -Syu , during which libdrm-git was upgraded.  After which I've lost over 1,100 f/5s on glxgears  & I'm back to software rasteriser, but I now no longer have the IRQ error, the OpenGL version has moved to 2.1 & shading version is now 1.20 (KMS is still functioning fine from an early start) as follows:

handy ~  $  glxgears
3534 frames in 5.0 seconds = 706.678 FPS
3539 frames in 5.0 seconds = 707.689 FPS
3540 frames in 5.0 seconds = 707.906 FPS
3543 frames in 5.0 seconds = 708.582 FPS
XIO:  fatal IO error 104 (Connection reset by peer) on X server ":0.0"
      after 31348 requests (39 known processed) with 0 events remaining.
handy ~  $  glxinfo |grep -i opengl
OpenGL vendor string: Mesa Project
OpenGL renderer string: Software Rasterizer
OpenGL version string: 2.1 Mesa 7.8-devel
OpenGL shading language version string: 1.20
OpenGL extensions:
handy ~  $

A rather momentous set of changes in that libdrm-git upgrade.

Hmm, how come i get this after updating all git packages?

glxinfo |grep -i opengl
OpenGL vendor string: Advanced Micro Devices, Inc.
OpenGL renderer string: Mesa DRI R600 (RV730 9488) 20090101  TCL DRI2
OpenGL version string: 2.0 Mesa 7.8-devel
OpenGL shading language version string: 1.10
OpenGL extensions:

Offline

#759 2010-01-31 07:22:07

ares952
Member
Registered: 2009-11-08
Posts: 50

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

Perry3D wrote:
ares952 wrote:

hi, I made it work today, it works perfectly, I can now play openarena with my HD3200 :-)
however, my 2D acceleration has broken. When I try to scroll any window (eg. in firefox, in liferea, in mc under terminal, in file manager) or if I try, eg, select files in file manager, it is very slow and it takes 100% of CPU usage. Before installing git packages, everythink was working fine.

Do you have any suggestions?

Thanks a lot.

Look in your /var/log/Xorg.0.log. The 2d-acceleration is called exa.

cat /var/log/Xorg.0.log | grep -i exa

(II) RADEON(0): Using exact sizes for initial modes
(II) RADEON(0): EXA: Driver will allow EXA pixmaps in VRAM
(II) Loading sub module "exa"
(II) LoadModule: "exa"
(II) Loading /usr/lib/xorg/modules/libexa.so
(II) Module exa: vendor="X.Org Foundation"
(II) RADEON(0): Setting EXA maxPitchBytes
(II) EXA(0): Driver allocated offscreen pixmaps
(II) EXA(0): Driver registered support for the following operations:

well, I have found out, that 2D works now, but I guess, yesterday, it worked as well, but it has stopped working suddenly.
I will see, whether it will stop again.

Offline

#760 2010-01-31 10:00:06

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

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

handy wrote:

I just did a packer -Syu , during which libdrm-git was upgraded.  After which I've lost over 1,100 f/5s on glxgears  & I'm back to software rasteriser, but I now no longer have the IRQ error, the OpenGL version has moved to 2.1 & shading version is now 1.20 (KMS is still functioning fine from an early start) as follows:

handy ~  $  glxgears
3534 frames in 5.0 seconds = 706.678 FPS
3539 frames in 5.0 seconds = 707.689 FPS
3540 frames in 5.0 seconds = 707.906 FPS
3543 frames in 5.0 seconds = 708.582 FPS
XIO:  fatal IO error 104 (Connection reset by peer) on X server ":0.0"
      after 31348 requests (39 known processed) with 0 events remaining.
handy ~  $  glxinfo |grep -i opengl
OpenGL vendor string: Mesa Project
OpenGL renderer string: Software Rasterizer
OpenGL version string: 2.1 Mesa 7.8-devel
OpenGL shading language version string: 1.20
OpenGL extensions:
handy ~  $

A rather momentous set of changes in that libdrm-git upgrade.

You need to recompile the packages that depends on libdrm (mesa-full and xf86-video-ati-git).

Offline

#761 2010-01-31 16:05:36

sovok_kpss
Member
From: Perm, Russia
Registered: 2009-08-11
Posts: 9

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

kernel 2.6.33-rc6 works just fine with command checker patch(freezes with some grayscale gradient were observed before)
http://www.phoronix.com/scan.php?page=n … &px=NzkzOA

Last edited by sovok_kpss (2010-01-31 16:28:09)


Just when I thought I was out, THEY PULL ME BACK IN!

Offline

#762 2010-01-31 20:19:15

bmentink
Member
From: New Zealand
Registered: 2009-08-23
Posts: 442

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

Wow, KMS/DR2 is great. I just discovered the HD video I was using to try 1080i was corrupted, now that I have a good video 1080i plays fine.

The video uses 100% CPU with KMS/DRI2 turned off, but with it on, my laptop runs at 30% .. that is with kernel 2.6.32.6 .. (KMS early start)

I can't wait to see the improvements with 2.6.33 ..

To have 1080i video on my laptop at 30% CPU is impressive, especially with HDMI out, although I havn't tried the HDMI audio component yet (though the mixer does show up ..)

Cheers,
Bernie

Offline

#763 2010-01-31 21:20:30

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

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

bmentink, that depends on your output mode. For the radeon driver xv should be the fastest.

Offline

#764 2010-01-31 23:55:41

korpenkraxar
Member
Registered: 2006-04-02
Posts: 123

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

Neuro wrote:

Has anyone tried 2.6.33rc6? What does it bring to the table?

I could not see any distinct ATI improvements in that release: http://lkml.org/lkml/2010/1/29/368

I tried it but it crashed on me a handful of times, with the screen just going black and the laptop being completely unresponsive. This happened, among other occasions, when KWin was redrawing some window border-effect and when I was playing around with xrandr.

Offline

#765 2010-02-01 00:00:52

surfed
Member
From: Vienna Austria
Registered: 2009-10-30
Posts: 86

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

Since updating to rc6 and latest git versions as of yesterday, dual screens started to work for me, up to now i could only clone my screen but now i have two separate screens. Performance is ok, could be faster but hey better than before smile

Offline

#766 2010-02-01 00:02:29

korpenkraxar
Member
Registered: 2006-04-02
Posts: 123

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

Does anyone currently have an external monitor working with the current stack of git packages?

My FireGL 5700 detects the presence of an external monitor connected via VGA, in that KMS weirdly defaults to the resolution of the external monitor and xrandr reports the full range of output resolutions for the screen. However, I am able to actually get anything showing up on it. When activated, the external LCD "lights up" but there is no picture and I have yet to find any error messages in the logs...

Offline

#767 2010-02-01 00:04:11

korpenkraxar
Member
Registered: 2006-04-02
Posts: 123

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

surfed wrote:

Since updating to rc6 and latest git versions as of yesterday, dual screens started to work for me, up to now i could only clone my screen but now i have two separate screens. Performance is ok, could be faster but hey better than before smile

LOL! That was fast. Even before I submitted my question :-)

So are you using the nightlies or self-built gits? How do you manage the second screen?

Offline

#768 2010-02-01 00:05:29

surfed
Member
From: Vienna Austria
Registered: 2009-10-30
Posts: 86

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

korpenkraxar wrote:

Does anyone currently have an external monitor working with the current stack of git packages?

My FireGL 5700 detects the presence of an external monitor connected via VGA, in that KMS weirdly defaults to the resolution of the external monitor and xrandr reports the full range of output resolutions for the screen. However, I am able to actually get anything showing up on it. When activated, the external LCD "lights up" but there is no picture and I have yet to find any error messages in the logs...

I have external monitor working (via hdmi out). All git packages, kernel + video. When booting into X, resolution is wrong (with no xorg.conf) but since yesterday i have dual screen on my laptop. (4670m)

Last edited by surfed (2010-02-01 00:06:08)

Offline

#769 2010-02-01 00:07:24

surfed
Member
From: Vienna Austria
Registered: 2009-10-30
Posts: 86

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

korpenkraxar wrote:
surfed wrote:

Since updating to rc6 and latest git versions as of yesterday, dual screens started to work for me, up to now i could only clone my screen but now i have two separate screens. Performance is ok, could be faster but hey better than before smile

LOL! That was fast. Even before I submitted my question :-)

So are you using the nightlies or self-built gits? How do you manage the second screen?

Nightlies, managed with kcontrol panel screen settings.

Offline

#770 2010-02-01 00:10:35

surfed
Member
From: Vienna Austria
Registered: 2009-10-30
Posts: 86

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

Oh, and i compiled with ati experimental api.

Offline

#771 2010-02-01 00:22:19

korpenkraxar
Member
Registered: 2006-04-02
Posts: 123

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

surfed wrote:

Oh, and i compiled with ati experimental api.

Which package?

Offline

#772 2010-02-01 00:26:51

surfed
Member
From: Vienna Austria
Registered: 2009-10-30
Posts: 86

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

korpenkraxar wrote:
surfed wrote:

Oh, and i compiled with ati experimental api.

Which package?

libdrm-git

Offline

#773 2010-02-01 01:01:52

korpenkraxar
Member
Registered: 2006-04-02
Posts: 123

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

surfed wrote:
korpenkraxar wrote:
surfed wrote:

Oh, and i compiled with ati experimental api.

Which package?

libdrm-git

Nope, still does not work for me.

Are you using KMS?

Offline

#774 2010-02-01 01:06:39

surfed
Member
From: Vienna Austria
Registered: 2009-10-30
Posts: 86

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

Yes, using KMS and pm patches. KMS is activated in /etc/modules/
Also It only works when i boot with external monitor attached, hotplugging crashes X and i need to do a hard reset. Maybe its because i am using hdmi out and not vga?

Offline

#775 2010-02-01 09:46:58

Neuro
Member
From: Poland
Registered: 2005-10-12
Posts: 352

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

surfed wrote:

Yes, using KMS and pm patches. KMS is activated in /etc/modules/
Also It only works when i boot with external monitor attached, hotplugging crashes X and i need to do a hard reset. Maybe its because i am using hdmi out and not vga?

What card are you using? I've got k2.6.33-rc5, mesa-full, libdrm-git, glproto-git, xf86-video-ati-git (all from 20100129) and Ati 3450 and I use an external monitor. I can connect via HDMI and VGA without any problems.

Offline

Board footer

Powered by FluxBB