Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-39552

XCB error and crash after using xrandr commands to set up display

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P2: Important P2: Important
    • 5.6.0 RC
    • 5.3.0
    • QPA: X11/XCB
    • None
    • ArchLinux 64bit

      I'm using SDDM (https://github.com/sddm/sddm) as my Display Manager on ArchLinux. The Qt4 build works fine, but the Qt5 build crashes.

      On two of my computers, everything works fine, but on my NVIDIA Optimus Laptop, the SDDM greeter crashes when my display setup script is ran. I need this script+a modified xorg.conf to make use of the Nvidia card, otherwise the display will just stay blank (see here for more information https://wiki.archlinux.org/index.php/NVIDIA_Optimus#Using_nvidia). I've removed my optimus setup to try with only the intel card, and it worked fine without crashing.

      I don't seem to be the only one with the same issue, although another user who reported it didn't mention an optimus setup (see https://github.com/sddm/sddm/issues/113).

      I'm getting always getting the following error when the SDDM greeter starts (even though the script wasn't ran yet):
      QXcbConnection: XCB error: 148 (Unknown), sequence: 154, resource id: 0, major code: 140 (Unknown), minor code: 20

      Unfortunately ArchLinux doesn't provide debug packages, so my backtrace doesn't give the cpp files and the lines numbers, but it seems to be identical to the one reported on SDDM bug tracker. It's the one I attached, as it's more detailed. I could try to compile debug packages myself if it's really needed.

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            srutledg Shawn Rutledge
            anakin AnAkIn
            Votes:
            1 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes