From owner-freebsd-questions@freebsd.org Tue Apr 14 23:45:27 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id B9F172CD03A for ; Tue, 14 Apr 2020 23:45:27 +0000 (UTC) (envelope-from tomek@cedro.info) Received: from mail-ot1-x336.google.com (mail-ot1-x336.google.com [IPv6:2607:f8b0:4864:20::336]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4922D659R2z3yNP for ; Tue, 14 Apr 2020 23:45:26 +0000 (UTC) (envelope-from tomek@cedro.info) Received: by mail-ot1-x336.google.com with SMTP id z17so1617559oto.4 for ; Tue, 14 Apr 2020 16:45:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cedro.info; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=v7/BhYktL6ib4NhPOZnf30WBr0XTnLGlEJTOjNTyKxA=; b=HAklz7OGUgr7+0ANUrvSZGVX9skHs6IgA93VzpF8dCgDtNZ1DVRwWqZrJNBpTfcwqy GimTzDIi1zYqgaiI/jO8A3aGmv5DFOQTkbNtDPyccnfnrP1/xm6yPCQDS/tJ+xtbSojV qJrLAlxdbCS9/jyMD7DpGwtgxO9WzKOu63ZQFADwh/xWK08JTaE5vB0DxfJNOV6yzNDu g7+v4NzWLrUl71TW0jGFHghm51W6yTnswdtAV5nUD7N1ERadU5KBaIJUZl7zURc/iEGV 0SseJgLlmi317T88wezmmroM4sWpxYYA/HP58qvGiVYtkPnCVSI8woIVZQrqd/X8Stqo aOmg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=v7/BhYktL6ib4NhPOZnf30WBr0XTnLGlEJTOjNTyKxA=; b=Odu0+KEv38Zq0DCbxLwbkizkMoJTMgD3YRLH82nFS1O5s1Ctym6oK2ettnFLJYkdvJ 8uWGg3El1ek3OZPbolP6qBqrY5O415ZzmMmVkMIVtR5xPHAH99gKsIdmfx7XujXk1GT5 tn2V37xShSM/mIg6k4P/blB9tnQIMmKlKziBguYSdKOe9BNoYjuVeecghxW9nFAl7d9B BWNv3pt9/SBZZl8+QXL2jrsWCE88SbbU+s8HI8AFnB2KUPQfNdz9j9HcN+dk2nEdzCA0 5txvLymTPDUkcgMFC5IqxPHcYOJ+lcFGjQxUh+5S58VynvE9AP3uGM4CJsJv9lmkgods 3sGw== X-Gm-Message-State: AGi0PubkfFy60nKc3NCYHpovQalY4CQWGZw8pJpZhzl38dcq8wc6DcVj 4dqA5Iix69duO0TodxokjPpZOEFBnWg= X-Google-Smtp-Source: APiQypLnFndOD/kRvOQHWwp1wLxqVoHlb9p+GTdJKUiWNcbluBjFuSNxQfYa00J8jQYTfw1i2scaMA== X-Received: by 2002:a9d:ecc:: with SMTP id 70mr19696618otj.193.1586907925257; Tue, 14 Apr 2020 16:45:25 -0700 (PDT) Received: from mail-oi1-f173.google.com (mail-oi1-f173.google.com. [209.85.167.173]) by smtp.gmail.com with ESMTPSA id s13sm6501613oov.28.2020.04.14.16.45.24 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 14 Apr 2020 16:45:24 -0700 (PDT) Received: by mail-oi1-f173.google.com with SMTP id x21so5818207oic.5; Tue, 14 Apr 2020 16:45:24 -0700 (PDT) X-Received: by 2002:a05:6808:485:: with SMTP id z5mr16758196oid.78.1586907923599; Tue, 14 Apr 2020 16:45:23 -0700 (PDT) MIME-Version: 1.0 References: <19d0dbdc-f1ac-22f1-6934-076bb5733ab7@daemonic.se> In-Reply-To: <19d0dbdc-f1ac-22f1-6934-076bb5733ab7@daemonic.se> From: Tomasz CEDRO Date: Wed, 15 Apr 2020 01:44:58 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: drm-i915kms + x11-intel eats out all of the ram and swap but not with x11-scfb To: Niclas Zeising Cc: FreeBSD Questions Mailing List , freebsd-x11@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 4922D659R2z3yNP X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=cedro.info header.s=google header.b=HAklz7OG; dmarc=none; spf=none (mx1.freebsd.org: domain of tomek@cedro.info has no SPF policy when checking 2607:f8b0:4864:20::336) smtp.mailfrom=tomek@cedro.info X-Spamd-Result: default: False [-4.16 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[cedro.info:s=google]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; TO_DN_SOME(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; TAGGED_RCPT(0.00)[freebsd]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; DMARC_NA(0.00)[cedro.info]; MIME_GOOD(-0.10)[text/plain]; RCVD_COUNT_THREE(0.00)[4]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[cedro.info:+]; RCVD_IN_DNSWL_NONE(0.00)[6.3.3.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; R_SPF_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; IP_SCORE(-1.86)[ip: (-8.47), ipnet: 2607:f8b0::/32(-0.33), asn: 15169(-0.43), country: US(-0.05)]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; RCVD_TLS_ALL(0.00)[] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Apr 2020 23:45:27 -0000 On Tue, Apr 14, 2020 at 2:15 PM Niclas Zeising wrote: > > On 2020-04-14 13:57, Tomasz CEDRO wrote: > > Hello world :-) > > > > I have noticed some bad thing with the X11 Intel driver (12.1-RELEASE > > (..) > > Which driver are you talking about? xf86-video-intel or drm-fbsd12.0-kmod? > > (..) > > If you are using SCFB, you are not using i915kms. > > (..) > > Have you tried using the modesetting xorg driver instead? > Regards > -- > Niclas Well, you are right Niclas, thanks for the reminder, I am sorry, late working and lots of iterations blurs the picture! I forgot that xf86-video-intel is for the old cards only, the new way is to use drm-kmod + xorg modesetting this is my default setup (even no xorg.conf). I am sometimes using scfb when no drm is loaded just to have xorg working. Anyways in a test setup I also did install the xf86-video-intel (along with scfb and drm-kmod) that was explicitly selected in xorg.conf and it seems to interfere the way described by eating up the memory. Maybe there is another reason, I am not yet sure, my workstation was freezing after some time and I had to hard-reset it. But there is no need to have this driver when drm-kmod is present. So I have uninstalled the intel driver and the problem is gone :-) Best regards :-) Tomek -- CeDeROM, SQ7MHZ, http://www.tomek.cedro.info