Bug 6495 - xv extension is lost
Summary: xv extension is lost
Status: CLOSED FIXED
Alias: None
Product: Sisyphus
Classification: Development
Component: xorg-x11 (show other bugs)
Version: unstable
Hardware: all Linux
: P2 normal
Assignee: Valery Inozemtsev
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-04-12 16:03 MSD by Andrey V Khavryuchenko
Modified: 2005-10-31 23:00 MSK (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrey V Khavryuchenko 2005-04-12 16:03:46 MSD
# xvinfo
X-Video Extension version 2.2
screen #0
 no adaptors present

# grep extmod /var/log/Xorg.0.log
(II) LoadModule: "extmod"
(II) Loading /usr/X11R6/lib/modules/extensions/libextmod.a
(II) Module extmod: vendor="X.Org Foundation"

# # rpmg xorg-x11
xorg-x11-libs-6.8.2-alt5
xorg-x11-xapps-6.8.2-alt5
xorg-x11-drv-glint-6.8.2-alt5
xorg-x11-ttf-fonts-6.8.2-alt5
xorg-x11-devel-6.8.2-alt5
xorg-x11-server-6.8.2-alt5
xorg-x11-drv-input-6.8.2-alt5
xorg-x11-100dpi-fonts-6.8.2-alt5
xorg-x11-font-utils-6.8.2-alt5
xorg-x11-xfs-6.8.2-alt5
xorg-x11-drv-v4l-6.8.2-alt5
xorg-x11-drv-i740-6.8.2-alt5
xorg-x11-75dpi-fonts-unicode-6.8.2-alt5
xorg-x11-misc-fonts-6.8.2-alt5
xorg-x11-cyrillic-fonts-2.3.1-alt2
xorg-x11-xauth-6.8.2-alt5
xorg-x11-server-common-6.8.2-alt5
xorg-x11-drv-imstt-6.8.2-alt5
xorg-x11-75dpi-fonts-6.8.2-alt5
xorg-x11-mesaGL-6.8.2-alt5
xorg-x11-xdm-6.8.2-alt5
xorg-x11-drv-nsc-6.8.2-alt5
xorg-x11-drv-chips-6.8.2-alt5
xorg-x11-type1-fonts-6.8.2-alt5
xorg-x11-devel-static-6.8.2-alt5
xorg-x11-drv-tdfx-6.8.2-alt5
xorg-x11-drv-i128-6.8.2-alt5
xorg-x11-100dpi-fonts-unicode-6.8.2-alt5
xorg-x11-bitmaps-6.8.2-alt5
xorg-x11-locales-6.8.2-alt5
xorg-x11-utils-6.8.2-alt5
xorg-x11-drv-i8xx-6.8.2-alt5
xorg-x11-speedo-fonts-6.8.2-alt5


# uname -a
Linux netmaster.kds.com.ua 2.6.9-wks26-up-alt3 #1 Wed Dec 15 16:18:11 MSK 2004
i686 unknown unknown GNU/Linux

Набортная карта на базе i810



Expected Results:  
xvinfo сообщает о наличии XVideo extension
Comment 1 Valery Inozemtsev 2005-04-12 16:19:10 MSD
приведенная Вами информация ровным счетом ничего не дает. вот что у меня

$ xvinfo
X-Video Extension version 2.2
screen #0
  Adaptor #0: "Intel(R) 830M/845G/852GM/855GM/865G/915G Video Overlay"
    number of ports: 1
    port base: 60
    operations supported: PutImage
    supported visuals:
      depth 24, visualID 0x22
      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
    number of attributes: 3
      "XV_COLORKEY" (range 0 to 16777215)
              client settable attribute
              client gettable attribute (current value is 66046)
      "XV_BRIGHTNESS" (range -128 to 127)
              client settable attribute
              client gettable attribute (current value is 0)
      "XV_CONTRAST" (range 0 to 255)
              client settable attribute
              client gettable attribute (current value is 64)
    maximum XvImage size: 1440 x 1080
    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: 0x30323449 (I420)
        guid: 49343230-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)

$ uname -a
Linux shrek.office.altlinux.ru 2.6.11-std26-up-alt6 #1 Wed Mar 30 00:32:02 MSD
2005 i686 unknown unknown GNU/Linux

