Re: HD-Video Hardwar Acceleration?

2009-08-30 Thread drago01
On Sun, Aug 30, 2009 at 1:46 AM, Harald Braumannha...@unheit.net wrote:
 since we don't have documentation on the dedicated video
 decoders onboard most GPUs, and we haven't reverse-engineered them,
                   
 So there is documentation on some? Which ones? I couldn't
 find any information about that.

He said we _don't_ have documentation ... since we *don't* have documentation
___
xorg mailing list
xorg@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/xorg


Radeon KMS not working

2009-08-30 Thread ravi
I've been working on a Radeon KMS setup since yesterday, and I've finally
got it to the point where nothing works at all. :) At this point, the
error I get is that when I try to start X, video card tops outputting any
signal at all, and I get the following lines in my /var/log/messages a few
dozen times a second:

[drm:radeon_ib_schedule] *ERROR* radeon: couldn't schedule IB(5).
[drm:radeon_cs_ioctl] *ERROR* Faild to schedule IB !

I'm using linux-2.6.31-rc8, and mesa, xorg-server, and xf86-video-ati from
git checkouts from yesterday, as well as git versions of a few other
libraries (I can provide exact versions and revision numbers for
everything if necessary, but I don't know what all is relevant right now).

Normally I'd assume it's a transient issue, since I'm running several
things from git, but [1] indicates that people have been seeing this same
error for several months now.

[1]: http://www.phoronix.com/forums/showpost.php?p=77860postcount=8

Also, I tried disabling KMS in the kernel once I got everything installed
(radeon.modeset=0 as a kernel parameter), hoping that everything would
fall back on the old code paths and work again - unfortunately, it still
crashed immediately. Should I have expected this to work?

--Ravi

___
xorg mailing list
xorg@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/xorg


Space Navigator 3D

2009-08-30 Thread Timothy S. Nelson
Hi all.

I have a pointing device with 5 axes (a Space Navigator).  Does anyone 
know how I can assign one of them to be a scroll wheel?

:)


-
| Name: Tim Nelson | Because the Creator is,|
| E-mail: wayl...@wayland.id.au| I am   |
-

BEGIN GEEK CODE BLOCK
Version 3.12
GCS d+++ s+: a- C++$ U+++$ P+++$ L+++ E- W+ N+ w--- V- 
PE(+) Y+++ PGP-+++ R(+) !tv b++ DI D G+ e++ h! y-
-END GEEK CODE BLOCK-

___
xorg mailing list
xorg@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/xorg


[ANNOUNCE] libpciaccess 0.10.8

2009-08-30 Thread Dave Airlie
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Subject: [ANNOUNCE] libpciaccess 0.10.8
To: xorg-annou...@lists.freedesktop.org
CC: xorg@lists.freedesktop.org

Slight brown paper bag release, 0.10.7 fails to build
when the vga arb stubs were required. also whot pointed
out I had no info in 0.10.7 release mail.

libpciacesss 0.10.8 provides support for VGA arbiter on Linux,
along with support to check if a device is the boot VGA and
if a device has a kernel driver associated with it.

Dave Airlie (1):
  pciaccess: bump to 0.10.8

Thomas Klausner (1):
  pciaccess: fix vga arb stubs

git tag: libpciaccess-0.10.8

http://xorg.freedesktop.org/archive/individual/lib/libpciaccess-0.10.8.tar.bz2
MD5: b48d257b63dd5bcc9cea400d1b3a5242  libpciaccess-0.10.8.tar.bz2
SHA1: 0fa152811e121b4e97eb5f53c14d7896685f79a6  libpciaccess-0.10.8.tar.bz2

http://xorg.freedesktop.org/archive/individual/lib/libpciaccess-0.10.8.tar.gz
MD5: 71be6001623373ab663d440124c35cd1  libpciaccess-0.10.8.tar.gz
SHA1: 5d27b348187f08b1ecf15b27c7cf347d24199ee5  libpciaccess-0.10.8.tar.gz

