From owner-freebsd-x11@freebsd.org Tue Apr 14 19:38:44 2020 Return-Path: Delivered-To: freebsd-x11@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 8B6E62C8047; Tue, 14 Apr 2020 19:38:44 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: from mail-oi1-x241.google.com (mail-oi1-x241.google.com [IPv6:2607:f8b0:4864:20::241]) (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 491wlR4w6Cz4dcV; Tue, 14 Apr 2020 19:38:43 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: by mail-oi1-x241.google.com with SMTP id k133so10772885oih.12; Tue, 14 Apr 2020 12:38:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=84oFZHYxitj4vWUuruOyPeJRgcGYl1tyPFpl3/qYqGw=; b=VlSJOQsZ+yIj8uZ4WhMALi8u9FnHYew9KhpQGXGJUO6IeQtzFBFaWYQvlenzSPkFNC INxJuj2C+sVaLyfd1i/01y0Vm4FDLiGtJg0aKF1JhAp89hmJ+BFzVynppNhtXjpyBXnL /dsOjSxHd9t1THZ7ZTBtqKYRh/DXzEamVRn6PecRmHqEjCmwOZEYZ3Z2O9Xp/I0E8czp Pq4DKytRF0Riof5ezxX9vEqNqUcqCOz4qVbdPsKuvjrWAkvNOwqE6N8tDq3PQgfd5Lrp D54Z3y4MmeFb8M6QyNb/s8oju2vJaPd3lUXgDHzP4Rwyje6HQtSAoneWcAODSGPa9/CO oNxQ== 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=84oFZHYxitj4vWUuruOyPeJRgcGYl1tyPFpl3/qYqGw=; b=S72/DphokwrUfbtZ4NYOmtagJU6cykfh0cwz5QuVIZF/4ggZe4Eagld2lvFnOL4dJ/ MV+O0t1MpizTLbw63xp77R/5IbPXFx4RRQCq4EeSsycJrD/kCyV5K7K4T4oAwgoHfKcQ ahjKwzpOtfC8CD5RnlOuImkQMOtDkNfVJFlBYz66Fb96Qvwjp8gR9S7R6kiYTf7qMCKN HvtnTcU7bjz2sYSElCSxM4vUw6TBiIO2heZp5ID8+j03JRfKha8cjIM/JgPQxJ4HZFcu 2R8ZLW08wMkkoHXKGRDe6dNSOSwyo3gaWIyX7kkmoo1rE+ANXPgkWBy7vvMH2OGduRFo nuZQ== X-Gm-Message-State: AGi0PuZyCmKXJsEpRMdCPfSp+I+cyXzCW8+bDfvUlT2metSLb2oYWBUg Nq+NtxjRElBdssFAtqf4ngknbgcoNJlAA1H0Qqqf3CNZ X-Google-Smtp-Source: APiQypL08Hew+hLLxgvDyo1ugY8ZAsPbIlZ1t9fNobsh5TvVUtdTzmBfUoeNwd1o2ChdrWerd51oLIxlWN6lKVbvLfQ= X-Received: by 2002:aca:5b09:: with SMTP id p9mr17103903oib.57.1586893122002; Tue, 14 Apr 2020 12:38:42 -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: Kevin Oberman Date: Tue, 14 Apr 2020 12:38:25 -0700 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: Tomasz CEDRO , FreeBSD Questions Mailing List , "freebsd-x11@freebsd.org" X-Rspamd-Queue-Id: 491wlR4w6Cz4dcV X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=VlSJOQsZ; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of kob6558@gmail.com designates 2607:f8b0:4864:20::241 as permitted sender) smtp.mailfrom=kob6558@gmail.com X-Spamd-Result: default: False [0.64 / 15.00]; TO_DN_EQ_ADDR_SOME(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; FREEMAIL_FROM(0.00)[gmail.com]; URI_COUNT_ODD(1.00)[3]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; FORGED_SENDER(0.30)[rkoberman@gmail.com,kob6558@gmail.com]; IP_SCORE(0.00)[ip: (0.10), ipnet: 2607:f8b0::/32(-0.33), asn: 15169(-0.43), country: US(-0.05)]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; FROM_NEQ_ENVFROM(0.00)[rkoberman@gmail.com,kob6558@gmail.com]; DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.19)[-0.188,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; NEURAL_HAM_LONG(-0.97)[-0.975,0]; TAGGED_RCPT(0.00)[freebsd]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; IP_SCORE_FREEMAIL(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[1.4.2.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]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; SUSPICIOUS_RECIPS(1.50)[] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Apr 2020 19:38:44 -0000 On Tue, Apr 14, 2020 at 5:15 AM 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 > > AMD64 with latest intel driver from 2018???) - it eats out all of the > > RAM, then it eats all of the SWAP, then system gets unusable for > > anything except hard reset :-( This happens when it works together > > with latest DRM i915KMS. On hard computer use that means workstation > > gets useless in around 15 minutes. Closing applications does not free > > the memory resources, once it get some some it never returns. > > Which driver are you talking about? xf86-video-intel or drm-fbsd12.0-kmod? > > > > > I have set the UXA as the default for i5-5300U CPU. > > > > On the other hand the DRM i915kms works fine with SCFB on the same > > load and hardware. I am working on DRM + i915kms + SCFB so far. > > If you are using SCFB, you are not using i915kms. > > > > > This is why I suspect problem with X11-INTEL driver? Maybe it does not > > like latest Xorg changes? > > > > I also sometimes get this DRM warning on the dmesg: > > [drm] Reducing the compressed framebuffer size. This may lead to less > > power savings than a non-reduced-size. Try to increase stolen memory > > size if available in BIOS. > > This is unrelated to this issue. > > Have you tried using the modesetting xorg driver instead? > Regards > -- > Niclas > _______________________________________________ > freebsd-x11@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-x11 > To unsubscribe, send any mail to "freebsd-x11-unsubscribe@freebsd.org" > A day or two ago I saw a post to this list stating that modesetting was not interesting because it did not support 3-D acceleration. At least on my Sandy Bridge system running the latest available software for FreeBSD 12-STABLE, 3-D acceleration works just fine. This assumes the most recently committed mesa, server, drm-fbsd12.0-kmod, etc. It may be that modesetting does not provide 3-D on other platforms, but that is not the norm, I suspect. If it does normally work, a clear statement to that effect would be a "good thing", though, other than this mailing list, I have no idea where to find current status and no idea where else users would look. If it is not going to be maintained, please take down the graphics wiki page! It list supporting evdev as "Not started" and everything on it seems over a year old. I'm tempted to volunteer to try to update it myself, but I am hardly the best informed. I only discovered the modesetting driver as an option for Intel GPUs when I had serious issues and someone (Jan) suggested I try it. -- Kevin Oberman, Part time kid herder and retired Network Engineer E-mail: rkoberman@gmail.com PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683