$ lspci
0000:00:00.0 Host bridge: Intel Corporation 82845G/GL[Brookdale-G]/GE/PE DRAM
Controller/Host-Hub Interface (rev 01)
0000:00:02.0 VGA compatible controller: Intel Corporation
82845G/GL[Brookdale-G]/GE Chipset Integrated Graphics Device (rev 01)
0000:00:1d.0 USB Controller: Intel Corporation 82801DB/DBL/DBM
(ICH4/ICH4-L/ICH4-M) USB UHCI Controller #1 (rev 01)
0000:00:1d.1 USB Controller: Intel Corporation 82801DB/DBL/DBM
(ICH4/ICH4-L/ICH4-M) USB UHCI Controller #2 (rev 01)
0000:00:1d.2 USB Controller: Intel Corporation 82801DB/DBL/DBM
(ICH4/ICH4-L/ICH4-M) USB UHCI Controller #3 (rev 01)
0000:00:1d.7 USB Controller: Intel Corporation 82801DB/DBM (ICH4/ICH4-M) USB2
EHCI Controller (rev 01)
0000:00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev 81)
0000:00:1f.0 ISA bridge: Intel Corporation 82801DB/DBL (ICH4/ICH4-L) LPC
Interface Bridge (rev 01)
0000:00:1f.1 IDE interface: Intel Corporation 82801DB (ICH4) IDE Controller (rev 01)
0000:00:1f.3 SMBus: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) SMBus
Controller (rev 01)
0000:00:1f.5 Multimedia audio controller: Intel Corporation 82801DB/DBL/DBM
(ICH4/ICH4-L/ICH4-M) AC'97 Audio Controller (rev 01)
0000:01:07.0 FireWire (IEEE 1394): NEC Corporation uPD72874 IEEE1394 OHCI 1.1
3-port PHY-Link Ctrlr (rev 01)
0000:01:08.0 Ethernet controller: Intel Corporation 82801DB PRO/100 VE (LOM)
Ethernet Controller (rev 81)

на самом деле нужно только вот это:
$ lspci -n
0000:00:00.0 Class 0600: 8086:2560 (rev 01)
0000:00:02.0 Class 0300: 8086:2562 (rev 01)
0000:00:1d.0 Class 0c03: 8086:24c2 (rev 01)
0000:00:1d.1 Class 0c03: 8086:24c4 (rev 01)
0000:00:1d.2 Class 0c03: 8086:24c7 (rev 01)
0000:00:1d.7 Class 0c03: 8086:24cd (rev 01)
0000:00:1e.0 Class 0604: 8086:244e (rev 81)
0000:00:1f.0 Class 0601: 8086:24c0 (rev 01)
0000:00:1f.1 Class 0101: 8086:24cb (rev 01)
0000:00:1f.3 Class 0c05: 8086:24c3 (rev 01)
0000:00:1f.5 Class 0401: 8086:24c5 (rev 01)
0000:01:07.0 Class 0c00: 1033:00f2 (rev 01)
0000:01:08.0 Class 0200: 8086:1039 (rev 81)
Comment 2 Andrey V Khavryuchenko 2005-04-12 16:32:07 MSD
Ну, так я и не знал какая информация relevant.

 # lspci -n
0000:00:00.0 Class 0600: 8086:2570 (rev 02)
0000:00:02.0 Class 0300: 8086:2572 (rev 02)
0000:00:1d.0 Class 0c03: 8086:24d2 (rev 02)
0000:00:1d.1 Class 0c03: 8086:24d4 (rev 02)
0000:00:1d.2 Class 0c03: 8086:24d7 (rev 02)
0000:00:1d.3 Class 0c03: 8086:24de (rev 02)
0000:00:1d.7 Class 0c03: 8086:24dd (rev 02)
0000:00:1e.0 Class 0604: 8086:244e (rev c2)
0000:00:1f.0 Class 0601: 8086:24d0 (rev 02)
0000:00:1f.1 Class 0101: 8086:24db (rev 02)
0000:00:1f.2 Class 0101: 8086:24d1 (rev 02)
0000:00:1f.3 Class 0c05: 8086:24d3 (rev 02)
0000:00:1f.5 Class 0401: 8086:24d5 (rev 02)
0000:01:00.0 Class 0200: 10ec:8029
0000:01:01.0 Class 0200: 1050:0940
0000:01:02.0 Class 0200: 10ec:8029
0000:01:08.0 Class 0200: 8086:1050 (rev 01)
Comment 3 Valery Inozemtsev 2005-04-12 16:48:45 MSD
drivers/i810]$ grep 2572 *
common.h:#define PCI_CHIP_I865_G                   0x2572

так это же i865
Comment 4 Andrey V Khavryuchenko 2005-04-12 16:56:43 MSD
Да, уже увидел.  И что?
Comment 5 Valery Inozemtsev 2005-04-12 22:12:24 MSD
$ lspci -n
0000:00:00.0 Class 0600: 8086:2570 (rev 02)
0000:00:02.0 Class 0300: 8086:2572 (rev 02)
0000:00:1d.0 Class 0c03: 8086:24d2 (rev 02)
...

