Announcement

Collapse
No announcement yet.

KMS + Radeon quick mini guide

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

  • #11
    Originally posted by netkas View Post
    Bleh, updated xf86-video-ati from git today, and X doesnt start anymore.
    You need to update libdrm and then rebuild xf86-video-ati.

    Comment


    • #12
      Originally posted by netkas View Post
      Bleh, updated xf86-video-ati from git today, and X doesnt start anymore.
      You need an updated libdrm, otherwise you will get an unresolved symbol.

      Comment


      • #13
        The only problem is that you might end up with a blank screen if you forget to load fbcon (the framebuffer console).
        This is exactly the reason why I compile everything into the kernel.

        Why should I have to remember to load the framebuffer console?

        Comment


        • #14
          Console works well in full resolution with KMS but when I start Xserver it freezes. Graphic adapter is Mobility radeon HD2600.

          Xserver output:
          Code:
          X.Org X Server 1.6.5
          Release Date: 2009-10-11
          X Protocol Version 11, Revision 0
          Build Operating System: Linux 2.6.24-24-xen x86_64 Ubuntu
          Current Operating System: Linux juho-laptop 2.6.32-020632rc8-generic #020632rc8 SMP Fri Nov 20 15:01:08 UTC 2009 x86_64
          Kernel command line: BOOT_IMAGE=/boot/vmlinuz-2.6.32-020632rc8-generic root=UUID=81a82160-9be8-4446-bc80-7220252b88c4 ro single
          Build Date: 07 November 2009  04:34:19PM
          xorg-server 2:1.6.5+git20091107+server-1.6-branch.2dbcb06a-0ubuntu0sarvatt~karmic (buildd@) 
          	Before reporting problems, check http://wiki.x.org
          	to make sure that you have the latest version.
          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/Xorg.0.log", Time: Sat Nov 28 12:28:55 2009
          (==) Using config file: "/etc/X11/xorg.conf"
          (II) [KMS] Kernel modesetting enabled.
          Setting master 
          /usr/bin/X11/X: symbol lookup error: /usr/lib/xorg/modules/drivers//radeon_drv.so: undefined symbol: drmGetDeviceNameFromFd
          giving up.
          
          xinit:  Connection refused (errno 111):  unable to connect to X server
          
          xinit:  No such process (errno 3):  Server error.

          Comment


          • #15
            rebuild the 3 libdrm, xf86-video-ati , mesa again from git in the correct order
            and git pull them beforehand

            Comment


            • #16
              yeah, figured, just reinstalled lbdrm and video-ati from ppa.


              Is there any way to fix such incompatible problems durring configure.sh stage ?

              like, if version of libdrm isn't decent - ask for update.

              Comment


              • #17
                I rebuilt libdrm, xf86-video-ati, mesa from git but I still get same error

                Comment


                • #18
                  Make sure you updated your libdrm tree properly. Here is the relevant commit:

                  Comment


                  • #19
                    I copy /usr/local/lib/libdrm.so.2.4.0 to /lib and now this works perfectly

                    Comment


                    • #20
                      What demo's are you using to check shader performance?

                      Comment

                      Working...
                      X