driver for ati radeon

X.Org on FreeBSD installation & configuration.

driver for ati radeon

Postby cuongvt » 03 Jan 2010, 03:43

Hi all
I'v switched from nvidia to ati radeon HD 4600 (personal reason).
in the ports there is nvidia-driver to install, how about ati radeon? which port should I install for my ati radeon HD 4600.
thanks
cuongvt
Junior Member
 
Posts: 18
Joined: 26 Nov 2008, 02:15

Postby oldduffer » 03 Jan 2010, 04:01

I'm not 100% sure, but I think you're going to have to use the Xorg Radeon driver. ATI doesn't have a driver for FreeBSD.

That driver should be available in the x11-drivers ports I believe. I know you can choose it when configuring/building X.
oldduffer
Junior Member
 
Posts: 13
Joined: 07 Dec 2009, 16:02

Postby ShruggingAtlas » 03 Jan 2010, 11:42

Your best bet is the radeon driver (xf86-video-ati), it is installed by default with xorg. If it does not auto configure try setting 'Option "NoAccel" "True"' in xorg.conf.

I had to do that for my rv790.

/Martin
ShruggingAtlas
Junior Member
 
Posts: 18
Joined: 02 Jan 2010, 16:24

Postby kolbycrouch » 17 Jan 2010, 20:04

Sorry to bump, but shouldn't xf86-video-ati have 2d xv accel for all cards.
I'm not trying to get 3d, although I am interested in pulling in the git driver, I would however like 2d support and the ability to play fullscreen videos in mplayer without -zoom.
kolbycrouch
Junior Member
 
Posts: 34
Joined: 12 May 2009, 06:10

Postby fronclynne » 17 Jan 2010, 20:13

I'm using "radeon" which is part of your [port]x11-drivers/xf86-video-ati[/port] which plays fullscreen just fine on my
Code: Select all
(--) PCI:*(0@1:5:0) ATI Technologies Inc RS690M [Radeon X1200 Series] rev 0, Mem @ 0xe0000000/134217728, 0xee300000/65536, 0xee200000/1048576, I/O @ 0x00006000/256, BIOS @ 0x????????/65536
[color="DimGray"]Quid habemus reliquum?
Nutrimentum anatum![/color]
[color="Teal"]Внимание: лифт вниз не поднимает[/color]
User avatar
fronclynne
Senior Member
 
Posts: 1297
Joined: 09 Feb 2009, 04:47
Location: Lunch Time

Postby kolbycrouch » 17 Jan 2010, 20:45

Could you post your xorg.conf? I had the same problem with my friends m200(mobile radeon 200, cant remember if thats the actually name).
kolbycrouch
Junior Member
 
Posts: 34
Joined: 12 May 2009, 06:10

ctrl:nocaps is not optional

Postby fronclynne » 17 Jan 2010, 21:33

It ain't pretty (& there's a bunch of stuff that isn't needed any more), but here ya go:
Code: Select all
Section "ServerLayout"
        Identifier     "X.org Configured"
        Screen      0  "Screen0" 0 0
        InputDevice    "Mouse0" "CorePointer"
        InputDevice    "Keyboard0" "CoreKeyboard"
   Option "AllowEmptyInput" "False"
  Option "AIGLX" "true"
EndSection

Section "Files"
        ModulePath   "/usr/local/lib/xorg/modules"
        FontPath     "/usr/local/lib/X11/fonts/misc/"
        FontPath     "/usr/local/lib/X11/fonts/TTF/"
        FontPath     "/usr/local/lib/X11/fonts/OTF"
        FontPath     "/usr/local/lib/X11/fonts/Type1/"
        FontPath     "/usr/local/lib/X11/fonts/100dpi/"
        FontPath     "/usr/local/lib/X11/fonts/75dpi/"
  FontPath     "/usr/local/lib/X11/fonts/URW/"
  FontPath     "/usr/local/lib/X11/fonts/urwfonts-ttf/"
  FontPath     "/usr/local/lib/X11/fonts/local/"
  FontPath     "/usr/local/lib/X11/fonts/mozilla/"
  FontPath     "/usr/local/lib/X11/fonts/util/"
  FontPath     "/usr/local/lib/X11/fonts/webfonts/"
  FontPath     "/usr/local/lib/X11/fonts/bitstream-vera/"
  FontPath     "/usr/local/lib/X11/fonts/cyrillic/"
  FontPath     "/usr/local/lib/X11/fonts/TrueType/"
  FontPath     "/usr/local/lib/X11/fonts/terminus-font/"
  FontPath     "/usr/local/lib/X11/fonts/dejavu/"
  FontPath     "/usr/local/lib/X11/fonts/montecarlo/"
  FontPath     "/usr/local/lib/X11/fonts/Liberation/"
  FontPath     "/usr/local/lib/X11/fonts/artwiz-fonts/"
  FontPath     "/usr/local/lib/X11/fonts/artwiz-aleczapka-en/"
  FontPath      "/usr/local/lib/X11/fonts/Xg/"