-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.10 (GNU/Linux)

iEYEARECAAYFAkqbCL4ACgkQ6acWQe8Wxxr8KgCfTnciEHfXJykYRXGMpvlnuZlD
koQAoIa0BaOgbbIOg9V4yaHfTdvQYve0
=ObDU
-END PGP SIGNATURE-
___
xorg mailing list
xorg@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/xorg


ANN: xterm patch #247

2009-08-30 Thread Thomas Dickey
 Patch #247 - 2009/8/30
   
 * add  ifdef's  and  check  for openpty() on DragonFly (patch by Alex
   Hornung).
 * correct  calculation  for  size  of  line's  data  block, which was
   sometimes  off-by-one  when  configured  using --enable-16bit-chars
   (report by H Merijn Brand).
 * fix indexing error in print-everything feature from [251]patch #246
   (patch by Ovidiu Gheorghioiu).


-- 
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net


pgpvNTyyoz9lq.pgp
Description: PGP signature
___
xorg mailing list
xorg@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/xorg

Re: Mapping keypress-sequences etc. to mouse buttons

2009-08-30 Thread Thomas Jaeger
You can (ab)use easystroke for this:

http://sourceforge.net/apps/trac/easystroke/wiki/TipsAndTricks

Tom

Johannes Truschnigg wrote:
 Hello list,
 
 what's today's preferred way of mapping keypress-sequences and -shortcuts 
 (like Ctrl+W, for instance) to buttons on a pointer device (e. g., my mouse), 
 so that pressing these buttons simulate the appropriate keystrokes?
 I vaguely recall using a program called `imwheel` for tricks like these in 
 the 
 distant past (around 2004 or 2005) - is that still viable, or are there 
 other, 
 better ways to pull something like that off by now?
 
 Thanks for letting me know!
 
 
 
 
 ___
 xorg mailing list
 xorg@lists.freedesktop.org
 http://lists.freedesktop.org/mailman/listinfo/xorg

___
xorg mailing list
xorg@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/xorg


Re: Space Navigator 3D

2009-08-30 Thread Peter Hutterer
On Mon, Aug 31, 2009 at 09:13:01AM +1000, Timothy S. Nelson wrote:
 I have a pointing device with 5 axes (a Space Navigator).  Does anyone
 know how I can assign one of them to be a scroll wheel?

provided that the space navigator gives you x/y axes and you're running
evdev from master, enable wheel emulation on button 0.
tis turns every motion into a scroll wheel event.

for horizontal scrolling, you need to set the XAxisMapping option, it is
unset by default. set it to 6/7 for left/right scrolling.

Cheers,
  Peter
___
xorg mailing list
xorg@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/xorg


Re: XKB: purpose of virtualMods=... in symbols files

