Portál AbcLinuxu, 11. listopadu 2025 06:12
nvidia-glx v testingu...
Jádro mam 2.6.15-1-k7 (všechno jede a nechci riskovat problémy tak zatim neupgraduju) a při pokusu instalovat debiani nvidia-glx jsem skončil na stejnym problému. Vyřešil jsem ho takhle: odinstaloval jsem všechny nvidia-glx debianí balíčky (ne kernel moduly) a pomocí dpkg-divert --remove odebral balast kterej po sobě zanechaly (zjistíš pomocí dpkg-divert --list |grep nvidia-glx ) a nakonec nainstaloval nvidia-glx z ubuntu (tenhle).
Akorát ten balík z ubuntu má v čísle verze napsanou i verzi jádra, ale snad je to jenom kvůli společnýmu source balíku s kernel modulama, u nvidia-glx by to teoreticky nemělo vadit (i když to je jeden z důvodů proč nechci riskovat upgrade jádra).
Vím, že tohle řešení nijak nezáří čistotou, je to spíš jenom workaround. Jestli někdo má lepší nechám si taky poradit.
No možna že kvůli tomuhle neni nvidia-glx v testingu...Aha, pravda... Oops
No, nvidia-kernel pro verzi 2.6.16-2-k7 je v testing k dispozici a nvidia-glx by se měl nechat nainstalovat z unstable (tady je ke stažení) - koukám, že je to stejná verze jako v Ubuntu.
Taky to není úplně čisté řešení (a člověk musí mít x.org 7, jinak to nefunguje), protože se míchají balíčky z různých verzí Debianu, ale funguje to. A furt lepší, než použít instalační skript.
1. myslim ze pokud si clovek nainstaluje jednu vec pomoci instalatoru tak na to nezapomeneNerikam ze se na to musi nutne zapomenout
Ale musi se na to myslet a musi se to obstaravat zvlast. A to oboji stoji nejaky cas a "premysleni".
Zatimco, kdyz mam na neco debiani balicek a existuje spolehliva jistota, ze ten balicek bude k dispozici i do budoucna, je rozhodne jednodussi nainstalovat ten balicek a pak uz to naporad obstarava aptitude upgrade, nez pri kazdem upgradu jadra reinstalovat ten nvidia-installer
2. i kdyby zapomel tak to nicemu nevadi prece ovladac nechas nainstalovanej furtTo je ale presne to, co nechci. Mam rad ve svem systemu system :) a nakolik linux nejsou windows, a "zapomenuty ovladac" nemusi nutne v systemu prekazet, zbytecne zabira misto na disku atd... Proste, muj nazor je, ze ta troska pruzeni, kterou obcas clovek v testingu ma, nez si opravi problem, ktery si tam zatahl nepovedenym aptitude installem/(dist-)upgradem , se v dlouhodobem horizontu vyplati vic, nez mit "brokenutou dpkg databazi a vsude kolem hromady software a ovladacu nainstalovanych pres third party instalatory".
). Z výpisu glxinfo jsem zjistil že nesouhlasí "server glx vendor string" a "client glx vendor string" (jedno bylo nvidia ale druhé mesa). Můžete to u sebe ověřit?
Jinak ty balíky nejsou stejné. Ubuntu balík má víc závislostí (mimo jiné taky na libglu1-mesa), které balík v debianu nemá, takže má asi lépe ošetřené ty všelijaké diverty.
Jinak ty balíky nejsou stejné.Myslel jsem verzi ovladače - obě jsou 8762-2. Jak jsem tam ten balíček přesně dostal, si moc nepamatuju - bylo to součástí většího porodu, který zahrnoval překlad jádra 2.6.16 z unstable (tím to začalo) a pak x.org 7 po jednotlivých balíčcích pomocí dpkg (to jsem nechtěl, ale starý xorg nový ovladač nebral.) Takže jsem se možná problémům vyhnul právě tím, že jsem nikdy neměl nainstalováno nvidia-cokoliv-legacy, protože když se to v testing objevilo, měl jsem novější verzi z unstable. Tady dávám výpis verzí relevantních balíků a to glxinfo, pokud budeš chtít něco dalšího, tak dej vědět.
$ glxinfo | grep "string" server glx vendor string: NVIDIA Corporation server glx version string: 1.4 client glx vendor string: NVIDIA Corporation client glx version string: 1.4
linux-source-2.6.16 2.6.16-17 nvidia-glx 1.0.8762-2 nvidia-kernel-source 1.0.8762-2P.S.: Vykat mi netřeba
client glx vendor string: SGI" a "direct rendering: no") a už už jsem chtěl napsat že u mě to prostě nejde, ale zkusil jsem to ještě potřetí a světe div se, teď to funguje jak má. Přitom si nejsem vědom nějaký (tak závažný) změny ve způsobu instalace...
Připadá mi, jako by se ten balík rozhodoval jestli bude nebo nebude fungovat korektně podle algoritmu podobnýmu magický kouli
$ dpkg -l "xserver-xorg-video-nv"
ii xserver-xorg-video-nv 1.0.1.5-2 X.Org X server -- NV display driver
$ cat /etc/X11/xorg.conf | grep "nvidia"
Driver "nvidia
A funguje.
)
tom@nellinka:~$ xvinfo Xlib: extension "XVideo" missing on display ":0.0". xvinfo: No X-Video Extension on :0.0
mox@rincewind:~$ xvinfo
X-Video Extension version 2.2
screen #0
Adaptor #0: "NV10 Video Overlay"
number of ports: 1
port base: 226
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 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
depth 24, visualID 0x41
depth 24, visualID 0x42
depth 24, visualID 0x43
depth 24, visualID 0x44
depth 24, visualID 0x45
depth 24, visualID 0x46
depth 24, visualID 0x47
depth 24, visualID 0x48
depth 24, visualID 0x49
depth 24, visualID 0x22
depth 24, visualID 0x4a
depth 24, visualID 0x4b
depth 24, visualID 0x4c
depth 24, visualID 0x4d
depth 24, visualID 0x4e
depth 24, visualID 0x4f
depth 24, visualID 0x50
depth 24, visualID 0x51
depth 24, visualID 0x52
depth 24, visualID 0x53
depth 24, visualID 0x54
depth 24, visualID 0x55
depth 24, visualID 0x56
depth 24, visualID 0x57
depth 24, visualID 0x58
depth 24, visualID 0x59
depth 24, visualID 0x5a
depth 24, visualID 0x5b
depth 24, visualID 0x5c
depth 24, visualID 0x5d
depth 24, visualID 0x5e
depth 24, visualID 0x5f
depth 24, visualID 0x60
depth 24, visualID 0x61
depth 24, visualID 0x62
depth 24, visualID 0x63
depth 24, visualID 0x64
depth 24, visualID 0x65
depth 24, visualID 0x66
depth 24, visualID 0x67
depth 24, visualID 0x68
depth 24, visualID 0x69
depth 24, visualID 0x6a
depth 24, visualID 0x6b
depth 24, visualID 0x6c
depth 24, visualID 0x6d
depth 24, visualID 0x6e
depth 24, visualID 0x6f
depth 24, visualID 0x70
number of attributes: 9
"XV_DOUBLE_BUFFER" (range 0 to 1)
client settable attribute
client gettable attribute (current value is 1)
"XV_COLORKEY" (range 0 to 16777215)
client settable attribute
client gettable attribute (current value is 66046)
"XV_AUTOPAINT_COLORKEY" (range 0 to 1)
client settable attribute
client gettable attribute (current value is 0)
"XV_SET_DEFAULTS" (range 0 to 0)
client settable attribute
"XV_BRIGHTNESS" (range -512 to 511)
client settable attribute
client gettable attribute (current value is 0)
"XV_CONTRAST" (range 0 to 8191)
client settable attribute
client gettable attribute (current value is 4096)
"XV_SATURATION" (range 0 to 8191)
client settable attribute
client gettable attribute (current value is 4096)
"XV_HUE" (range 0 to 360)
client settable attribute
client gettable attribute (current value is 0)
"XV_ITURBT_709" (range 0 to 1)
client settable attribute
client gettable attribute (current value is 0)
maximum XvImage size: 2046 x 2046
Number of image formats: 4
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)
Adaptor #1: "NV05 Video Blitter"
number of ports: 32
port base: 227
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 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
depth 24, visualID 0x41
depth 24, visualID 0x42
depth 24, visualID 0x43
depth 24, visualID 0x44
depth 24, visualID 0x45
depth 24, visualID 0x46
depth 24, visualID 0x47
depth 24, visualID 0x48
depth 24, visualID 0x49
depth 24, visualID 0x22
depth 24, visualID 0x4a
depth 24, visualID 0x4b
depth 24, visualID 0x4c
depth 24, visualID 0x4d
depth 24, visualID 0x4e
depth 24, visualID 0x4f
depth 24, visualID 0x50
depth 24, visualID 0x51
depth 24, visualID 0x52
depth 24, visualID 0x53
depth 24, visualID 0x54
depth 24, visualID 0x55
depth 24, visualID 0x56
depth 24, visualID 0x57
depth 24, visualID 0x58
depth 24, visualID 0x59
depth 24, visualID 0x5a
depth 24, visualID 0x5b
depth 24, visualID 0x5c
depth 24, visualID 0x5d
depth 24, visualID 0x5e
depth 24, visualID 0x5f
depth 24, visualID 0x60
depth 24, visualID 0x61
depth 24, visualID 0x62
depth 24, visualID 0x63
depth 24, visualID 0x64
depth 24, visualID 0x65
depth 24, visualID 0x66
depth 24, visualID 0x67
depth 24, visualID 0x68
depth 24, visualID 0x69
depth 24, visualID 0x6a
depth 24, visualID 0x6b
depth 24, visualID 0x6c
depth 24, visualID 0x6d
depth 24, visualID 0x6e
depth 24, visualID 0x6f
depth 24, visualID 0x70
number of attributes: 2
"XV_SET_DEFAULTS" (range 0 to 0)
client settable attribute
"XV_SYNC_TO_VBLANK" (range 0 to 1)
client settable attribute
client gettable attribute (current value is 0)
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
Adaptor #2: "NVIDIA Video Interface Port"
number of ports: 1
port base: 259
operations supported: PutVideo
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 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
depth 24, visualID 0x41
depth 24, visualID 0x42
depth 24, visualID 0x43
depth 24, visualID 0x44
depth 24, visualID 0x45
depth 24, visualID 0x46
depth 24, visualID 0x47
depth 24, visualID 0x48
depth 24, visualID 0x49
depth 24, visualID 0x22
depth 24, visualID 0x4a
depth 24, visualID 0x4b
depth 24, visualID 0x4c
depth 24, visualID 0x4d
depth 24, visualID 0x4e
depth 24, visualID 0x4f
depth 24, visualID 0x50
depth 24, visualID 0x51
depth 24, visualID 0x52
depth 24, visualID 0x53
depth 24, visualID 0x54
depth 24, visualID 0x55
depth 24, visualID 0x56
depth 24, visualID 0x57
depth 24, visualID 0x58
depth 24, visualID 0x59
depth 24, visualID 0x5a
depth 24, visualID 0x5b
depth 24, visualID 0x5c
depth 24, visualID 0x5d
depth 24, visualID 0x5e
depth 24, visualID 0x5f
depth 24, visualID 0x60
depth 24, visualID 0x61
depth 24, visualID 0x62
depth 24, visualID 0x63
depth 24, visualID 0x64
depth 24, visualID 0x65
depth 24, visualID 0x66
depth 24, visualID 0x67
depth 24, visualID 0x68
depth 24, visualID 0x69
depth 24, visualID 0x6a
depth 24, visualID 0x6b
depth 24, visualID 0x6c
depth 24, visualID 0x6d
depth 24, visualID 0x6e
depth 24, visualID 0x6f
depth 24, visualID 0x70
number of attributes: 9
"XV_ENCODING" (range 0 to 1)
client settable attribute
client gettable attribute (current value is 0)
"XV_COLORKEY" (range 0 to 16777215)
client settable attribute
client gettable attribute (current value is 66046)
"XV_AUTOPAINT_COLORKEY" (range 0 to 1)
client settable attribute
client gettable attribute (current value is 0)
"XV_SET_DEFAULTS" (range 0 to 0)
client settable attribute
"XV_BRIGHTNESS" (range -512 to 511)
client settable attribute
client gettable attribute (current value is 0)
"XV_CONTRAST" (range 0 to 8191)
client settable attribute
client gettable attribute (current value is 4096)
"XV_SATURATION" (range 0 to 8191)
client settable attribute
client gettable attribute (current value is 4096)
"XV_HUE" (range 0 to 360)
client settable attribute
client gettable attribute (current value is 0)
"XV_ITURBT_709" (range 0 to 1)
client settable attribute
client gettable attribute (current value is 0)
number of encodings: 2
encoding ID #0: "ntsc"
size: 720 x 480
rate: 59.940060
encoding ID #1: "pal"
size: 720 x 576
rate: 50.000000
Tiskni
Sdílej:
ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.