Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 92554 - [ARCH] keyword svgalib / take svga out of use.mask
Summary: [ARCH] keyword svgalib / take svga out of use.mask
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: AMD64 Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-05-13 21:52 UTC by Maxxer
Modified: 2005-09-08 08:24 UTC (History)
1 user (show)

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


Attachments
Output of "make install" into svgalib directory (makelog,36.75 KB, text/plain)
2005-05-30 06:32 UTC, Maxxer
Details
Output of "emerge svgalib" (emergelog,58.81 KB, text/plain)
2005-05-30 06:49 UTC, Maxxer
Details
Ebuild for AMD64 (svgalib-1.9.21.ebuild,4.47 KB, text/plain)
2005-06-07 05:11 UTC, Maxxer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Maxxer 2005-05-13 21:52:21 UTC
I've downloaded the latest svgalib (http://www.arava.co.il/matan/svgalib/svgalib-1.9.21.tar.gz) and compiles fine on my Gentoo 2005.0 AMD64.
I've then tried to compile mplayer with --enable-vidix and also this worked perfectly.
Running mplayer -vo cvidix on my Asus with an ATI 9700 plays the movie :)

Reproducible: Always
Steps to Reproduce:
1.Download svgalib
2.compile mplayer
3.run mplayer




Isn't it possible to remove the amd64 profile's use.mask (svga) masking?
Comment 1 Danny van Dyk (RETIRED) gentoo-dev 2005-05-28 16:13:28 UTC
Didn't compile for me.

@Maxxer: Did you use portage to compile svgalib? Did you change anything to make
it compile? I still can't quite believe how svgalib's interfacing the VESA Bios
from AMD64 userspace, as there is no VM86 mode available.
Comment 2 Maxxer 2005-05-30 00:58:00 UTC
No, I compiled from the source file I posted in the bugreport, and no, I didn't
change anything.

I'm not an expert, btw there's no vm86* file in svgalib package.
I was using svgalib on amd64 with Debian, some months ago, and was working fine.
Comment 3 Maxxer 2005-05-30 06:32:53 UTC
Created attachment 60186 [details]
Output of "make install" into svgalib directory
Comment 4 Maxxer 2005-05-30 06:49:28 UTC
Created attachment 60187 [details]
Output of "emerge svgalib"

After tweaking svgalib's manifest and Gentoo's profile files, I tried emerging
svgalib but the compilation gives some errors.
Comment 5 Maxxer 2005-06-07 05:11:58 UTC
Created attachment 60767 [details]
Ebuild for AMD64

After some test I could emerge svgalib on AMD64.
The problem was that emerge was trying to compile lrmi, which doesn't work on
AMD64 (according to svgalib's Makefile.cfg).
So I did a simple modification to the ebuild file in order to skip lrmi on this
platform.

Obviously, in order to use this ebuild you also have to comment the svga
masking in AMD64's profile use.mask.

I hope this can be helpful.
Comment 6 Frederico Freire Boaventura 2005-07-07 07:12:56 UTC
This ebuild worked fine for me! 
svgalib was compiles fine and is running smooth ;)
Comment 7 Maxxer 2005-08-04 07:05:37 UTC
Sounds strange it works. I've sent some email to svgalib mantainer, seems there
are some more problems with amd64, so will compile but won't work.

For sure the kernel helper won't work on amd64.

Without that it still gives me segmentation fault at
if(!r128_memory) r128_memory = INREG(R128_CONFIG_MEMSIZE) / 1024;

in func r128_init of r128.c.

I'm not a programmer so I can't help more. If someone can tell me what to do I'd
be glad to perform more tests.

cheers
maxxer
Comment 8 Simon Stelling (RETIRED) gentoo-dev 2005-09-08 08:24:36 UTC
closing per comment 7