Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
KDE 3.5.2 Transparency
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
RazielFMX
l33t
l33t


Joined: 23 Apr 2005
Posts: 835
Location: NY, USA

PostPosted: Thu May 11, 2006 6:53 am    Post subject: KDE 3.5.2 Transparency Reply with quote

I have an ATi X600 video card, xorg 6.8.2, and the latest closed source ATi drivers. When I click on transparency, it says I need to add the following to my xorg.conf, which I did:

Code:

Section "Extensions"
        Option       "Composite" "Enable"
EndSection


And it is saying I need kompmgr that came with kwin. However, KDE blocks it!

Code:

nightelf ~ # emerge -p kwin

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[blocks B     ] =kde-base/kdebase-3.5* (is blocking kde-base/kwin-3.5.2-r2)
[ebuild  N    ] kde-base/kwin-3.5.2-r2 
nightelf ~ # emerge -p kompmgr

These are the packages that I would merge, in order:

Calculating dependencies   
emerge: there are no ebuilds to satisfy "kompmgr".

nightelf ~ #


Here is my xorg.conf:

Code:

nightelf ~ # cat /etc/X11/xorg.conf
Section "ServerLayout"
        #Identifier     "Multihead Layout"
        Identifier     "Simple Layout"
        InputDevice    "Mouse1" "CorePointer"
        InputDevice    "Keyboard1" "CoreKeyboard"
        Screen         "aticonfig Screen 0" 0 0
        #Screen         "aticonfig Screen 1" RightOf "aticonfig Screen 0"
EndSection

Section "Files"
        RgbPath      "/usr/X11R6/lib/X11/rgb"
        FontPath     "/usr/share/fonts/misc/"
        FontPath     "/usr/share/fonts/TTF/"
        FontPath     "/usr/share/fonts/Type1/"
        FontPath     "/usr/share/fonts/75dpi/"
        FontPath     "/usr/share/fonts/100dpi/"
        FontPath     "/usr/share/fonts/local/"
EndSection

Section "Extensions"
        Option       "Composite" "Enable"
EndSection

Section "Module"
        Load  "dbe"     # Double buffer extension
        SubSection "extmod"
                Option      "omit xfree86-dga"   # don't initialise the DGA extension
        EndSubSection
        Load  "type1"
        Load  "freetype"
        Load  "dri"
        Load  "glx"
EndSection

Section "InputDevice"
        Identifier  "Keyboard1"
        Driver      "kbd"
        Option      "AutoRepeat" "500 30"
        Option      "XkbRules" "xorg"
        Option      "XkbModel" "pc104"
        Option      "XkbLayout" "us"
EndSection

Section "InputDevice"
        Identifier  "Mouse1"
        Driver      "mouse"
        Option      "Protocol" "PS/2"
        Option      "Device" "/dev/psaux"
EndSection

Section "Monitor"
        Identifier   "aticonfig Monitor 0"
        HorizSync    30.0 - 81.0
        VertRefresh  56.0 - 76.0
        Option       "DPMS"
EndSection

#Section "Monitor"
#       Identifier   "aticonfig Monitor 1"
#       HorizSync    30.0 - 81.0
#       VertRefresh  56.0 - 76.0
#       Option       "DPMS"
#EndSection

Section "Device"
        Identifier  "ATI Graphics Adapter 0"
        Driver      "fglrx"
        BusID       "PCI:1:0:0"
        Screen      0
EndSection

#Section "Device"
#       Identifier  "ATI Graphics Adapter 1"
#       Driver      "fglrx"
#       BusID       "PCI:1:0:0"
#       Screen      1
#EndSection

Section "Screen"
        Identifier "aticonfig Screen 0"
        Device     "ATI Graphics Adapter 0"
        Monitor    "aticonfig Monitor 0"
        DefaultDepth     24
        SubSection "Display"
                Viewport   0 0
                Depth     24
                Modes    "1280x1024"
        EndSubSection
EndSection

