10b5b [Solved] [XFCE] Xfce 4.6 window redraw slow and heavy on CPU - The FreeBSD Forums
The FreeBSD Forums  

Go Back   The FreeBSD Forums > Desktop Usage > Window Managers > Other Window Managers

Other Window Managers XFCE, Fluxbox, Enlightenment, IceWM, WindowMaker, ION, etc.

Reply
 
Thread Tools Display Modes
  #1  
Old February 20th, 2010, 00:18
kasse kasse is offline
Junior Member
 
Join Date: Nov 2008
Posts: 22
Thanks: 5
Thanked 0 Times in 0 Posts
Default [XFCE] Xfce 4.6 window redraw slow and heavy on CPU

I installed xfce 4.6.1 on FreeBSD x64_8.0 and the windows are being redrawn very slowly when moving or scrolling. The CPU usage is really high when doing something with the windows.

I found something that this could have with the option "composite extension" from the xfce faq and gentoohttp://wiki.xfce.org/faq http://forums.gentoo.org/viewtopic-p...73199582f201c9, so I disabled it in xorg.conf.

Unfortunately there were no changes.

I read that the radeonhd driver was slowhttp://lists.freebsd.org/pipermail/f...er/209048.html should I switch driver?

Here are relevant parts of my xorg.conf
Code:
Section "Module"
        Load  "extmod"
        Load  "record"
        Load  "dbe"
        Load  "glx"
        Load  "dri"
        Load  "dri2"
EndSection

Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
        ### [arg]: arg optional
        #Option     "NoAccel"                   # [<bool>]
        #Option     "AccelMethod"               # [<str>]
        #Option     "offscreensize"             # [<str>]
        #Option     "SWcursor"                  # [<bool>]
        #Option     "ignoreconnector"           # [<str>]
        #Option     "forcereduced"              # [<bool>]
        #Option     "forcedpi"                  # <i>
        #Option     "useconfiguredmonitor"      # [<bool>]
        #Option     "HPD"                       # <str>
        #Option     "NoRandr"                   # [<bool>]
        #Option     "RROutputOrder"             # [<str>]
        #Option     "DRI"                       # [<bool>]
        #Option     "TVMode"                    # [<str>]
        #Option     "ScaleType"                 # [<str>]
        #Option     "UseAtomBIOS"               # [<bool>]
        #Option     "AtomBIOS"                  # [<str>]
        #Option     "UnverifiedFeatures"        # [<bool>]
        #Option     "Audio"                     # [<bool>]
        #Option     "HDMI"                      # [<str>]
        #Option     "COHERENT"                  # [<str>]
        Identifier  "Card0"
        Driver      "radeonhd"
        VendorName  "ATI Technologies Inc"
        BoardName   "RV710 [Radeon HD 4350]"
        BusID       "PCI:1:0:0"
        Option      "DRI"
        Option      "AccelMethod" "exa"
EndSection

Section "Extensions"
        Option "Composite" "Disable"
EndSection
I used xmonad before and there were no such problems except that xmonad somehow crashed or locked. Then again with a tiling manager you don't move the windows and with my xmonad there was no fancy graphics.

Last edited by kasse; February 20th, 2010 at 01:48.
Reply With Quote
  #2  
Old February 20th, 2010, 00:51
DutchDaemon's Avatar
DutchDaemon DutchDaemon is offline
Administrator
 
Join Date: Nov 2008
Location: Rotterdam, the Netherlands
Posts: 9,854
Thanks: 30
Thanked 1,892 Times in 1,335 Posts
Default

Please use [file] for file/path names, and [code] for system output and file contents.
__________________
FreeBSD Forums: Information for New Members | FreeBSD Forums Rules
FreeBSD Resources: The FreeBSD Handbook | Manuals | FAQ | Wiki
Before you post: How to ask questions the smart way
If you must know .. So, what does an Administrator/Moderator do?
---> Do not PM me with FreeBSD questions. I do not work here. <---
Reply With Quote
The Following User Says Thank You to DutchDaemon For This Useful Post:
kasse (February 20th, 2010)
  #3  
Old February 20th, 2010, 01:27
adamk adamk is offline
Senior Member
 
Join Date: Nov 2008
Posts: 1,605
Thanks: 6
Thanked 262 Times in 243 Posts
Default

Can you attach or pastebin your /var/log/Xorg.0.log file?

EDIT: Also, I would recommend the 'radeon' driver unless you need HDMI audio from the video card. And, finally, your xorg.conf file has this:

Code:
        Option      "DRI"
        Option      "AccelMethod" "exa"Section "Extensions"
EndSection

Section "Extensions"
That's definitely wrong. Remove the 'Section "Extensions"'from the Option line.

Adam
Reply With Quote
  #4  
Old February 20th, 2010, 02:02
kasse kasse is offline
Junior Member
 
Join Date: Nov 2008
Posts: 22
Thanks: 5
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by adamk View Post
Can you attach or pastebin your /var/log/Xorg.0.log file?

EDIT: Also, I would recommend the 'radeon' driver unless you need HDMI audio from the video card. And, finally, your xorg.conf file has this:

Code:
        Option      "DRI"
        Option      "AccelMethod" "exa"Section "Extensions"
EndSection

Section "Extensions"
That's definitely wrong. Remove the 'Section "Extensions"'from the Option line.

Adam
The xorg.conf was just an error when I pasted it in this post.

It is fixed now i hope.
From what I can see there are no errors in xorg.0.log
Here it ishttp://pastebin.ca/1803238

I have tried different drivers with no effect and also variations with/withoud dri&exa
Reply With Quote
  #5  
Old February 20th, 2010, 02:02
thuglife's Avatar
thuglife thuglife is offline
Member
 
Join Date: Jul 2009
Location: Athens, Greece
Posts: 159
Thanks: 4
Thanked 40 Times in 25 Posts
Default

Use x11-drivers/xf86-video-ati driver

Add WITHOUT_NOUVEAU=yes to /etc/make.conf

Update your installed software (# portmaster -aD)

Add

Code:
Section "ServerFlags"
        Option  "AIGLX" "true"
EndSection
at your /etc/X11/xorg.conf
Reply With Quote
The Following User Says Thank You to thuglife For This Useful Post:
kasse (February 20th, 2010)
  #6  
Old February 20th, 2010, 02:59
kasse kasse is offline
Junior Member
 
Join Date: Nov 2008
Posts: 22
Thanks: 5
Thanked 0 Times in 0 Posts
Default

Well it is working fine now
except for the aiglx:

Code:
(EE) AIGLX error: dlopen of /usr/local/lib/dri/r600_dri.so failed (Cannot open "/usr/local/lib/dri/r600_dri.so")
The ati chooses the radeon driver, which I tried before without success.

I am still confused why it works now? (I had rebuilt the x-drivers just yesterday so it must be someting else??)

p.s. It is also working with radeonhd now.

Thanks!!!

Last edited by DutchDaemon; February 20th, 2010 at 03:43. Reason: [code], not [quote]
Reply With Quote
  #7  
Old February 21st, 2010, 22:26
fronclynne's Avatar
fronclynne fronclynne is offline
Senior Member
 
Join Date: Feb 2009
Location: Lunch Time
Posts: 1,297
Thanks: 132
Thanked 166 Times in 143 Posts
Default

Quote:
Originally Posted by kasse View Post
Well it is working fine now
except for the aiglx:

Code:
(EE) AIGLX error: dlopen of /usr/local/lib/dri/r600_dri.so failed (Cannot open "/usr/local/lib/dri/r600_dri.so")
The ati chooses the radeon driver, which I tried before without success.

I am still confused why it works now? (I had rebuilt the x-drivers just yesterday so it must be someting else??)

p.s. It is also working with radeonhd now.

Thanks!!!
Code:
> pkg_info -W /usr/local/lib/dri/r600_dri.so 
/usr/local/lib/dri/r600_dri.so was installed by package dri-7.6.1,2
(for which see the WITHOUT_NOUVEAU bits of /usr/ports/UPDATING)
__________________
Quid habemus reliquum?
Nutrimentum anatum!

Внимание: лифт вниз не поднимает
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[XFCE] autoboot xfce DemoDoG Other Window Managers 1 August 29th, 2009 02:53
[Solved] [XFCE] Xfce and goffice al7oot Other Window Managers 5 August 14th, 2009 21:20
[Solved] [XFCE] How to start XFCE in FreeBSD SILLAT-BSD Other Window Managers 4 June 10th, 2009 01:49
[XFCE] xfce install lumiwa Other Window Managers 9 May 5th, 2009 19:03
Slow Gnome, even slower XFCE. Graaf_van_Vlaanderen General 3 February 5th, 2009 11:13


All times are GMT +1. The time now is 12:41.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
The mark FreeBSD is a registered trademark of The FreeBSD Foundation and is used by The FreeBSD Project with the permission of The FreeBSD Foundation.
Web protection and acceleration provided by CloudFlare
0