Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 378827 - app-admin/eselect-xvmc-0.2: add support for newer Intel XvMC
Summary: app-admin/eselect-xvmc-0.2: add support for newer Intel XvMC
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Doug Goldstein (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-11 20:17 UTC by Otávio Cipriani
Modified: 2011-08-29 21:02 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Patch to add support for newer Intel XvMC and to fix broken redirect (xvmc.eselect.patch,1.20 KB, patch)
2011-08-11 20:20 UTC, Otávio Cipriani
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Otávio Cipriani 2011-08-11 20:17:06 UTC
The Intel XvMC on eselect-xvmc 0.2 is outdated. Acording to the "intel" man
page, the file "/etc/X11/XvMCConfig" should contain the full path to
"libIntelXvMC.so".

When selecting "intel" from eselect-xvmc, it does do NOT provide the full path
to "libIntelXvMC.so". It provides only the name "libI810XvMC.so.1", which is
the wrong version for my video card and is also not an absolute path.

Reproducible: Always

Steps to Reproduce:
1. Execute "eselect xvmc set intel";
2. Check the contents of the file "/etc/X11/XvMCConfig".
Actual Results:  
The file "/etc/X11/XvMCConfig" contais only the string "libI810XvMC.so.1".

Expected Results:  
The file "/etc/X11/XvMCConfig" should contain the absolute path for "libIntelXvMC.so" ("/usr/lib64/libIntelXvMC.so").

My kernel video driver is "i915".
Comment 1 Otávio Cipriani 2011-08-11 20:20:32 UTC
Created attachment 282947 [details, diff]
Patch to add support for newer Intel XvMC and to fix broken redirect

This replaces the "intel" option for "intel-i810" (old Intel driver version)
and adds the option "intel-i915" (new version).

This patch also changes the module behavior so that when setting the XvMC the
absolute path to the ".so" file will be saved on the file
"/etc/X11/XvMCConfig", instead of the relative filename. This makes the module
behave as the "intel" man page suggests.

It also fixes bug #314031.
Comment 2 Doug Goldstein (RETIRED) gentoo-dev 2011-08-29 20:56:58 UTC
You are correct, the Intel XvMC driver requires the full path. However all the other drivers either require relative or suggest relative paths. I've modified your patch to take that into account. Thank you for the changes.
Comment 3 Doug Goldstein (RETIRED) gentoo-dev 2011-08-29 21:02:16 UTC
Added in eselect-xvmc-0.3