Received: by 10.223.164.202 with SMTP id h10csp1382255wrb; Fri, 17 Nov 2017 20:42:55 -0800 (PST) X-Google-Smtp-Source: AGs4zMYA7QpYMZiflTnyC2AicfihoMRoyuiPbpxvEOxZwZca/FDIx7sm8quOUDV65IQcE6cIC+9a X-Received: by 10.99.140.22 with SMTP id m22mr7394516pgd.47.1510980175438; Fri, 17 Nov 2017 20:42:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1510980175; cv=none; d=google.com; s=arc-20160816; b=kpGCSgXgMbOHh1F5ncKd97gN7Pczp8WkvteWR1yZNpMxvyJno1wCOe9Gpaj+PgqXNh wy00JkYEcU9mweIfKbqYjhYxu6dC7ySiUVMC9X3Ij845G1u8uotWsDQLhLYn+ohqJvDr EhtkjmA0FEQuadsxRCqndUTrm5cUUb/V3l0VUCZivo1QUGfo6hmrH5/cTIhLZCPevJ+k vHV4VpQiI9ahCFhJ/8kzd3J5ta9zLaT3MdBu+op7DlQGbxcsIlKQJ7BnJd8VBvJZjn5Z HTKG3lIS3D73tnM61jq974/WN4u0HHsNBqsp0SKB1Bj1f+bBHRdrmscIO9i8O6JmAE3o r9FQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature :arc-authentication-results; bh=hj6G7YtJt4YRVrqC1fT2vCdYE75C1QqL83tsze3jgfU=; b=QK//1bLSN34T7xM3+GXtEq4u8whgGNhUx8cOXWZmyePHKkVjz9YOqT3/UwGvVLegyS H75AnrqVj9P/Rpn+MehgFfLr8qAwWSItvG0mUOYnAfFI1QwVFkjpLghzh2sXjQfNMGqY 9vKyqZCqgJ92Cs1bi9XcV2uaGUyxt5mYSxQlIceKwab6E4CyeufqKGYvbiAkSpiJVVVL S9lEn+idT2I7M2iZD86R1TSvgQ0Q1nztA6QZkziuUhXm3OU8qQmi9wgbPzWh4LrFdI44 vRWMkv1vG6ZHoHHgIPin/lZDhjoX9YKujIondnO4ABz7VS0toOA2wj8rWl8b3fhHVLsJ QhNg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=Is/LElw7; 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 b9si3921364pgf.533.2017.11.17.20.42.42; Fri, 17 Nov 2017 20:42:55 -0800 (PST) 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=@gmail.com header.s=20161025 header.b=Is/LElw7; 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 S1757198AbdKQTho (ORCPT + 93 others); Fri, 17 Nov 2017 14:37:44 -0500 Received: from mail-qk0-f176.google.com ([209.85.220.176]:40239 "EHLO mail-qk0-f176.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750888AbdKQThi (ORCPT ); Fri, 17 Nov 2017 14:37:38 -0500 Received: by mail-qk0-f176.google.com with SMTP id p7so695815qkd.7 for ; Fri, 17 Nov 2017 11:37:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=hj6G7YtJt4YRVrqC1fT2vCdYE75C1QqL83tsze3jgfU=; b=Is/LElw7RaC+1Qj8PfcDSX36o3JYXLzhjxMUE5FAW5OqvI2MU39XCCSwtV/+D0LMXn 7ysdxmZZ026N3oVqfrIYAszGndEIWka6fyqq0D8SbEfdJ4kB7DlcyRFN6AAn9wiIiaJf zW8uTztfsCJnZFE8KxfNEALcD6a4ZegQDQ+lW/r/5jFOueDKxlMiUs6ig4m31lE1YTnY ipA3Trf5ubKe2xO8pr9gDbnsdLtSVqRSUvkDo81r9VgfsYbQ5uvrRc/dluOyJCQRWVpE g3Yz2YwxF49EaILa2lqZmBEau97s4cTwyKQGs/QbLQvhNEu8hGELXqZm4qAXdtNHH5pT wnGg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=hj6G7YtJt4YRVrqC1fT2vCdYE75C1QqL83tsze3jgfU=; b=TdRCsCYKikWmD4/OKiuNtg+EC0drXbOGwmBaUEgWCJ5H2wwt2KPL/q6BSAUlrni/M5 9MjxwFUokBE603bvg6VJksx/8g1VbY68VZuEN2gSqVE4T1zY91zu+9c4RTb38Gsmk6Iu iNkjv3d8SYZpeeEtipVkjQC4RV+jGGe57xF/pAztDniMXbiRNPW9p/jPdTSVIMTocGQW PETQczvlrs4rbK1BQBXHvoQf0deLvwo/BjPtlTuMQRz5Aewa3nVr+JaqEBCnwhWenVaT C3jj4XZRhX1aUyYraAsNzsGvFJ3TOrQke+15gG+TkuH7KqQsMZyNzIW4UIr9a3JaXfhP AO3Q== X-Gm-Message-State: AJaThX7x4henLNADiPwVop1A8DkHdO4eitDXLmNWcb4XeCYjHBIlpzB2 SSFGQrbk11tDtgK8HbATa1dXvfVMrZvaY+rArwDlzT5I X-Received: by 10.55.33.13 with SMTP id h13mr10189315qkh.176.1510947457441; Fri, 17 Nov 2017 11:37:37 -0800 (PST) MIME-Version: 1.0 Received: by 10.237.51.193 with HTTP; Fri, 17 Nov 2017 11:37:36 -0800 (PST) In-Reply-To: <201711172025.15121.linux@rainbow-software.org> References: <201711171526.01053.linux@rainbow-software.org> <201711171833.52855.linux@rainbow-software.org> <201711172025.15121.linux@rainbow-software.org> From: Ilia Mirkin Date: Fri, 17 Nov 2017 14:37:36 -0500 X-Google-Sender-Auth: sfZRx7mcgqUYktOjEbcIh0xCqZQ Message-ID: Subject: Re: Blank console but X11 works on MCP79 - old regression since 3.8 To: Ondrej Zary Cc: Ben Skeggs , "nouveau@lists.freedesktop.org" , "linux-kernel@vger.kernel.org" Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Nov 17, 2017 at 2:25 PM, Ondrej Zary wrote: > On Friday 17 November 2017 18:41:17 Ilia Mirkin wrote: >> On Fri, Nov 17, 2017 at 12:33 PM, Ondrej Zary >> >> wrote: >> > @@ -483,8 +483,8 @@ >> > nouveau 0000:02:00.0: disp: 0860: 00000000 -> 00000500 >> > nouveau 0000:02:00.0: disp: 0864: 00000000 >> > nouveau 0000:02:00.0: disp: 0868: 00000000 -> 04000500 >> > -nouveau 0000:02:00.0: disp: 086c: 00000000 -> 00100500 >> > -nouveau 0000:02:00.0: disp: 0870: 0000e900 -> 00001e00 >> > +nouveau 0000:02:00.0: disp: 086c: 00000000 -> 00100a00 >> > +nouveau 0000:02:00.0: disp: 0870: 0000e900 -> 0000e800 >> > nouveau 0000:02:00.0: disp: 0874: 00000000 -> ffff0000 >> > nouveau 0000:02:00.0: disp: 0878: 00000000 >> > nouveau 0000:02:00.0: disp: 0880: 05000000 >> > >> > Looks like it's using 8bpp (0x1e00) in 32MB case but 16bpp (0xe800) in >> > 64MB case. Why? >> > >> > I get blank screen even with 64MB with video=1280x1024-8 kernel >> > parameter. Console works with video=1280x1024-16 even with 32MB stolen >> > memory. >> > >> > Conclusions: 8-bit support is broken and bpp reduction is weird. >> >> OK, well that makes a *ton* of sense (8bpp being broken). >> >> I think the idea of bpp reduction is that when you're on your shiny >> new Riva TNT with 16MB of VRAM, you don't want to go crazy allocating >> all that to a pinned fbcon - almost half of that would go to a single >> 32bpp 1600x1200 buffer, more for 1920x1200. You want to be able to >> have at least a few fb-sized buffers for backbuffer rendering, etc. >> >> The specific limits could probably use tweaking - I think they only >> consider VRAM size, not the fb size. >> >> I guess 8bpp worked prior to the change you bisected though, so we >> should figure out what we did wrong in the new code. > > Yes, booted 3.7 (last working kernel) and it's running in 8bpp. By the way, instead of booting $kernel, you can use modetest from libdrm/tests. Not sure if it supports C8 though =/ I think the issue is this: - OUT_RING(evo, nv_crtc->lut.depth == 8 ? - NV50_EVO_CRTC_CLUT_MODE_OFF : - NV50_EVO_CRTC_CLUT_MODE_ON); Whereas now we always set 0xC0000000 (aka "ON"). -ilia From 1584361803997878935@xxx Sat Nov 18 00:32:40 +0000 2017 X-GM-THRID: 1584342040192660961 X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread