View Single Post
Old 07-12-11, 01:38 PM   #10
AaronP
NVIDIA Corporation
 
AaronP's Avatar
 
Join Date: Mar 2005
Posts: 2,487
Default Re: modeline syntax? Please hel

Quote:
Originally Posted by kokoko3k View Post
Yes i did, all it says is "Invalid modeline"
Here's what i did (successfully removed an edid modeline from the edid pool and unsucessfully tried to add it again)
Code:
Gozer ~ # nv-control-dpy  --add-modeline 0x00010000 "1024x768_70  75.000  1024 1048 1184 1328  768 771 777 806  -HSync -VSync"
Here's your problem. You need to pass the entire string to the server, which is what you did by enclosing it in double quotes to prevent the shell from expanding it, but you also need to enclose the mode name in quotes when passing it to the server. E.g.,
Code:
nv-control-dpy  --add-modeline 0x00010000 '"1024x768_70"  75.000  1024 1048 1184 1328  768 771 777 806  -HSync -VSync'
You may also need to change the name of the mode to disambiguate it, e.g. "custom_1024x768" or something.
AaronP is offline   Reply With Quote