Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
sluggy xbmc and mplayer problem after xorg update
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
emc
Guru
Guru


Joined: 02 Jul 2004
Posts: 564
Location: Cracow, Poland

PostPosted: Sat Oct 19, 2013 11:39 pm    Post subject: sluggy xbmc and mplayer problem after xorg update Reply with quote

Hi,
Lately there was xorg upgrade 1.13 -> 1.14 (and all releated stuff) After that I have big issue with xbmc I can really move cursor because it take 2-3 sec to react. And what is more I'm unable to watch mplayer in full screen mode, I see centered movie of ~1/3 of screen.
I suspect graphics since normally I use fluxbox but sometimes I swich to xfce4 and there I use compiz and it take 50% of CPU.

I have AMD E450 with HD6520:
- x11-drivers/xf86-video-ati-7.2
- x11-base/xorg-server-1.14.3

What details do you need to figura out what's wrong? Anybody have similar problems?
Back to top
View user's profile Send private message
emc
Guru
Guru


Joined: 02 Jul 2004
Posts: 564
Location: Cracow, Poland

PostPosted: Tue Oct 22, 2013 9:45 pm    Post subject: Reply with quote

Hi, is there any easy way to roll back to previous stable xorg version w/ drivers without masking dozens packages which were updated with xorg-server. Anyway I don't know which really I need to mask. I want check if I back to ~1.13. I got same issue or it will be not present.
Back to top
View user's profile Send private message
javeree
Guru
Guru


Joined: 29 Jan 2006
Posts: 453

PostPosted: Mon Oct 28, 2013 12:33 pm    Post subject: Reply with quote

