PDA

View Full Version : Slow UI



andrewgee
August 6th, 2008, 05:16 AM
I seem to be having a similar problem to other people in this forum. The UI is very very very slow. I press a key and it takes ~ 5 seconds to react. I have compiz off and direct rendering is on according to glxinfo.

Graphics is Intel X3100

When running the program I receive this output on the terminal.


andrew@andrew-laptop:~$ /usr/boxee/run-boxee-desktop
06/08/08 09:49:09#DEBUG#bxbgprocess.cpp:142(Start)#bg process initialized. 1 worker threads created.
06/08/08 09:49:09#DEBUG#bxcurl.cpp:53(Initialize)#curl initialized. version <7.18.0>

Running Boxee test...
is rtorrent running: 0
boxee-rtorrent: no process killed
stopping rss...
stopping file scanner...
stopping torrent client...
boxee-rtorrent: no process killed
stopping boxee...
Boxee: asked to stop
Stopping boxee background processor
BXBGProcess, Boxee Feed Processor, asked to stop, this = 0x908cbb8
Stopping metadata engine
BXMetadataEngine: asked to stop
Stopping audio processor
BXBGProcess, Resolver Audio Processor, asked to stop, this = 0x908cffc
Stopping video processor
BXBGProcess, Resolver Video Processor, asked to stop, this = 0x908cf90
stopping watchog...
Application: delete item loader...
BXBGProcess, Directory Loader, asked to stop, this = 0x94d9804
BXBGProcess, Item Loader, asked to stop, this = 0x94d9798
BXBGProcess, Directory Loader, asked to stop, this = 0x94d9804
BXBGProcess, Item Loader, asked to stop, this = 0x94d9798
X Error of failed request: BadDrawable (invalid Pixmap or Window parameter)
Major opcode of failed request: 145 (XFree86-DRI)
Minor opcode of failed request: 9 ()
Resource id in failed request: 0x4400002
Serial number of failed request: 457
Current serial number in output stream: 457
Boxee: asked to stop
Boxee: already stopped
BXBGProcess, Resolver Audio Processor, asked to stop, this = 0x908cffc
BXBGProcess, Resolver Video Processor, asked to stop, this = 0x908cf90
BXBGProcess, Boxee Feed Processor, asked to stop, this = 0x908cbb8
BXBGProcess, Application Messenger, asked to stop, this = 0x8ffbc74
BXBGProcess, Application Messenger, asked to stop, this = 0x8ffbc74
CRITSEC[0x902dc64]: Trying to enter destroyed section.
CRITSEC[0x902dc64]: Some other thread trying to leave our critical section.
CRITSEC[0x902dc64]: Trying to enter destroyed section.
CRITSEC[0x902dc64]: Some other thread trying to leave our critical section.
CRITSEC[0x8ffcce4]: Trying to enter destroyed section.
CRITSEC[0x8ffcce4]: Trying to enter destroyed section.
CRITSEC[0x8ffcce4]: Trying to enter destroyed section.
CRITSEC[0x8ffcd70]: Trying to enter destroyed section.
Locking assertion failure. Backtrace:
#0 /usr/lib/libxcb-xlib.so.0 [0xb6f18767]
#1 /usr/lib/libxcb-xlib.so.0(xcb_xlib_lock+0x2e) [0xb6f1881e]
#2 /usr/lib/libX11.so.6 [0xb745f518]
#3 /usr/lib/libGL.so.1(XF86DRIGetDrawableInfo+0x42) [0xb782d492]
#4 /usr/lib/dri/i965_dri.so(__driUtilUpdateDrawableInfo+0x142) [0xb5df9ae2]
#5 /usr/lib/dri/i965_dri.so [0xb5df9cc0]
#6 /usr/lib/libGL.so.1(glXMakeCurrentReadSGI+0xcf) [0xb780e3bf]
#7 /usr/lib/libGL.so.1(glXMakeCurrent+0x23) [0xb780e6e3]
#8 /usr/boxee/Boxee(_ZN7Surface8CSurface11MakeCurrentEv+0x6d) [0x86d081d]
#9 /usr/boxee/Boxee(_ZN15CGraphicContext15ValidateSurfaceEPN7Sur face8CSurfaceE+0xf3) [0x86b5363]
#10 /usr/boxee/Boxee(_ZN10CGLTextureD1Ev+0x26) [0x86d5796]
#11 /usr/boxee/Boxee(_ZN8CTexture11FreeTextureEv+0x34) [0x86d5d84]
#12 /usr/boxee/Boxee(_ZN8CTextureD0Ev+0x18) [0x86d5ed8]
#13 /usr/boxee/Boxee(_ZN11CTextureMapD0Ev+0x36) [0x86d95c6]
#14 /usr/boxee/Boxee(_ZN18CGUITextureManager7CleanupEv+0x3e) [0x86d624e]
#15 /usr/boxee/Boxee(_ZN18CGUITextureManagerD1Ev+0x1a) [0x86d70da]
#16 /lib/tls/i686/cmov/libc.so.6(exit+0xd4) [0xb7572084]
#17 /usr/lib/libX11.so.6 [0xb745863e]
#18 /usr/lib/libX11.so.6(_XError+0xfe) [0xb745873e]
#19 /usr/lib/libX11.so.6(_XReply+0x231) [0xb74602f1]
X Error of failed request: BadDrawable (invalid Pixmap or Window parameter)
Major opcode of failed request: 145 (XFree86-DRI)
Minor opcode of failed request: 9 ()
Resource id in failed request: 0x4400002
Serial number of failed request: 458
Current serial number in output stream: 458

vulkan
August 6th, 2008, 07:16 AM
this is an issue with intel gfx.

edit the file ~/.boxee/UserData/guisettings.xml

find the key "vsync" and change its value to 0

let me know if it helps

andrewgee
August 6th, 2008, 07:32 AM
Brilliant vulkan!

Worked perfectly!

Time to explore boxee now :)

Thanks very much :)

vulkan
August 6th, 2008, 08:00 AM
no worries.
the thing is that you may experience tearing in video playback due to the lack of vsync. we are looking for better ways to make this work.

enjoy!

snafilter
September 17th, 2008, 10:35 PM
I had the same issue; I modified the vsync and now the response is better but it's still taking approx. 1 second from input to interaction.

Just letting you know;
Thanks.

daemqn
October 2nd, 2008, 09:03 AM
fixed the issue too :)
thanks

Master_of_Disaster
March 29th, 2010, 03:21 PM
Hi, I am using an ASRock ION 330 HT with Ubuntu 9.10 installed and for me installing the Nvidia video driver helped to let boxee react like lightning. :)

Go to System > Administration > Hardware Drivers and install the driver: NVIDIA accelerated graphics driver (version 185) [recommended].
If this is not clear enough, check out page 4 from this PDF http://www.asrock.com/support/note/Ubuntu(9.10)IR.pdf.

Cheers!