#Section "Screen"
#       Identifier "aticonfig Screen 1"
#       Device     "ATI Graphics Adapter 1"
#       Monitor    "aticonfig Monitor 1"
#       DefaultDepth     24
#       SubSection "Display"
#               Viewport   0 0
#               Depth     24
#               Modes    "1280x1024"
#       EndSubSection
#EndSection


Any ideas as to what I can do would be gretly appreciated. Since the xorg.conf that aticonfig generated was garbage, I pretty much set this up myself, so I'm sure I missing something.
_________________
I am not anti-systemd; I am pro-choice. If being the latter makes you feel that I am the former, then so be it.
Back to top
View user's profile Send private message
didymos
Advocate
Advocate


Joined: 10 Oct 2005
Posts: 4798
Location: California

PostPosted: Thu May 11, 2006 7:33 am    Post subject: Reply with quote

You're trying to install kwin alone, one of the split ebuilds, when you've installed the monolithic kdebase package. kdebase includes kwin,and kwin includes kompmgr, so it should include kompmgr. Check /usr/kde/3.5/bin. kompmgr should be there. The only thing that comes to mind is that for some reason kdebase omits kompmgr. Since there is no separate kompmgr package, the solution , if it is the case that kdebase is missing kompmgr, would be to re-install kde using the split ebuilds. The simplest way to do that is to emerge the kde.*-meta packages. Otherwise, you need to emerge each one individually. That's fine if you want to pick and choose, but it can take awhile.
_________________
Thomas S. Howard
Back to top
View user's profile Send private message
didymos
Advocate
Advocate


Joined: 10 Oct 2005
Posts: 4798
Location: California

PostPosted: Thu May 11, 2006 7:43 am    Post subject: Reply with quote

Oh, did you compile kdebase with the "xcomposite" USE flag? If you have gentoolkit installed do this to find out:

Code:

equery uses kdebase

_________________
Thomas S. Howard
Back to top
View user's profile Send private message
RazielFMX
l33t
l33t


Joined: 23 Apr 2005
Posts: 835
Location: NY, USA

PostPosted: Thu May 11, 2006 9:53 pm    Post subject: Reply with quote

I have kwin installed:

Code:

nightelf 3.5 # pwd
/usr/kde/3.5
nightelf 3.5 # find . -name 'kwin' -or -name 'kompmgr'
./include/kwin
./bin/kwin
./share/doc/HTML/en/kompmgr
./share/apps/kwin


Code:

nightelf 3.5 # equery uses kdebase
[ Searching for packages matching kdebase... ]
[ Colour Code : set unset ]
[ Legend        : Left column  (U) - USE flags from make.conf                     ]
[                  : Right column (I) - USE flags packages was installed with ]
[ Found these USE variables for kde-base/kdebase-3.5.2-r1 ]
 U I
 + + arts           : Adds support for aRts: the KDE sound daemon
 + + cups           : Add support for CUPS (Common Unix Printing System)
 - - debug          : Tells configure and the makefiles to build for debugging. Effects vary across packages, but generally it will at least add -g to CFLAGS. Remember to set FEATURES=nostrip too
 + + hal            : Enable Hardware Abstraction Layer (HAL) support
 - - ieee1394       : Enable FireWire/iLink IEEE1394 support (dv, camera, ...)
 + + java           : Adds support for Java
 - - kdeenablefinal : Makes kde ebuilds use the enable-final flag, yielding big compilation speedups at the cost of very heavy mem usage
 + + ldap           : Adds LDAP support (Lightweight Directory Access Protocol)
 - - lm_sensors     : Adds linux lm_sensors (hardware sensors) support
 - - logitech-mouse : Build the Control Center module to configure logitech mice
 - - openexr        : Support for the OpenEXR graphics file format (www.openexr.com).
 + + opengl         : Adds support for OpenGL (3D graphics)
 + + pam            : Adds support PAM (Pluggable Authentication Modules) - DANGEROUS to arbitrarily flip
 + + samba          : Adds support for SAMBA (Windows File and Printer sharing)
 + + ssl            : Adds support for Secure Socket Layer connections
 - - xcomposite     : Support for the Xorg composite extension.
 + + xinerama       : Add support for the xinerama X11 extension, which allows you to stretch your display across multiple monitors
 - - xscreensaver   : support for the XScreenSaver extension.
 - - zeroconf       : Support for DNS Service Discovery (DNS-SD).


