Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Solved]Changing screen resolution
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
skaveria
n00b
n00b


Joined: 23 Nov 2011
Posts: 14

PostPosted: Sun Mar 11, 2012 8:18 pm    Post subject: [Solved]Changing screen resolution Reply with quote

I installed gentoo and after a lot of trial and error i got X and awesomeWM working. Im using a laptop with intel graphics and I would like to know how to change the screen resolution. Ive tried following a guide on the wiki and it asks to use a tool called xrandr to identify my monitor name and device name, and im not sure how to do that. Any help would be appreciated thanks

Last edited by skaveria on Mon Mar 12, 2012 3:54 pm; edited 1 time in total
Back to top
View user's profile Send private message
GENERiCfr
n00b
n00b


Joined: 13 Feb 2012
Posts: 11

PostPosted: Sun Mar 11, 2012 8:55 pm    Post subject: Reply with quote

Look at the "help" and "man" pages;
Code:
xrandr --help
man xandr


now type:
Code:
xrandr -q


You should get some output. Mine was:
Code:

Screen 0: minimum 320 x 200, current 1280 x 1024, maximum 4096 x 4096
VGA-0 disconnected (normal left inverted right x axis y axis)
DVI-0 connected 1280x1024+0+0 (normal left inverted right x axis y axis) 338mm x 270mm
   1280x1024      60.0*+   75.0 
   1152x864       75.0 
   1024x768       75.1     70.1     60.0 
   832x624        74.6 
   800x600        72.2     75.0     60.3     56.2 
   640x480        72.8     75.0     66.7     60.0 
   720x400        70.1 
S-video disconnected (normal left inverted right x axis y axis)


and for example I want to change resolution to 1024x768@70Hz:

Code:
xrandr --output DVI-0 --mode 1024x768--rate 70


That's all.
Back to top
View user's profile Send private message
skaveria
n00b
n00b


Joined: 23 Nov 2011
Posts: 14

PostPosted: Sun Mar 11, 2012 9:02 pm    Post subject: Reply with quote

xrandr -q
Code:
xrandr: Failed to get size of gamma for output default
Screen 0: minimum 1024 x 768, current 1024 x 768, maximum 1368 x 768
default connected 1024x768+0+0 0mm x 0mm
   1024x768        0.0*
   1368x768_60.00   59.9


i set the 1368 one up from a guide i read but when i try setting it as the output with
Code:
xrandr --output default --mode "1368x768_60.00"

OR
Code:
xrandr --output default --mode 1368x768_60.00 --rate 60

I get
Code:
xrandr: Failed to get size of gamma for output default
xrandr: Configure crtc 0 failed[c
Back to top
View user's profile Send private message
GENERiCfr
n00b
n00b


Joined: 13 Feb 2012
Posts: 11

PostPosted: Mon Mar 12, 2012 2:56 pm    Post subject: Reply with quote

delete the 1368x768_60.00, and perform everything again.

1.
Code:
gtf 1368 768 60
You should get some output. Mine was:
Code:
 # 1368x768 @ 60.00 Hz (GTF) hsync: 47.70 kHz; pclk: 85.86 MHz
  Modeline "1368x768_60.00"  85.86  1368 1440 1584 1800  768 769 772 795  -HSync +Vsync

2. Define new mode. My example:
Code:
xrandr --newmode "1368x768_60.00"  85.86  1368 1440 1584 1800  768 769 772 795  -HSync +Vsync
Of course, you'll got different numbers there.
3. Add new mode:
Code:
xrandr --addmode default 1368x768_60.00

4. And the last step:
Code:
xrandr --output default --mode 1368x768_60.00
Back to top
View user's profile Send private message
skaveria
n00b
n00b


Joined: 23 Nov 2011
Posts: 14

PostPosted: Mon Mar 12, 2012 3:53 pm    Post subject: Reply with quote

I figured it out. the reason i couldnt get my native resolution was because i was using vesa. I recompiled with intel support and now things are working great.
Back to top
View user's profile Send private message
carlosalvatore
n00b
n00b


Joined: 22 Nov 2011
Posts: 3

PostPosted: Sun Jun 10, 2012 8:12 pm    Post subject: Reply with quote

Hi, I bought a PCIe Video Card ASUS HD 5450 (ATI Radeon HD 5xxx) and I'm trying to change resolution to 1600x1200 but xrandr gives me the error message:
Code:
xrandr: Configure crtc 0 failed


I used this commands:
Code:
cvt 1600 1200 75
# 1600x1200 74.98 Hz (CVT 1.92M3) hsync: 94.09 kHz; pclk: 204.75 MHz
Modeline "1600x1200_75.00"  204.75  1600 1720 1888 2176  1200 1203 1207 1255 -hsync +vsync

Code:
xrandr --newmode 1600x1200 204.75  1600 1720 1888 2176  1200 1203 1207 1255 -hsync +vsync
xrandr --addmode CRT1 1600x1200
xrandr --output CRT1 --mode 1600x1200 --rate 75


I'm using fglrx.

my Xorg.conf.
Quote:
http://pastebin.com/j06HW6K1

my /var/log/Xorg.0.log
Quote:
http://pastebin.com/7ApDnsDu


I have also tried with other refresh rates. My Monitor supports the resolution, it was working before I bought the PCIe card, back then I used the built in card (Radeon HD 3300).

Thank you.
_________________
Cowabunga!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments 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