From owner-freebsd-x11@FreeBSD.ORG Fri Aug 29 19:24:48 2014 Return-Path: Delivered-To: freebsd-x11@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 25541DDB for ; Fri, 29 Aug 2014 19:24:48 +0000 (UTC) Received: from kuller.raad.tartu.ee (kuller.raad.tartu.ee [213.184.43.8]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id A428D1AB8 for ; Fri, 29 Aug 2014 19:24:47 +0000 (UTC) Received: from kuller.raad.tartu.ee (localhost [127.0.0.1]) by kuller.raad.tartu.ee (Postfix) with ESMTP id 7F10739820 for ; Fri, 29 Aug 2014 22:24:39 +0300 (EEST) X-Virus-Scanned: amavisd-new at post.raad.tartu.ee Received: from kuller.raad.tartu.ee ([127.0.0.1]) by kuller.raad.tartu.ee (kuller.raad.tartu.ee [127.0.0.1]) (amavisd-new, port 10024) with LMTP id tUJGiz6AZqCc for ; Fri, 29 Aug 2014 22:24:34 +0300 (EEST) Received: by kuller.raad.tartu.ee (Postfix, from userid 80) id BB4CE39862; Fri, 29 Aug 2014 22:24:33 +0300 (EEST) Received: from 176.192.196.88.dyn.estpak.ee (176.192.196.88.dyn.estpak.ee [88.196.192.176]) by webmail.raad.tartu.ee (Horde Framework) with HTTP; Fri, 29 Aug 2014 22:24:33 +0300 Message-ID: <20140829222433.1889546epfn7fgcg@webmail.raad.tartu.ee> Date: Fri, 29 Aug 2014 22:24:33 +0300 From: Toomas Aas To: freebsd-x11@freebsd.org Subject: KMS error while trying to switch user in KDE MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: 7bit User-Agent: Internet Messaging Program (IMP) H3 (4.3.7) X-Originating-IP: 88.196.192.176 X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 Aug 2014 19:24:48 -0000 Hello! I have installed a new desktop machine with FreeBSD 10-STABLE amd64, xorg 1.12.4 and KDE 4.12.5. The system has ATI Radeon X1300/X1550 video card. Graphics is configured WITH_NEW_XORG (the default), vt and radeonkms are in use, video driver is xf86-video-ati-7.2.0_3 built WITH_GALLIUM. One thing that does not work is 'switch user' functionality in KDE. When attempting to start new session, the screen flashes briefly and then I am returned to active session with screen locked, which I can unlock and continue working. When looking at /var/log/kdm.log during the switch, it says that something is wrong with X.org: ------------------------------------------------------------------------------ Fatal server error: no screens found Please consult the The X.Org Foundation support at http://wiki.x.org for help. Please also check the log file at "/var/log/Xorg.1.log" for additional information. Server terminated with error (1). Closing log file. ------------------------------------------------------------------------------ So I look at Xorg.1.log and it seems to indicate a problem related to KMS: ------------------------------------------------------------------------------ [ 431.280] (--) Using syscons driver with X support (version 2.0) [ 431.280] (--) using VT number 10 [ 431.282] (II) [KMS] Kernel modesetting enabled. [ 431.282] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support [ 431.282] (==) RADEON(0): Depth 24, (--) framebuffer bpp 32 [ 431.282] (II) RADEON(0): Pixel depth = 24 bits stored in 4 bytes (32 bpp pixmaps) [ 431.282] (==) RADEON(0): Default visual is TrueColor [ 431.282] (==) RADEON(0): RGB weight 888 [ 431.282] (II) RADEON(0): Using 8 bits per RGB (8 bit DAC) [ 431.282] (--) RADEON(0): Chipset: "ATI Radeon X1300/X1550" (ChipID = 0x7142) [ 431.283] drmOpenDevice: node name is /dev/dri/card0 [ 431.283] drmOpenDevice: open result is 7, (OK) [ 431.283] drmOpenByBusid: Searching for BusID pci:0000:02:00.0 [ 431.283] drmOpenDevice: node name is /dev/dri/card0 [ 431.283] drmOpenDevice: open result is 7, (OK) [ 431.283] drmOpenByBusid: drmOpenMinor returns 7 [ 431.283] drmOpenByBusid: Interface 1.4 failed, trying 1.1 [ 431.283] drmOpenByBusid: drmGetBusid reports pci:0000:02:00.0 [ 431.283] (EE) RADEON(0): [drm] failed to set drm interface version. [ 431.283] (EE) RADEON(0): Kernel modesetting setup failed [ 431.283] (II) UnloadModule: "radeon" [ 431.283] (EE) Screen(s) found, but none have a usable configuration. [ 431.283] Fatal server error: [ 431.283] no screens found [ 431.283] Please consult the The X.Org Foundation support at http://wiki.x.org for help. [ 431.283] Please also check the log file at "/var/log/Xorg.1.log" for additional information. [ 431.283] [ 431.283] Server terminated with error (1). Closing log file. ------------------------------------------------------------------------------ Can this problem be solved? -- Toomas Aas