Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
X.org 7.4 + Ati radeon 9200 Pro
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
aleskandro
n00b
n00b


Joined: 05 Sep 2012
Posts: 13

PostPosted: Wed Sep 05, 2012 8:58 am    Post subject: X.org 7.4 + Ati radeon 9200 Pro Reply with quote

Hi all, I've an Ati Radeon 9200 Pro on a P4 Gentoo Box.
I compiled kernel with drm as module and radeon drivers, so I merged X and configured it with this xorg.conf: http://pastebin.com/6itdfaHw
glxgears tell me a low value of FPS (~90 FPS)

glxinfo output is: http://pastebin.com/Mzyr7q4Y

The real issue is that when I try to watch a youtube video in fullscreen mode, it lags.

I also tried to set OpenGL as Composition method in "desktop effects" settings (kde 4) but I can't... Kde go back to XRender.

Can you help me? Is there a way to install old fglrx drivers?

Quote:

uname -a
Linux morpheus 3.3.0 #7 SMP PREEMPT Wed Sep 5 10:25:37 CEST 2012 i686 Intel(R) Pentium(R) 4 CPU 2.40GHz GenuineIntel GNU/Linux
morpheus aleskandro # lspci
00:00.0 Host bridge: VIA Technologies, Inc. CN700/VN800/P4M800CE/Pro Host Bridge
00:00.1 Host bridge: VIA Technologies, Inc. CN700/VN800/P4M800CE/Pro Host Bridge
00:00.2 Host bridge: VIA Technologies, Inc. CN700/VN800/P4M800CE/Pro Host Bridge
00:00.3 Host bridge: VIA Technologies, Inc. PT890 Host Bridge
00:00.4 Host bridge: VIA Technologies, Inc. CN700/VN800/P4M800CE/Pro Host Bridge
00:00.7 Host bridge: VIA Technologies, Inc. CN700/VN800/P4M800CE/Pro Host Bridge
00:01.0 PCI bridge: VIA Technologies, Inc. VT8237/VX700 PCI Bridge
00:0a.0 Network controller: Techsan Electronics Co Ltd B2C2 FlexCopII DVB chip / Technisat SkyStar2 DVB card (rev 01)
00:0f.0 IDE interface: VIA Technologies, Inc. VIA VT6420 SATA RAID Controller (rev 80)
00:0f.1 IDE interface: VIA Technologies, Inc. VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE (rev 06)
00:10.0 USB controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 81)
00:10.1 USB controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 81)
00:10.2 USB controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 81)
00:10.3 USB controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 81)
00:10.4 USB controller: VIA Technologies, Inc. USB 2.0 (rev 86)
00:11.0 ISA bridge: VIA Technologies, Inc. VT8237 ISA bridge [KT600/K8T800/K8T890 South]
00:11.5 Multimedia audio controller: VIA Technologies, Inc. VT8233/A/8235/8237 AC97 Audio Controller (rev 60)
00:12.0 Ethernet controller: VIA Technologies, Inc. VT6102 [Rhine-II] (rev 78)
01:00.0 VGA compatible controller: Advanced Micro Devices [AMD] nee ATI RV280 [Radeon 9200 PRO] (rev 01)
01:00.1 Display controller: Advanced Micro Devices [AMD] nee ATI RV280 [Radeon 9200 PRO] (Secondary) (rev 01)
Back to top
View user's profile Send private message
gorkypl
Guru
Guru


Joined: 04 Oct 2010
Posts: 444
Location: Kraków, PL

PostPosted: Wed Sep 05, 2012 9:31 am    Post subject: Reply with quote

First thing: your xorg.conf is overloaded with stuff. Try running X without any config file.

Second thing: glxgears is not (and never was) a benchmark. 90FPS means nothing more (or less) than 9 or 9000.
Most probably you are using a CRT with refresh rate close to 90Hz.

Third thing: for R9200 the open drivers have better performance than the old closed ones

And the last one: flash is a very buggy thing. While on fullscreen it is probably laggy because of slow CPU.
Radeon 9200 does not use HW acceleration, so all work is done by CPU. Try monitoring processor usage during watching fullscreen flash, and you will probably notice that the CPU is used in 100%.
_________________
BTW, TWM FTW!
Back to top
View user's profile Send private message
chithanh
Developer
Developer


