lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:	Thu, 8 Oct 2015 09:55:46 -0400 (EDT)
From:	Mikulas Patocka <mpatocka@...hat.com>
To:	Tomi Valkeinen <tomi.valkeinen@...com>
cc:	Michal Januszewski <spock@...too.org>, linux-fbdev@...r.kernel.org,
	Jean-Christophe Plagniol-Villard <plagnioj@...osoft.com>,
	linux-kernel@...r.kernel.org
Subject: Re: [PATCH] uvesafb: make scaling configurable on Nvidia cards



On Thu, 8 Oct 2015, Tomi Valkeinen wrote:

> 
> On 08/10/15 14:51, Mikulas Patocka wrote:
> 
> >> I have to say I don't know much about x86 video, but isn't uvesafb
> >> supposed to be a generic driver? Adding nvidia specific features there
> >> doesn't sound like a right way to handle this.
> >>
> >>  Tomi
> > 
> > Where do you think that this functionality should be added? To Nouveau? - 
> > Nouveau can't be used with nVidia binary driver, and this functionality is 
> > useful especially with nVidia binary driver (it allows to get nice console 
> > with sharp fonts).
> 
> I don't know where is should be. But with a quick look I don't see any
> gfx card specific features in uvesafb, and the doc clearly says it's a
> generic driver. So if we add this nvidia feature there, shall we add
> other features for other cards also? It's a kind of slippery road.
> 
> So how does uvesafb work with nvidia driver? uvesafb is used for initial
> console, and nvidia driver takes over later when (and if) it's loaded?
> And it's not possible to change the scaling via nvidia's driver?

The nvidia binary driver doesn't handle console, it only handles Xwindow. 
You can use either the VGA 80x25 text console or you can set graphics 
console with uvesafb - in both cases, the video card hardware scales the 
screen and the console font is blurry. The patch allows to turn off the 
scaling.

> > BTW. I don't know if this BIOS function is supported on AMD or not. Could 
> > someone try it? I don't have an AMD card.
> 
> Quick googling shows that 0x4f14 might be used by other gfx cards (Epia)
> for something else. But I can't really say for sure. So in the minimum I
> think the parameter should be renamed to "nvidia_scaling" or similar.

Someone should try the patch on AMD card and say if it can set scaling 
there.

Mikulas

>  Tomi
> 
> 
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