Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. [SOLVED] Qt on Slackware Linux
Forum Updated to NodeBB v4.3 + New Features

[SOLVED] Qt on Slackware Linux

Scheduled Pinned Locked Moved General and Desktop
32 Posts 2 Posters 15.8k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    Sleicreider
    wrote on last edited by
    #22

    i just added my self with $usermod -aG video <username>
    -> in /etc/group its says video:x:18:

    but same error still appears.

    1 Reply Last reply
    0
    • A Offline
      A Offline
      andreyc
      wrote on last edited by
      #23

      do you see the same error if you run "glxinfo":http://dri.freedesktop.org/wiki/glxinfo/ or glxgears
      @
      glxinfo
      glxgears
      @

      1 Reply Last reply
      0
      • S Offline
        S Offline
        Sleicreider
        wrote on last edited by
        #24

        under normal user: for both
        libGL error: failed to load driver: i965
        libGL error: Try again with LIBGL_DEBUG=verbose for more details.

        under root:

        its seems to run without errors.

        1 Reply Last reply
        0
        • A Offline
          A Offline
          andreyc
          wrote on last edited by
          #25

          what does the following commands show
          @
          id
          ls -l /dev/dri
          @

          1 Reply Last reply
          0
          • S Offline
            S Offline
            Sleicreider
            wrote on last edited by
            #26

            I'll try it on monday when i'm on my workstation pc again :)

            1 Reply Last reply
            0
            • S Offline
              S Offline
              Sleicreider
              wrote on last edited by
              #27

              bash-4.2$ id
              uid=1000(username) gid=100(users) groups=100(users),18(video)

              bash-4.2$ ls -l /dev/dri
              total 0
              crw-rw---- 1 root video 226, 0 Mar 24 08:32 card0
              crw-rw---- 1 root video 226, 64 Mar 24 08:32 controlD64

              1 Reply Last reply
              0
              • A Offline
                A Offline
                andreyc
                wrote on last edited by
                #28

                I'm running out of ideas :-)
                Maybe this last one

                Do you have Mesa libraries installed?
                What ldd on your app shows?
                @
                ldd yourapp | grep libGL
                @

                And one more.
                When you start qtcreator does it show the same error as your app?
                If you build any Qt examples and start them do they show the same error?

                1 Reply Last reply
                0
                • S Offline
                  S Offline
                  Sleicreider
                  wrote on last edited by
                  #29

                  bash-4.2$ ldd myapp | grep libGL
                  libGL.so.1 => /usr/lib64/libGL.so.1 (0x00007f79fab6b000)

                  somehow i get no error anymore, lol.
                  (i started the same project)

                  I also started an OpenGL example. no errors.
                  :)

                  idk what happened.

                  1 Reply Last reply
                  0
                  • A Offline
                    A Offline
                    andreyc
                    wrote on last edited by
                    #30

                    Glad to hear that issue is resolved.

                    1 Reply Last reply
                    0
                    • S Offline
                      S Offline
                      Sleicreider
                      wrote on last edited by
                      #31

                      thank you ! :)

                      1 Reply Last reply
                      0
                      • A Offline
                        A Offline
                        andreyc
                        wrote on last edited by
                        #32

                        Could you put [SOLVED] in front of the title of your initial post.

                        1 Reply Last reply
                        0

                        • Login

                        • Login or register to search.
                        • First post
                          Last post
                        0
                        • Categories
                        • Recent
                        • Tags
                        • Popular
                        • Users
                        • Groups
                        • Search
                        • Get Qt Extensions
                        • Unsolved