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?
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.
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.
Created attachment 60186 [details] Output of "make install" into svgalib directory
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.
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.
This ebuild worked fine for me! svgalib was compiles fine and is running smooth ;)
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
closing per comment 7