Looks like we found the problem.
_________________
I am not anti-systemd; I am pro-choice. If being the latter makes you feel that I am the former, then so be it.
Back to top
View user's profile Send private message
didymos
Advocate
Advocate


Joined: 10 Oct 2005
Posts: 4798
Location: California

PostPosted: Thu May 11, 2006 11:49 pm    Post subject: Reply with quote

Cool. At least you don't have to completely switch to the split ebuilds.
_________________
Thomas S. Howard
Back to top
View user's profile Send private message
RazielFMX
l33t
l33t


Joined: 23 Apr 2005
Posts: 835
Location: NY, USA

PostPosted: Fri May 12, 2006 2:17 am    Post subject: Reply with quote

I'm running:

Code:

emerge --newuse -u --deep world



Which apparenly, 68 packages are affected/need updating. I'll run a depclean afterward, and revdep-rebuild.

Last time I did this, su stopped working... So let's hope for the best (I hadnt even made it to the depclean stage, I just rebuilt the box).

The only thing I am concerned about is the system wants to go the 2.6.16-gentoo-r7 and I'm currently running 2.6.15-gentoo-r7 as my kernel. Are there any known issues in 2.6.16? I'm leaving my symlink pointing to 2.6.15-gentoo-r7 for now, but I am thinking of upgrading my kernel to 2.6.16-r7.

When I mention issues I mean with KDE/Xorg/fglrx, since they are the only things giving me issues. Running off the console or ssh-ing into the box from my win xp workstation, all my utilities and command line apps work beautifully.
_________________
I am not anti-systemd; I am pro-choice. If being the latter makes you feel that I am the former, then so be it.
Back to top
View user's profile Send private message
widremann
Veteran
Veteran


Joined: 14 Mar 2005
Posts: 1314

PostPosted: Fri May 12, 2006 4:17 am    Post subject: Reply with quote

Don't bother with composite if you want to use fglrx...the driver doesn't support EXA or COMPOSITE. You will have to try the open source drivers. I don't know how well supported the x600 is, but I have an x300 and I get decent performance with EXA+COMPOSITE (although I have to use MergedFB with two screens or else the performance is horrible...very strange behavior I must say). Who knows when ATI will support COMPOSITE.
Back to top
View user's profile Send private message
RazielFMX
l33t
l33t


Joined: 23 Apr 2005
Posts: 835
Location: NY, USA

PostPosted: Fri May 12, 2006 5:40 am    Post subject: Reply with quote

It's alright, I wanted to recompile my whole system anyway, since, although this box is for work, I'm using it to teach myself more about gentoo, and linux in general (My experience is primarily Solaris 8 and 10, with a little redhat thrown in). I'm setting up the support for now, even if I can't use it yet. I've always loved my ATi video cards on my gaming PCs (Win2k, WinXP), and always felt them to be superior to nVidia, so this begs the question, does nVidia Linux support suck as bad as ATi? If not I might have to rethink my loyalties now that I'm getting more into Linux...
_________________
I am not anti-systemd; I am pro-choice. If being the latter makes you feel that I am the former, then so be it.
Back to top
View user's profile Send private message
beatryder
Veteran
Veteran


Joined: 08 Apr 2005
Posts: 1138

PostPosted: Fri May 12, 2006 6:55 am    Post subject: Reply with quote

widremann wrote:
Don't bother with composite if you want to use fglrx...the driver doesn't support EXA or COMPOSITE. You will have to try the open source drivers. I don't know how well supported the x600 is, but I have an x300 and I get decent performance with EXA+COMPOSITE (although I have to use MergedFB with two screens or else the performance is horrible...very strange behavior I must say). Who knows when ATI will support COMPOSITE.


I have an X300, and I found the performance to be very very slow... How did you get yours working?
_________________
Dont make it idiot proof, make it work.
Neucode.org
<suppressed key>
Back to top
View user's profile Send private message
Zubziro
Apprentice
Apprentice


