Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Jan 2006 11:07:38 -0600
From:      Eric Anderson <anderson@centtech.com>
To:        Chris Gilbert <Chris@lainos.org>
Cc:        freebsd-current@freebsd.org
Subject:   Re: ATI on FreeBSD! FireGL Linux Driver Port (New Version)
Message-ID:  <43D118DA.3000202@centtech.com>
In-Reply-To: <200512271116.34464.Chris@lainos.org>
References:  <200512270950.KAA06620@stoney.dudes.ch> <200512271116.34464.Chris@lainos.org>

next in thread | previous in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.
--------------080308090606000707060909
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

Chris Gilbert wrote:
> It's ready!
>
> The new version works both standalone as before, and from a FreeBSD port.
>
> This is my first time making a port, and I've double checked it and run 
> portlint, but I have probably overlooked something!
>
> Please have a good look at it and tell me if I've done something stupid :)
>
> You can grab the port here:
>
> http://www.neovanglist.net/~Neovanglist/ATI/ati-driver.tar.gz
>
> It should be extracted to /usr/ports/x11
>
> It should fetch the distfile from my server... but in case you want to install 
> it the old fashioned way, here is the link:
>
> http://www.neovanglist.net/~Neovanglist/ATI/FreeBSD-fglrx_6_8_0-8.20.8-2-ALPHA.i386.tar.bz2
>
> Changes since the last version:
>  * It now installs the glATI.h file.
>  * The panel was installing all kinds of strange things.. and not being very 
> port friendly. It's still bad but it's much better now. (And accounted for in 
> pkg-plist)
>  * All of the Linux documentation and the README file is installed 
> to /usr/X11R6/share/doc/fglrx
>  * Working FreeBSD "port"! (As in for the ports system)
>  * README file updated with some worthwhile content including a compatibility 
> list.
>
> In regards to AMD64 support, this is an i386 build and I wouldn't expect it to 
> work on AMD64 :)
>
> However, getting an AMD64 version going should be fairly trivial, but I do not 
> have the hardware to test it.
>
> Tomorrow I can put together and AMD64 package and add support for it to the  
> FreeBSD port. If you can test/verify that it works I would be thrilled!

I've just downloaded/built/installed using the port.  Using the new 
fglrx driver in my xorg.conf causes x not to start.  I've attached the 
Xorg.0.log and my xorg.conf file.  (This is on a Dell D810 laptop, with 
an X600, using xorg-server-snap).

Eric



-- 
------------------------------------------------------------------------
Eric Anderson        Sr. Systems Administrator        Centaur Technology
Anything that works is better than anything that doesn't.
------------------------------------------------------------------------


--------------080308090606000707060909
Content-Type: text/plain;
 name="xorg.conf"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="xorg.conf"

# Xorg configuration created by system-config-display
Section "ServerFlags"
        Option "RandR" "on"
EndSection

Section "ServerLayout"
	Identifier     "Multihead layout"
	Screen         "Screen0" LeftOf "Screen1"
	Screen         "Screen1"
	InputDevice    "Mouse0" "CorePointer"
	InputDevice    "Keyboard0" "CoreKeyboard"
        Option         "AGPMode" "4"
        Option         "AGPFastWrite" "On"
	Option	    "Xinerama" "on"
	#Option	    "Clone" "on"
EndSection

Section "Files"

# RgbPath is the location of the RGB database.  Note, this is the name of the 
# file minus the extension (like ".txt" or ".db").  There is normally
# no need to change the default.
# Multiple FontPath entries are allowed (they are concatenated together)
# By default, Red Hat 6.0 and later now use a font server independent of
# the X server to render fonts.
	RgbPath      "/usr/X11R6/lib/X11/rgb"
	#FontPath     "unix/:7100"
        ModulePath   "/usr/X11R6/lib/modules"
	FontPath     "/usr/local/share/ghostscript/fonts/"
        FontPath     "/usr/X11R6/lib/X11/fonts/TrueType"
        FontPath     "/usr/X11R6/lib/X11/fonts/Type1/"
        FontPath     "/usr/X11R6/lib/X11/fonts/misc/"
        #FontPath     "/usr/X11R6/lib/X11/fonts/Speedo/"
        FontPath     "/usr/X11R6/lib/X11/fonts/75dpi/"
        FontPath     "/usr/X11R6/lib/X11/fonts/100dpi/"
        FontPath     "/usr/X11R6/lib/X11/fonts/URW"
        FontPath     "/usr/X11R6/lib/X11/fonts/webfonts/"
	FontPath     "/usr/X11R6/lib/X11/fonts/artwiz-fonts"
        FontPath     "/usr/local/share/fonts"
