HowTo (easily!) get faster grafics

How to do things, solutions, recipes, tutorials
Post Reply
Message
Author
User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

HowTo (easily!) get faster grafics

#1 Post by MU »

This does not work with XVesa, just with Xorg.

Download this file:
http://dotpups.de/dotpups/XServer/transparency-demo.pup

Add these lines to your /etc/X11/xorg.conf

Code: Select all

     Section "Extensions"
             Option "Composite" "Enable"
             Option "RENDER" "Enable"
     EndSection
Restart X.

In a console, type
xcompmgr -a &

Now Windows should move faster, also scrolling works faster.
But that might depend on the Computer.

Stop it with the command
killall xcompmgr


Advantage:
This solution is simple.
So it is worth a try, if you have problems with the other way by using DRI-Kernelmodules, as described here:
http://www.murga.org/~puppy/viewtopic.php?t=5244

------------------------
xcompmgr also can be used to draw nice shadows around your windows.
To activate shadows (what is much slower), try
xcompmgr -C -c -l -14 -t -14 -r 15 -o .7&

Try different values to change position and look.
try xcompmgr --help for details.

Attention:
In JWM(0.2x), the shadows will throw thousands of error messages.
This leads to a crash after half an hour or so, so just use it with Icewm, Enlightenment or others.
I have not tested it with JWM 1.x.
Maybe you can avoid the problems with:
xcompmgr -C -c -l -14 -t -14 -r 15 -o .7 2>/dev/null&
This might avoid that the textbuffer fills with useless errormessages.

Mark
Last edited by MU on Fri 03 Mar 2006, 13:22, edited 2 times in total.

User avatar
BarryK
Puppy Master
Posts: 9392
Joined: Mon 09 May 2005, 09:23
Location: Perth, Western Australia
Contact:

#2 Post by BarryK »

Mark,
Could you explain the difference between those two?
For example, if I just had the RENDER extension, not the Composite, what would that do? any speed improvement?

User avatar
Lobster
Official Crustacean
Posts: 15522
Joined: Wed 04 May 2005, 06:06
Location: Paradox Realm
Contact:

#3 Post by Lobster »

:) Mark can you highlight or move to the top your recommendation for only using with Icewm or Enlightenment

I tried it and was going to report no difference (but then I am just using JWM) :oops: be interesting if it works for our Window tinkering Puppys
Puppy Raspup 8.2Final 8)
Puppy Links Page http://www.smokey01.com/bruceb/puppy.html :D

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#4 Post by MU »

you need composite.

The render-extension just is needed for some other special effects like transparency (in addition to xcomposite).

I made a Dotpup, it includes xcompmgr 1.1.2, transset, and a small Xdialog-based program to set windows transparent and activate shadows:
http://dotpups.de/dotpups/XServer/transparency-demo.pup (56 kb)

Install, run "run-transset" from a console or the Dotpups-menu.

It will check, if your system supports it, and give tips for activation.


------------
Lobster, maybe on slower machines you will feel a difference?

Mark

Post Reply