2009-08-30 Thread Maxim Levitsky
On Fri, 2009-08-28 at 17:46 +0300, Maxim Levitsky wrote:
 I currently am trying to understand how XKB works.
 
 I pretty much understand most of it, descriptions on 
 http://www.unix.bat.ru/mirrors/pascal/en/xkb/
 
 and the wonderful.
 
 Ability to retrieve current xkb configuration using xkbcomp makes it
 even easier.
 
 
 I don't understand the purpose of virtualMods= in symbol files.
 
 I was able to make use of this statement, but only like that:
   virtualMods=Vmod,
 actions= [SetMods(modifiers=Vmod)]
 
 
 As this allows to set a virtual modifier from a symbol declaration.
 (but this feature isn't used at all)
 
 However, standalone virtualMods= doesn't do anything, so why it is
 present in many symbol files, like:
 
 // Both Ctrls pressed together toggle group
 partial modifier_keys
 xkb_symbols ctrls_toggle {
   virtual_modifiers LControl, RControl;
 key LCTL {
   type[Group1]=PC_RCONTROL_LEVEL2,
   symbols[Group1]= [ NoSymbol,ISO_Prev_Group ],
   virtualMods= LControl
 };
 key RCTL {
   type[Group1]=PC_LCONTROL_LEVEL2,
   symbols[Group1]= [ NoSymbol,ISO_Next_Group ],
   virtualMods= RControl
 };
 };
 

Any idea?

Best regards,
Maxim Levitsky

___
xorg mailing list
xorg@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/xorg


Re: Space Navigator 3D

2009-08-30 Thread Timothy S. Nelson
On Mon, 31 Aug 2009, Peter Hutterer wrote:

 On Mon, Aug 31, 2009 at 09:13:01AM +1000, Timothy S. Nelson wrote:
 I have a pointing device with 5 axes (a Space Navigator).  Does anyone
 know how I can assign one of them to be a scroll wheel?

 provided that the space navigator gives you x/y axes and you're running
 evdev from master, enable wheel emulation on button 0.

Hmm.  Like this?

Device '3Dconnexion SpaceNavigator':
Device Enabled (133):   1
Evdev Reopen Attempts (266):10
Evdev Axis Inversion (267): 0, 0
Evdev Axis Calibration (268):
Evdev Axes Swap (269):  0
Evdev Middle Button Emulation (270):2
Evdev Middle Button Timeout (271):  50
Evdev Wheel Emulation (272):1
Evdev Wheel Emulation Axes (273):   0, 0, 4, 5
Evdev Wheel Emulation Inertia (274):0
Evdev Wheel Emulation Timeout (275):200
Evdev Wheel Emulation Button (276): 0
Evdev Drag Lock Buttons (277):  0

Because I still get mouse movements when I do that.

 tis turns every motion into a scroll wheel event.

Hmm.  But I want to map two of the axes to mouse movements, and two to 
scroll.  Can that be done?

 for horizontal scrolling, you need to set the XAxisMapping option, it is
 unset by default. set it to 6/7 for left/right scrolling.

Ok, I haven't tried this yet, but use this tip when I get the 
scrolling working.

:)


-
| Name: Tim Nelson | Because the Creator is,|
| E-mail: wayl...@wayland.id.au| I am   |
-

BEGIN GEEK CODE BLOCK
Version 3.12
GCS d+++ s+: a- C++$ U+++$ P+++$ L+++ E- W+ N+ w--- V- 
PE(+) Y+++ PGP-+++ R(+) !tv b++ DI D G+ e++ h! y-
-END GEEK CODE BLOCK-

___
xorg mailing list
xorg@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/xorg


Re: Space Navigator 3D

2009-08-30 Thread Peter Hutterer
On Mon, Aug 31, 2009 at 01:11:54PM +1000, Timothy S. Nelson wrote:
 On Mon, Aug 31, 2009 at 09:13:01AM +1000, Timothy S. Nelson wrote:
 I have a pointing device with 5 axes (a Space Navigator).  Does anyone
 know how I can assign one of them to be a scroll wheel?

 provided that the space navigator gives you x/y axes and you're running
 evdev from master, enable wheel emulation on button 0.

   Hmm.  Like this?

 Device '3Dconnexion SpaceNavigator':
   Device Enabled (133):   1
   Evdev Reopen Attempts (266):10
   Evdev Axis Inversion (267): 0, 0
   Evdev Axis Calibration (268):
   Evdev Axes Swap (269):  0
   Evdev Middle Button Emulation (270):2
   Evdev Middle Button Timeout (271):  50
   Evdev Wheel Emulation (272):1
   Evdev Wheel Emulation Axes (273):   0, 0, 4, 5
   Evdev Wheel Emulation Inertia (274):0
   Evdev Wheel Emulation Timeout (275):200
   Evdev Wheel Emulation Button (276): 0
   Evdev Drag Lock Buttons (277):  0

   Because I still get mouse movements when I do that.

set the inertia to 10 or something like that. not sure how you ended up with
0, that's not a valid value. other than that it looks alright. remember that
you need evdev from git, evdev 2.2 doesn't allow it.

 tis turns every motion into a scroll wheel event.

   Hmm.  But I want to map two of the axes to mouse movements, and two to  
 scroll.  Can that be done?

not yet, sorry. scroll handling is a bit weird, due to the requirement that
it is converted into button events before posting. the driver has the wheel
axes hardcoded. it'd be possible to add a configuration option for that but
you'd have to write the patch yourself. it's not that hard, but it requires
lots of testing to make sure it doesn't interfere with other button and axis
mappings.

Cheers,
  Peter
___
xorg mailing list
xorg@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/xorg


Re: Space Navigator 3D

2009-08-30 Thread Timothy S. Nelson
On Mon, 31 Aug 2009, Peter Hutterer wrote:

 On Mon, Aug 31, 2009 at 01:11:54PM +1000, Timothy S. Nelson wrote:
 On Mon, Aug 31, 2009 at 09:13:01AM +1000, Timothy S. Nelson wrote:
 I have a pointing device with 5 axes (a Space Navigator).  Does anyone
 know how I can assign one of them to be a scroll wheel?

 provided that the space navigator gives you x/y axes and you're running
 evdev from master, enable wheel emulation on button 0.

  Hmm.  Like this?

 Device '3Dconnexion SpaceNavigator':
  Device Enabled (133):   1
  Evdev Reopen Attempts (266):10
  Evdev Axis Inversion (267): 0, 0
  Evdev Axis Calibration (268):
  Evdev Axes Swap (269):  0
  Evdev Middle Button Emulation (270):2
  Evdev Middle Button Timeout (271):  50
  Evdev Wheel Emulation (272):1
  Evdev Wheel Emulation Axes (273):   0, 0, 4, 5
  Evdev Wheel Emulation Inertia (274):0
  Evdev Wheel Emulation Timeout (275):200
  Evdev Wheel Emulation Button (276): 0
  Evdev Drag Lock Buttons (277):  0

  Because I still get mouse movements when I do that.

 set the inertia to 10 or something like that. not sure how you ended up with
 0, that's not a valid value.

Sorry, that's my fault.  I tried it both ways.

 other than that it looks alright. remember that
 you need evdev from git, evdev 2.2 doesn't allow it.

Ok, that explains it then.  I'm on 2.2.4.

 tis turns every motion into a scroll wheel event.

  Hmm.  But I want to map two of the axes to mouse movements, and two to
 scroll.  Can that be done?

 not yet, sorry. scroll handling is a bit weird, due to the requirement that
 it is converted into button events before posting. the driver has the wheel
 axes hardcoded. it'd be possible to add a configuration option for that but
 you'd have to write the patch yourself. it's not that hard, but it requires
 lots of testing to make sure it doesn't interfere with other button and axis
 mappings.

Have we considered the possibility of mapping things using an xkb-like 
set of config files?  Or even integrating it into xkb?  I note that we have:
-   Something that maps virtual buttons to physical buttons
-   Something that maps a physical axis (scroll wheel) to a virtual set of
buttons
-   Things that invert and swap axes

I don't see any reason why these couldn't be done in an xkb-like 
fashion, although in the second and third cases, these might need to be 
implemented in the driver instead of via xmodmap (assuming I understand 
xmodmap correctly).

Am I correct in understanding that, in this diagram:

http://computerstuff.jdarx.info/content/keystroke-flow-xorg

...the xmodmap program also affects the dark green box (possibly at 
the point where the word compiles appears)?

Thanks,


-
| Name: Tim Nelson | Because the Creator is,|
| E-mail: wayl...@wayland.id.au| I am   |
-

BEGIN GEEK CODE BLOCK
Version 3.12
GCS d+++ s+: a- C++$ U+++$ P+++$ L+++ E- W+ N+ w--- V- 
PE(+) Y+++ PGP-+++ R(+) !tv b++ DI D G+ e++ h! y-
-END GEEK CODE BLOCK-

___
xorg mailing list
xorg@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/xorg