Bug 12481 - Xvideo not working
Summary: Xvideo not working
Status: RESOLVED FIXED
Alias: None
Product: xorg
Classification: Unclassified
Component: Driver/intel (show other bugs)
Version: git
Hardware: x86-64 (AMD64) Linux (All)
: medium major
Assignee: Eric Anholt
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-09-18 16:59 UTC by Sami Farin
Modified: 2007-12-09 18:42 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Sami Farin 2007-09-18 16:59:46 UTC
to get xorg-server-1.3.99.0-269-g547ad21 starting up without segfaulting
I had to do

index 0b402fa..f15f233 100644
--- a/mi/misprite.c
+++ b/mi/misprite.c
@@ -181,7 +181,7 @@ miSpriteInitialize (pScreen, cursorFuncs, screenFuncs)
        return FALSE;
     }
     for (pVisual = pScreen->visuals;
-        pVisual->vid != pScreen->rootVisual;
+        pVisual && pVisual->vid && pVisual->vid != pScreen->rootVisual;
         pVisual++)
        ;
     pScreenPriv->pVisual = pVisual;

but I hope this does not make xvideo break.
what the hell is that supposed to do, anyways?  is visuals terminated
by any NULL ptr or 0 in vid?

when I start some app which uses xvideo, like mplayer,
instead of the movie or whatever I get some other junk,
like graphics from firefox where I am typing bug reports for Xorg! 8-)

xf86-video-intel-2.1.0-88-gbda3c69

X-Video Extension version 2.2
screen #0
  Adaptor #0: "Intel(R) Textured Video"
    number of ports: 16
    port base: 73
    operations supported: PutImage 
    supported visuals:
      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
    number of attributes: 2
      "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 0)
    maximum XvImage size: 1920 x 1088
    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)


Also, even with
Option          "CacheLines" "2048"
and when using XAA, I get
X11 error: BadAlloc (insufficient resources for operation)
when I try to view 1920x816 movie.
I play with LinearAlloc later..
Comment 1 Sami Farin 2007-09-19 07:42:58 UTC
In an attempt to make xvideo work, 
I commented out "Virtual" from Subsection "Display" in xorg.conf and got
the following when attempting to start mplayer.

sorry that this stupid thing wraps lines.