Joined: 05 Aug 2006
Posts: 2152
Location: Berlin, Germany

PostPosted: Wed Sep 05, 2012 2:54 pm    Post subject: Reply with quote

Code:
OpenGL renderer string: Gallium 0.4 on llvmpipe (LLVM 0x209)

This means that you are using software rendering, which could be due to one or more of the following:
  • User is not in the video group
  • kernel modesetting (KMS) is disabled, ensure that CONFIG_DRM_RADEON_KMS is enabled in your kernel
  • Some error occured during drm/dri initialization, check dmesg and Xorg.0.log
Back to top
View user's profile Send private message
aleskandro
n00b
n00b


Joined: 05 Sep 2012
Posts: 13

PostPosted: Wed Sep 05, 2012 10:37 pm    Post subject: Reply with quote

Quote:
aleskandro@morpheus ~ $ cat /usr/src/linux/.config | grep DRM
CONFIG_DRM=m
CONFIG_DRM_KMS_HELPER=m
CONFIG_DRM_TTM=m
# CONFIG_DRM_TDFX is not set
# CONFIG_DRM_R128 is not set
CONFIG_DRM_RADEON=m
CONFIG_DRM_RADEON_KMS=y
# CONFIG_DRM_I915 is not set
# CONFIG_DRM_MGA is not set
# CONFIG_DRM_SIS is not set
# CONFIG_DRM_VIA is not set
# CONFIG_DRM_SAVAGE is not set
# CONFIG_DRM_VMWGFX is not set
# CONFIG_DRM_GMA500 is not set
aleskandro@morpheus ~ $ dmesg | grep drm
[ 12.427673] [drm] Initialized drm 1.1.0 20060810
[ 12.472442] [drm] radeon defaulting to kernel modesetting.
[ 12.472449] [drm] radeon kernel modesetting enabled.
aleskandro@morpheus ~ $ cat /var/log/Xorg.0.log | grep drm
[ 12.385] (II) [KMS] drm report modesetting isn't supported.
[ 12.398] drmOpenDevice: node name is /dev/dri/card0
[ 12.472] drmOpenByBusid: Searching for BusID pci:0000:01:00.0
[ 12.472] drmOpenDevice: node name is /dev/dri/card0
[ 12.476] drmOpenByBusid: drmOpenMinor returns -1
[ 12.476] drmOpenDevice: node name is /dev/dri/card1
[ 12.480] drmOpenByBusid: drmOpenMinor returns -1
[ 12.480] drmOpenDevice: node name is /dev/dri/card2
[ 12.484] drmOpenByBusid: drmOpenMinor returns -1
[ 12.484] drmOpenDevice: node name is /dev/dri/card3
[ 12.488] drmOpenByBusid: drmOpenMinor returns -1
[ 12.488] drmOpenDevice: node name is /dev/dri/card4
[ 12.491] drmOpenByBusid: drmOpenMinor returns -1
[ 12.491] drmOpenDevice: node name is /dev/dri/card5
[ 12.495] drmOpenByBusid: drmOpenMinor returns -1
[ 12.495] drmOpenDevice: node name is /dev/dri/card6
[ 12.499] drmOpenByBusid: drmOpenMinor returns -1
[ 12.499] drmOpenDevice: node name is /dev/dri/card7
[ 12.503] drmOpenByBusid: drmOpenMinor returns -1
[ 12.503] drmOpenDevice: node name is /dev/dri/card8
[ 12.507] drmOpenByBusid: drmOpenMinor returns -1
[ 12.507] drmOpenDevice: node name is /dev/dri/card9
[ 12.511] drmOpenByBusid: drmOpenMinor returns -1
[ 12.511] drmOpenDevice: node name is /dev/dri/card10
[ 12.515] drmOpenByBusid: drmOpenMinor returns -1
[ 12.515] drmOpenDevice: node name is /dev/dri/card11
[ 12.519] drmOpenByBusid: drmOpenMinor returns -1
[ 12.519] drmOpenDevice: node name is /dev/dri/card12
[ 12.523] drmOpenByBusid: drmOpenMinor returns -1
[ 12.523] drmOpenDevice: node name is /dev/dri/card13
[ 12.527] drmOpenByBusid: drmOpenMinor returns -1
[ 12.527] drmOpenDevice: node name is /dev/dri/card14
[ 12.531] drmOpenByBusid: drmOpenMinor returns -1
[ 12.531] drmOpenDevice: node name is /dev/dri/card15
[ 12.535] drmOpenByBusid: drmOpenMinor returns -1
[ 12.535] drmOpenDevice: node name is /dev/dri/card0
[ 12.541] drmOpenDevice: node name is /dev/dri/card0
[ 12.545] drmOpenDevice: node name is /dev/dri/card1
[ 12.549] drmOpenDevice: node name is /dev/dri/card2
[ 12.553] drmOpenDevice: node name is /dev/dri/card3
[ 12.557] drmOpenDevice: node name is /dev/dri/card4
[ 12.561] drmOpenDevice: node name is /dev/dri/card5
[ 12.565] drmOpenDevice: node name is /dev/dri/card6
[ 12.568] drmOpenDevice: node name is /dev/dri/card7
[ 12.572] drmOpenDevice: node name is /dev/dri/card8
[ 12.576] drmOpenDevice: node name is /dev/dri/card9
[ 12.580] drmOpenDevice: node name is /dev/dri/card10
[ 12.584] drmOpenDevice: node name is /dev/dri/card11
[ 12.588] drmOpenDevice: node name is /dev/dri/card12
[ 12.591] drmOpenDevice: node name is /dev/dri/card13
[ 12.595] drmOpenDevice: node name is /dev/dri/card14
[ 12.599] drmOpenDevice: node name is /dev/dri/card15
aleskandro@morpheus ~ $ groups
wheel audio cdrom video usb users portage aleskandro
Back to top
View user's profile Send private message
chithanh
Developer
Developer


