Details of the X-stack: ---------------------- mesa/drm: master (git) 19-DEC mesa/mesa : 7.2 xorg/xserver: 1.5.2 xorg/xf86-video-ati: master(git) 19-DEC xorg/driver/xf86-input-keyboard - 1.3.0 xorg/driver/xf86-input-mouse-1.3.0 Problem: --------- Can't set resolution using 'xrandr -s ' command: sample xrandr -q output: ----------- Screen 0: minimum 320 x 200, current 1024 x 768, maximum 4096 x 4096 DVI-0 connected 1024x768+0+0 (normal left inverted right x axis y axis) 408mm x 306mm 1024x768 50.0*+ 3200x2400 16.0 2800x2100 18.0 * * * 1280x1024 38.0 1440x900 43.0 1280x960 40.0 1366x768 50.0 1280x800 48.0 1152x864 45.0 - Tried to change the resolution as below: #xrandr -s 1 <<<< THE SCREEN GOES BLANK/BLACK >>>> Monitor goes to sleep #xrandr -s 15 <<< SETS the resolution to 1280x1024 >> within 5 seconds monitor goes blank #xrandr -s 21 <<< SETs resolution to 1280x768 >>> Monitor stays OK
Created attachment 21391 [details] [review] xorg.conf
Created attachment 21392 [details] [review] Xorg.0.log
Created attachment 21393 [details] glxinfo
Created attachment 21394 [details] xrandr output
pleaes try this command: "xrandr --output DVI-0 --mode 800x600"
(In reply to comment #5) > pleaes try this command: "xrandr --output DVI-0 --mode 800x600" The behavior is *same* with --mode option for those resolutions mentioned as problem.
How about comment out UseModes "Modes[0]" in section Section "Monitor", just like: Section "Monitor" ... # UseModes "Modes[0]" EndSection
(In reply to comment #7) > How about comment out UseModes "Modes[0]" in section Section "Monitor", just > like: > Section "Monitor" > ... > # UseModes "Modes[0]" > EndSection thanks, will try and update you soon.
After some gao, i got some time to look into this: - I commented the "Use Modes" line, but this time, i just get only 3 basic resolutions available! 800x600 etc - This time tried with Ubuntu-8.10, i get the same problem. --I can't set some higher resolutions above some value, say 1240x1024. --In my Ubuntu's xorg.conf file, i don't even have the "Use Modes" line --The Virtual value set is 'Virtual 2048 2048' Any thoughts? or it is the limitation of the card?
(In reply to comment #9) > After some gao, i got some time to look into this: > > - I commented the "Use Modes" line, but this time, i just get only 3 basic > resolutions available! 800x600 etc > > - This time tried with Ubuntu-8.10, i get the same problem. > --I can't set some higher resolutions above some value, say 1240x1024. > --In my Ubuntu's xorg.conf file, i don't even have the "Use Modes" line > --The Virtual value set is 'Virtual 2048 2048' > > > Any thoughts? or it is the limitation of the card? > There are no limitations in the hw with respect to modes for the most part. Try removing the monitor and modes sections in your config. your monitor provides an edid so you should be getting all of the montior's supported modes via the edid. Also, don't use xrandr -s. That's a randr 1.0 command and the backwards compat code in the xserver doesn't always do the right thing since xrandr 1.2 support multiple outputs. use: xrandr --output DVI-0 --mode <mode name> Please post your new xorg log and config after remving the monitor and modes sections if you are still having trouble.
> xrandr --output DVI-0 --mode <mode name> > Please post your new xorg log and config after remving the monitor and modes > sections if you are still having trouble. Yes, I am using 'xrandr --output DVI-0 --mode <mode name>' most of the time. I stopped using '-s' :-) Now my observations are: -checked the EDID info, and found that the MAX supported resolution is '1280x1024'. And I can successfully change the resolution upto that. - where as my xrandr -q output shows one thing extra '1400x1050' : Screen 0: minimum 320 x 200, current 1280 x 1024, maximum 2048 x 2048 DVI-0 connected 1280x1024+0+0 (normal left inverted right x axis y axis) 380mm x 300mm 1280x1024 60.0*+ 75.0 60.0 60.0* 1400x1050 60.0 <============== WHY IS IT SHOWN? 1280x960 60.0 1152x864 75.0 1024x768 75.1 75.0 70.1 60.0 832x624 74.6 800x600 72.2 75.0 60.3 56.2 640x480 75.0 72.8 72.8 75.0 60.0 59.9 720x400 70.1 VGA-0 disconnected (normal left inverted right x axis y axis) - Any clue why it is showing the extra "1400x1050"? I couldn't set this resolution. - When reduce the 'Virtual 2048 2048' to 'Virtual 1024 1024' i don't get '1400x1050' and infact, i get fewer than listed above. *** The observation is same whether "Monitor" section present or not. And no 'modes' section in my Ubuntu xorg.conf
Created attachment 22339 [details] new-xorg-conf
Created attachment 22340 [details] new-Xorg-log
(In reply to comment #11) > > xrandr --output DVI-0 --mode <mode name> > > Please post your new xorg log and config after remving the monitor and modes > > sections if you are still having trouble. > > Yes, I am using 'xrandr --output DVI-0 --mode <mode name>' most of the time. I > stopped using '-s' :-) > > Now my observations are: > > -checked the EDID info, and found that the MAX supported resolution is > '1280x1024'. And I can successfully change the resolution upto that. Good. > - Any clue why it is showing the extra "1400x1050"? I couldn't set this > resolution. > The Xserver adds default modes that are within the sync range supported by your monitor. That's where the extra modes come from. In xserver from git, the default xserver modes should only be added if the edid from your monitor has the continuous frequency bit set since a lot of LCD monitors don't like non-edid modes. Previous xservers always add the default modes. > - When reduce the 'Virtual 2048 2048' to 'Virtual 1024 1024' i don't get > '1400x1050' and infact, i get fewer than listed above. The virtual line in your config limits the size of your framebuffer. When you limit the framebuffer to 1024x1024, the xserver culls out modes larger than the framebuffer.
Thanks for the explanation... closing this bug, as the behavior is correct.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.