2007-09-19 16:20:42.829830524 <6>[52396.210520] X[14995]: segfault at 0000000000000000 rip 00007f4cb9da08dd rsp 00007fff3de204a8 error 4
2007-09-19 16:20:47.821372646 <1>[52401.199628] Unable to handle kernel paging request at ffff81000c5d5000 RIP: 
2007-09-19 16:20:47.821376064 <1>[52401.199638]  [<ffffffff80408bc2>] clear_page+0x12/0x40
2007-09-19 16:20:47.821377343 <4>[52401.199652] PGD 8063 PUD 9063 PMD 800000000be08163 PTE ff5d4c45ff5e4d46
2007-09-19 16:20:47.821378660 <0>[52401.199659] Oops: 0002 [1] SMP 
2007-09-19 16:20:47.821379736 <4>[52401.199663] CPU 1 
2007-09-19 16:20:47.821380769 <4>[52401.199666] Modules linked in: i915 xt_CLASSIFY ipt_ECN xt_CONNMARK xt_connlimit xt_length ipt_set xt_multiport ip_set_iphash ip_set_nethash ip_set_portmap sch_esfq ipt_REJECT ip6t_LOG xt_limit ipt_LOG xt_hashlimit ipt_owner nf_conntrack_ipv4 xt_state xt_tcpudp ip6table_filter ip6table_mangle ip6_tables iptable_filter iptable_mangle iptable_raw ip_tables tcp_highspeed tcp_htcp tcp_hybla tcp_scalable tcp_vegas tcp_westwood ip_set sch_netem sch_hfsc sch_htb sch_sfq cls_fw cls_u32 cls_route sch_ingress sch_red sch_tbf sch_teql sch_prio sch_gred cls_rsvp cls_rsvp6 cls_tcindex sch_cbq sch_dsmark nf_conntrack xt_TARPIT x_tables perfctr dccp_diag dccp ioatdma cmtp kernelcapi l2cap bluetooth intelfb i2c_algo_bit i810 lp i2c_dev ftdi_sio usbserial usb_storage eeprom ohci_hcd irlan irda crc_ccitt binfmt_misc loop dm_mod video dock button battery ac tcp_cubic nvram snd_hda_intel snd_seq_dummy snd_seq_oss snd_seq_midi_event snd_seq snd_seq_device snd_pcm_oss snd_mixer_oss snd_pcm snd_timer 
2007-09-19 16:20:47.821415925 ohci1394 snd ieee1394 soundcore i2c_i801 i2c_core parport_pc iTCO_wdt iTCO_vendor_support snd_page_alloc parport e1000 ehci_hcd uhci_hcd
2007-09-19 16:20:47.821418015 <4>[52401.199774] Pid: 15238, comm: feh Not tainted 2.6.22.6-cfs-v20.5-64-2 #6
2007-09-19 16:20:47.821419492 <4>[52401.199777] RIP: 0010:[<ffffffff80408bc2>]  [<ffffffff80408bc2>] clear_page+0x12/0x40
2007-09-19 16:20:47.821421016 <4>[52401.199784] RSP: 0000:ffff810016783c50  EFLAGS: 00010216
2007-09-19 16:20:47.821422332 <4>[52401.199787] RAX: 0000000000000000 RBX: ffff8100012b4698 RCX: 000000000000003f
2007-09-19 16:20:47.821427192 <4>[52401.199790] RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffff81000c5d5000
2007-09-19 16:20:47.821428703 <4>[52401.199793] RBP: ffff810016783ce8 R08: 0000000000000000 R09: 0000000000000000
2007-09-19 16:20:47.821430208 <4>[52401.199796] R10: 0000000000000001 R11: 0000000000000001 R12: ffff8100012b4698
2007-09-19 16:20:47.821431682 <4>[52401.199799] R13: 0000000000000000 R14: 0000000000000001 R15: ffff810000000000
2007-09-19 16:20:47.821440453 <4>[52401.199804] FS:  0000000000000000(0000) GS:ffff81003e581d40(0063) knlGS:000000005578df20
2007-09-19 16:20:47.821442070 <4>[52401.199807] CS:  0010 DS: 002b ES: 002b CR0: 000000008005003b
2007-09-19 16:20:47.821443419 <4>[52401.199810] CR2: ffff81000c5d5000 CR3: 0000000017740000 CR4: 00000000000006e0
2007-09-19 16:20:47.821444890 <4>[52401.199815] Process feh (pid: 15238, threadinfo ffff810016782000, task ffff8100167c60c0)
2007-09-19 16:20:47.821450296 <4>[52401.199817] Stack:  ffffffff8026ef70 0000000000000000 0000000000000001 ffffffff80874e20
2007-09-19 16:20:47.821451885 <4>[52401.199825]  000000010888f328 0000000000000000 ffffffff807b6a00 ffffffff807b6580
2007-09-19 16:20:47.821453379 <4>[52401.199831]  0000004400000000 000280d200000000 ffffffff807b74d8 000000010807a8b4
2007-09-19 16:20:47.821454865 <4>[52401.199836] Call Trace:
2007-09-19 16:20:47.821483352 <4>[52401.199843]  [<ffffffff8026ef70>] get_page_from_freelist+0x2f0/0x3e0
2007-09-19 16:20:47.821484951 <4>[52401.199922]  [<ffffffff8026f10a>] __alloc_pages+0xaa/0x370
2007-09-19 16:20:47.821486212 <4>[52401.199962]  [<ffffffff802815f9>] anon_vma_prepare+0x39/0x120
2007-09-19 16:20:47.821487484 <4>[52401.199994]  [<ffffffff80278e1d>] __handle_mm_fault+0x71d/0xc30
2007-09-19 16:20:47.821488723 <4>[52401.200035]  [<ffffffff802902b1>] do_sync_read+0xf1/0x130
2007-09-19 16:20:47.821494168 <4>[52401.200083]  [<ffffffff8021dfb5>] do_page_fault+0x1c5/0x8d0
2007-09-19 16:20:47.821503918 <4>[52401.200092]  [<ffffffff80249000>] autoremove_wake_function+0x0/0x40
2007-09-19 16:20:47.821505402 <4>[52401.200168]  [<ffffffff80263caa>] audit_syscall_exit+0x3da/0x440
2007-09-19 16:20:47.821506786 <4>[52401.200228]  [<ffffffff806533ad>] error_exit+0x0/0x84
2007-09-19 16:20:47.821508067 <4>[52401.200312] 
2007-09-19 16:20:47.821509058 <4>[52401.200313] 
2007-09-19 16:20:47.821510044 <4>[52401.200314] Code: 48 89 07 48 89 47 08 48 89 47 10 48 89 47 18 48 89 47 20 48 
2007-09-19 16:20:47.821515365 <1>[52401.200329] RIP  [<ffffffff80408bc2>] clear_page+0x12/0x40
2007-09-19 16:20:47.821516714 <4>[52401.200335]  RSP <ffff810016783c50>
2007-09-19 16:20:47.821517872 <0>[52401.200338] CR2: ffff81000c5d5000
2007-09-19 16:20:47.821519016 <6>[52401.200355] note: feh[15238] exited with preempt_count 1
2007-09-19 16:20:47.821520335 <3>[52401.200362] BUG: sleeping function called from invalid context at kernel/rwsem.c:20
2007-09-19 16:20:47.821524862 <4>[52401.200367] in_atomic():1, irqs_disabled():0
2007-09-19 16:20:47.821526118 <4>[52401.200372] 
2007-09-19 16:20:47.821527097 <4>[52401.200373] Call Trace:
2007-09-19 16:20:47.821528166 <4>[52401.200389]  [<ffffffff8022c860>] __might_sleep+0xb0/0xc0
2007-09-19 16:20:47.821529492 <4>[52401.200401]  [<ffffffff8024c9cd>] down_read+0x1d/0x40
2007-09-19 16:20:47.821530781 <4>[52401.200421]  [<ffffffff8025af85>] acct_collect+0x45/0x1d0
2007-09-19 16:20:47.821534985 <4>[52401.200448]  [<ffffffff80236d3a>] do_exit+0x15a/0x9a0
2007-09-19 16:20:47.821543969 <4>[52401.200504]  [<ffffffff8021e47d>] do_page_fault+0x68d/0x8d0
2007-09-19 16:20:47.821545381 <4>[52401.200586]  [<ffffffff80269aa1>] file_read_actor+0x161/0x180
2007-09-19 16:20:47.821546737 <4>[52401.200651]  [<ffffffff806533ad>] error_exit+0x0/0x84
2007-09-19 16:20:47.821548028 <4>[52401.200718]  [<ffffffff80408bc2>] clear_page+0x12/0x40
2007-09-19 16:20:47.821549327 <4>[52401.200738]  [<ffffffff8026ef70>] get_page_from_freelist+0x2f0/0x3e0
2007-09-19 16:20:47.821554257 <4>[52401.200816]  [<ffffffff8026f10a>] __alloc_pages+0xaa/0x370
2007-09-19 16:20:47.821555606 <4>[52401.200856]  [<ffffffff802815f9>] anon_vma_prepare+0x39/0x120
2007-09-19 16:20:47.821627980 <4>[52401.200888]  [<ffffffff80278e1d>] __handle_mm_fault+0x71d/0xc30
2007-09-19 16:20:47.821629710 <4>[52401.200931]  [<ffffffff802902b1>] do_sync_read+0xf1/0x130
2007-09-19 16:20:47.821630921 <4>[52401.200978]  [<ffffffff8021dfb5>] do_page_fault+0x1c5/0x8d0
2007-09-19 16:20:47.821632137 <4>[52401.200987]  [<ffffffff80249000>] autoremove_wake_function+0x0/0x40
2007-09-19 16:20:47.821633406 <4>[52401.201062]  [<ffffffff80263caa>] audit_syscall_exit+0x3da/0x440
2007-09-19 16:20:47.821634662 <4>[52401.201120]  [<ffffffff806533ad>] error_exit+0x0/0x84
2007-09-19 16:20:47.821708891 <4>[52401.201208] 
2007-09-19 16:20:55.711737656 <1>[52409.085330] Unable to handle kernel paging request at ffff81000c5d4000 RIP: 
2007-09-19 16:20:55.711741329 <1>[52409.085339]  [<ffffffff80408bc2>] clear_page+0x12/0x40
2007-09-19 16:20:55.711742706 <4>[52409.085352] PGD 8063 PUD 9063 PMD 800000000be08163 PTE ff5e4d46ff5d4c45
2007-09-19 16:20:55.711744145 <0>[52409.085359] Oops: 000b [2] SMP 
2007-09-19 16:20:55.711745223 <4>[52409.085363] CPU 0 
2007-09-19 16:20:55.711746279 <4>[52409.085366] Modules linked in: i915 xt_CLASSIFY ipt_ECN xt_CONNMARK xt_connlimit xt_length ipt_set xt_multiport ip_set_iphash ip_set_nethash ip_set_portmap sch_esfq ipt_REJECT ip6t_LOG xt_limit ipt_LOG xt_hashlimit ipt_owner nf_conntrack_ipv4 xt_state xt_tcpudp ip6table_filter ip6table_mangle ip6_tables iptable_filter iptable_mangle iptable_raw ip_tables tcp_highspeed tcp_htcp tcp_hybla tcp_scalable tcp_vegas tcp_westwood ip_set sch_netem sch_hfsc sch_htb sch_sfq cls_fw cls_u32 cls_route sch_ingress sch_red sch_tbf sch_teql sch_prio sch_gred cls_rsvp cls_rsvp6 cls_tcindex sch_cbq sch_dsmark nf_conntrack xt_TARPIT x_tables perfctr dccp_diag dccp ioatdma cmtp kernelcapi l2cap bluetooth intelfb i2c_algo_bit i810 lp i2c_dev ftdi_sio usbserial usb_storage eeprom ohci_hcd irlan irda crc_ccitt binfmt_misc loop dm_mod video dock button battery ac tcp_cubic nvram snd_hda_intel snd_seq_dummy snd_seq_oss snd_seq_midi_event snd_seq snd_seq_device snd_pcm_oss snd_mixer_oss snd_pcm snd_timer 
2007-09-19 16:20:55.711809131 ohci1394 snd ieee1394 soundcore i2c_i801 i2c_core parport_pc iTCO_wdt iTCO_vendor_support snd_page_alloc parport e1000 ehci_hcd uhci_hcd
2007-09-19 16:20:55.711811454 <4>[52409.085475] Pid: 15246, comm: mplayer Not tainted 2.6.22.6-cfs-v20.5-64-2 #6
2007-09-19 16:20:55.711812953 <4>[52409.085478] RIP: 0010:[<ffffffff80408bc2>]  [<ffffffff80408bc2>] clear_page+0x12/0x40
2007-09-19 16:20:55.711814439 <4>[52409.085485] RSP: 0000:ffff810014fa7c50  EFLAGS: 00010216
2007-09-19 16:20:55.711815711 <4>[52409.085488] RAX: 0000000000000000 RBX: ffff8100012b4660 RCX: 000000000000003f
2007-09-19 16:20:55.711822067 <4>[52409.085491] RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffff81000c5d4000
2007-09-19 16:20:55.711823554 <4>[52409.085494] RBP: ffff810014fa7ce8 R08: 0000000000000000 R09: 0000000000000000
2007-09-19 16:20:55.711824975 <4>[52409.085497] R10: 0000000000000001 R11: 0000000000000001 R12: ffff8100012b4660
2007-09-19 16:20:55.711826307 <4>[52409.085500] R13: 0000000000000000 R14: 0000000000000001 R15: ffff810000000000
2007-09-19 16:20:55.711836314 <4>[52409.085505] FS:  00007f997ed17700(0000) GS:ffffffff80805000(0000) knlGS:0000000000000000
2007-09-19 16:20:55.711837999 <4>[52409.085508] CS:  0010 DS: 0000 ES: 0000 CR0: 000000008005003b
2007-09-19 16:20:55.711839370 <4>[52409.085511] CR2: ffff81000c5d4000 CR3: 0000000017ed4000 CR4: 00000000000006e0
2007-09-19 16:20:55.711840904 <4>[52409.085516] Process mplayer (pid: 15246, threadinfo ffff810014fa6000, task ffff8100167c67e0)
2007-09-19 16:20:55.711846232 <4>[52409.085518] Stack:  ffffffff8026ef70 0000000000000000 0000000000000001 ffffffff80874e20
2007-09-19 16:20:55.711847919 <4>[52409.085526]  0000000100000246 0000000000000000 ffffffff807b6a00 ffffffff807b6580
2007-09-19 16:20:55.711849448 <4>[52409.085532]  0000004400000000 000280d200000000 ffffffff807b74d8 0000000114fa7d38
2007-09-19 16:20:55.711851017 <4>[52409.085537] Call Trace:
2007-09-19 16:20:55.711855316 <4>[52409.085544]  [<ffffffff8026ef70>] get_page_from_freelist+0x2f0/0x3e0
2007-09-19 16:20:55.711856850 <4>[52409.085625]  [<ffffffff8026f10a>] __alloc_pages+0xaa/0x370
2007-09-19 16:20:55.711858229 <4>[52409.085666]  [<ffffffff802815f9>] anon_vma_prepare+0x39/0x120
2007-09-19 16:20:55.711859641 <4>[52409.085699]  [<ffffffff80278e1d>] __handle_mm_fault+0x71d/0xc30
2007-09-19 16:20:55.711861062 <4>[52409.085788]  [<ffffffff8021dfb5>] do_page_fault+0x1c5/0x8d0
2007-09-19 16:20:55.711865412 <4>[52409.085793]  [<ffffffff8022b449>] update_curr+0x109/0x120
2007-09-19 16:20:55.711874466 <4>[52409.085874]  [<ffffffff80263caa>] audit_syscall_exit+0x3da/0x440
2007-09-19 16:20:55.711875980 <4>[52409.085879]  [<ffffffff804066f8>] __up_write+0xd8/0x140
2007-09-19 16:20:55.711877304 <4>[52409.085936]  [<ffffffff806533ad>] error_exit+0x0/0x84
2007-09-19 16:20:55.711878640 <4>[52409.086021] 
2007-09-19 16:20:55.711879649 <4>[52409.086023] 
2007-09-19 16:20:55.711880642 <4>[52409.086024] Code: 48 89 07 48 89 47 08 48 89 47 10 48 89 47 18 48 89 47 20 48 
2007-09-19 16:20:55.711886028 <1>[52409.086039] RIP  [<ffffffff80408bc2>] clear_page+0x12/0x40
2007-09-19 16:20:55.711887414 <4>[52409.086044]  RSP <ffff810014fa7c50>
2007-09-19 16:20:55.711888603 <0>[52409.086047] CR2: ffff81000c5d4000
2007-09-19 16:20:55.711889817 <6>[52409.086055] note: mplayer[15246] exited with preempt_count 1
2007-09-19 16:20:55.711891261 <3>[52409.086064] BUG: sleeping function called from invalid context at kernel/rwsem.c:20
2007-09-19 16:20:55.711904081 <4>[52409.086066] in_atomic():1, irqs_disabled():0
2007-09-19 16:20:55.711905578 <4>[52409.086068] 
2007-09-19 16:20:55.711906574 <4>[52409.086069] Call Trace:
2007-09-19 16:20:55.711907673 <4>[52409.086073]  [<ffffffff80408313>] vsnprintf+0x313/0x6e0
2007-09-19 16:20:55.711908996 <4>[52409.086081]  [<ffffffff8022c860>] __might_sleep+0xb0/0xc0
2007-09-19 16:20:55.711910383 <4>[52409.086091]  [<ffffffff8024c9cd>] down_read+0x1d/0x40
2007-09-19 16:20:55.711915756 <4>[52409.086108]  [<ffffffff80252fe7>] futex_wake+0x27/0x100
2007-09-19 16:20:55.711925068 <4>[52409.086125]  [<ffffffff80408848>] sprintf+0x68/0x70
2007-09-19 16:20:55.711926482 <4>[52409.086135]  [<ffffffff8047d4c7>] vt_console_print+0x77/0x2d0
2007-09-19 16:20:55.711927881 <4>[52409.086167]  [<ffffffff8025327a>] do_futex+0x1ba/0xd50
2007-09-19 16:20:55.711929260 <4>[52409.086177]  [<ffffffff802334ea>] __call_console_drivers+0x7a/0xa0
2007-09-19 16:20:55.711930696 <4>[52409.086228]  [<ffffffff8023393e>] release_console_sem+0x20e/0x220
2007-09-19 16:20:55.711935546 <4>[52409.086292]  [<ffffffff8022c2f8>] try_to_wake_up+0x68/0x3c0
2007-09-19 16:20:55.711936928 <4>[52409.086324]  [<ffffffff80253eaa>] sys_futex+0x9a/0x110
2007-09-19 16:20:55.711938244 <4>[52409.086333]  [<ffffffff80234027>] printk+0x67/0x70
2007-09-19 16:20:55.711939515 <4>[52409.086396]  [<ffffffff80230d7c>] mm_release+0x8c/0xa0
2007-09-19 16:20:55.711940837 <4>[52409.086421]  [<ffffffff802353cd>] exit_mm+0x1d/0x100
2007-09-19 16:20:55.711945264 <4>[52409.086445]  [<ffffffff80236d6f>] do_exit+0x18f/0x9a0
2007-09-19 16:20:55.711946622 <4>[52409.086500]  [<ffffffff8021e47d>] do_page_fault+0x68d/0x8d0
2007-09-19 16:20:55.711948016 <4>[52409.086557]  [<ffffffff8022b5e6>] enqueue_entity+0xc6/0x1c0
2007-09-19 16:20:55.711949405 <4>[52409.086574]  [<ffffffff8022b239>] update_curr_load+0x89/0xa0
2007-09-19 16:20:55.711950807 <4>[52409.086591]  [<ffffffff8022bc5b>] __check_preempt_curr_fair+0x3b/0x50
2007-09-19 16:20:55.711955211 <4>[52409.086647]  [<ffffffff806533ad>] error_exit+0x0/0x84
2007-09-19 16:20:55.711963232 <4>[52409.086714]  [<ffffffff80408bc2>] clear_page+0x12/0x40
2007-09-19 16:20:55.711964623 <4>[52409.086734]  [<ffffffff8026ef70>] get_page_from_freelist+0x2f0/0x3e0
2007-09-19 16:20:55.711966110 <4>[52409.086814]  [<ffffffff8026f10a>] __alloc_pages+0xaa/0x370
2007-09-19 16:20:55.711967496 <4>[52409.086854]  [<ffffffff802815f9>] anon_vma_prepare+0x39/0x120
2007-09-19 16:20:55.711968935 <4>[52409.086887]  [<ffffffff80278e1d>] __handle_mm_fault+0x71d/0xc30
2007-09-19 16:20:55.711973803 <4>[52409.086974]  [<ffffffff8021dfb5>] do_page_fault+0x1c5/0x8d0
2007-09-19 16:20:55.711975219 <4>[52409.086979]  [<ffffffff8022b449>] update_curr+0x109/0x120
2007-09-19 16:20:55.711976613 <4>[52409.087058]  [<ffffffff80263caa>] audit_syscall_exit+0x3da/0x440
2007-09-19 16:20:55.711978022 <4>[52409.087062]  [<ffffffff804066f8>] __up_write+0xd8/0x140
2007-09-19 16:20:55.711979376 <4>[52409.087116]  [<ffffffff806533ad>] error_exit+0x0/0x84
2007-09-19 16:20:55.711983728 <4>[52409.087200] 
2007-09-19 16:20:55.711984747 <3>[52409.087203] BUG: scheduling while atomic: mplayer/0x10000001/15246
2007-09-19 16:20:55.711986208 <4>[52409.087209] 
2007-09-19 16:20:55.711987222 <4>[52409.087210] Call Trace:
2007-09-19 16:20:55.711988330 <4>[52409.087223]  [<ffffffff8022ed95>] __schedule_bug+0x35/0x40
2007-09-19 16:20:55.711989682 <4>[52409.087232]  [<ffffffff806507d9>] thread_return+0x41c/0x5e3
2007-09-19 16:20:55.711994156 <4>[52409.087250]  [<ffffffff8020b21f>] dump_trace+0xff/0x2d0
2007-09-19 16:20:55.711995573 <4>[52409.087313]  [<ffffffff8020b441>] show_trace+0x51/0x60
2007-09-19 16:20:55.712003673 <4>[52409.087345]  [<ffffffff8022edcd>] __cond_resched+0x2d/0x60
2007-09-19 16:20:55.712005130 <4>[52409.087353]  [<ffffffff80650a32>] cond_resched+0x32/0x40
2007-09-19 16:20:55.712006509 <4>[52409.087362]  [<ffffffff8024c9d2>] down_read+0x22/0x40
2007-09-19 16:20:55.712007793 <4>[52409.087378]  [<ffffffff80252fe7>] futex_wake+0x27/0x100
2007-09-19 16:20:55.712009127 <4>[52409.087394]  [<ffffffff80408848>] sprintf+0x68/0x70
2007-09-19 16:20:55.712013761 <4>[52409.087404]  [<ffffffff8047d4c7>] vt_console_print+0x77/0x2d0
2007-09-19 16:20:55.712015200 <4>[52409.087437]  [<ffffffff8025327a>] do_futex+0x1ba/0xd50
2007-09-19 16:20:55.712016542 <4>[52409.087445]  [<ffffffff802334ea>] __call_console_drivers+0x7a/0xa0
2007-09-19 16:20:55.712017956 <4>[52409.087485]  [<ffffffff8023393e>] release_console_sem+0x20e/0x220
2007-09-19 16:20:55.712019400 <4>[52409.087549]  [<ffffffff8022c2f8>] try_to_wake_up+0x68/0x3c0
2007-09-19 16:20:55.712036537 <4>[52409.087581]  [<ffffffff80253eaa>] sys_futex+0x9a/0x110
2007-09-19 16:20:55.712038179 <4>[52409.087589]  [<ffffffff80234027>] printk+0x67/0x70
2007-09-19 16:20:55.712039510 <4>[52409.087652]  [<ffffffff80230d7c>] mm_release+0x8c/0xa0
2007-09-19 16:20:55.712040839 <4>[52409.087676]  [<ffffffff802353cd>] exit_mm+0x1d/0x100
2007-09-19 16:20:55.712042133 <4>[52409.087700]  [<ffffffff80236d6f>] do_exit+0x18f/0x9a0
2007-09-19 16:20:55.712047166 <4>[52409.087755]  [<ffffffff8021e47d>] do_page_fault+0x68d/0x8d0
2007-09-19 16:20:55.712058495 <4>[52409.087811]  [<ffffffff8022b5e6>] enqueue_entity+0xc6/0x1c0
2007-09-19 16:20:55.712059996 <4>[52409.087828]  [<ffffffff8022b239>] update_curr_load+0x89/0xa0
2007-09-19 16:20:55.712061423 <4>[52409.087845]  [<ffffffff8022bc5b>] __check_preempt_curr_fair+0x3b/0x50
2007-09-19 16:20:55.712062939 <4>[52409.087901]  [<ffffffff806533ad>] error_exit+0x0/0x84
2007-09-19 16:20:55.712064281 <4>[52409.087968]  [<ffffffff80408bc2>] clear_page+0x12/0x40
2007-09-19 16:20:55.712069368 <4>[52409.087988]  [<ffffffff8026ef70>] get_page_from_freelist+0x2f0/0x3e0
2007-09-19 16:20:55.712070885 <4>[52409.088068]  [<ffffffff8026f10a>] __alloc_pages+0xaa/0x370
2007-09-19 16:20:55.712072241 <4>[52409.088108]  [<ffffffff802815f9>] anon_vma_prepare+0x39/0x120
2007-09-19 16:20:55.712073640 <4>[52409.088140]  [<ffffffff80278e1d>] __handle_mm_fault+0x71d/0xc30
2007-09-19 16:20:55.712075122 <4>[52409.088233]  [<ffffffff8021dfb5>] do_page_fault+0x1c5/0x8d0
2007-09-19 16:20:55.712079847 <4>[52409.088237]  [<ffffffff8022b449>] update_curr+0x109/0x120
2007-09-19 16:20:55.712081246 <4>[52409.088316]  [<ffffffff80263caa>] audit_syscall_exit+0x3da/0x440
2007-09-19 16:20:55.712082682 <4>[52409.088320]  [<ffffffff804066f8>] __up_write+0xd8/0x140
2007-09-19 16:20:55.712084013 <4>[52409.088376]  [<ffffffff806533ad>] error_exit+0x0/0x84
2007-09-19 16:20:55.712085365 <4>[52409.088460] 
2007-09-19 16:21:17.506445934 <6>[52430.878627] X[15190]: segfault at 0000000000000000 rip 00007f0d2604d8dd rsp 00007fffe9e71f88 error 4

