[xawtv] hardware scaling nvidia

Pagina: 1
Acties:

  • ny-hardcore
  • Registratie: Maart 2002
  • Laatst online: 19:49
Wie heeft het goed draaien?
(wil dus in 1280x1024 kijken en niet in 800x600)

ik krijg het niet voor elkaar
heb :
Gentoo
xawtv 3.8
xv module geladen in xfreeconf
v4l module geladen in xfreeconf

output van xawtv -hwscan:

code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
This is xawtv-3.80, running on Linux/i686 (2.4.19-xfs-r1)
looking for available devices
port 63-63                              [ -xvport 63 ]
    type : Xvideo, video overlay
    name : video4linux

port 64-95
    type : Xvideo, image scaler
    name : NV05 Video Blitter

/dev/v4l/video0: OK                     [ -device /dev/v4l/video0 ]
    type : v4l
    name : BT878(Pinnacle PCTV Studio Pr)
    flags: overlay capture tuner


nvidia.com kernel en glx modules
(heb xinerama, dus 2 monitors)

wat mis ik?

[ Voor 59% gewijzigd door ny-hardcore op 17-01-2003 17:45 . Reden: Meer info ]

cd /pub && more beer


Verwijderd

Zou moeten werken - works for me. :?. Wat zegt xawtv -v2 -xv -xvport 63 (veel ja, maar wat exact? :P)?.

  • ny-hardcore
  • Registratie: Maart 2002
  • Laatst online: 19:49
Tja, voor de rest van de aardbol werkt het idd. ook, alleen bij mij niet :S
Maar hier komt de output van xawtv -xv -xvport 63 -v2
Ok komt 'ie, het is een hele lap :D
er staat een aantal keer
cmd: fullscreen , heb ik dus op f gedrukt voor fullscreen.


code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
Sat Jan 18 00:29:58 CET 2003
~
pzyko@pb2k: pts/0: 76 files 7.7Mb -> xawtv -v 2 -xv -xvport 63
This is xawtv-3.80, running on Linux/i686 (2.4.19-xfs-r1)
visual: id=0x21 class=4 (TrueColor), depth=16
visual: id=0x22 class=5 (DirectColor), depth=16
visual: id=0x23 class=4 (TrueColor), depth=16
visual: id=0x24 class=5 (DirectColor), depth=16
x11: color depth: 16 bits, 2 bytes - pixmap: 2 bytes
x11: color masks: red=0x0000f800 green=0x000007e0 blue=0x0000001f
x11: server byte order: little endian
x11: client byte order: little endian
check if the X-Server is local ... **** ok
x11 socket: me=localhost, server=localhost
main: dga extention...
DGA version 2.0
main: xinerama extention...
xinerama 0: 1280x1024+0+0
xinerama 1: 1280x1024+1280+0
main: xvideo extention [video]...
Xvideo: 2 adaptors available.
Xvideo: video4linux: input video, ports 63-63
Xvideo: NV05 Video Blitter: input image, ports 64-95
Xvideo: using port 63 for video
  XV_ENCODING get set, -1000 -> 1000
  XV_BRIGHTNESS get set, -1000 -> 1000
  XV_CONTRAST get set, -1000 -> 1000
  XV_SATURATION get set, -1000 -> 1000
  XV_HUE get set, -1000 -> 1000
  XV_VOLUME get set, -1000 -> 1000
  XV_MUTE get set, 0 -> 1
  XV_FREQ get set, 0 -> 16000
main: xvideo extention [image]...
  image format list for port 64
    0x32595559 (YUY2) packed [ok: 16 bit YUV 4:2:2 (packed)]
    0x32315659 (YV12) planar
    0x59565955 (UYVY) packed
    0x30323449 (I420) planar [ok: 12 bit YUV 4:2:0 (planar)]
    0x3 () packed
