Re: [XFree86] Can't change hsync from 60Hz on secondary display - Radeon Mobility 9000 (M9)
- Original Message - From: Knutsen, Mark [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, March 24, 2003 4:32 PM Subject: RE: [XFree86] Can't change hsync from 60Hz on secondary display - Radeon Mobility 9000 (M9) Try to remove all spaces from 30.0 - 95.0 and 50.0 - 160.0. Success! Now I can get 75Hz @ 1600x1200 on my external monitor by adding just these two driver options: Option CloneHSync 30.0-95.0 Option CloneVRefresh 50.0-160.0 ...and removing all but 1600x1200 from the Modes line in the Screen section. The external monitor is detected and clone mode is automatically set. So, spaces aren't allowed inside these option strings of the radeon driver. Yet the Red Hat phoebe3 beta puts spaces in the HorizSync and VertRefresh ranges of the Monitor section. Is this a bug in XFree86 or in Red Hat? These options are handled differently from those standard sync range lines. Currently these strings are simply read by sscanf(s, %f-%f, ...) which won't return correct results if there are spaces inside the strings. A bit of string parsing here should get these options more tolerant. Also, the laptop's backlight is on even though the cover is closed; is this a known bug as well? A patch has been submitted for some related problems, not sure if it can solve your problem. If you want to try, I can send it to you off the list (there are many other things, too big to post here). Hui -Original Message- From: hy0 [mailto:[EMAIL PROTECTED] Sent: Saturday, March 22, 2003 9:40 PM To: [EMAIL PROTECTED]; Knutsen, Mark Subject: Re: [XFree86] Can't change hsync from 60Hz on secondary display - Radeon Mobility 9000 (M9) (BTW: thanks for the help so far; I appreciate it!) What about the CloneMode and CloneHSync options? Well, I tried. What I got was a 640x480 60Hz window on a 1600x1200 virtual screen. This is similar to the behavior I got with the default config, which only showed 640x480 even though the Modes line was 1600x1200 1400x1050 ... 640x480. I removed all but 1600x1200, and that's the config I'd been running with before I started to ask questions about the low 60Hz refresh rate. Turn on the Clone options, and 640x480 reappears. Why? Here's a log diff between configs with and without Clone driver options turned on: 22c22 (==) Log file: /var/log/XFree86.0.log, Time: Thu Mar 20 15:08:12 2003 --- (==) Log file: /var/log/XFree86.0.log, Time: Thu Mar 20 15:15:24 2003 463a464,467 (**) RADEON(0): Option CloneDisplay 2 (**) RADEON(0): Option CloneMode 1600x1200 (**) RADEON(0): Option CloneHSync 30.0 - 95.0 (**) RADEON(0): Option CloneVRefresh 50.0 - 160.0 Try to remove all spaces from 30.0 - 95.0 and 50.0 - 160.0. Hui ___ XFree86 mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/xfree86 ___ XFree86 mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/xfree86
RE: [XFree86] Can't change hsync from 60Hz on secondary display- Radeon Mobility 9000 (M9)
(BTW: thanks for the help so far; I appreciate it!) What about the CloneMode and CloneHSync options? Well, I tried. What I got was a 640x480 60Hz window on a 1600x1200 virtual screen. This is similar to the behavior I got with the default config, which only showed 640x480 even though the Modes line was 1600x1200 1400x1050 ... 640x480. I removed all but 1600x1200, and that's the config I'd been running with before I started to ask questions about the low 60Hz refresh rate. Turn on the Clone options, and 640x480 reappears. Why? Here's a log diff between configs with and without Clone driver options turned on: 22c22 (==) Log file: /var/log/XFree86.0.log, Time: Thu Mar 20 15:08:12 2003 --- (==) Log file: /var/log/XFree86.0.log, Time: Thu Mar 20 15:15:24 2003 463a464,467 (**) RADEON(0): Option CloneDisplay 2 (**) RADEON(0): Option CloneMode 1600x1200 (**) RADEON(0): Option CloneHSync 30.0 - 95.0 (**) RADEON(0): Option CloneVRefresh 50.0 - 160.0 480c484 (II) RADEON(0): CloneDisplay option not set -- defaulting to auto-detect --- (II) RADEON(0): CloneDisplay option: Force On (2) 498a503 (II) RADEON(0): Clone mode in config file is used 558c563 (II) RADEON(0): Not using default mode 1792x1344 (hsync out of range) --- (II) RADEON(0): Not using default mode 1792x1344 (width too large for virtual size) [ ... a bunch more of those ... ] 594c599 (II) RADEON(0): Not using default mode 2048x1536 (bad mode clock/interlace/doublescan) --- (II) RADEON(0): Not using default mode 2048x1536 (width too large for virtual size) 597,600c602,607 (II) RADEON(0): Not using default mode 640x480 (width too large for virtual size) (EE) RADEON(0): Virtual height (0) is too small for the hardware (min 128) (EE) RADEON(0): No valid mode found for CRTC2 clone (II) RADEON(0): Total of -1 clone modes found --- (**) RADEON(0): Virtual size is 1600x1200 (pitch 1600) (**) RADEON(0): *Mode 1600x1200 (**) RADEON(0): Default mode 640x480: 25.2 MHz, 31.5 kHz, 60.0 Hz (II) RADEON(0): Modeline 640x480 25.20 640 656 752 800 480 490 492 525 -hsync -vsync (II) RADEON(0): Valid Clone Mode: 640x480 (II) RADEON(0): Total of 1 clone modes found 606c613 (--) RADEON(0): Virtual size is 1600x1200 (pitch 1600) --- (**) RADEON(0): Virtual size is 1600x1200 (pitch 1600) 784c791 AUDIT: Thu Mar 20 15:08:15 2003: 4931 X: client 5 rejected from local host --- AUDIT: Thu Mar 20 15:15:28 2003: 5136 X: client 4 rejected from local host = Here's the complete config file without the driver options: # XFree86 4 configuration created by pyxf86config Section ServerLayout Identifier Default Layout Screen 0 Screen0 0 0 InputDeviceMouse0 CorePointer InputDeviceKeyboard0 CoreKeyboard InputDeviceDevInputMice AlwaysCore EndSection Section Files # RgbPath is the location of the RGB database. Note, this is the name of the # file minus the extension (like .txt or .db). There is normally # no need to change the default. # Multiple FontPath entries are allowed (they are concatenated together) # By default, Red Hat 6.0 and later now use a font server independent of # the X server to render fonts. RgbPath /usr/X11R6/lib/X11/rgb FontPath unix/:7100 EndSection Section Module Load dbe Load extmod Load fbdevhw Load glx Load record Load freetype Load type1 Load dri EndSection Section InputDevice # Specify which keyboard LEDs can be user-controlled (eg, with xset(1)) # Option Xleds 1 2 3 # To disable the XKEYBOARD extension, uncomment XkbDisable. # Option XkbDisable # To customise the XKB settings to suit your keyboard, modify the # lines below (which are the defaults). For example, for a non-U.S. # keyboard, you will probably want to use: # Option XkbModel pc102 # If you have a US Microsoft Natural keyboard, you can use: # Option XkbModel microsoft # # Then to change the language, change the Layout setting. # For example, a german layout can be obtained with: # Option XkbLayout de # or: # Option XkbLayout de # Option XkbVariantnodeadkeys # # If you'd like to switch the positions of your capslock and # control keys, use: # Option XkbOptionsctrl:swapcaps # Or if you just want both to be control, use: # Option XkbOptionsctrl:nocaps # Identifier Keyboard0 Driver keyboard Option XkbRules xfree86 Option XkbModel pc105 Option XkbLayout us EndSection Section InputDevice Identifier Mouse0 Driver mouse Option Protocol PS/2 Option Device /dev/psaux Option ZAxisMapping 4 5 Option Emulate3Buttons yes EndSection Section InputDevice # If the normal CorePointer mouse is not a USB mouse then # this input device can be used in
RE: [XFree86] Can't change hsync from 60Hz on secondary display- Radeon Mobility 9000 (M9)
From: Michel Dänzer [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 12, 2003 11:43 AM On Mit, 2003-03-12 at 16:54, Knutsen, Mark wrote: I also tried setting the CloneVRefresh and DDCMode driver options, but that didn't change the results. What about the other CloneXXX options? (see http://xfree86.org/current/radeon.4.html if your X version doesn't have the radeon manpage yet) I tried adding: Option PanelOff Option CloneDisplay 2 Option CloneVRefresh 50.0 - 160.0 but, other than acknowledging the options, behavior and logfile output didn't change. Original message repeated below; any other suggestions? = The Red Hat beta folks suggested I ask about this here. phoebe3 is the current version of the beta. Description of problem: A fresh phoebe3 install works very well on my new used Dell Inspiron 8200 with Radeon Mobility 9000, thanks to the new XFree86. However, with the laptop closed and docked in the port replicator, I can't get an external CRT to sync at anything other than 60Hz. This interacts badly with the fluorescent lights around here. I tried to change the Monitor section of the XF86Config file to reflect the stats of the CRT, to no avail. Version-Release number of selected component (if applicable): 4.2.99.901-20030213.0 How reproducible: Always Steps to Reproduce: 1. Fresh phoebe3 install, select Everything. LCD is 1600x1200. 2. Note external CRT displays at eyestrain-inducing 60Hz 3. Change Monitor section of XF86Config to reflect stats of external (Dell P991) CRT rather than internal (Dell UltraSharp 15) LCD. 4. Rerun X or reboot Actual results: No change, still 60Hz Expected results: Should drive the external display at 75Hz or better. Additional info: Complete files appended below, but here's the relevant part of XF86Config: Section Monitor # Option dpms Identifier Monitor0 VendorName Monitor Vendor ModelNameDell P991 HorizSync30.0 - 95.0 VertRefresh 50.0 - 160.0 EndSection And of the log: (II) RADEON(0): Clone modes validation (II) RADEON(0): DDC detection (type 3) for clone modes (WW) RADEON(0): Monitor0: Using default hsync range of 28.00-33.00kHz (WW) RADEON(0): Monitor0: using default vrefresh range of 43.00-72.00Hz (II) RADEON(0): Clock range: 20.00 to 350.00 MHz ... (EE) RADEON(0): Virtual height (0) is too small for the hardware (min 128) (EE) RADEON(0): No valid mode found for CRTC2 clone (II) RADEON(0): Total of -1 clone modes found I also tried setting the CloneVRefresh and DDCMode driver options, but that didn't change the results. Now for the complete files: # XFree86 4 configuration created by redhat-config-xfree86 Section ServerLayout Identifier Default Layout Screen 0 Screen0 0 0 InputDeviceMouse0 CorePointer InputDeviceKeyboard0 CoreKeyboard InputDeviceDevInputMice AlwaysCore EndSection Section Files # RgbPath is the location of the RGB database. Note, this is the name of the # file minus the extension (like .txt or .db). There is normally # no need to change the default. # Multiple FontPath entries are allowed (they are concatenated together) # By default, Red Hat 6.0 and later now use a font server independent of # the X server to render fonts. RgbPath /usr/X11R6/lib/X11/rgb FontPath unix/:7100 EndSection Section Module Load dbe Load extmod Load fbdevhw Load glx Load record Load freetype Load type1 Load dri EndSection Section InputDevice # Specify which keyboard LEDs can be user-controlled (eg, with xset(1)) # Option Xleds 1 2 3 # To disable the XKEYBOARD extension, uncomment XkbDisable. # Option XkbDisable # To customise the XKB settings to suit your keyboard, modify the # lines below (which are the defaults). For example, for a non-U.S. # keyboard, you will probably want to use: # Option XkbModel pc102 # If you have a US Microsoft Natural keyboard, you can use: # Option XkbModel microsoft # # Then to change the language, change the Layout setting. # For example, a german layout can be obtained with: # Option XkbLayout de # or: # Option XkbLayout de # Option XkbVariantnodeadkeys # # If you'd like to switch the positions of your capslock and # control keys, use: # Option XkbOptionsctrl:swapcaps # Or if you just want both to be control, use: # Option XkbOptionsctrl:nocaps # Identifier Keyboard0 Driver keyboard Option XkbRules xfree86 Option XkbModel pc105 Option XkbLayout us EndSection Section InputDevice Identifier Mouse0 Driver mouse Option Protocol PS/2 Option Device /dev/psaux Option ZAxisMapping 4 5 Option
RE: [XFree86] Can't change hsync from 60Hz on secondary display -Radeon Mobility 9000 (M9)
On Die, 2003-03-18 at 18:02, Knutsen, Mark wrote: From: Michel Dänzer [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 12, 2003 11:43 AM On Mit, 2003-03-12 at 16:54, Knutsen, Mark wrote: I also tried setting the CloneVRefresh and DDCMode driver options, but that didn't change the results. What about the other CloneXXX options? (see http://xfree86.org/current/radeon.4.html if your X version doesn't have the radeon manpage yet) I tried adding: Option PanelOff Option CloneDisplay 2 Option CloneVRefresh 50.0 - 160.0 but, other than acknowledging the options, behavior and logfile output didn't change. What about the CloneMode and CloneHSync options? -- Earthling Michel Dänzer (MrCooper)/ Debian GNU/Linux (powerpc) developer XFree86 and DRI project member / CS student, Free Software enthusiast ___ XFree86 mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/xfree86