Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp842711imm; Tue, 3 Jul 2018 00:35:50 -0700 (PDT) X-Google-Smtp-Source: ADUXVKLPaT983w0BOgHDdqtMdGUL/WUQG4TADg6Nf2Qfj6/X3asdbdMJ8nIc6LgSAruYUXb4RNFL X-Received: by 2002:a17:902:8c84:: with SMTP id t4-v6mr29568941plo.100.1530603350085; Tue, 03 Jul 2018 00:35:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530603350; cv=none; d=google.com; s=arc-20160816; b=GagCyMGJCeF7EJP6qzcR0LfnfCSo5P8QeGBqLbeg7uW5z7U2D8qYTKscIIL5zBiuFr 5z5ttWC/YEBqC5TEMBw0PhGVFysxMjr+tQyE2iB9byn25whgNjs6keH/4ucP4ZoGfxl0 T3edi4VR+uiw/BJMA6ajZbmAHrLG5f+4I6k0BF7ZoSapN0UaCDFkKUjqkWYN4+ctfGa/ H7sZ50mDMExnWgP22ugxMID/5mzC7tCEVqjHeVfXe8rMnzYjsNnyk8mFialvflYYL+kA cClUE4wzkH2U0b5gx+BgBpBJE9UbzzEG9DAasTeTftDEDA42tiu6t2EwTKFVt5jtYbeh yX3Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:mail-followup-to :message-id:subject:cc:to:from:date:dkim-signature :arc-authentication-results; bh=mB53gJ91j8FOITUcvkI07qBBdMqsZk+hAzRvB/uDde4=; b=v+YuRJc/9BJTjdYY8PLOpvXQ8qEkvUP7zzLmZYomoSNfG3UoSDkDILwOkJgRALsuAM As2FIBP3Awzte3wMKO0uqLR5mlSJ8DcpzQOTjLUVsT96Dwih7hFzu2SIbz1teZ67v9Hv 3uqh0cHolOFtM1g4es9LpNj+sqxYU2EX9nouhkuCZty4tiNmyOI8LPh6xYTCGJb/E3Da bQ9UnQ+Cd2YcTLOlN7C9Kai/akwpObvbLZOARwYYm+WK8sqWtOuDWwj98ufBPneG42R5 PN7lTB7HlMINvHg9kHRSGJHDIyYrvmFfm775c1AByj6tCRPGUM2DfR/S2nfQWgAuga+G 0kVg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@ffwll.ch header.s=google header.b=VFi4dcSD; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 136-v6si439511pgb.587.2018.07.03.00.35.35; Tue, 03 Jul 2018 00:35:50 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@ffwll.ch header.s=google header.b=VFi4dcSD; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933283AbeGCHe7 (ORCPT + 99 others); Tue, 3 Jul 2018 03:34:59 -0400 Received: from mail-ed1-f68.google.com ([209.85.208.68]:39240 "EHLO mail-ed1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932688AbeGCHe4 (ORCPT ); Tue, 3 Jul 2018 03:34:56 -0400 Received: by mail-ed1-f68.google.com with SMTP id w14-v6so882611eds.6 for ; Tue, 03 Jul 2018 00:34:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ffwll.ch; s=google; h=sender:date:from:to:cc:subject:message-id:mail-followup-to :references:mime-version:content-disposition:in-reply-to:user-agent; bh=mB53gJ91j8FOITUcvkI07qBBdMqsZk+hAzRvB/uDde4=; b=VFi4dcSDoqTmWFrTuyDjn4mHGQN+1QYHR4sdRKDk1rS2BVM3NlGQvmOZrdWhUTVhYY xCp7siLc35XQT9Mt8qyoJGHf6/rgZLwFOztqek8qIUhE2uxAiS7zOpkhTfW1wOKErbYW PJiMAB9E5PLQWoHu8yrUBJ9Rqupdo1vpOE37Y= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :mail-followup-to:references:mime-version:content-disposition :in-reply-to:user-agent; bh=mB53gJ91j8FOITUcvkI07qBBdMqsZk+hAzRvB/uDde4=; b=D6aWwvfP6u2NGuDdshK0byiaKRIntz/V+ncAe0hEzdc4zkmMqWugAUN+wsGB+qWDtG p8qdz0LGCprpnFQ/OU85iEeM6Uu4GFMJzx8Lt/OqALJQr2lo3Ar4cE97PNrZg0pogwM7 JXNyfspTnnECw0pGO0NTVjQM4WF+09//xKqZjCA3trtKtlVqhMPpqDFvtyVcbsiK5iPo y7aVtIDCYfLJNIZBLmp0tAyFWod5h4lF5Ky/4sJbf/zK6u8AApKyWRK8LTkgQ45ZSXVT 5nDz/6VxYk6ZwvMK8gJ6bzuX4Mm6K0Gl3cLQYJvhMmqIlUkjgrs5xzRhd27n/xayrSlu tYLg== X-Gm-Message-State: APt69E1RwafARLt32fih1GL+Jmtnsuo/O1P9QB7pwFxCc5tq1auUz7ul Ai77Iugb56ryQmt6arJLhWW2SA== X-Received: by 2002:aa7:c396:: with SMTP id k22-v6mr27573108edq.149.1530603295331; Tue, 03 Jul 2018 00:34:55 -0700 (PDT) Received: from phenom.ffwll.local ([2a02:168:5628:0:496f:7dc5:66d7:a057]) by smtp.gmail.com with ESMTPSA id j7-v6sm395007edh.76.2018.07.03.00.34.54 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 03 Jul 2018 00:34:54 -0700 (PDT) Date: Tue, 3 Jul 2018 09:34:52 +0200 From: Daniel Vetter To: Lyude Paul Cc: dri-devel@lists.freedesktop.org, linux-fbdev@vger.kernel.org, Kees Cook , Bartlomiej Zolnierkiewicz , Jan =?iso-8859-1?Q?H=2E_Sch=F6nherr?= , linux-kernel@vger.kernel.org, Bjorn Helgaas Subject: Re: [PATCH] video/console/vgacon: Print big fat warning with nomodeset Message-ID: <20180703073452.GD7880@phenom.ffwll.local> Mail-Followup-To: Lyude Paul , dri-devel@lists.freedesktop.org, linux-fbdev@vger.kernel.org, Kees Cook , Bartlomiej Zolnierkiewicz , Jan =?iso-8859-1?Q?H=2E_Sch=F6nherr?= , linux-kernel@vger.kernel.org, Bjorn Helgaas References: <20180702210442.18648-1-lyude@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180702210442.18648-1-lyude@redhat.com> X-Operating-System: Linux phenom 4.16.0-2-amd64 User-Agent: Mutt/1.10.0 (2018-05-17) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jul 02, 2018 at 05:04:40PM -0400, Lyude Paul wrote: > It's been a pretty good while since kernel modesetting was introduced. > It has almost entirely replaced previous solutions which required > userspace modesetting, and I can't even recall any drivers off the top > of my head for modern day hardware that don't only support one or the > other. Even nvidia's ugly blob does not require the use of nomodeset, > and only requires that nouveau be blacklisted. > > Effectively, the only thing nomodeset does in the year 2018 is disable > your graphics drivers. Since VESA is a thing, this will give many users > the false impression that they've actually fixed an issue they were > having with their machine simply because the laptop will boot up to a > degraded GUI. This of course, is never actually the case. > > Things get even worse when you consider that there's still an enormous > amount of tutorials users find on the internet that still suggest adding > nomodeset, along with various users who have been around long enough to > still suggest it. > > There really isn't any legitimate reason I can see for this to be an > option that's used by anyone else other then developers, or properly > informed users. So, let's end the confusion and start printing warnings > whenever it's enabled. > > Signed-off-by: Lyude Paul Yeah makes tons of sense. I think we should also perhaps mark the option as a tainting one, but I think that's only wired up for module option. Reviewed-by: Daniel Vetter > --- > drivers/video/console/vgacon.c | 5 +++++ > 1 file changed, 5 insertions(+) > > diff --git a/drivers/video/console/vgacon.c b/drivers/video/console/vgacon.c > index f09e17b60e45..09731b2f6815 100644 > --- a/drivers/video/console/vgacon.c > +++ b/drivers/video/console/vgacon.c > @@ -112,6 +112,11 @@ EXPORT_SYMBOL(vgacon_text_force); > static int __init text_mode(char *str) > { > vgacon_text_mode_force = true; > + > + pr_warning("You have booted with nomodeset. This means your GPU drivers are DISABLED\n"); > + pr_warning("Any video related functionality will be severely degraded, and you may not even be able to suspend the system properly\n"); > + pr_warning("Unless you actually understand what nomodeset does, you should reboot without enabling it\n"); > + > return 1; > } > > -- > 2.17.1 > > _______________________________________________ > dri-devel mailing list > dri-devel@lists.freedesktop.org > https://lists.freedesktop.org/mailman/listinfo/dri-devel -- Daniel Vetter Software Engineer, Intel Corporation http://blog.ffwll.ch