main: init main window...
main: install signal handlers...
main thread [pid=2929]
main: checking wm...
wmhooks: netwm
main: creating windows ...
main: init frequency tables ...
freq: reading /usr/share/xawtv/Index.map
main: read config file ...
freq: newtab 5
freq: reading /usr/share/xawtv/europe-west.list
freq: reading /usr/share/xawtv/ccir-i-iii.list
freq: reading /usr/share/xawtv/ccir-sl-sh.list
freq: reading /usr/share/xawtv/ccir-h.list
freq: reading /usr/share/xawtv/uhf.list
main: checking for vidmode extention ...
main: checking for lirc ...
lirc: ~/.lircrc file found
ev: reg built-in "lirc-key-ch+" => "setstation next"
ev: reg built-in "lirc-key-ch-" => "setstation prev"
ev: reg built-in "lirc-key-vol+" => "volume inc"
ev: reg built-in "lirc-key-vol-" => "volume dec"
ev: reg built-in "lirc-key-mute" => "volume mute"
ev: reg built-in "lirc-key-full_screen" => "fullscreen toggle"
ev: reg built-in "lirc-key-source" => "setinput next"
ev: reg built-in "lirc-key-reserved" => "quit"
ev: reg built-in "lirc-key-0" => "keypad 0"
ev: reg built-in "lirc-key-1" => "keypad 1"
ev: reg built-in "lirc-key-2" => "keypad 2"
ev: reg built-in "lirc-key-3" => "keypad 3"
ev: reg built-in "lirc-key-4" => "keypad 4"
ev: reg built-in "lirc-key-5" => "keypad 5"
ev: reg built-in "lirc-key-6" => "keypad 6"
ev: reg built-in "lirc-key-7" => "keypad 7"
ev: reg built-in "lirc-key-8" => "keypad 8"
ev: reg built-in "lirc-key-9" => "keypad 9"
lirc: init ok
main: checking for joystick ...
main: checking for midi ...
main: adding kbd hooks ...
main: mapping main window ...
xt: pointer show
main: initialize hardware ...
xv: get XV_BRIGHTNESS: 0
xv: get XV_CONTRAST: -160
xv: get XV_SATURATION: -20
xv: get XV_HUE: 0
xv: set XV_MUTE: 0
xv: get XV_VOLUME: 998
xv: get XV_MUTE: 0
main: parse channels from config file ...
config: invalid value for input: (null)
valid choices for "input": "television", "composite1", "svideo"
xt: handle_pending:  start ...
PropertyNotify WM_NAME
PropertyNotify WM_ICON_NAME
PropertyNotify WM_COMMAND
PropertyNotify WM_CLIENT_MACHINE
PropertyNotify WM_NORMAL_HINTS
PropertyNotify WM_HINTS
PropertyNotify WM_CLASS
PropertyNotify _KDE_NET_USER_TIME
PropertyNotify WM_LOCALE_NAME
PropertyNotify WM_LOCALE_NAME
PropertyNotify WM_CLIENT_LEADER
video: shell: size 384x288+0+0
gd: init
blit: init
blit: gl: DRI=Yes
blit: gl: texture max size: 2048
PropertyNotify WM_STATE
PropertyNotify _NET_WM_VISIBLE_NAME
PropertyNotify _KDE_NET_WM_FRAME_STRUT
PropertyNotify _NET_WM_DESKTOP
PropertyNotify WM_STATE
video: shell: size 640x480+1832+67
PropertyNotify WM_STATE
video: shell: ReparentNotify
video: shell: size 640x480+1832+67
video: shell: map
PropertyNotify WM_PROTOCOLS
PropertyNotify WM_NORMAL_HINTS
PropertyNotify _NET_WM_ICON_GEOMETRY
xt: handle_pending:  ... done
cmd: "setfreqtab" "europe-west"
freq: newtab 5
cmd: "capture" "overlay"
Xvideo: video: win=0x1a00048, src=640x480+0+0 dst=640x480+0+0
main: tuning first station
cmd: "setstation" "0"
Xvideo: video off
xv: set XV_MUTE: 1
xv: set XV_SATURATION: -20
xv: set XV_BRIGHTNESS: 0
xv: set XV_HUE: 0
xv: set XV_CONTRAST: -160
Xvideo: video: win=0x1a00048, src=768x576+0+0 dst=640x480+0+0
xv: set XV_MUTE: 0
main: enter main event loop...
PropertyNotify _XAWTV_STATION
PropertyNotify WM_NAME
PropertyNotify WM_ICON_NAME
PropertyNotify _XAWTV_STATION
PropertyNotify _NET_WM_VISIBLE_NAME
video: shell: size 640x480+1832+67
Xvideo: video: win=0x1a00048, src=768x576+0+0 dst=640x480+0+0
PropertyNotify WM_NAME
PropertyNotify _NET_WM_VISIBLE_NAME
xt: pointer hide
cmd: "fullscreen"
turning fs on
viewport: 1280x1024+1280+0
video: shell: size 640x480+1280+0
Xvideo: video: win=0x1a00048, src=768x576+0+0 dst=640x480+0+0
PropertyNotify WM_NORMAL_HINTS
PropertyNotify WM_NORMAL_HINTS
video: shell: size 1280x1024+1280+0
Xvideo: video: win=0x1a00048, src=768x576+0+0 dst=1280x960+0+32
video: shell: size 1280x1024+1280+0
Xvideo: video: win=0x1a00048, src=768x576+0+0 dst=1280x960+0+32
expose count=0
expose: xv reblit
video: shell: size 1280x1024+1280+0
Xvideo: video: win=0x1a00048, src=768x576+0+0 dst=1280x960+0+32
video: shell: size 1280x1024+1280+0
Xvideo: video: win=0x1a00048, src=768x576+0+0 dst=1280x960+0+32
cmd: "fullscreen"
turning fs off (640x480+1832+67)
video: shell: size 1280x1024+1832+67
Xvideo: video: win=0x1a00048, src=768x576+0+0 dst=1280x960+0+32
PropertyNotify WM_NORMAL_HINTS
PropertyNotify WM_NORMAL_HINTS
video: shell: size 640x480+1832+67
Xvideo: video: win=0x1a00048, src=768x576+0+0 dst=640x480+0+0
video: shell: size 640x480+1832+67
Xvideo: video: win=0x1a00048, src=768x576+0+0 dst=640x480+0+0
expose count=0
expose: xv reblit
video: shell: size 640x480+1832+67
Xvideo: video: win=0x1a00048, src=768x576+0+0 dst=640x480+0+0
video: shell: size 640x480+1832+67
Xvideo: video: win=0x1a00048, src=768x576+0+0 dst=640x480+0+0
keypad: timeout
PropertyNotify WM_NAME
PropertyNotify _NET_WM_VISIBLE_NAME