What you describe clearly reflects a driver issue.
xbmc heavily uses 3D acceleration, and react the way you describe in case there is no such acceleration and it falls back to SW emulation.
You can test if you have 3D acceleration using a command like glxinfo (or similar, I'm not in front of the PC now). If this is the cause, it means fiddling with DRI or GLX options or whatever is needed by ATI nowadays (I never got around to really understanding all of these accronyms and when what applies :-)
Back to top
View user's profile Send private message
emc
Guru
Guru


Joined: 02 Jul 2004
Posts: 564
Location: Cracow, Poland

PostPosted: Tue Oct 29, 2013 4:23 pm    Post subject: Reply with quote

glxinfo shows that 3D is up and running:
Code:
 # glxinfo | grep render
direct rendering: Yes
OpenGL renderer string: Gallium 0.4 on llvmpipe (LLVM 3.1, 128 bits)
    GL_NV_conditional_render, GL_NV_fog_distance, GL_NV_light_max_exponent,


but xorg not:
Code:
 # grep -E "EE|WW" /var/log/Xorg.0.log                                                                                                     
[   189.755] Current Operating System: Linux gopher 3.11.0-geek #3 SMP PREEMPT Mon Oct 7 18:52:23 CEST 2013 x86_64
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[   189.759] (WW) The directory "/usr/share/fonts/TTF/" does not exist.
[   189.759] (WW) The directory "/usr/share/fonts/OTF/" does not exist.
[   189.759] (WW) The directory "/usr/share/fonts/Type1/" does not exist.
[   189.759] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/100dpi/".
[   189.759] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi/".
[   189.769] Initializing built-in extension MIT-SCREEN-SAVER
[   189.773] (WW) Warning, couldn't open module vesa
[   189.773] (EE) Failed to load module "vesa" (module does not exist, 0)
[   189.774] (WW) Warning, couldn't open module modesetting
[   189.774] (EE) Failed to load module "modesetting" (module does not exist, 0)
[   189.774] (WW) Warning, couldn't open module fbdev
[   189.774] (EE) Failed to load module "fbdev" (module does not exist, 0)
[   189.953] (WW) RADEON(0): Direct rendering disabled
[   207.064] (EE) RADEON(0): drmmode_crtc_dpms cannot get last vblank counter

I know it's benchmark tool but still:
Code:
 # glxgears
918 frames in 5.0 seconds = 183.383 FPS
925 frames in 5.0 seconds = 184.944 FPS
919 frames in 5.0 seconds = 183.687 FPS
910 frames in 5.0 seconds = 181.883 FPS
867 frames in 5.0 seconds = 173.385 FPS
910 frames in 5.0 seconds = 181.945 FPS
911 frames in 5.0 seconds = 182.168 FPS
Back to top
View user's profile Send private message
emc
Guru
Guru


Joined: 02 Jul 2004
Posts: 564
Location: Cracow, Poland

PostPosted: Tue Oct 29, 2013 6:51 pm    Post subject: Reply with quote

Hmmmm... maybe I found someting. But I have some question?

I boot my previous kernel and all problems gone. Look like:
Code:
# modinfo radeon
filename:       /lib/modules/3.10.1-geek/kernel/drivers/gpu/drm/radeon/radeon.ko
license:        GPL and additional rights
description:    ATI Radeon
author:         Gareth Hughes, Keith Whitwell, others.
firmware:       radeon/R520_cp.bin
firmware:       radeon/RS600_cp.bin
firmware:       radeon/RS690_cp.bin
firmware:       radeon/R420_cp.bin
firmware:       radeon/R300_cp.bin
firmware:       radeon/R200_cp.bin
firmware:       radeon/R100_cp.bin
firmware:       radeon/SUMO2_me.bin
firmware:       radeon/SUMO2_pfp.bin
firmware:       radeon/SUMO_me.bin
firmware:       radeon/SUMO_pfp.bin
firmware:       radeon/SUMO_rlc.bin
firmware:       radeon/PALM_me.bin
firmware:       radeon/PALM_pfp.bin
firmware:       radeon/CYPRESS_rlc.bin
firmware:       radeon/CYPRESS_me.bin
firmware:       radeon/CYPRESS_pfp.bin
firmware:       radeon/JUNIPER_rlc.bin
firmware:       radeon/JUNIPER_me.bin
firmware:       radeon/JUNIPER_pfp.bin
firmware:       radeon/REDWOOD_rlc.bin
firmware:       radeon/REDWOOD_me.bin
firmware:       radeon/REDWOOD_pfp.bin
firmware:       radeon/CEDAR_rlc.bin
firmware:       radeon/CEDAR_me.bin
firmware:       radeon/CEDAR_pfp.bin
firmware:       radeon/R700_rlc.bin
firmware:       radeon/R600_rlc.bin
firmware:       radeon/RV710_me.bin
firmware:       radeon/RV710_pfp.bin
firmware:       radeon/RV730_me.bin
firmware:       radeon/RV730_pfp.bin
firmware:       radeon/RV770_me.bin
firmware:       radeon/RV770_pfp.bin
firmware:       radeon/RS780_me.bin
firmware:       radeon/RS780_pfp.bin
firmware:       radeon/RV670_me.bin
firmware:       radeon/RV670_pfp.bin
firmware:       radeon/RV635_me.bin
firmware:       radeon/RV635_pfp.bin
firmware:       radeon/RV620_me.bin
firmware:       radeon/RV620_pfp.bin
firmware:       radeon/RV630_me.bin
firmware:       radeon/RV630_pfp.bin
firmware:       radeon/RV610_me.bin
firmware:       radeon/RV610_pfp.bin
firmware:       radeon/R600_me.bin
firmware:       radeon/R600_pfp.bin
firmware:       radeon/ARUBA_rlc.bin
firmware:       radeon/ARUBA_me.bin
firmware:       radeon/ARUBA_pfp.bin
firmware:       radeon/CAYMAN_rlc.bin
firmware:       radeon/CAYMAN_mc.bin
firmware:       radeon/CAYMAN_me.bin
firmware:       radeon/CAYMAN_pfp.bin
firmware:       radeon/CAICOS_mc.bin
firmware:       radeon/CAICOS_me.bin
firmware:       radeon/CAICOS_pfp.bin
firmware:       radeon/TURKS_mc.bin
firmware:       radeon/TURKS_me.bin
firmware:       radeon/TURKS_pfp.bin
firmware:       radeon/BTC_rlc.bin
firmware:       radeon/BARTS_mc.bin
firmware:       radeon/BARTS_me.bin
firmware:       radeon/BARTS_pfp.bin
firmware:       radeon/HAINAN_rlc.bin
firmware:       radeon/HAINAN_mc.bin
firmware:       radeon/HAINAN_ce.bin
firmware:       radeon/HAINAN_me.bin
firmware:       radeon/HAINAN_pfp.bin
firmware:       radeon/OLAND_rlc.bin
firmware:       radeon/OLAND_mc.bin
firmware:       radeon/OLAND_ce.bin
firmware:       radeon/OLAND_me.bin
firmware:       radeon/OLAND_pfp.bin
firmware:       radeon/VERDE_rlc.bin
firmware:       radeon/VERDE_mc.bin
firmware:       radeon/VERDE_ce.bin
firmware:       radeon/VERDE_me.bin
firmware:       radeon/VERDE_pfp.bin
firmware:       radeon/PITCAIRN_rlc.bin
firmware:       radeon/PITCAIRN_mc.bin
firmware:       radeon/PITCAIRN_ce.bin
firmware:       radeon/PITCAIRN_me.bin
firmware:       radeon/PITCAIRN_pfp.bin
firmware:       radeon/TAHITI_rlc.bin
firmware:       radeon/TAHITI_mc.bin
firmware:       radeon/TAHITI_ce.bin
firmware:       radeon/TAHITI_me.bin
firmware:       radeon/TAHITI_pfp.bin
firmware:       radeon/TAHITI_uvd.bin
firmware:       radeon/SUMO_uvd.bin
firmware:       radeon/CYPRESS_uvd.bin
firmware:       radeon/RV710_uvd.bin
alias:          pci:v00001002d00003151sv*sd*bc*sc*i*
.....
alias:          pci:v00001002d00003150sv*sd*bc*sc*i*
depends:        drm,drm_kms_helper,ttm
intree:         Y
vermagic:       3.10.1-geek SMP preempt mod_unload modversions
parm:           no_wb:Disable AGP writeback for scratch registers (int)
parm:           modeset:Disable/Enable modesetting (int)
parm:           dynclks:Disable/Enable dynamic clocks (int)
parm:           r4xx_atom:Enable ATOMBIOS modesetting for R4xx (int)
parm:           vramlimit:Restrict VRAM for testing (int)
parm:           agpmode:AGP Mode (-1 == PCI) (int)
parm:           gartsize:Size of PCIE/IGP gart to setup in megabytes (32, 64, etc) (int)
parm:           benchmark:Run benchmark (int)
parm:           test:Run tests (int)
parm:           connector_table:Force connector table (int)
parm:           tv:TV enable (0 = disable) (int)
parm:           audio:Audio enable (1 = enable) (int)
parm:           disp_priority:Display Priority (0 = auto, 1 = normal, 2 = high) (int)
parm:           hw_i2c:hw i2c engine enable (0 = disable) (int)
parm:           pcie_gen2:PCIE Gen2 mode (-1 = auto, 0 = disable, 1 = enable) (int)
parm:           msi:MSI support (1 = enable, 0 = disable, -1 = auto) (int)
parm:           lockup_timeout:GPU lockup timeout in ms (defaul 10000 = 10 seconds, 0 = disable) (int)
parm:           fastfb:Direct FB access for IGP chips (0 = disable, 1 = enable) (int)


Code:
# glxinfo | grep render
direct rendering: Yes
OpenGL renderer string: Gallium 0.4 on AMD PALM
    GL_MESA_window_pos, GL_NV_blend_square, GL_NV_conditional_render,


Code:
# grep -E "EE|WW" /var/log/Xorg.0.log   
[    56.058] Current Operating System: Linux gopher 3.10.1-geek #1 SMP PREEMPT Thu Aug 22 16:35:41 CEST 2013 x86_64
   (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[    56.199] (WW) The directory "/usr/share/fonts/TTF/" does not exist.
[    56.199] (WW) The directory "/usr/share/fonts/OTF/" does not exist.
[    56.200] (WW) The directory "/usr/share/fonts/Type1/" does not exist.
[    56.241] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/100dpi/".
[    56.252] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi/".
[    56.268] Initializing built-in extension MIT-SCREEN-SAVER
[    56.511] (WW) Warning, couldn't open module vesa
[    56.512] (EE) Failed to load module "vesa" (module does not exist, 0)
[    56.513] (WW) Warning, couldn't open module modesetting
[    56.513] (EE) Failed to load module "modesetting" (module does not exist, 0)
[    56.514] (WW) Warning, couldn't open module fbdev
[    56.514] (EE) Failed to load module "fbdev" (module does not exist, 0)


Code:
 # eselect opengl list
Available OpenGL implementations:
  [1]   ati
  [2]   xorg-x11 *

Code:
 # eselect mesa list                                                                                                                   
64bit i915 (Intel 915, 945)
64bit i965 (Intel 965, G/Q3x, G/Q4x)
64bit r300 (Radeon R300-R500)
  [1]   gallium *
64bit r600 (Radeon R600-R700, Evergreen, Northern Islands)
  [1]   gallium *
64bit sw (Software renderer)
  [1]   classic
  [2]   gallium *
32bit i915 (Intel 915, 945)
  [1]   classic *
  [2]   gallium
32bit i965 (Intel 965, G/Q3x, G/Q4x)
  [1]   classic *
32bit r300 (Radeon R300-R500)
  [1]   gallium *
32bit r600 (Radeon R600-R700, Evergreen, Northern Islands)
  [1]   gallium *
32bit sw (Software renderer)
  [1]   classic
  [2]   gallium *


Whan I update kernel I
- did remove x11-drivers/radeon-ucode and emerge sys-kernel/linux-firmware Bug 455208
- add firmware in kernel as is described here: https://wiki.gentoo.org/wiki/Radeon#Firmware to get early splash screen
- update xorg/drivers

So question:
- so what happen when I boot older kernel it you different firmware, different kernel module, different xorg-video-driver... I'm a bit lost.
- but booting older kernel do not change xorg-video-driver so issue is with kernel configuration?
- what should I do stick with older kernel and try upgarde kernel or try fix new kernel
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia 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