Bug 158513 - Broken Xvideo in x11-drivers/xf86-video-intel drivers for i845G & i865G
Summary: Broken Xvideo in x11-drivers/xf86-video-intel drivers for i845G & i865G
Status: Closed Works As Intended
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-x11 (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-29 23:20 UTC by Andrey Zakharchenko
Modified: 2014-08-31 17:34 UTC (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 Zakharchenko 2011-06-29 23:20:07 UTC
Any videoplayer using Xvideo with Intel 845G or 865G integrated video chip shows blue window and no video.

Xorg.0.log is spammed with a lot of messages:
(EE) intel(0): Failed to pin xv buffer

Mplayer leaves a lot of following lines in the terminal:
X11 error: BadAlloc (insufficient resources for operation)

The same bug repeats with 2.7 and 2.9 intel video driver.

Fix: 

Use e.g. xf86-video-intel25 driver (port extracted from xf86-video-intel ancient history):
http://home.jscc.ru/~avz/xf86-video-intel-2.5.1.tar
How-To-Repeat: Start 'mplayer -vo xv' on i845G or i865G with xf86-video-intel or xf86-video-intel29 driver.
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2011-06-29 23:22:27 UTC
Responsible Changed
From-To: freebsd-ports-bugs->freebsd-x11

Fix synopsis and assign.
Comment 2 Niclas Zeising freebsd_committer freebsd_triage 2013-06-27 13:20:34 UTC
State Changed
From-To: open->feedback

Is this still an issue after the recent updates to xorg? 
Have you tried KMS?
Comment 3 Mark Linimon 2013-06-28 20:56:53 UTC
----- Forwarded message from Andrey Zakharchenko <avz@jscc.ru> -----

Date: Fri, 28 Jun 2013 14:34:55 +0400
From: Andrey Zakharchenko <avz@jscc.ru>
To: zeising@FreeBSD.org
Cc: freebsd-x11@FreeBSD.org
Subject: Re: ports/158513: Broken Xvideo in x11-drivers/xf86-video-intel drivers for i845G & i865G
User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:16.0) Gecko/20121122 Thunderbird/16.0.1

NEW_XORG with KMS on my machines needs about one second (sic!) of full
CPU load for every cursor shape change. So it may be good for video
watching (I haven't tested it really), but for ordinary work... You'll
hang yourself on every mouse move.

I think KMS is for newer chipsets only.

-- 
Andrey Zakharchenko
_______________________________________________
freebsd-x11@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-x11
To unsubscribe, send any mail to "freebsd-x11-unsubscribe@freebsd.org"


----- End forwarded message -----
Comment 4 Mark Linimon 2013-06-28 21:14:55 UTC
----- Forwarded message from Dmitry Sarkisov <ait.mlist@gmail.com> -----

Date: Sat, 29 Jun 2013 00:06:49 +0400
From: Dmitry Sarkisov <ait.mlist@gmail.com>
To: Mark Linimon <linimon@lonesome.com>
Cc: freebsd-x11@freebsd.org
Subject: Re: ports/158513: Broken Xvideo in x11-drivers/xf86-video-intel drivers for i845G & i865G
User-Agent: Mutt/1.5.21 (2010-09-15)

Had the same issue with mobile Intel 855GM and new Xorg and KMS. I think it was fixed sometime ago in 9.1-STABLE. 
It is running fine for me now (r251792). 


Dmitry Sarkisov
 <-\     Powered by
 <-------------------o
 <-/     FreeBSD
_______________________________________________
freebsd-x11@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-x11
To unsubscribe, send any mail to "freebsd-x11-unsubscribe@freebsd.org"


----- End forwarded message -----
Comment 5 Niclas Zeising freebsd_committer freebsd_triage 2013-07-10 13:25:23 UTC
There are reports that this is resolved in FreeBSD 9.1-STABLE.  Can you
please test that?
Regards!
-- 
Niclas Zeising
Comment 6 Andrey Zakharchenko 2013-08-13 09:49:11 UTC
KMS works with 9.2-BETA, Xvideo OK.
Comment 7 Carlo Strub freebsd_committer freebsd_triage 2014-08-31 17:34:40 UTC
close