cd /pub && more beer


Verwijderd

Het grappige is dat ie dus 1280x960 ook probeert. Welke resoluties heb je eigenlijk in je XF86config staan? En als je daar 640x480 en 800x600 nou eens uithaalt?

  • ny-hardcore
  • Registratie: Maart 2002
  • Laatst online: 19:49
stukjes uit mijn XF68config

code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
ction "Device"
    Identifier "Generic VGA"
    Driver     "nvidia"
Option "NvAGP" "3"
Option "CursorShadow" "1"
Option "CursorShadowAlpha" "64"
Option "CursorShadowYOffset" "2"
Option "CursorShadowXOffset" "4"
Option "NoLogo" "1"
Option "DigitalVibrance" "3"
Option "TwinView" "1"
Option "SecondMonitorHorizSync" "30-69"
Option "SecondMonitorVertRefresh" "50-120"
Option "TwinViewOrientation" "RightOf"
Option "ConnectedMonitor" "crt,crt"
Option "TVStandard" "NTSC-M"
Option "MetaModes" "1280x1024@1280x1024,1280x1024@1280x1024"
EndSection


code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
ction "Screen"
    Identifier "screen1"
    Device      "Generic VGA"
    Monitor     "Hitachi|Hitachi CM751"

    DefaultColorDepth 16
    Subsection "Display"
        Depth       8
        Modes       "1280x1024" "1024x768"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       16
        Modes       "1280x1024" "1024x768"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       24
        Modes       "1280x1024" "1024x768"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       32
        Modes       "1024x768"
        ViewPort    0 0
    EndSubsection