I cycled power around here...

32bit Xorg-1.4-git does not work, either.
The same version of intel_drv and older xorg-1.3 from Fedora worked ok with xvideo.
Comment 2 Sami Farin 2007-09-21 14:45:03 UTC
50% of CPU time spent in I830PutImage, sounds bad, eh?
I was playing 1920x816 movie with mplayer using xvideo.
xvideo seems to work without BadAlloc with todays versions.
There are horrible 5s pauses when playing the movie and sound
is stuttering.
Amazingly, mplayer does not say my system is too slow...



CPU: P4 / Xeon, speed 2797.2 MHz (estimated)
Counted GLOBAL_POWER_EVENTS events (time during which processor is not stopped) with a unit mask of 0x01 (mandatory) count 45000
Counted FSB_DATA_ACTIVITY events (DRDY or DBSY events on the front side bus) with a unit mask of 0x03 (multiple flags) count 45000
Counted BRANCH_RETIRED events (retired branches) with a unit mask of 0x05 (multiple flags) count 45000
Counted BRANCH_RETIRED events (retired branches) with a unit mask of 0x0a (multiple flags) count 45000
samples  %        samples  %        samples  %        samples  %        image name               app name                 symbol name
1966727  50.2772  36116    56.4957  8746      9.3532  45        1.2322  intel_drv.so             intel_drv.so             I830PutImage
155573    3.9770  349       0.5459  474       0.5069  4         0.1095  vmlinux                  vmlinux                  read_hpet
117798    3.0114  468       0.7321  6032      6.4508  758      20.7558  mplayer-20070917-64      mplayer-20070917-64      decode_mb_cavlc
110002    2.8121  7358     11.5100  1458      1.5592  18        0.4929  mplayer-20070917-64      mplayer-20070917-64      fast_memcpy
Comment 3 Michael Fu 2007-10-24 06:48:18 UTC
we have a similar bug fixed recently. bug# 12243. would you please have a test on the tip of repository to see if this bug fixed? thanks.
Comment 4 Gordon Jin 2007-11-14 23:31:35 UTC
Could you retest with git tip or 2.2 driver release?
Comment 5 Gordon Jin 2007-12-09 18:42:20 UTC
Feedback timed out. I'm assuming it's fixed by the recent xv patches. Please reopen if you still see it with 2.2.x driver or git tip.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.