Announcement

Collapse
No announcement yet.

Radeon Gallium on ubuntu

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Originally posted by zand View Post
    Think I've found the answer to my question about dri options; driconf allows to modify them. Though I haven't figured out which of the two 'r300' or 'dri2' works better for me.
    You can have two device sections in your .drirc. One for r300 and one for dri2. I think all apart from the vblank_mode should be under r300 - if you need them that is, for testing maybe no options so you get defaults would be best. But then I haven't got a r300, so don't know what people need to use.

    Comment


    • Does anybody know how I could use r600g from the xorg-edgers ppa?

      Previously you needed an xorg.conf option but I think that was removed from the -ati driver. My only idea is to rename r600_dri.so in /usr/lib/dri so the r600g_dri.so would be used. I haven't tried it and would need to do that after every update.

      What is the proper way to do this? Thanks for the help in advance!

      Comment


      • According to https://launchpad.net/~xorg-edgers/+archive/ppa, you have to add
        Option "ForceGallium" "True" to xorg.conf. This is the option that does not work?

        Comment


        • Originally posted by PapadakosPanagiotis View Post
          According to https://launchpad.net/~xorg-edgers/+archive/ppa, you have to add
          Option "ForceGallium" "True" to xorg.conf. This is the option that does not work?
          Yes, I've read that but it was removed from the -ati ddx driver so I suppose it wouldn't work anymore.
          Not to mention that I don't really want to have an xorg.conf file.

          I have to admit, though, that I haven't tried it (seems pointless).

          Comment


          • Originally posted by HokTar View Post
            Yes, I've read that but it was removed from the -ati ddx driver so I suppose it wouldn't work anymore.
            Not to mention that I don't really want to have an xorg.conf file.
            That option was distro specific and has never been in the upstream driver. r600c and r600g are drop in replacements for each other install whichever one you want at the time.

            Comment


            • Originally posted by agd5f View Post
              That option was distro specific and has never been in the upstream driver. r600c and r600g are drop in replacements for each other install whichever one you want at the time.
              No offense, but I was aware of that. The problem is that both drivers are in the libgl1-mesa-dri package and I don't know how to (properly) select the gallium one.

              Comment


              • Apparently, the xorg.conf option still works.

                Joolsa's suggestion in another thread solved the problem for me.

                Comment


                • If any of the ubuntu xorg edgers ppl is reading this:
                  r600g works nicely for a 64bit ubuntu with the ppa. But some commercial games are 32bit only. When manually compiling mesa with '-m32', and pointing LIBGL_DRIVERS_PATH there, those work too. Could /usr/lib32/dri/r600g_dri.so be added to ia32-libs?

                  Comment


                  • Hi all! I'm registered today , but i'm only reading for years. Sorry about this...

                    I'm very happy with the news on the Gallium3D on my RV770(ATI 4870HD 512mb) and the r600g(gallium) driver. It's fast than previous r600c(classic) but quite incomplete at this moment.

                    morzillo@LinuxPowa:~$ glxinfo | grep OpenGL
                    EE r600_pipe.c:321 r600_get_param - r600: unknown param 43
                    OpenGL vendor string: X.Org
                    OpenGL renderer string: Gallium 0.4 on AMD RV770
                    OpenGL version string: 2.1 Mesa 7.11-devel
                    OpenGL shading language version string: 1.20
                    OpenGL extensions:


                    Play's every game at some decent speed. Openarena and others FPS run's at good ans fast speed. It's brilliant this new driver!!

                    I'm use fglrx privative for years. With my old Radeon 8500 64mb from years to today.Ihave many card, always ATI and some Nvidia(my old 8800GTS 640mb runs great today in my brother's PC , using nouveau).

                    I'm Glad to pass to Open Source Gallium3D and delete my fglrx.
                    I'm use GNU/Linux from 1.0.2 kernel to the latest 2.6.38RC4(my last kernel installed and run), a couple of years "using" GNU/Linux.

                    This is the problem i have running quake4 :

                    Code:
                    ...using GL_ARB_texture_compression
                    X..GL_EXT_texture_compression_s3tc not found
                    Fatal Error: Texture compression unavailable
                    Shutting down SDL subsystem
                    --------------- BSE Shutdown ----------------
                    ---------------------------------------------
                    Shutting down sound hardware
                    ----------- Alsa Shutdown ------------
                    close pcm
                    dlclose
                    --------------------------------------
                    idRenderSystem::Shutdown()
                    Sys_Error: Texture compression unavailable
                    I have downloaded and installed the libtxc_dxtn.so but i have x64 and i don't know how i use with this driver.

                    I have installed DRIconf in my machine, but has only two options.

                    This is for this error?
                    EE r600_pipe.c:321 r600_get_param - r600: unknown param 43

                    I don't know.

                    Than in advance people. Great day to all!

                    Comment


                    • Any "how to" how testing R600g on Ubuntu?

                      Hi,
                      I have Ubuntu 10.10 32bit, Ati HD 4200 (RS 880 - RV620) with xorg-edgers fresh X crack ppa, installed newest kernel (2.6.38.3), newest drivers from this ppa and active Option "ForceGallium" "True" in xorg.conf.

                      Is that all, what I need for testing newest feature of this driver, or I need enable some another options in xorg.conf or dri.conf?

                      I was looking for some current how-to - without succsess...
                      I am not an expert on video drivers, but i want testing newest open source radeon gallium 3D driver because fglrx is unusauble for me (video-tearing, new tearlees option does not work good on my "weak" chip)

                      I generated this xorg.conf with many disable option.

                      Code:
                      Section "Device"
                              ### Available Driver options are:-
                              ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
                              ### <string>: "String", <freq>: "<f> Hz/kHz/MHz",
                              ### <percent>: "<f>%"
                              ### [arg]: arg optional
                              #Option     "NoAccel"            	# [<bool>]
                              #Option     "SWcursor"           	# [<bool>]
                              #Option     "Dac6Bit"            	# [<bool>]
                              #Option     "Dac8Bit"            	# [<bool>]
                              #Option     "BusType"            	# [<str>]
                              #Option     "CPPIOMode"          	# [<bool>]
                              #Option     "CPusecTimeout"      	# <i>
                              #Option     "AGPMode"            	# <i>
                              #Option     "AGPFastWrite"       	# [<bool>]
                              #Option     "AGPSize"            	# <i>
                              #Option     "GARTSize"           	# <i>
                              #Option     "RingSize"           	# <i>
                              #Option     "BufferSize"         	# <i>
                              #Option     "EnableDepthMoves"   	# [<bool>]
                               Option     "EnablePageFlip"     	"True" # [<bool>]
                              #Option     "NoBackBuffer"       	# [<bool>]
                              #Option     "DMAForXv"           	# [<bool>]
                              #Option     "FBTexPercent"       	# <i>
                              #Option     "DepthBits"          	# <i>
                              #Option     "PCIAPERSize"        	# <i>
                              #Option     "AccelDFS"           	# [<bool>]
                              #Option     "IgnoreEDID"         	# [<bool>]
                              #Option     "CustomEDID"         	# [<str>]
                              #Option     "DisplayPriority"    	# [<str>]
                              #Option     "PanelSize"          	# [<str>]
                              #Option     "ForceMinDotClock"   	# <freq>
                              #Option     "ColorTiling"        	# [<bool>]
                              #Option     "VideoKey"           	# <i>
                              #Option     "RageTheatreCrystal" 	# <i>
                              #Option     "RageTheatreTunerPort" 	# <i>
                              #Option     "RageTheatreCompositePort" 	# <i>
                              #Option     "RageTheatreSVideoPort" 	# <i>
                              #Option     "TunerType"          	# <i>
                              #Option     "RageTheatreMicrocPath" 	# <str>
                              #Option     "RageTheatreMicrocType" 	# <str>
                              #Option     "ScalerWidth"        	# <i>
                              #Option     "RenderAccel"        	# [<bool>]
                              #Option     "SubPixelOrder"      	# [<str>]
                              #Option     "ClockGating"        	# [<bool>]
                              #Option     "VGAAccess"          	# [<bool>]
                              #Option     "ReverseDDC"         	# [<bool>]
                              #Option     "LVDSProbePLL"       	# [<bool>]
                              #Option     "AccelMethod"        	# <str>
                              #Option     "DRI"                	# [<bool>]
                              #Option     "ConnectorTable"     	# <str>
                              #Option     "DefaultConnectorTable" 	# [<bool>]
                              #Option     "DefaultTMDSPLL"     	# [<bool>]
                              #Option     "TVDACLoadDetect"    	# [<bool>]
                              #Option     "ForceTVOut"         	# [<bool>]
                              #Option     "TVStandard"         	# <str>
                              #Option     "IgnoreLidStatus"    	# [<bool>]
                              #Option     "DefaultTVDACAdj"    	# [<bool>]
                              #Option     "Int10"              	# [<bool>]
                              #Option     "EXAVSync"           	# [<bool>]
                              #Option     "ATOMTVOut"          	# [<bool>]
                              #Option     "R4xxATOM"           	# [<bool>]
                              #Option     "ForceLowPowerMode"  	# [<bool>]
                              #Option     "DynamicPM"          	# [<bool>]
                              #Option     "NewPLL"             	# [<bool>]
                              Option     "ForceGallium"       	"True" # [<bool>]
                              #Option     "ZaphodHeads"        	# <str>
                      	Identifier  "Card0"
                      	Driver      "radeon"
                      	BusID       "PCI:1:5:0"
                      EndSection
                      What I need to try activate for maximum performance?
                      Thanks for help

                      Comment


                      • Originally posted by MoRZiLLo View Post
                        I have downloaded and installed the libtxc_dxtn.so but i have x64 and i don't know how i use with this driver.
                        64bit libraries cannot link against 32bit ones, and vice versa.
                        I have archived libs(both 32/64bit) from PLD 2.99 distro I am using:
                        http://carme.pld-linux.org/~evil/rad...n-070518-2.tgz

                        If you are using RPMs, then feel free to install them from packages:
                        ftp://ep09.pld-linux.org/dists/th/PL...8-2.x86_64.rpm
                        ftp://ep09.pld-linux.org/dists/th/PL...-070518-2.i686

                        Comment


                        • Originally posted by evil_core View Post
                          64bit libraries cannot link against 32bit ones, and vice versa.
                          I have archived libs(both 32/64bit) from PLD 2.99 distro I am using:
                          http://carme.pld-linux.org/~evil/radeon/libtxc_dxtn-070518-2.tgz

                          If you are using RPMs, then feel free to install them from packages:
                          ftp://ep09.pld-linux.org/dists/th/PL...8-2.x86_64.rpm
                          ftp://ep09.pld-linux.org/dists/th/PL...-070518-2.i686



                          WoW!!! Thanks man!

                          Comment


                          • Well I splurged and got a new PC over the weekend. One of the goals for it was to be able to use Gallium drivers. AMD 1090T processor, AMD 890FX chipset, and ATI 5770.

                            This contrasts nicely with my all-Intel Laptop that I've been using as my main machine up until just now.

                            I installed Ubuntu 10.10, installed the xorg-edgers ppa and added the snippet following snippet as 'xorg.conf':
                            Section "Device"
                            Identifier "Default screen"
                            Option "ForceGallium" "True"
                            EndSection

                            All in all it's pretty nice. I am pleased that it did not crap out on me. I've played a couple games and its working. Even with Compiz enabled. Better then I expected. To any Xorg fellows here: Thank you!

                            Comment


                            • :~$ lsb_release -a
                              No LSB modules are available.
                              Distributor ID: Ubuntu
                              Description: Ubuntu natty (development branch)
                              Release: 11.04
                              Codename: natty


                              :~$ cat /etc/X11/xorg.conf
                              Section "Device"
                              Identifier "Default screen"
                              Option "ForceGallium" "True"
                              EndSection

                              :~$ glxinfo|grep render
                              direct rendering: Yes
                              OpenGL renderer string: Mesa DRI R600 (RV635 9598) 20090101 TCL DRI2

                              :~$ cat /etc/apt/sources.list.d/xorg-edgers-ppa-natty.list
                              deb http://ppa.launchpad.net/xorg-edgers/ppa/ubuntu natty main
                              #deb-src http://ppa.launchpad.net/xorg-edgers/ppa/ubuntu natty main

                              ?

                              Comment

                              Working...
                              X