#   FontPath      "/usr/local/lib/X11/fonts/null/"
EndSection

Section "Module"
        Load  "extmod"
        Load  "record"
        Load  "dbe"
        Load  "glx"
#  Load  "xtrap"
        Load  "dri"
        Load  "dri2"
#  Load "exa"
#  Load "xtt"
        Load  "freetype"
EndSection

Section "InputDevice"
        Identifier  "Keyboard0"
        Driver      "kbd"
#  Option "Device" "/dev/kbdmux0"
  Option "XkbOptions" "ctrl:nocaps"
  Option "XkbOptions" "altwin:left_meta_win"
EndSection

Section "InputDevice"
        Identifier  "Mouse0"
        Driver      "mouse"
        Option      "Protocol" "auto"
        Option      "Device" "/dev/sysmouse"
        Option      "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"
        DisplaySize       332   207     # mm
        Identifier   "Monitor0"
        VendorName   "LPL"
        ModelName    "LP154WX4-TLC8"
EndSection

Section "Device"
  Option     "AccelMethod" "EXA"        # <str>
  Option     "DRI" "true"                       # [<bool>]
        Identifier      "Card0"
        Driver          "radeon"
EndSection

Section "Screen"
        Identifier      "Screen0"
        Device          "Card0"
        Monitor         "Monitor0"
  DefaultDepth 24
        SubSection "Display"
                Viewport   0 0
                Depth     1
            Modes "1280x800"
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     4
            Modes "1280x800"
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     8
            Modes "1280x800"
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     15
            Modes "1280x800"
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     16
            Modes "1280x800"
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     24
            Modes "1280x800"
        EndSubSection
EndSection

Section "DRI"
  Mode 0666
EndSection

Section "Extensions"
  Option "Composite" "Enable"
EndSection
[color="DimGray"]Quid habemus reliquum?
Nutrimentum anatum![/color]
[color="Teal"]Внимание: лифт вниз не поднимает[/color]
User avatar
fronclynne
Senior Member
 
Posts: 1297
Joined: 09 Feb 2009, 04:47
Location: Lunch Time

Postby adamk » 17 Jan 2010, 22:58

kolbycrouch wrote:Sorry to bump, but shouldn't xf86-video-ati have 2d xv accel for all cards.
I'm not trying to get 3d, although I am interested in pulling in the git driver, I would however like 2d support and the ability to play fullscreen videos in mplayer without -zoom.



Yes, xf86-video-ati has 2D acceleration (including Xv and EXA) for all cards up to and including the HD4950. I'm not sure when the necessary kernel components were included in FreeBSD, so you might need 8.0-RELEASE (though, actually, I'm fairly certain it's supported in 7.2).

If you have problems, please attach your /var/log/Xorg.0.log file.

Adam
adamk
Senior Member
 
Posts: 1624
Joined: 21 Nov 2008, 11:00

Postby kolbycrouch » 17 Jan 2010, 23:09

Sorry I should have mentioned, I am using 8.0-RELEASE, i'll try the options in fronclynnes xorg.conf and post back.

Edit: still no good, even with radeonhd-devel

can't post log because its too long, tried code tags.
kolbycrouch
Junior Member
 
Posts: 34
Joined: 12 May 2009, 06:10

Postby atomicplayboy » 18 Jan 2010, 07:30

I don't know if it helps you any, but Xv video acceleration requires EXA to be enabled.
atomicplayboy
Junior Member
 
Posts: 76
Joined: 02 Dec 2009, 09:21

Postby adamk » 18 Jan 2010, 09:50

kolbycrouch wrote:Sorry I should have mentioned, I am using 8.0-RELEASE, i'll try the options in fronclynnes xorg.conf and post back.

Edit: still no good, even with radeonhd-devel

can't post log because its too long, tried code tags.


Then use service like http://pastebin.com/

Adam
adamk
Senior Member
 
Posts: 1624
Joined: 21 Nov 2008, 11:00

Postby ZappyDaemon » 20 Jan 2010, 03:29

I am using xf86-video-readonhd for Radeon HD 4570.
/etc/X11/xorg.conf:
Code: Select all
Section "Device"
        Identifier      "RADEON"
        Driver  "radeonhd"
        Option  "BusType"               "PCIE"
        Option  "VideoRam"              "524288"
EndSection

Everything work fine, except cannot display console after into graphic mode. So I must use gdm (for startup and shutdown).
User avatar
ZappyDaemon
Junior Member
 
Posts: 12
Joined: 18 Nov 2008, 06:36
Location: Taiwan


Return to X.Org

Who is online

Users browsing this forum: No registered users and 0 guests