LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-14-2010, 05:17 AM   #1
Changes
Member
 
Registered: Oct 2008
Posts: 190

Rep: Reputation: 16
Xrandr not finding modes


I'm on Debian Squeeze, my PC has a Radeon HD4770 card. I honestly don't know if it's currently running on OS or proprietary fglrx drivers; I installed fglrx, but the control panel app insists the driver isn't loaded.

I'm following these instructions to try to get my screen running at 1280x960x85. It's currently at 1280x1024x85, but it's an old CRT that, for some reason, works fine at 1280x960 but gets unfocused at 1280x1024.

I'm following the step "adding undetected resolutions", and here's the result:

Code:
fallingwater@longcat:~$ xrandr
Screen 0: minimum 320 x 200, current 1280 x 1024, maximum 2048 x 2048
DVI-1 disconnected (normal left inverted right x axis y axis)
DVI-0 connected 1280x1024+0+0 (normal left inverted right x axis y axis) 406mm x 304mm
   2048x1536      75.0  
   1920x1440      75.0  
   1600x1200      85.0     75.0  
   1280x1024      85.0*    75.0  
   1152x864       75.0  
   1024x768       85.0     75.0  
   800x600        85.1     75.0  
   640x480        85.0     75.0  
   720x400        70.1 
fallingwater@longcat:~$ cvt 1280 960 85
# 1280x960 84.86 Hz (CVT 1.23M3) hsync: 85.79 kHz; pclk: 148.25 MHz
Modeline "1280x960_85.00"  148.25  1280 1368 1504 1728  960 963 967 1011 -hsync +vsync
fallingwater@longcat:~$ xrandr --newmode "1280x960"  148.25  1280 1368 1504 1728  960 963 967 1011 -hsync +vsync
fallingwater@longcat:~$ xrandr
Screen 0: minimum 320 x 200, current 1280 x 1024, maximum 2048 x 2048
DVI-1 disconnected (normal left inverted right x axis y axis)
DVI-0 connected 1280x1024+0+0 (normal left inverted right x axis y axis) 406mm x 304mm
   2048x1536      75.0  
   1920x1440      75.0  
   1600x1200      85.0     75.0  
   1280x1024      85.0*    75.0  
   1152x864       75.0  
   1024x768       85.0     75.0  
   800x600        85.1     75.0  
   640x480        85.0     75.0  
   720x400        70.1  
  1280x960 (0x70)  148.0MHz
        h: width  1280 start 1368 end 1504 total 1728 skew    0 clock   85.6KHz
        v: height  960 start  963 end  967 total 1011           clock   84.7Hz
fallingwater@longcat:~$ xrandr --output DVI-0 --mode 1280x960
xrandr: cannot find mode 1280x960
It lists the mode I just added, but says it can't find it. How do I get it to work?
Thanks.

Last edited by Changes; 07-14-2010 at 05:20 AM.
 
Old 07-14-2010, 05:52 AM   #2
adamk75
Senior Member
 
Registered: May 2006
Posts: 3,091

Rep: Reputation: 399Reputation: 399Reputation: 399Reputation: 399
You're definitely using the open source driver. The output names for fglrx are different (DFP1, CRT1, etc.). Having fglrx at least partially installed, though, may break your 2D and 3D acceleration with the open source drivers (assuming Squeeze is new enough to support 3D acceleration via the open source drivers).


Anyway... After using --newmode to create a new mode, you need to use --addmode to add that mode to a specific port. Try:

Code:
xrandr --newmode "1280x960"  148.25  1280 1368 1504 1728  960 963 967 1011 -hsync +vsync
xrandr --addmode DVI-0 1280x960
xrandr --output DVI-0 --mode 1280x960

Last edited by adamk75; 07-14-2010 at 05:59 AM.
 
Old 07-14-2010, 06:54 AM   #3
Changes
Member
 
Registered: Oct 2008
Posts: 190

Original Poster
Rep: Reputation: 16
Quote:
Originally Posted by adamk75 View Post
You're definitely using the open source driver. The output names for fglrx are different (DFP1, CRT1, etc.). Having fglrx at least partially installed, though, may break your 2D and 3D acceleration with the open source drivers (assuming Squeeze is new enough to support 3D acceleration via the open source drivers).
I don't care about 3D acceleration. Regardless, I just aptitude-purged everything fglrx from my system, to be on the safe side.


Quote:
Anyway... After using --newmode to create a new mode, you need to use --addmode to add that mode to a specific port. Try:

Code:
xrandr --newmode "1280x960"  148.25  1280 1368 1504 1728  960 963 967 1011 -hsync +vsync
xrandr --addmode DVI-0 1280x960
xrandr --output DVI-0 --mode 1280x960
I love you thanks!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
xrandr problem sylar Debian 1 02-18-2010 07:35 PM
radeon and dual head, to xrandr or not to xrandr, that's the question i92guboj Linux - Desktop 1 06-17-2009 05:48 AM
Help needed with Xrandr! drakeman007 Linux - Newbie 2 03-09-2009 08:26 AM
xrandr and others gone Beire Ubuntu 1 07-15-2005 06:51 AM
Rotating X with xrandr antifelix Linux - Newbie 3 08-22-2003 10:56 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:18 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration