[MPlayer-users] Re: Mandrake 9.2 contrast problem
Dean S. Messing
deanm at sharplabs.com
Thu Dec 11 02:12:04 CET 2003
Götz Waschk writes:
: I've found a link to xvattr in the Xine FAQ:
: http://www.dtek.chalmers.se/groups/dvd/dist/xvattr-1.3.tar.gz
:
: There's even a Mandrake package, so if you use mandrake, you can
: simply urpmi xvattr.
:
This would, indeed, be nice!
However, after `urpmi xvattr'
(and reading the xvattr man page)
I get:
[root at cortex root]# xvattr -a XV_BRIGHTNESS -v 24
Found Xv 2.2
X Error of failed request: BadMatch (invalid parameter attributes)
Major opcode of failed request: 142 (XVideo)
Minor opcode of failed request: 13 ()
Serial number of failed request: 11
Current serial number in output stream: 12
Same error if I leave off the -v 24
I also get:
[root at cortex root]# xvattr
Found Xv 2.2
Adaptor: 0
Name: NV05 Video Blitter
Port: 119
Port: 120
Port: 121
Port: 122
Port: 123
Port: 124
Port: 125
Port: 126
Port: 127
Port: 128
Port: 129
Port: 130
Port: 131
Port: 132
Port: 133
Port: 134
Port: 135
Port: 136
Port: 137
Port: 138
Port: 139
Port: 140
Port: 141
Port: 142
Port: 143
Port: 144
Port: 145
Port: 146
Port: 147
Port: 148
Port: 149
Port: 150
My system:
[root at cortex root]# X -version
XFree86 Version 4.3.0
Release Date: 9 May 2003
X Protocol Version 11, Revision 0, Release 6.6
Build Operating System: Linux 2.4.18-23mdksmp i686 [ELF]
Build Date: 10 September 2003
Before reporting problems, check http://www.XFree86.Org/
to make sure that you have the latest version.
Module Loader present
Also
[root at cortex root]# lspcidrake |fgrep -i nv
Card:NVIDIA GeForce4 (generic): NVidia|GeForce4 Ti 4800 [DISPLAY_VGA]
[root at cortex root]# rpm -qa | fgrep -i nvid
NVIDIA_kernel-2.4.22.10mdk-4496-3mdk
NVIDIA_GLX-4496-3mdk
And, of course, I have this binary driver enabled in /etc/X11/XF86Config
Section "Device"
Identifier "device1"
VendorName "NVidia"
BoardName "NVIDIA GeForce4 (generic)"
Driver "nvidia"
Option "DPMS"
EndSection
Also
[root at cortex root]# xvinfo
X-Video Extension version 2.2
screen #0
Adaptor #0: "NV05 Video Blitter"
number of ports: 32
port base: 119
operations supported: PutImage
supported visuals:
depth 24, visualID 0x21
depth 24, visualID 0x23
depth 24, visualID 0x24
depth 24, visualID 0x25
depth 24, visualID 0x26
depth 24, visualID 0x27
depth 24, visualID 0x28
depth 24, visualID 0x29
depth 24, visualID 0x2a
depth 24, visualID 0x2b
depth 24, visualID 0x2c
depth 24, visualID 0x2d
depth 24, visualID 0x2e
depth 24, visualID 0x2f
depth 24, visualID 0x30
depth 24, visualID 0x31
depth 24, visualID 0x22
depth 24, visualID 0x32
depth 24, visualID 0x33
depth 24, visualID 0x34
depth 24, visualID 0x35
depth 24, visualID 0x36
depth 24, visualID 0x37
depth 24, visualID 0x38
depth 24, visualID 0x39
depth 24, visualID 0x3a
depth 24, visualID 0x3b
depth 24, visualID 0x3c
depth 24, visualID 0x3d
depth 24, visualID 0x3e
depth 24, visualID 0x3f
depth 24, visualID 0x40
no port attributes defined
maximum XvImage size: 2046 x 2046
Number of image formats: 5
id: 0x32595559 (YUY2)
guid: 59555932-0000-0010-8000-00aa00389b71
bits per pixel: 16
number of planes: 1
type: YUV (packed)
id: 0x32315659 (YV12)
guid: 59563132-0000-0010-8000-00aa00389b71
bits per pixel: 12
number of planes: 3
type: YUV (planar)
id: 0x59565955 (UYVY)
guid: 55595659-0000-0010-8000-00aa00389b71
bits per pixel: 16
number of planes: 1
type: YUV (packed)
id: 0x30323449 (I420)
guid: 49343230-0000-0010-8000-00aa00389b71
bits per pixel: 12
number of planes: 3
type: YUV (planar)
id: 0x3
guid: 03000000-0000-0010-8000-00aa00389b71
bits per pixel: 32
number of planes: 1
type: RGB (packed)
depth: 24
red, green, blue masks: 0xff0000, 0xff00, 0xff
Finally, I tried re-building the xvattr .rpm from the .src.rpm without
any "measurable difference". All suggestions appreciated.
Dean S. Messing
Display Algorithms & Visual Optimization Lab
Information Systems Technologies Dept.
Sharp Laboratories of America
More information about the MPlayer-users
mailing list