VectorLinux

Please login or register.

Login with username, password and session length
Advanced search  

News:

Visit our home page for VL info. For support and documentation, visit the Vector Linux Knowledge Center or search the Knowledge Center and this Forum using the search box above.

Author Topic: Vlocity not wanting to give me correct screen resolution  (Read 1365 times)

Herpy

  • Vectorite
  • ***
  • Posts: 142
Vlocity not wanting to give me correct screen resolution
« on: September 02, 2012, 10:35:31 am »

I use my 55 inch tv as a monitor. I need a resolution of 1920x1080. Vlocity only gives me 1020x780. Anyway to force it?
Logged
Forever in a box

rbistolfi

  • Packager
  • Vectorian
  • ****
  • Posts: 2318
Re: Vlocity not wanting to give me correct screen resolution
« Reply #1 on: September 02, 2012, 08:03:31 pm »

Hi Herpy, welcome back!

Take the easy path first, check with xrandr if your resolution is supported:

Code: [Select]
vlocity 福 ~
3990 ◯ : xrandr                                                                                                                                                                                                   
xrandr: Failed to get size of gamma for output default
Screen 0: minimum 320 x 240, current 1920 x 1080, maximum 1920 x 1080
default connected 1920x1080+0+0 0mm x 0mm
   1920x1080      50.0*
   1024x768       51.0     59.0     60.0 
   1680x1050      52.0 
   1400x1050      53.0     54.0 
   1280x1024      55.0     56.0 

If you find your desired resolution, you can try to use it like this:

Code: [Select]
xrandr --output default -s <x size>x<y size>x<refresh rate>
If your resolution is not listed, that usually means that your video card cant query the monitor for configuration values.
This method worked for me:

 * Find the right values for HSync and Vertical Refresh from your monitor manual, and also the signs for each one (note +hsync and +vsync in the code, in my manual are specified as "+/+" after the refresh rate).
 * Create a modeline with cvt in the command line:

Code: [Select]
vlocity 福 ~
3989 ◯ : cvt 1920 1080 60                                                                                                                                                                                         
# 1920x1080 59.96 Hz (CVT 2.07M9) hsync: 67.16 kHz; pclk: 173.00 MHz
Modeline "1920x1080_60.00"  173.00  1920 2048 2248 2576  1080 1083 1088 1120 -hsync +vsync

Note that cvt provides wrong signs for hsync and vsync, I replaced those with the values from my manual.
Now with this data written down, move to the next step:

 * Create a Monitor section in /etc/xorg.conf (create the file if it doesnt exist).

Code: [Select]
Section "Monitor"
    Identifier     "My Monitor"
    HorizSync       30.0 - 83.0
    VertRefresh     56.0 - 75.0
    Modeline     "1920x1080" 173.00  1920 2048 2248 2576  1080 1083 1088 1120 +hsync +vsync
EndSection

Save and restart X. This was the only method that worked for me, HTH!
Logged
"There is a concept which corrupts and upsets all others. I refer not to Evil, whose limited realm is that of ethics; I refer to the infinite."
Jorge Luis Borges, Avatars of the Tortoise.

--
Jumalauta!!

Herpy

  • Vectorite
  • ***
  • Posts: 142
Re: Vlocity not wanting to give me correct screen resolution
« Reply #2 on: September 02, 2012, 08:10:14 pm »

I could not figure it out so I installed Vector Linux STD Gold with pae. And yes it supports my resolution, but I will keep that noted. I will give it another shot in the future.
Logged
Forever in a box