Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
HD Video fix for Intel Graphics
View unanswered posts
View posts from last 24 hours

Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message

Joined: 26 Aug 2002
Posts: 500
Location: Kansas City

PostPosted: Wed Dec 20, 2006 6:05 pm    Post subject: HD Video fix for Intel Graphics Reply with quote

When I got my shiny new widescreen laptop with a 1440x900 display I obviously wanted to be able to watch 720p HD video content. I was annoyed to find that I couldn't watch any video with a height multiplied by width higher than 650000 (about 1080x600) without mplayer crashing with the following error:

X11 error: BadAlloc (insufficient resources for operation)

After searching these forums I couldn't easily find a post that detailed the specific solution for an Intel Graphics card with this problem. However there were solutions for similar problems.

I examined the man file for the i810 video driver. lspci claims that I have a Intel Corporation Mobile 945GM/GMS/940GML

man i810

And found this entry:

       Option "CacheLines" "integer"
          This allows the user to change the amount of graphics  memory  used
          for  2D acceleration and video.  Decreasing this amount leaves more
          for 3D textures.  Increasing it can improve 2D performance  at  the
          expense  of  3D  performance.   Default: depends on the resolution,
          depth, and available video memory.  The driver attempts to allocate
          at  least enough to hold two DVD-sized YUV buffers by default.  The
          default used for a specific configuration can be found by examining
          the Xorg log file.

The solution for me was to add a CacheLine entry to my xorg.conf:

Section "Device"
    Identifier  "Card0"
    Driver      "i810"
    Option      "PageFlip"    "true"
    Option      "CacheLines"  "2048"

Now I can watch videos with a resolution of 1280x720 without mplayer crashing!
For since in the wisdom of God the world by its wisdom did not know God, God was pleased to save those who believe by the foolishness of preaching.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks All times are GMT
Page 1 of 1

Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum