Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
set nvidia framebuffer refresh rate?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
dasPaul
Apprentice
Apprentice


Joined: 14 Feb 2012
Posts: 217
Location: Dresden

PostPosted: Wed Jan 11, 2017 10:37 am    Post subject: set nvidia framebuffer refresh rate? Reply with quote

Hi,

I want to boot gentoo with a sprecific refresh rate (50Hz, not the default 60Hz). What I mean is not the X enviroment, just pure console.

I am curious about how to set the refresh rate with the kernel commandline for nvidia cards (GTX 1070).
For my old Intel Graphics it was sufficient to find the monitor name by:
Code:
$ for p in /sys/class/drm/*/status; do con=${p%/status}; echo -n "${con#*/card?-}: "; cat $p; done

HDMI-A-1: connected
VGA-1: disconnected


and then adding the appropriate display name to the kernel commandline:
Code:
video=HDMI-A-1:1920x1080@50


but with my new nvidia card there is no such drm device/folder in /sys/class and the display names shown via
xrandr do NOT conform with the /sys/class reported ones.

Anyone an idea?
Back to top
View user's profile Send private message
chithanh
Developer
Developer


Joined: 05 Aug 2006
Posts: 2152
Location: Berlin, Germany

PostPosted: Wed Jan 11, 2017 2:25 pm    Post subject: Reply with quote

This syntax is supported by the open source KMS drivers (like i915 and nouveau).

The NVidia proprietary driver uses KMS if you pass nvidia-drm.modeset=1 kernel parameter, but even then I am not sure whether the same syntax works.
Back to top
View user's profile Send private message
dasPaul
Apprentice
Apprentice


Joined: 14 Feb 2012
Posts: 217
Location: Dresden

PostPosted: Fri Jan 13, 2017 11:38 am    Post subject: Reply with quote

Thank you I will try that, I will also look at how to create a custom EDID file. I'll report on success.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum