From owner-freebsd-questions@FreeBSD.ORG Fri Mar 20 04:47:02 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 24951106566B for ; Fri, 20 Mar 2009 04:47:02 +0000 (UTC) (envelope-from frank@esperance-linux.co.uk) Received: from mailout.zetnet.co.uk (mailout.zetnet.co.uk [194.247.47.231]) by mx1.freebsd.org (Postfix) with ESMTP id 9B5758FC0C for ; Fri, 20 Mar 2009 04:47:01 +0000 (UTC) (envelope-from frank@esperance-linux.co.uk) Received: from irwell.zetnet.co.uk ([194.247.47.48] helo=zetnet.co.uk) by mailout.zetnet.co.uk with esmtp (Exim 4.63) (envelope-from ) id 1LkWdH-0000Dl-Ir; Fri, 20 Mar 2009 04:46:59 +0000 Received: from melon.esperance-linux.co.uk (54-144.adsl.zetnet.co.uk [194.247.54.144]) by zetnet.co.uk (8.14.1/8.14.1/Debian-9) with ESMTP id n2K4kwiW014389; Fri, 20 Mar 2009 04:46:58 GMT Received: by melon.esperance-linux.co.uk (Postfix, from userid 1001) id 6589AFCA699; Fri, 20 Mar 2009 04:46:53 +0000 (GMT) Date: Fri, 20 Mar 2009 04:46:53 +0000 From: Frank Shute To: Francis =?iso-8859-1?Q?Dub=E9?= Message-ID: <20090320044653.GB29938@melon.esperance-linux.co.uk> Mail-Followup-To: Francis =?iso-8859-1?Q?Dub=E9?= , Martin Turgeon , Francis =?iso-8859-1?Q?Dub=E9?= , freebsd-questions@freebsd.org References: <4995B261.40307@optiksecurite.com> <49BA729B.4070504@optiksecurite.com> <49BE6D6E.4050801@gmail.com> <49C10D0B.7070200@optiksecurite.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <49C10D0B.7070200@optiksecurite.com> User-Agent: Mutt/1.4.2.3i X-Face: *}~{PHnDTzvXPe'wl_-f%!@+r5; VLhb':*DsX%wEOPg\fDrXWQJf|2\,92"DdS%63t*BHDyQ|OWo@Gfjcd72eaN!4%NE{0]p)ihQ1MyFNtWL X-Operating-System: FreeBSD 6.4-RELEASE-p2 i386 X-Organisation: 'http://www.shute.org.uk/' X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.1.7 (zetnet.co.uk [194.247.46.1]); Fri, 20 Mar 2009 04:46:59 +0000 (GMT) Cc: Francis =?iso-8859-1?Q?Dub=E9?= , Martin Turgeon , freebsd-questions@freebsd.org Subject: Re: Xorg - Resolution issues X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Frank Shute List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Mar 2009 04:47:02 -0000 On Wed, Mar 18, 2009 at 11:02:35AM -0400, Francis Dub wrote: > > Martin Turgeon a écrit : > >Francis Dubé a écrit : > >>Francis Dubé wrote : > >>>Hi everyone, > >>> > >>>I got this TV : > >>>http://www.samsung.com/ca/consumer/detail/spec.do?group=tv&type=tv&subtype=lcd&model_cd=LN40A330J1DXZC&fullspec=F > >>> > >>> > >>>I'm trying to use it as my screen under FreeBSD 7.1-RELEASE with a > >>>resolution of 1366x768 which is suposed to be suported by the TV, > >>>acording with the TV's specs. I did the same with another very > >>>similar TV and it was working #1 without having to create any > >>>Xorg.conf, a plain startx and the display was perfect (1366x768). > >>> > >>>With my new TV, X only start in 1280x720. So I created a config file > >>>with Xorg -configure, then I tried to force Xorg to use 1366x768 but > >>>it keeps loading in 1280x720. In my Xorg.0.log it looks like there's > >>>no support for the resolution I want : > >>> > >>>[...] > >>>(==) Using config file: "/etc/X11/xorg.conf" > >>>[...] > >>>(II) RADEON(0): Panel infos found from DDC detailed: 1280x720 > >>>[...] > >>>(II) RADEON(0): Supported additional Video Mode: > >>>(II) RADEON(0): clock: 74.2 MHz Image Size: 160 x 90 mm > >>>(II) RADEON(0): h_active: 1280 h_sync: 1390 h_sync_end 1430 > >>>h_blank_end 1650 h_border: 0 > >>>(II) RADEON(0): v_active: 720 v_sync: 725 v_sync_end 730 > >>>v_blanking: 750 v_border: 0 > >>>(II) RADEON(0): Supported additional Video Mode: > >>>(II) RADEON(0): clock: 74.2 MHz Image Size: 160 x 90 mm > >>>(II) RADEON(0): h_active: 1920 h_sync: 2008 h_sync_end 2052 > >>>h_blank_end 2200 h_border: 0 > >>>(II) RADEON(0): v_active: 540 v_sync: 542 v_sync_end 547 > >>>v_blanking: 562 v_border: 0 > >>>(II) RADEON(0): Ranges: V min: 23 V max: 61 Hz, H min: 26 H max: > >>>68 kHz, PixClock max 150 MHz > >>>(II) RADEON(0): Monitor name: SAMSUNG > >>>[...] > >>>(II) RADEON(0): Output DVI-0 using initial mode 1280x720 > >>>[...] > >>> > >>>This is how i configured my resolution in my /etc/X11/xorg.conf : > >>>[...] > >>>Section "Screen" > >>> Identifier "Screen0" > >>> Device "Card0" > >>> Monitor "Monitor0" > >>> DefaultDepth 24 > >>> SubSection "Display" > >>> Viewport 0 0 > >>> Depth 24 > >>> Modes "1366x768" > >>> EndSubSection > >>>EndSection > >>>[...] > >>> > >>>My video card is a Radeon HD 3450 and my Xorg version is xorg-7.3_2 > >>> > >>>Also, the only other resolution "supported" by the TV according to > >>>the log file would be 1920x540...but it's not supported by the TV ! > >>> > >>>Am I missing something ? > >>> > >>>Thanks for reading. > >>> > >>>Francis > >>>_______________________________________________ > >>>freebsd-questions@freebsd.org mailing list > >>>http://lists.freebsd.org/mailman/listinfo/freebsd-questions > >>>To unsubscribe, send any mail to > >>>"freebsd-questions-unsubscribe@freebsd.org" > >>I had this problem last month, I tought it was fixed using this > >>little trick suggested by Polytropon : > >> > >>Polytropon wrote : > >>>If it doesn't work, there's always an option to use xrandr via > >>>~/.xinitrc: > >>> > >>> xrandr --size 1366x768 & > >>> xrandr --fb 1366x768 & > >>> > >>>I have a similar issue with the "ati" driver, using an ATI Radeon 9200 > >>>(RV250) which I need to force to 1400x1050 (worked with old XFree86 > >>>and the setting in the config file, as you mentioned it). The > >>>autodetection of the screen (21" CRT) leads to stupid values that > >>>are completely unusable. > >>The screen is located far from my office so I can't be in front of it > >>to test, that's why I haven't spotted it wasn't working. I tought it > >>was because when i take a screenshot with 'scrot' i get a full > >>screenshot in 1366x768 and everything is clean, but the TV itself > >>shows a 1280x720 display. I should've watched the Xorg's log instead > >>of simply assuming it was working with a screenshot, but anyway now > >>my problem is the same : The PC is configured in 1366x768, but the TV > >>don't care and shows a 1280x720. > >> > >>Anyone got a similar issue and a way to fix it ? > >> > >>Thanks, > >> > >>Francis Dubé > > > >Hi! > > > >I have the same problem with the same model of TV (Samsung A330). Did > >you solved your problem? > > > >Thanks, > > > >Martin > > > No I haven't solved my problem yet. Still trying to figure out why my TV > display is in 1280x720. When I take a screenshot with 'scrot' i get a > file like this : 2009-03-18-104527_1360x768_scrot.png. But in the > Xorg.0.log it clearly shows the resolution of the TV itself : > > term004# cat /var/log/Xorg.0.log | grep 1360 > term004# cat /var/log/Xorg.0.log | grep 1280 > (II) RADEON(0): Panel infos found from DDC detailed: 1280x720 > (II) RADEON(0): h_active: 1280 h_sync: 1390 h_sync_end 1430 > h_blank_end 1650 h_border: 0 > (II) RADEON(0): h_active: 1280 h_sync: 1390 h_sync_end 1430 > h_blank_end 1650 h_border: 0 > (II) RADEON(0): Output DVI-0 using initial mode 1280x720 > Mode 1280x720 - 1650 750 5 > Mode 1280x720 - 1650 750 5 > (II) RADEON(0): Modeline "1280x720"x0.0 74.25 1280 1390 1430 1650 > 720 725 730 750 +hsync +vsync (45.0 kHz) > (II) RADEON(0): h_active: 1280 h_sync: 1390 h_sync_end 1430 > h_blank_end 1650 h_border: 0 > > I tried 'xrandr' in my .xinitrc file, which only affect my > screenshots... I also tried Prefered Mode in the Xorg conf, no effects. > Any tips would be very appreciated ! Thanks. > > Francis Dubé Have you tried to use ModeLine in your monitor section of xorg.conf. E.g: Section "Monitor" Identifier "Monitor0" VendorName "IVM" ModelName "PLE480/481" ### Comment all HorizSync and VertRefresh values to use DDC: HorizSync 24.0 - 83.0 VertRefresh 55.0 - 76.0 Option "DPMS" ModeLine "1280x1024" 108.00 1280 1340 1452 1688 1024 1025 1028 1066 +hsync +vsync EndSection I got the numbers (all on one line) after the "1280x1024" by running xvidtune. Regards, -- Frank Contact info: http://www.shute.org.uk/misc/contact.html