Joined: 05 Aug 2006
Posts: 2152
Location: Berlin, Germany

PostPosted: Wed Sep 05, 2012 10:51 pm    Post subject: Reply with quote

The radeon kernel module is loaded too late, it needs to be loaded before X starts (so add it to /etc/conf.d/modules or make DRM_RADEON built-in).
Back to top
View user's profile Send private message
aleskandro
n00b
n00b


Joined: 05 Sep 2012
Posts: 13

PostPosted: Wed Sep 05, 2012 11:09 pm    Post subject: Reply with quote

I tried to compile drm built-it but I've the same error.
Moreover /dev/dri directory doesn't exists.

I've in xorg.0.log also this line (with drm as module or built-in):
[12.833] (EE) RADEON(0): [dri] RADEONDRIGetVersion failed to open the DRM
[dri] Disabling DRI.


Last edited by aleskandro on Wed Sep 05, 2012 11:13 pm; edited 1 time in total
Back to top
View user's profile Send private message
chithanh
Developer
Developer


Joined: 05 Aug 2006
Posts: 2152
Location: Berlin, Germany

PostPosted: Wed Sep 05, 2012 11:12 pm    Post subject: Reply with quote

Code:
 [ 12.385] (II) [KMS] drm report modesetting isn't supported.
With DRM_RADEON_KMS enabled, this error can come only if the radeon module is loaded too late. There is no other way this error message can be produced.
Code:
# zgrep DRM_RADEON /proc/config.gz
The above command needs CONFIG_IKCONFIG_PROC enabled in your kernel. And verify uname -a (build date and time) that you are running the correct kernel.
Back to top
View user's profile Send private message
aleskandro
n00b
n00b


Joined: 05 Sep 2012
Posts: 13

PostPosted: Wed Sep 05, 2012 11:16 pm    Post subject: Reply with quote

CONFIG_DRM_RADEON=y
CONFIG_DRM_RADEON_KMS=y
Back to top
View user's profile Send private message
chithanh
Developer
Developer


Joined: 05 Aug 2006
Posts: 2152
Location: Berlin, Germany

PostPosted: Thu Sep 06, 2012 12:10 am    Post subject: Reply with quote

If that is really what is in /proc/config.gz, then logs and error messages must now be different.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum