From owner-freebsd-questions@freebsd.org Wed Apr 15 09:10:14 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 F3E9F2B0345 for ; Wed, 15 Apr 2020 09:10:13 +0000 (UTC) (envelope-from tomek@cedro.info) Received: from mail-ot1-x329.google.com (mail-ot1-x329.google.com [IPv6:2607:f8b0:4864:20::329]) (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 492Gln04C2z4WZ4 for ; Wed, 15 Apr 2020 09:10:12 +0000 (UTC) (envelope-from tomek@cedro.info) Received: by mail-ot1-x329.google.com with SMTP id x11so2685486otp.6 for ; Wed, 15 Apr 2020 02:10:12 -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=LpkgOrnwI3yXHhPu9sYHB0Zxc/sCUDE1zO0C9j10CPA=; b=ULoxOpf6OM5zCOJLSM7Geg8NAomVSgas+QjrW1oGQojCcntculN5iOIE1vxt5c12o0 066i3yc9kp4VVenlSUre6kyd1+pIXUaGxtQw/tIuEdREnYIY2DGXkUMRRE69cPZKeko5 Q2XaX0cooigT6lruC060mqmjhIw3yKacPxeKJByM2jje01O19o2zleyw/VMUhj0hUeUY WHGn70RQeMdBcr2tml0EboW7Fcw5zo4gipL4/eJUnjpNYGO9rc9rtRtSAlIsgodqvvje QV0eyM5xQ9FkUeKxw4O3+DM83YcutdbVnSvodJfeEnj+TaDJsNlxSP9RAlnJ0eOuUJf/ HOEQ== 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=LpkgOrnwI3yXHhPu9sYHB0Zxc/sCUDE1zO0C9j10CPA=; b=CycSbom5LPxLAKdBuddiGoFTcCfX8kEKqKQF8dTbGBZ3wsrcq0hdTsoZmSDBIpYhNy qklf0Q5IrIto5VCjihhRqUB3rj6T0IvtCoWKiYp22Aji7ufxYg7g6+W9QoO3Zw4GG8sF noRCG78UUrbwIHR77OZ/s42ib4nmU1w9R6hHwsip6uzuTWBhQaDk41bovI9/kcdlp6IH 8Di2U4JeLhRGcw2t9HC9hgX0o1+LevwGGgT+t23j4kKI1qqMntXVpor8sjZYa+6iFO3s z46PfGPkDcwmvAcUMyqNfwHgZJMdtKLMkj2ilAUU9WnjUkK8yy/bYvsFbnCv1HKyuuaX Yjvg== X-Gm-Message-State: AGi0PuaYjXWFLEKDN5kbO07TK/lrRBPQZTWTr4m62h7QjT1Wk69gW0H8 IkMCvxiNi2VbbUYHrbif/KYkWU72qhE= X-Google-Smtp-Source: APiQypK3ttiJUyLpMeijvRTe44XRCz48JecgPXen0jaiClJT0epjHq/u6jGWE+0i/Q7NhMm+AMfElA== X-Received: by 2002:a05:6830:108c:: with SMTP id y12mr1513249oto.159.1586941811525; Wed, 15 Apr 2020 02:10:11 -0700 (PDT) Received: from mail-oi1-f175.google.com (mail-oi1-f175.google.com. [209.85.167.175]) by smtp.gmail.com with ESMTPSA id f26sm4773045otp.28.2020.04.15.02.10.10 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 15 Apr 2020 02:10:10 -0700 (PDT) Received: by mail-oi1-f175.google.com with SMTP id o25so12864917oic.11; Wed, 15 Apr 2020 02:10:10 -0700 (PDT) X-Received: by 2002:a05:6808:485:: with SMTP id z5mr17742334oid.78.1586941809660; Wed, 15 Apr 2020 02:10:09 -0700 (PDT) MIME-Version: 1.0 References: <19d0dbdc-f1ac-22f1-6934-076bb5733ab7@daemonic.se> <24c43065-527d-499b-282a-43df2a947a1d@gmail.com> In-Reply-To: <24c43065-527d-499b-282a-43df2a947a1d@gmail.com> From: Tomasz CEDRO Date: Wed, 15 Apr 2020 11:09:44 +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: Theron Cc: Niclas Zeising , freebsd-x11@freebsd.org, FreeBSD Questions Mailing List Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 492Gln04C2z4WZ4 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=cedro.info header.s=google header.b=ULoxOpf6; dmarc=none; spf=none (mx1.freebsd.org: domain of tomek@cedro.info has no SPF policy when checking 2607:f8b0:4864:20::329) smtp.mailfrom=tomek@cedro.info X-Spamd-Result: default: False [-2.67 / 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)[-0.999,0]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; 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)[9.2.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)[]; FREEMAIL_TO(0.00)[gmail.com]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; IP_SCORE(-1.88)[ip: (-8.57), 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)[]; SUSPICIOUS_RECIPS(1.50)[] 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: Wed, 15 Apr 2020 09:10:14 -0000 On Wed, Apr 15, 2020 at 2:41 AM Theron wrote: > Shame to see xf86-video-intel being treated as if it's deprecated > software meanwhile modesetting driver lags behind it on this basic level > of image quality. Wow, I also noticed a bit better picture quality with Intel driver, but I was not sure if this is the driver thing, now it gets more probable when also you mention it. To be honest I was a bit surprised that it even worked :-) :-) I guess this new modesetting driver will catch up quickly and get into the point of better picture quality.. maybe there is some additional setup that could improve things already? > > I am sometimes using scfb when no drm is loaded just to have xorg working. > Using scfb with i915kms loaded (yes it does work, no reason not to) > actually gives substantial power savings for me (530 Skylake GT2 0x191b) > compared to using xf86-video-intel: even with Xorg and a few > non-animated graphical apps I can have power consumption on laptop > almost as low as in console, but of course it is not good for video. > Xorg+xf86-video-intel always wastes a few watts no matter what I try. Exactly my observation, on Intel driver, except eating out the whole system memory, basic applications like Enlightenment took around 20..40% CPU and Terminology took around 10..30% CPU on a decent machine. On DRM i915KMS they take around 5% (E) and 1% (T) :-) I guess there is no reason to use xf86-video-intel anymore for a reason :-P Best regards :-) Tomek -- CeDeROM, SQ7MHZ, http://www.tomek.cedro.info