Go Back   nV News Forums > Linux Support Forums > NVIDIA Linux

Newegg Daily Deals

Reply
 
Thread Tools
Old 07-13-12, 08:18 PM   #13
NvFuchs
Registered Fox
 
NvFuchs's Avatar
 
Join Date: Oct 2007
Location: Confoederatio Helvetica
Posts: 530
Default Re: 320.17 can't detect video modes on Lenovo laptop

Quote:
Originally Posted by aritger View Post
Hi NvFuchs,
Hi Andy

Quote:

RandR 1.x (x >= 2) works in terms of modes on individual outputs, whereas a MetaMode defines the configuration of all outputs on the X screen including "meta" information like viewport configuration to use with a mode.

With 304.22, MetaModes are selectable through RandR 1.1 protocol. So, if you run `xrandr -q --q1` you should see the MetaModes you configured (well, RandR 1.1 only sees the size of the MetaMode, so I expect you'd see 1440x900, 1024x768, 800x600, 640x480), and you can set those with the RandR 1.1 `xrandr -s SIZE`.
Alright, this indeed lists them and setting them works, I was missing the --q1 option (which is not in --help, but in the manpage)

Unfortunately xrandr based graphical tools, such as KDEs kcm, appear to be using version >= 1.2 of the protocol and therefore don't show these modes. I have to admit that I did not read the full specification, but if there is a way to get them added there as well, this would make the life of some users quite easier, since they use the tools that come along their desktop.

Based on your first explanation, it is a bit difficult since meta modes are on multiple outputs, while xrandr lists them per output. I am not sure whether it would be possible to extract the modes per output from the metamodes, assign them to the output they belong to and get them listed. As you allow output classes (as: DFP, CRT) or specifc outputs (CRT-0, DFP-1) in the metamodes, I assume this could be a bit of a pain, but not knowing your drivers internals I don't know wheter it's just that or not possible at all.

Quote:
SDL/Wine generally use either RandR 1.1 or XF86Vidmode to set the mode for a fullscreen game, so 304.22 should give more resolution options to fullscreen games.
Indeed, the applications I tested appear to work, thanks a lot.

Quote:
We also enhanced the "IncludeImplicitMetaModes" X configuration option in 304.22 to make additional MetaModes available to RandR1.1/XF86Vidmode clients.

But, yes: we still need to make nvidia-settings aware of viewport configuration.
That, and, if it is not violating any specs, getting them to be listed in xrandr >= 1.2 based things as well would be awesome.

Thanks for your good work and have a nice weekend.

Fuchs
NvFuchs is offline   Reply With Quote
Old 07-14-12, 02:40 AM   #14
AaronP
NVIDIA Corporation
 
AaronP's Avatar
 
Join Date: Mar 2005
Posts: 2,487
Default Re: 320.17 can't detect video modes on Lenovo laptop

Like Andy said, RandR 1.2 gives applications explicit control over the configuration of multiple display devices, bypassing the driver's MetaMode list. It is not possible to represent an entire MetaMode in RandR 1.2 because modes there exist on a per-output basis. If you want functionality that MetaModes provide to RandR 1.1 applications (such as scaling) in an RandR 1.2 application, that app will have to be able to request it explicitly. If functionality you need is missing, you will have to ask the application developer to add it.
AaronP is offline   Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 01:22 AM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.