Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 19512 - Open source xfree driver for the EPIA-M "Castle Rock" graphics chipset is available
Summary: Open source xfree driver for the EPIA-M "Castle Rock" graphics chipset is ava...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo X packagers
URL: http://bugs.xfree86.org/cgi-bin/bugzi...
Whiteboard:
Keywords:
: 41189 (view as bug list)
Depends on:
Blocks:
 
Reported: 2003-04-17 17:47 UTC by Henrik Treadup
Modified: 2004-02-10 19:40 UTC (History)
3 users (show)

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


Attachments
A scrip that gets the via driver files from cvsweb.xfree.org (get_via_driver.py,1.54 KB, text/plain)
2003-04-22 08:05 UTC, Henrik Treadup
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Henrik Treadup 2003-04-17 17:47:50 UTC
Support for the EPIA-M "Castle Rock" graphics chipset has been added to xfree
cvs. You can check it out yourself at
http://bugs.xfree86.org/cgi-bin/bugzilla/show_bug.cgi?id=154

I think the diff is against XFree86 4.2.0. Alan Cox seems to imply that the
driver will work with 4.3.0 but he didn't supply a diff for it. Mabey you could
ask for one?

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Seemant Kulleen (RETIRED) gentoo-dev 2003-04-20 04:16:36 UTC
I did ask for one from him. He pointed me to VIA's site and I have signed up for the driver.  I will try and get this into xfree-4.3.0-r3
Comment 2 Henrik Treadup 2003-04-20 11:06:29 UTC
Cool :)

I'm a bit worried that the offical Via driver might be a bit stale though. There have been some fixes to the driver in XFree CVS allready. I'm not sure these changes have been incorporated back into the official Via driver. 

You can check out the changes at http://cvsweb.xfree86.org/cvsweb/xc/programs/Xserver/hw/xfree86/drivers/via/
Comment 3 Henrik Treadup 2003-04-22 08:05:52 UTC
Created attachment 10992 [details]
A scrip that gets the via driver files from cvsweb.xfree.org

This script downloads the latest revisions of the files in the
Xserver/xfree86/hw/drivers/via directory from the xfree86 cvs web interface.

I don't understand how to build the driver. I've never seen an Imakefile
before. I'm totally lost. If you havn't gotten the driver from VIA yet you
might want to try the attatched get_via_driver.py

python get_via_driver.py will download the driver source to the current
directory. Please don't use it directly in an ebuild since hammering xfree cvs
will probably be frowned upon...
Comment 4 Michael Fitzpatrick 2003-04-27 04:32:39 UTC
Thanks for the script Henrik but CVS does this :o)

something like

ebuild /usr/portage/xfree/xfree-4.3.0-r2 unpack
put your extracted files into /var/tmp/portage/xfree-4.3.0-r2/work/xc/programs/Xserver/hw/xfree86/drivers/via

edit /var/tmp/portage/xfree-4.3.0-r2/work/xc/config/cf/host.def and 
add
#define XF86ExtraCardDrivers via
at the bottom

then
ebuild /usr/portage/xfree/xfree-4.3.0-r2 compile

If all goes well, you should be able to install / qmerge with the ebuild.

If all doesn't go well, keep the pieces, it's my intention to put this in -r3, later this week, as Seemant said though :o)
Comment 5 Seemant Kulleen (RETIRED) gentoo-dev 2003-06-02 19:59:54 UTC
Henrik,

Perhaps it is better if you can wait for xfree-4.3.99 ebuilds in portage? I will have them available within a week or 2.
Comment 6 Seemant Kulleen (RETIRED) gentoo-dev 2003-06-05 08:31:14 UTC
Henrik, as promised, xfree-4.3.0-r3 has the VIA driver from xfree's cvs in it.

Enjoy :)
Comment 7 Henrik Treadup 2003-06-06 16:51:11 UTC
Seemant,

Sorry for not getting back to you earlier :( End of the semester so things are a bit hectic...

I just finished emerging xfree-4.3.0-r3 and the VIA driver works :) 

Thanks!!! :D
Comment 8 xtra 2003-06-12 10:28:14 UTC
any way to post a working xconfig file?

i just emerge xfree and i'm getting following errors and my X keep's hanging:

smith root # XFree86 -xf86config /root/XF86Config.new

XFree86 Version 4.3.0
Release Date: 27 February 2003
X Protocol Version 11, Revision 0, Release 6.6
Build Operating System: Linux 2.4.20-gentoo-r5 i686 [ELF] 
Build Date: 11 June 2003
        Before reporting problems, check http://www.XFree86.Org/
        to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
         (++) from command line, (!!) notice, (II) informational,
         (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/XFree86.0.log", Time: Thu Jun 12 19:24:20 2003
(++) Using config file: "/root/XF86Config.new"
Using vt 7
(WW) via(0): Failed to set up write-combining range (0xd8000000,0x2000000)
Symbol REGION_EQUAL from module /usr/X11R6/lib/modules/drivers/via_drv.o is unresolved!
Symbol xf86XVCopyYUV12ToPacked from module /usr/X11R6/lib/modules/drivers/via_drv.o is unresolved!
Comment 9 Donnie Berkholz (RETIRED) gentoo-dev 2003-07-13 02:26:42 UTC
A note on this to future -r3 emergers: We had to remove the via driver because it broke other functionalities. Use 4.3.99.8 or higher to get the proper drivers. These versions are currently in package.mask; to unmask them, create a file /etc/portage/package.unmask and add a line to it 'x11-base/xfree'.
Comment 10 Jose Gonzalez Gomez 2004-02-10 19:40:41 UTC
*** Bug 41189 has been marked as a duplicate of this bug. ***