EndSection

Section "Module"
	Load  "dbe"
	Load  "extmod"
	Load  "glx"
	Load  "record"
	Load  "freetype"
	Load  "type1"
#	Load  "dri"
	Load  "xtrap"
	Load  "GLcore"
	Load  "bitmap"
	Load  "vnc"
EndSection

Section "InputDevice"
	Identifier  "Keyboard0"
	Driver      "keyboard"
EndSection

Section "InputDevice"
	Identifier  "Mouse0"
	Driver      "mouse"
	Option	    "Protocol" "auto"
	Option	    "Device" "/dev/sysmouse"
	Option	    "ZAxisMapping" "4 5"
	Option	    "Emulate3Buttons" "no"
	Option	    "Buttons" "9"
EndSection

Section "InputDevice"
        Identifier "Mouse1"
        Driver "synaptics"
        Option "Device" "/dev/sysmouse"
        Option "Protocol" "auto"
        Option "LeftEdge" "1900"
        Option "RightEdge" "5400"
        Option "TopEdge" "1900"
        Option "BottomEdge" "4000"
        Option "FingerLow" "25"
        Option "FingerHigh" "30"
        Option "MaxTapTime" "220"
        Option "MaxTapMove" "220"
        Option "VertScrollDelta" "100"
        Option "MinSpeed" "0.02"
        Option "MaxSpeed" "0.38"
        Option "AccelFactor" "0.0020"
        Option "SHMConfig" "on"
	Option "Emulate3Buttons" "yes"
	Option "Buttons" "3"
EndSection

Section "Monitor"
	Identifier   "Monitor0"
	VendorName   "Monitor Vendor"
	ModelName    "LCD Panel "
	#HorizSync    31.5 - 90.0
	#VertRefresh  59.0 - 75.0
	Option	    "dpms"
	#Displaysize  650 400
EndSection

Section "Monitor"
	Identifier   "Monitor1"
	VendorName   "Monitor Vendor"
	ModelName    "External "
	#HorizSync    32 - 90
	#VertRefresh  60 - 70
	#HorizSync    30 - 81
	VertRefresh  75
	Option	    "dpms"
	#Displaysize  520 330
	#UseModes "19:12"
EndSection

Section "Device"
	Identifier  "Videocard0"
	Driver      "radeon"
	#Driver      "fglrx"
	Option "VideoOverlay"   "on"
	Option "OpenGLOverlay"  "off"
	VendorName  "Videocard vendor"
        BoardName   "Radeon X300"
	BusID	    "PCI:1:0:0"
	#Option	    "DDCMode" "on"
        Option      "DPMS"
        Option      "passwordFile"    "/home/anderson/.vnc/passwd"
	#Option      "MonitorLayout" "LVDS,CRT"
	Screen	    0
EndSection

Section "Device"
        Identifier  "Videocard1"
        Driver      "radeon"
        #Driver      "fglrx"
	Option "VideoOverlay"   "on"
	Option "OpenGLOverlay"  "off"
        VendorName  "Videocard vendor"
        BoardName   "Radeon X300"
        BusID       "PCI:1:0:0"
        #Option      "DDCMode" "on"
        Option      "DPMS"
        Option      "passwordFile"    "/home/anderson/.vnc/passwd"
        #Option      "MonitorLayout" "LVDS,CRT"
	Screen	    1
EndSection


Section "Screen"
	Identifier "Screen0"
	Device     "Videocard0"
	Monitor    "Monitor0"
	DefaultDepth     24
	SubSection "Display"
		#Viewport   0 0
		Depth     24
		#Virtual  1920 1200
		Modes    "1920x1200"
	EndSubSection
EndSection

Section "Screen"
	Identifier "Screen1"
	Device     "Videocard1"
	Monitor    "Monitor1"
	DefaultDepth     24
	SubSection "Display"
		#Viewport   0 0
		Depth     24
		#Virtual  1920 1200
		Modes    "1920x1200"
	EndSubSection
EndSection

Section "DRI"
	Group        0
	Mode         0666
EndSection

#Section "Modes"
#        Identifier "19:12"
#        ModeLine "1920x1200" 154.0  1920 1968 2000 2080  1200 1203 1209 1235 +Hsync -Vsync
#EndSection


--------------080308090606000707060909--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?43D118DA.3000202>