$ xvinfo
X-Video Extension version 2.2
screen #0
   Adaptor #0: "Intel(R) 830M/845G/852GM/855GM/865G/915G Video Overlay"
     number of ports: 1
     port base: 60
     operations supported: PutImage
     supported visuals:
       depth 24, visualID 0x22
       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
     number of attributes: 3
       "XV_COLORKEY" (range 0 to 16777215)
               client settable attribute
               client gettable attribute (current value is 66046)
       "XV_BRIGHTNESS" (range -128 to 127)
               client settable attribute
               client gettable attribute (current value is 0)
       "XV_CONTRAST" (range 0 to 255)
               client settable attribute
               client gettable attribute (current value is 64)
     maximum XvImage size: 1440 x 1080
     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: 0x30323449 (I420)
         guid: 49343230-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)


все работает
Comment 6 Andrey V Khavryuchenko 2005-04-12 22:41:11 MSD
Что значит "всё работает"?  У меня - не работает.

ssh дать?
Comment 7 Valery Inozemtsev 2005-04-12 22:47:15 MSD
это значит что драйвер i810 работает. ssh не поможет
Comment 8 Andrey V Khavryuchenko 2005-04-12 23:02:07 MSD
Хорошо, а что *не* работает, выдавая такой эффект?
Comment 9 Valery Inozemtsev 2005-04-12 23:14:05 MSD
откуда мне знать. компьтер то ваш, а не мой
Comment 10 Andrey V Khavryuchenko 2005-04-12 23:32:01 MSD
My russian communication skills definitely lack in this area.

А что *может* не работать?
Comment 11 Michael Shigorin 2005-04-13 10:41:55 MSD
Валер,

1) это ну WORKSFORME, но не INVALID;
2) послать можно и проще.

Андрей -- вполне вменяемый человек, он *вам* помогает отловить проблему, с
которой иначе *после* будет вагон вопросов.  То, что их не будет у *тебя* -- на
ситуацию не влияет, увы.

Если у тебя нет настроения или реальной возможности отловить -- оставь открытым,
пусть напоминанием висит, что надо будет проверять или пинать xorg'ов.
Comment 12 Andrey V Khavryuchenko 2005-04-13 10:57:07 MSD
Действительно, если бы у меня было время - я бы сам выпотрошил как xvinfo так и
xorg, включая патчи и прочая.

Но времени нет, а где оно могло сломаться - я не знаю.

Всё, что я хочу - это
1) отследить источник глюки
2) запатчить
3) сделать так, чтобы больше не появлялась

Your turn?
Comment 13 Valery Inozemtsev 2005-04-13 12:56:26 MSD
я не кого не хотел "послать", тут ты не прав Мишь. я вчера специально нашел
машинку с i865, специально ни я, ни ее владелец никаких настроек не делали,
просто сказали там xvinfo, все там есть. в офисе куча i845, на них тоже все
работает. т.ч. это скорее локальная проблема, а не глобальная. можно еще
посмотреть на иксовый конфиг и посмотреть что будет на нормальном ядре (не wks)
Comment 14 Andrey V Khavryuchenko 2005-04-13 13:11:42 MSD
На wks всё работало, до определённого момента.
Последний std поставил, на выходних перегружусь и попробую.

До выходных всё же хотелось бы поиграть и разобраться без перезагрузки, так что
вопрос в силе:

Что *может* быть поломано?

Я уж не знаю, может кто-то открыл ресурс и не закрыл?  Помнится два mplayer-а у
меня отказывались запускаться одновременно с -vo xv (но то было давно).

Как это можно проверить?
Comment 15 Michael Shigorin 2005-04-13 13:44:37 MSD
(In reply to comment #13)
> я не кого не хотел "послать", тут ты не прав Мишь.
Эт хорошо; прости.

> я вчера специально нашел
> машинку с i865, специально ни я, ни ее владелец никаких настроек не делали,
> просто сказали там xvinfo, все там есть. в офисе куча i845, на них тоже все
> работает. т.ч. это скорее локальная проблема, а не глобальная. можно еще
> посмотреть на иксовый конфиг и посмотреть что будет на нормальном ядре (не wks)
Если вчерашний снапшот инсталера взлетит -- в следующий визит к железячникам
захвачу с собой.  i865G там тоже водилось.
Comment 16 Andrey V Khavryuchenko 2005-04-14 00:19:39 MSD
echo -e "agpgart\nintel_agp" >> /etc/modules

modprobe agpgart; modprobe intel_agp

Модуль после перезагрузки не всзвелся :(