Summary: | video corrupted when resized to height less than 100 pixels | ||
---|---|---|---|
Product: | xorg | Reporter: | martin <mnemo> |
Component: | Driver/intel | Assignee: | Wang Zhenyu <zhenyu.z.wang> |
Status: | RESOLVED FIXED | QA Contact: | Xorg Project Team <xorg-team> |
Severity: | normal | ||
Priority: | medium | Keywords: | NEEDINFO |
Version: | unspecified | ||
Hardware: | x86 (IA32) | ||
OS: | Linux (All) | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: |
Created attachment 14429 [details]
here the video surface is like 99 pixels, and the buggy behavior is seen
what's your type of chipset? I got a 965 with LVDS. Please let me know if you need other information. Gordon, could you help to reproduce this one? It's working fine on my 965gm, with git master code or 2.2.0.90. Martin, you'll have to provide more info according to http://www.intellinuxgraphics.org/how_to_report_bug.html. I also use mplayer to test this on 915GM with texture and overlay port, both seems ok, but haven't tried VLC though. (In reply to comment #5) > It's working fine on my 965gm, with git master code or 2.2.0.90. with both vlc and mplayer. martin, is VLC in used when you see the corrupt? What's your VLC version? Can you paste your ~/.vlc/vlcrc? so I can use it for test on mine. Basically when I'm playing the movie in vlc 0.8.6c and resize it while movie is playing I get corrupt image when it's smaller than 100 pixels height but then image goes back to normal when I resize it to larger than 100 pixels height again. I see the exact same behavior with mplayer 2:1.0~rc1-0ubuntu13.1 I tried reverting the intel driver back to 2.1.1 and I still see the problem. I also tried it with yet another video file (this time I used keithp's fosdem talk, at http://www.radeonhd.org/fosdem-2008/fosdem_2008_intel.ogg ) and I still see the buggy behavior with this file. I have able to find a repro with much much less complexity now. To see the buggy behavior it's sufficient for me to do this: 1. boot from ubuntu gutsy (final version) live CD 2. download this ogg file: http://www.radeonhd.org/fosdem-2008/fosdem_2008_intel.ogg 3. edit /etc/apt/sources.list and uncomment "universe" 4. run "sudo apt-get update" 5. run "sudo apt-get install vlc" 6. start ogg playing in vlc and resize so that video surface is smaller than 100 pixels 7. instead of a small video playing the video output becomes all black Created attachment 14595 [details]
here is what live cd repro looks like
Created attachment 14596 [details]
here is what live cd looks like with just above 100 pixels height
To determine my exact card or whatever, here is my lspci: ubuntu@ubuntu:~$ lspci 00:00.0 Host bridge: Intel Corporation Mobile PM965/GM965/GL960 Memory Controller Hub (rev 0c) 00:02.0 VGA compatible controller: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller (rev 0c) 00:02.1 Display controller: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller (rev 0c) 00:1a.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Contoller #4 (rev 03) 00:1a.1 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #5 (rev 03) 00:1a.7 USB Controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #2 (rev 03) 00:1b.0 Audio device: Intel Corporation 82801H (ICH8 Family) HD Audio Controller (rev 03) 00:1c.0 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 1 (rev 03) 00:1c.1 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 2 (rev 03) 00:1c.5 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 6 (rev 03) 00:1d.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #1 (rev 03) 00:1d.1 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #2 (rev 03) 00:1d.2 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #3 (rev 03) 00:1d.7 USB Controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #1 (rev 03) 00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev f3) 00:1f.0 ISA bridge: Intel Corporation 82801HEM (ICH8M) LPC Interface Controller (rev 03) 00:1f.1 IDE interface: Intel Corporation 82801HBM/HEM (ICH8M/ICH8M-E) IDE Controller (rev 03) 00:1f.2 SATA controller: Intel Corporation 82801HBM/HEM (ICH8M/ICH8M-E) SATA AHCI Controller (rev 03) 00:1f.3 SMBus: Intel Corporation 82801H (ICH8 Family) SMBus Controller (rev 03) 02:00.0 Network controller: Intel Corporation PRO/Wireless 3945ABG Network Connection (rev 02) 06:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8101E PCI Express Fast Ethernet controller (rev 01) 07:09.0 FireWire (IEEE 1394): Ricoh Co Ltd R5C832 IEEE 1394 Controller (rev 05) 07:09.1 Generic system peripheral [0805]: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter (rev 22) 07:09.2 System peripheral: Ricoh Co Ltd R5C843 MMC Host Controller (rev 12) 07:09.3 System peripheral: Ricoh Co Ltd R5C592 Memory Stick Bus Host Adapter (rev 12) 07:09.4 System peripheral: Ricoh Co Ltd xD-Picture Card Controller (rev 12) And here is "lspci -n" from the same machine: ubuntu@ubuntu:~$ lspci -n 00:00.0 0600: 8086:2a00 (rev 0c) 00:02.0 0300: 8086:2a02 (rev 0c) 00:02.1 0380: 8086:2a03 (rev 0c) 00:1a.0 0c03: 8086:2834 (rev 03) 00:1a.1 0c03: 8086:2835 (rev 03) 00:1a.7 0c03: 8086:283a (rev 03) 00:1b.0 0403: 8086:284b (rev 03) 00:1c.0 0604: 8086:283f (rev 03) 00:1c.1 0604: 8086:2841 (rev 03) 00:1c.5 0604: 8086:2849 (rev 03) 00:1d.0 0c03: 8086:2830 (rev 03) 00:1d.1 0c03: 8086:2831 (rev 03) 00:1d.2 0c03: 8086:2832 (rev 03) 00:1d.7 0c03: 8086:2836 (rev 03) 00:1e.0 0604: 8086:2448 (rev f3) 00:1f.0 0601: 8086:2815 (rev 03) 00:1f.1 0101: 8086:2850 (rev 03) 00:1f.2 0106: 8086:2829 (rev 03) 00:1f.3 0c05: 8086:283e (rev 03) 02:00.0 0280: 8086:4222 (rev 02) 06:00.0 0200: 10ec:8136 (rev 01) 07:09.0 0c00: 1180:0832 (rev 05) 07:09.1 0805: 1180:0822 (rev 22) 07:09.2 0880: 1180:0843 (rev 12) 07:09.3 0880: 1180:0592 (rev 12) 07:09.4 0880: 1180:0852 (rev 12) Created attachment 14598 [details]
xorg.conf used by gutsy live cd
Created attachment 14599 [details]
xorg.0.log for the live cd
Wang, please let me know if there is anything else you need. Would you be able to pull current xf86-video-intel, build and load it in live case? Let's see if upstream driver does better than ubuntu patched one (i guess). zhenyu & Gordon, have you guys tried to use the liveCD that martin used to reproduce the issue? ( not just use what you have in your machine ) from the other side, martin, are you able to refresh your system to our git repository and test that? I'll mark this bug as NEEDINFO from both side. Just tried with ubuntu 7.10 livecd, ubuntu driver(2.1.1) does see the problem when I zoom video smaller in totem. But pulling current xf86-video-intel driver, it fixed the issue. So mark this as fixed, and close. |
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.
Created attachment 14428 [details] here the video surface is like 101 pixels or something, everything looks okay 1. Play some movie in VLC or in mplayer (it's not possible to resize totem to be this small but if you could, you would probably see it in totem as well) 2. Resize window so that height of video output becomes less than 100 pixels When the height of the video surface is less than 100 pixels it no longer shows the entire video instead it takes the top 1-2 lines of each video frame and stretches them to the full size of the video surface (i.e. what you see is typically a gray mess). I see this behavior both with the 2.2.1 RC (2.2.0.90) and also my old stable driver (intel 2.1.1) which shipped with Gutsy.