From owner-freebsd-questions@FreeBSD.ORG Wed Mar 18 15:02:59 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 999BA106566C for ; Wed, 18 Mar 2009 15:02:59 +0000 (UTC) (envelope-from freebsd@optiksecurite.com) Received: from relais.videotron.ca (relais.videotron.ca [24.201.245.36]) by mx1.freebsd.org (Postfix) with ESMTP id 6EDA88FC08 for ; Wed, 18 Mar 2009 15:02:58 +0000 (UTC) (envelope-from freebsd@optiksecurite.com) MIME-version: 1.0 Content-transfer-encoding: 8BIT Content-type: text/plain; charset=ISO-8859-1; format=flowed Received: from [31.33.7.200] ([69.70.93.206]) by VL-MH-MR002.ip.videotron.ca (Sun Java(tm) System Messaging Server 6.3-4.01 (built Aug 3 2007; 32bit)) with ESMTP id <0KGP0016NJ4DP3S0@VL-MH-MR002.ip.videotron.ca> for freebsd-questions@freebsd.org; Wed, 18 Mar 2009 11:02:38 -0400 (EDT) Message-id: <49C10D0B.7070200@optiksecurite.com> Date: Wed, 18 Mar 2009 11:02:35 -0400 From: =?ISO-8859-1?Q?Francis_Dub=E9?= User-Agent: Thunderbird 2.0.0.19 (Windows/20081209) To: Martin Turgeon References: <4995B261.40307@optiksecurite.com> <49BA729B.4070504@optiksecurite.com> <49BE6D6E.4050801@gmail.com> In-reply-to: <49BE6D6E.4050801@gmail.com> Cc: =?ISO-8859-1?Q?Francis_Dub=E9?= , freebsd-questions@freebsd.org Subject: Re: Xorg - Resolution issues X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Mar 2009 15:03:00 -0000 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é