Zou mijn kaart (geforce 2 mx400) dan gewoon geen scaling ondersteunen?
want bij sommige mensen zie ik iin de output van xawtv
staan, using port XX for backend scaling oid. doet ie bij mij niet ..

cd /pub && more beer


Verwijderd

code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
This is xawtv-3.81, running on Linux/i686 (2.4.20)
looking for available devices
port 63-63                              [ -xvport 63 ]
    type : Xvideo, video overlay
    name : video4linux

port 64-64                              [ -xvport 64 ]
    type : Xvideo, video overlay
    name : video4linux

port 65-65                              [ -xvport 65 ]
    type : Xvideo, video overlay
    name : video4linux

port 66-66
    type : Xvideo, image scaler
    name : NV04 Video Overlay

port 67-98
    type : Xvideo, image scaler
    name : NV05 Video Blitter

/dev/video0: OK                         [ -device /dev/video0 ]
    type : v4l2
    name : DC10plus[0]
    flags: overlay capture

/dev/video1: OK                         [ -device /dev/video1 ]
    type : v4l2
    name : Buz[1]
    flags: overlay capture

/dev/video2: OK                         [ -device /dev/video2 ]
    type : v4l2
    name : BT848(Hauppauge (bt848))
    flags: overlay capture tuner


mijn -hwscan output. Ik mis bij jou de N04, de video overlay (die dus voor scaling gebruikt wordt). Wat staat er allemaal in de modules sectie van je XF86Config?

code:
1
2
3
4
5
6
7
8
9
10
Section "Module"
        Load  "dbe"
        Load  "extmod"
        Load "fbdevhw"
        Load  "glx"
        Load  "record"
        Load  "freetype"
        Load  "type1"
        Load  "v4l"
EndSection


Dat staat er bij mij in.

  • ny-hardcore
  • Registratie: Maart 2002
  • Laatst online: 19:49
Argh... heb net ff de twinview optie uitgezet, dus maar beeld
op een monitor, en toen werkte het wel.
godv%&* .

ligt het dus aan de twinview.. :(
heb jij ook twinview? beelzebub?

code:
1
2
3
4
5
6
7
    Load        "dbe"
    Load        "glx"
    Load        "v4l"
    Load        "xv"
    Load        "extmod"
    Load        "type1"
    Load        "freetype"


wat is record? waar is die voor?

heb gentoo, moet je de xv module mischien maken ofzo?
xine enzo gebruikt nl. wel xv als output

[ Voor 52% gewijzigd door ny-hardcore op 18-01-2003 14:25 . Reden: extra vraag ]

cd /pub && more beer


Verwijderd

lijkt mij een ouwe v4l driver...
welke kernel draai je?
misschien toch maar eens 2.4.20 compilen :)
(hier werkt het op 1600x1200 met 2.4.19 kernel)

Verwijderd

ny-hardcore schreef op 18 January 2003 @ 14:06:
Argh... heb net ff de twinview optie uitgezet, dus maar beeld
op een monitor, en toen werkte het wel.
godv%&* .

ligt het dus aan de twinview.. :(
heb jij ook twinview? beelzebub?
Nope. Misschien omdat je een display clone doet. Als je nou een nieuwe display maakt ipv clone, werkt 't dan wel?
wat is record? waar is die voor?
Geen flauw idee, standaard RedHat installatie config. :P.
heb gentoo, moet je de xv module mischien maken ofzo?
xine enzo gebruikt nl. wel xv als output
Er is geen Xv module, Xv wordt automatisch geactiveerd als je nvidia.com's driver gebruikt.

  • ny-hardcore
  • Registratie: Maart 2002
  • Laatst online: 19:49
dispay clone?
was da?
ik heb gewoon 1 grote desktop met 2 x 1280x1024
dus net zoals onder winhoos, extend desktop to this monitor blah blah

ik heb de xfree68 met yanc aangemaakt
http://yanc.sourceforge.net/index-en.html

en heb kernel 2.4.19-xfs

cd /pub && more beer

Pagina: 1