Joined: 21 Sep 2005
Posts: 248
Location: Sweden

PostPosted: Fri May 12, 2006 1:40 pm    Post subject: Reply with quote

beatryder wrote:
widremann wrote:
Don't bother with composite if you want to use fglrx...the driver doesn't support EXA or COMPOSITE. You will have to try the open source drivers. I don't know how well supported the x600 is, but I have an x300 and I get decent performance with EXA+COMPOSITE (although I have to use MergedFB with two screens or else the performance is horrible...very strange behavior I must say). Who knows when ATI will support COMPOSITE.


I have an X300, and I found the performance to be very very slow... How did you get yours working?


Didn't tryed composite on my X800, but one thing is fact, my UT2004 runs faster in linux... have been testing same maps and Linux gives me average of 160 FPS, windows xp 143 FPS :-)
Back to top
View user's profile Send private message
widremann
Veteran
Veteran


Joined: 14 Mar 2005
Posts: 1314

PostPosted: Fri May 12, 2006 5:35 pm    Post subject: Reply with quote

beatryder wrote:
widremann wrote:
Don't bother with composite if you want to use fglrx...the driver doesn't support EXA or COMPOSITE. You will have to try the open source drivers. I don't know how well supported the x600 is, but I have an x300 and I get decent performance with EXA+COMPOSITE (although I have to use MergedFB with two screens or else the performance is horrible...very strange behavior I must say). Who knows when ATI will support COMPOSITE.


I have an X300, and I found the performance to be very very slow... How did you get yours working?

I'm using Xorg 7.0 but xf86-video-ati is at version 6.6.0 (unmask and use ~x86) and xorg-xserver is at version 1.0.99 (also unmask and ~x86). I enabled EXA in xorg.conf and disable RenderAccel. I also force backingstore to be disabled (although I think by default it's disabled anyways). The real trick to make it work it seems is to use MergedFB to create a dualscreen setup, but I don't use the second screen. For some reason, composite works pretty good that way, but with a single screen it varies and with the older drivers is unbearably slow. Here's the relevant part of my xorg.conf:

Code:
   Option      "RenderAccel" "false"
    Option      "AccelMethod" "exa"
    Option      "MigrationHeuristic" "greedy"
    Option      "backingstore" "false"
    Option      "MergedFB" "true"
    Option      "CRT2Position" "RightOf"
    Option      "CRT2Hsync" "50-75"
    Option      "CRTY2VRefresh" "30-82"
    Option      "MonitorLayout" "LCD,CRT"

MigrationHeuristic doesn't do anything in the non-bleeding edge CVS drivers, but I left it in anyways.
Back to top
View user's profile Send private message
RazielFMX
l33t
l33t


Joined: 23 Apr 2005
Posts: 835
Location: NY, USA

PostPosted: Fri May 12, 2006 8:22 pm    Post subject: Reply with quote

emerge broke my system, so I'm starting over. Awesome. Something about the fact update world downgraded my qt version, which means I cant do anything with KDE anymore.
_________________
I am not anti-systemd; I am pro-choice. If being the latter makes you feel that I am the former, then so be it.
Back to top
View user's profile Send private message
RazielFMX
l33t
l33t


Joined: 23 Apr 2005
Posts: 835
Location: NY, USA

PostPosted: Fri May 12, 2006 8:27 pm    Post subject: Reply with quote

Wow, this is interesting as well...

Code:

$ su - root
Password:
configuration error - unknown item 'FAILLOG_ENAB' (notify administrator)
configuration error - unknown item 'LASTLOG_ENAB' (notify administrator)
configuration error - unknown item 'MOTD_FILE' (notify administrator)
configuration error - unknown item 'FTMP_FILE' (notify administrator)
configuration error - unknown item 'ENV_ROOTPATH' (notify administrator)
configuration error - unknown item 'PASS_MIN_LEN' (notify administrator)
configuration error - unknown item 'CHFN_AUTH' (notify administrator)
smbox ~ #

_________________
I am not anti-systemd; I am pro-choice. If being the latter makes you feel that I am the former, then so be it.
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