[Solved]Changing screen resolution

本文讨论了在Gentoo Linux环境下使用Xrandr工具调整屏幕分辨率的方法,并解决了特定分辨率设置失败的问题。

本文转载于  http://forums.gentoo.org/viewtopic-t-916156.html

 

 

作者留言
skaveria
n00b
n00b


注册时间: 2011-11-23
帖子: 10
帖子发表于: Sun Mar 11, 2012 8:18 pm    发表主题: [Solved]Changing screen resolution引用并回复

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

最后进行编辑的是 skaveria on Mon Mar 12, 2012 3:54 pm, 总计第 1 次编辑
返回页首
阅览会员资料 发送站内信件
GENERiCfr
n00b
n00b


注册时间: 2012-02-13
帖子: 9
帖子发表于: Sun Mar 11, 2012 8:55 pm    发表主题: 引用并回复

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


now type:
代码:
xrandr -q


You should get some output. Mine was:
代码:

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:

代码:
xrandr --output DVI-0 --mode 1024x768--rate 70


That's all.
返回页首
阅览会员资料 发送站内信件
skaveria
n00b
n00b


注册时间: 2011-11-23
帖子: 10
帖子发表于: Sun Mar 11, 2012 9:02 pm    发表主题: 引用并回复

xrandr -q
代码:
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
代码:
xrandr --output default --mode "1368x768_60.00"

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

I get
代码:
xrandr: Failed to get size of gamma for output default
xrandr: Configure crtc 0 failed[c
返回页首
阅览会员资料 发送站内信件
GENERiCfr
n00b
n00b


注册时间: 2012-02-13
帖子: 9
帖子发表于: Mon Mar 12, 2012 2:56 pm    发表主题: 引用并回复

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

1.
代码:
gtf 1368 768 60
You should get some output. Mine was:
代码:
 # 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:
代码:
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:
代码:
xrandr --addmode default 1368x768_60.00

4. And the last step:
代码:
xrandr --output default --mode 1368x768_60.00
返回页首
阅览会员资料 发送站内信件
skaveria
n00b
n00b


注册时间: 2011-11-23
帖子: 10
帖子发表于: Mon Mar 12, 2012 3:53 pm    发表主题: 引用并回复

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.
返回页首
阅览会员资料 发送站内信件
carlosalvatore
n00b
n00b


注册时间: 2011-11-22
帖子: 2
帖子发表于: Sun Jun 10, 2012 8:12 pm    发表主题: 引用并回复

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:
代码:
xrandr: Configure crtc 0 failed


I used this commands:
代码:
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

代码:
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.
引用:
http://pastebin.com/j06HW6K1

my /var/log/Xorg.0.log
引用:
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!

 

下载方式:https://pan.quark.cn/s/b4d8292ba69a 在构建食品品牌的市场整合营销推广方案时,我们必须首先深入探究品牌的由来、顾客的感知以及市场环境。 此案例聚焦于一款名为“某饼干产品”的食品,该产品自1998年进入河南市场以来,经历了销售业绩的波动。 1999至2000年期间,其销售额取得了明显的上升,然而到了2001年则出现了下滑。 在先前的宣传活动中,品牌主要借助大型互动活动如ROAD SHOW来吸引顾客,但收效甚微,这揭示了宣传信息与顾客实际认同感之间的偏差。 通过市场环境剖析,我们了解到消费者对“3+2”苏打夹心饼干的印象是美味、时尚且充满活力,但同时亦存在口感腻、价位偏高、饼身坚硬等负面评价。 实际上,该产品可以塑造为兼具美味、深度与创新性的休闲食品,适宜在多种情境下分享。 这暗示着品牌需更精确地传递产品特性,同时消解消费者的顾虑。 在策略制定上,我们可考虑将新产品与原有的3+2苏打夹心进行协同推广。 这种策略的长处在于能够借助既有产品的声誉和市场占有率,同时通过新产品的加入,刷新品牌形象,吸引更多元化的消费群体。 然而,这也可能引发一些难题,例如如何合理分配新旧产品间的资源,以及如何保障新产品的独特性和吸引力不被既有产品所掩盖。 为了提升推广成效,品牌可以实施以下举措:1. **定位修正**:基于消费者反馈,重新确立产品定位,突出其美味、创新与共享的特性,减少消费者感知的缺陷。 2. **创新宣传**:宣传信息应与消费者的实际体验相契合,运用更具魅力的创意手段,例如叙事式营销,让消费者体会到产品带来的愉悦和情感共鸣。 3. **渠道选择**:在目标消费者常去的场所开展活动,例如商业中心、影院或在线平台,以提高知名度和参与度。 4. **媒体联...
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值