Bug 13498 - xf86-video-ati Modeline and xvidtune problems
Summary: xf86-video-ati Modeline and xvidtune problems
Status: RESOLVED INVALID
Alias: None
Product: xorg
Classification: Unclassified
Component: Driver/Radeon (show other bugs)
Version: unspecified
Hardware: All Linux (All)
: highest major
Assignee: xf86-video-ati maintainers
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-12-03 08:37 UTC by Siganderson
Modified: 2011-07-13 12:58 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
output of xrandr --verbose (4.52 KB, text/plain)
2007-12-04 16:08 UTC, Siganderson
no flags Details

Description Siganderson 2007-12-03 08:37:35 UTC
Binary package hint: xorg

I tried the new radeon drivers:

6.7.192
6.7.195
6.7.196

With all of them I couldn't center the screen. I tried both with xvidtune
(setting parameters and hitting Apply) and putting the line Modeline
xxxxxxxxxxxx in /etc/X11/xorg.conf.
Modeline simply doesn't work while xvidtune say I requested a mode-line that is
not possible or supported.

6.6.3 release works fine and I have no problem.
My xorg version it is not the latest but is 1.3... however I think this is an
issue of all xorg versions and it should be reproducible with any hardware,
distro and xorg.conf settings.
My video card is a radeon 9600 (all in wonder variant).
Comment 1 Alex Deucher 2007-12-04 00:13:38 UTC
Unfortunately, I don't think xvidtune is randr 1.2 aware.  You can manually add modelines on the fly however with xrandr --newmode and xrandr --addmode
Comment 2 Siganderson 2007-12-04 03:29:19 UTC
(In reply to comment #1)
> Unfortunately, I don't think xvidtune is randr 1.2 aware.  You can manually add
> modelines on the fly however with xrandr --newmode and xrandr --addmode
> 

I did this:
1) xrandr --newmode Centrato 108.0 1280 1336 1448 1696 1024 1025 1028 1066 +HSync +VSync
2) xrandr --addmode VGA-0 Centrato

... but nothing happened
Comment 3 Alex Deucher 2007-12-04 11:34:34 UTC
(In reply to comment #2)

> I did this:
> 1) xrandr --newmode Centrato 108.0 1280 1336 1448 1696 1024 1025 1028 1066
> +HSync +VSync
> 2) xrandr --addmode VGA-0 Centrato
> 
> ... but nothing happened
> 

Can you attach the output of xrandr and xrandr --verbose after running those commands?
Comment 4 Siganderson 2007-12-04 16:08:28 UTC
Created attachment 12948 [details]
output of xrandr --verbose

output of xrandr --verbose
Comment 5 Alex Deucher 2007-12-04 16:18:37 UTC
(In reply to comment #4)
> Created an attachment (id=12948) [details]
> output of xrandr --verbose

looks like Centrato mode wasn't added to the output.  however, "try1" was added.
xrandr--output VGA-0 --mode try1
should work.
Comment 6 Siganderson 2007-12-05 07:05:02 UTC
(In reply to comment #5)
> looks like Centrato mode wasn't added to the output.  however, "try1" was
> added.
> xrandr--output VGA-0 --mode try1
> should work.

Yeah!!! Now I finally have the screen centered!
Thank you very much Alex!

The only thing I still don't understand is why xvidtune worked fine with precedent drivers and now it doesn't anymore.
Comment 7 Siganderson 2007-12-05 16:35:08 UTC
however xrandr doesn't make the changes to apply forever... I have to run that commands every time I reboot.
Comment 8 Siganderson 2007-12-05 16:57:57 UTC
For the moment this saved my situation:

Section "Monitor"
        Identifier      "L1717S"
        Option          "DPMS"
        Modeline        "Centered"   108.00   1280 1336 1448 1692   1024 1025 1028 1066 +hsync +vsync
        Option          "PreferredMode" "Centered"
EndSection
Comment 9 Alex Deucher 2007-12-05 21:02:17 UTC
(In reply to comment #6)
> 
> The only thing I still don't understand is why xvidtune worked fine with
> precedent drivers and now it doesn't anymore.
> 

The old radeon driver did not support xrandr 1.2, the new one does.  xvidtune is not xrandr 1.2 aware.  randr 1.2 handles multiple crtcs and outputs; randr 1.0 assumed one output per screen.  the xrandr 1.0 compatibility paths are not well tested and in some cases the 1.0 compatibility output/crtc may not match what's currently in use by the driver.
Comment 10 dmw 2008-02-22 23:06:28 UTC
Does this have anything to do with why the ctrl-alt-plus/minus keys don't work for the radeon driver anymore?  See also Fedora 8 bug 415231 https://bugzilla.redhat.com/show_bug.cgi?id=415231 with a bunch of logs attached.

Thanks-
Douglas
Comment 11 AnD 2008-07-21 22:25:07 UTC
I have same problem on Radeon 9200 graphics adapter (monitor is CRT Philips 107p5). But driver set in xorg.conf is "ati". Can it be X Server problem, not driver?

There is a regularity on my  machine: new GNI/Linux distros (Mandriva 2008.1, Ubuntu and Kubuntu 8.04 and Mandriva 2009 alfa2) that have autoconfigure screen to 1152 x 684 75Hz (after that default resolution was 1600x1200).
If change resolution to 1024x768 (optimal for 17' monitors) and run xvidtune to correct shift of screen (arise after change res to 1024x768), it alert error: "Invalid Mode Request: you have requested a mode line that is not possible or not supported by your hardware configuration". Futhermore any changes tryed to produce with xvidtune causes that error message.
Comment 12 AnD 2008-07-21 22:28:59 UTC
Maybe, this bug causes kdesktop hangs up Xserver in Mandriva 2008.1 on trying to change screen res from kdesktop section "Display":
https://qa.mandriva.com/show_bug.cgi?id=41494

In this bugrepurt you can find many attached logs.
Comment 13 Michel Dänzer 2008-07-21 23:38:51 UTC
(In reply to comment #11)
> But driver set in xorg.conf is "ati". Can it be X Server problem, not driver?

"ati" is just a wrapper which loads the actual driver for any ATI card, in your case "radeon".


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.