Re: Problems with widescreen (16:9) under CentOS 5 w/ xorg-x11-drv-i810-1.6.5-9.40.el5

2012-09-24 Thread Adam Jackson
On Mon, 2012-09-24 at 15:31 -0400, Robert Heller wrote:

 If hostname is longer than 33 characers, the server can't locate/open
 the config file. I'm guessing someone is using a fixed size buffer (#1
 nono!) that is not big enough.  Yes, some of use use long and meaningful
 domain and host names...

The hostname buffer is a fixed length anyway, see man gethostname.  But
that you're seeing truncation to 33 bytes is certainly a server bug, I
think the MAXHOSTNAMELEN code in hw/xfree86/parser/scan.c should just be
talking about HOST_NAME_MAX like the gethostname man page suggests.

- ajax


signature.asc
Description: This is a digitally signed message part
___
xorg@lists.x.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: http://lists.x.org/mailman/listinfo/xorg
Your subscription address: arch...@mail-archive.com

Re: Problems with widescreen (16:9) under CentOS 5 w/ xorg-x11-drv-i810-1.6.5-9.40.el5

2012-09-24 Thread Robert Heller
At Mon, 24 Sep 2012 16:07:26 -0400 Adam Jackson a...@redhat.com wrote:

 
 
 On Mon, 2012-09-24 at 15:31 -0400, Robert Heller wrote:
 
  If hostname is longer than 33 characers, the server can't locate/open
  the config file. I'm guessing someone is using a fixed size buffer (#1
  nono!) that is not big enough.  Yes, some of use use long and meaningful
  domain and host names...
 
 The hostname buffer is a fixed length anyway, see man gethostname.  But
 that you're seeing truncation to 33 bytes is certainly a server bug, I
 think the MAXHOSTNAMELEN code in hw/xfree86/parser/scan.c should just be
 talking about HOST_NAME_MAX like the gethostname man page suggests.

Right.  HOST_NAME_MAX == 64 on my machine, and allowing for 'xorg.conf.'
yields 74 +1 for the NUL byte.  The buffer *ought* to be at lease 75
bytes. It *appearently* is only 44 bytes long or something like that,

 
 - ajax
 Content-Description: This is a digitally signed message part
 
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.11 (GNU/Linux)
 
 iEYEABECAAYFAlBgvX4ACgkQW4otUKDs0NNOcgCguvsHTJQwCZS8y8qt3PfIjZzR
 UDMAnRmGfiy+CwWMOJy+jvb/HHgZ/fcK
 =muxj
 -END PGP SIGNATURE-
 
   

-- 
Robert Heller -- 978-544-6933 / hel...@deepsoft.com
Deepwoods Software-- http://www.deepsoft.com/
()  ascii ribbon campaign -- against html e-mail
/\  www.asciiribbon.org   -- against proprietary attachments



___
xorg@lists.x.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: http://lists.x.org/mailman/listinfo/xorg
Your subscription address: arch...@mail-archive.com


Re: Problems with widescreen (16:9) under CentOS 5 w/ xorg-x11-drv-i810-1.6.5-9.40.el5

2012-09-23 Thread Alex Deucher
On Sun, Sep 23, 2012 at 1:18 AM, Felix Miata mrma...@earthlink.net wrote:
 On 2012-09-22 23:33 (GMT-0400) Robert Heller composed:


 These boxes are small form factor machines and only have two PCI slots
 on a riser card. No AGP slots, so no option of alternitive video cards,
 unless with use PCI video cards (are such cards even available?).


 http://www.ebay.com/itm/New-ATI-Radeon-9200-Features-Up-to-128MB-of-DDR-PCI-Graphics-Card-/230805145505?forcev4exp=trueforceRpt=true
 http://www.ebay.com/itm/Diamond-Multimedia-ATI-Radeon-9200SE-128MB-DDR-PCI-graphics-card-DVI-VGA-/280952813779?pt=PCC_Video_TV_Cardshash=item416a17b8d3

 They do, but whether they're new enough to support 16:9 modes other than
 1920x1080, if that, may take some digging to find out. 1920x1080 as a HDTV
 standard mode is actually quite old, while newer 1280x800, 1366x768,
 1440x900, 1600x900  1680x1050 modes require newer chips to provide required
 video BIOS mode support. New PCI cards still are made, but could well be
 cost ineffective for your situation. It might be significantly cheaper to
 trade out those widescreens for widely available though sometimes tricky to
 locate 1280x1024s, if you can't make those 845Gs do what you need.

The radeon driver does not depend on the the vesa mode list.  It can
natively program just about any mode supported by the monitor.

Alex
___
xorg@lists.x.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: http://lists.x.org/mailman/listinfo/xorg
Your subscription address: arch...@mail-archive.com


Re: Problems with widescreen (16:9) under CentOS 5 w/ xorg-x11-drv-i810-1.6.5-9.40.el5

2012-09-23 Thread Felix Miata

On 2012-09-23 08:59 (GMT-0400) Alex Deucher composed:


The radeon driver does not depend on the the vesa mode list.  It can
natively program just about any mode supported by the monitor.


This seems to imply the Intel driver does not, and make me wonder why it 
doesn't. Which way do the Nouveau and MGA drivers swing?

--
The wise are known for their understanding, and pleasant
words are persuasive. Proverbs 16:21 (New Living Translation)

 Team OS/2 ** Reg. Linux User #211409 ** a11y rocks!

Felix Miata  ***  http://fm.no-ip.com/
___
xorg@lists.x.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: http://lists.x.org/mailman/listinfo/xorg
Your subscription address: arch...@mail-archive.com


Re: Problems with widescreen (16:9) under CentOS 5 w/ xorg-x11-drv-i810-1.6.5-9.40.el5

2012-09-23 Thread Robert Heller
At Sun, 23 Sep 2012 12:21:57 -0400 Felix Miata mrma...@earthlink.net wrote:

 
 On 2012-09-23 08:59 (GMT-0400) Alex Deucher composed:
 
  The radeon driver does not depend on the the vesa mode list.  It can
  natively program just about any mode supported by the monitor.
 
 This seems to imply the Intel driver does not, and make me wonder why it 
 doesn't. Which way do the Nouveau and MGA drivers swing?

It has been suggested (elsewhere in this thread) that the i810 driver
depends on the vesa mode list, but the intel driver does not.

My next option will be to change the config files to use the intel
driver as opposed to the i810 driver (which is what the original
configuration picked automagically).


-- 
Robert Heller -- 978-544-6933 / hel...@deepsoft.com
Deepwoods Software-- http://www.deepsoft.com/
()  ascii ribbon campaign -- against html e-mail
/\  www.asciiribbon.org   -- against proprietary attachments



___
xorg@lists.x.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: http://lists.x.org/mailman/listinfo/xorg
Your subscription address: arch...@mail-archive.com


Problems with widescreen (16:9) under CentOS 5 w/ xorg-x11-drv-i810-1.6.5-9.40.el5

2012-09-22 Thread Robert Heller
I am the tech guy for a local library.  We have a network containing
several diskless workstations.  The hardware are these P4 boxes:

http://www.geeks.com/details.asp?invtid=SAMBA845V-24-4-Rcat=SYS

(We have inserted additional memory, bringing most of the machines up to
1.25Gig of memory, and two up to 2Gig of memory.)

These little machines have integrated Intel video chips on their
motherboards and have both VGA and DVI connectors:

(II) I810(0): VESA VBE OEM Vendor: Intel Corporation
(II) I810(0): VESA VBE OEM Product: Intel(r)845G/845GL/845GE/845GV Graphics 
Controller
(II) I810(0): VESA VBE OEM Product Rev: Hardware Version 0.0
(II) I810(0): Integrated Graphics Chipset: Intel(R) 845G
(--) I810(0): Chipset: 845G

And the i810 driver seems to be happy to talk to these chips.

I am using the stock (distro supplied) RPM: 

xorg-x11-drv-i810-1.6.5-9.40.el5

The machines are running pretty much stock CentOS 5.8 (I am slightly
behind on some updates).

These machine boot off the network and then mount their root (/), /usr,
and /home file systems via NFS from the server and function otherwise
as normal workstations.  And they work great with 4:3 monitors. 
Recently, because of new cataloging and circulation software which
seems to have been designed by (open source) developers who probably
have new widescreen monitors on their machines, we have put widescreen
(16:9) monitors on three of the machines (various menus and toolbars
don't fit on a 4:3 monitor, even at 1280x1024 [19-20 monitor]).  But
we are having some problems getting the proper aspect ratio (or even a
display at all) on two of the three.

First of all, using the VGA connection, the X server *refuses* to use
any Modeline that is not a 4:3 aspect ratio.  It seems that the X
server presumes that *all* VGA connected monitors are 4:3.  (All three
of the new wide screen monitors do have 15-pin VGA connections, so this
'presumption' is obviously false, esp. since the monitors using DDC
while connection via VGA are suggesting 16:9 mode lines.)

I got *one* of the machines to correctly use a 16:9 aspect ratio
Modeline (1600x900) using the DVI connection.  The other two don't
work. One won't display anything (claims that the video is missing or
wrong). And the other just uses something like 640x480.  Both monitors
work just fine on DVI in console display mode (bare kernel VGA), so the
video card is seeing the monitor and sending it a signal at that level.

I have tried everything I can think of.

The various log files and config files are here (each tar file contains
one log and one config):

This is the *working* machine (HP W2072a):

http://www.deepsoft.com/wp-content/uploads/2012/09/catalog-DVI-1600x900.tar.gz

These are for a (not working) Acer X223W:

http://www.deepsoft.com/wp-content/uploads/2012/09/clearwater-VGA.tar.gz
http://www.deepsoft.com/wp-content/uploads/2012/09/clearwater-DVI.tar.gz

From xdpyinfo while connection via VGA:
screen #0:
  dimensions:1680x1200 pixels (474x302 millimeters)
  resolution:90x101 dots per inch

And for a (not working) ViewSonic VA2431WM:

http://www.deepsoft.com/wp-content/uploads/2012/09/circdesk-VGA.tar.gz
http://www.deepsoft.com/wp-content/uploads/2012/09/circdesk-DVI-1600x900.tar.gz
http://www.deepsoft.com/wp-content/uploads/2012/09/circdesk-DVI-1440x900.tar.gz
http://www.deepsoft.com/wp-content/uploads/2012/09/circdesk-DVI.tar.gz

From xdpyinfo while connection via VGA:
screen #0:
  dimensions:1600x1200 pixels (521x290 millimeters)
  resolution:78x105 dots per inch

We would really like square pixels -- is it possible or not?


-- 
Robert Heller -- 978-544-6933 / hel...@deepsoft.com
Deepwoods Software-- http://www.deepsoft.com/
()  ascii ribbon campaign -- against html e-mail
/\  www.asciiribbon.org   -- against proprietary attachments



  
___
xorg@lists.x.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: http://lists.x.org/mailman/listinfo/xorg
Your subscription address: arch...@mail-archive.com


Re: Problems with widescreen (16:9) under CentOS 5 w/ xorg-x11-drv-i810-1.6.5-9.40.el5

2012-09-22 Thread Adam Jackson

On 9/22/12 5:55 PM, Robert Heller wrote:


First of all, using the VGA connection, the X server *refuses* to use
any Modeline that is not a 4:3 aspect ratio.  It seems that the X
server presumes that *all* VGA connected monitors are 4:3.  (All three
of the new wide screen monitors do have 15-pin VGA connections, so this
'presumption' is obviously false, esp. since the monitors using DDC
while connection via VGA are suggesting 16:9 mode lines.)


It's not the X server's fault.

The i810 driver, when it comes to output setup, is no better than the 
vesa driver.  It can only set modes that happen to be listed in the 
video BIOS, regardless of what the display happens to claim to support. 
 Since most 845 video BIOSes predate the wide availability of 16:9 
monitors, they naturally tend not to list any 16:9 modes.


RHEL5 (and therefore CentOS 5) does include an additional video driver 
for Intel graphics chips called 'intel' instead of 'i810', which does 
not have this limitation.  I don't recall offhand whether that version 
worked correctly with 8xx-series chips; it might, I don't think I went 
out of my way to disable that, but if it doesn't work you get to keep 
both pieces.


Alternatively, go search for 'i915resolution', which will allow you to 
override Intel VBIOS mode lists (and yes it does work on 8xx chips 
despite the name).


- ajax
___
xorg@lists.x.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: http://lists.x.org/mailman/listinfo/xorg
Your subscription address: arch...@mail-archive.com


Re: Problems with widescreen (16:9) under CentOS 5 w/ xorg-x11-drv-i810-1.6.5-9.40.el5

2012-09-22 Thread Felix Miata

On 2012-09-22 20:01 (GMT-0400) Felix Miata composed:


On 2012-09-22 17:55 (GMT-0400) Robert Heller composed:



I am the tech guy for a local library...
(II) I810(0): VESA VBE OEM Product: Intel(r)845G/845GL/845GE/845GV Graphics 
Controller
(II) I810(0): VESA VBE OEM Product Rev: Hardware Version 0.0
(II) I810(0): Integrated Graphics Chipset: Intel(R) 845G
(--) I810(0): Chipset: 845G...



The 845G has been a troublesome video chip, probably the worst widely used chip:
https://bugs.freedesktop.org/show_bug.cgi?id=26345
https://qa.mandriva.com/show_bug.cgi?id=62960
https://bugzilla.redhat.com/show_bug.cgi?id=692293
https://bugzilla.novell.com/show_bug.cgi?id=709863
http://bugs.centos.org/view.php?id=1594
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/930553
https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-driver-nv/+bug/455084



Looking through those bugs you might find a clue to a solution. I have two
working 845G systems, but I don't try to use them with non-4:3 displays or
with CentOS, so there's probably little more help I can give given what Adam
Jackson already wrote in thread.



Most of the 845G systems I've run across include AGP slots. Dell equipped
many of its 845G Optiplex machines with Radeon 7500 AGP cards. There are many
cheap new and used AGP cards around that do support widescreen modes, e.g.
http://www.geeks.com/details.asp?invtid=9250-AGP-128-PBcat=VCD
http://www.ebay.com/itm/ATI-Technologies-ATI-Radeon-7500-100-711014-64-MB-DDR-SDRAM-AGP-4x-Graphics-/140851713660?pt=PCC_Video_TV_Cardshash=item20cb6a967c
http://www.ebay.com/itm/Sapphire-Technology-ATI-Radeon-9250-100582-128-MB-DDR-SDRAM-AGP-8x-Graphics-/140852649792?pt=PCC_Video_TV_Cardshash=item20cb78df40



BTW, installing an AGP card constitutes a RAM upgrade, as 845G chips 
use/share main motherboard RAM.

--
The wise are known for their understanding, and pleasant
words are persuasive. Proverbs 16:21 (New Living Translation)

 Team OS/2 ** Reg. Linux User #211409 ** a11y rocks!

Felix Miata  ***  http://fm.no-ip.com/
___
xorg@lists.x.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: http://lists.x.org/mailman/listinfo/xorg
Your subscription address: arch...@mail-archive.com


Re: Problems with widescreen (16:9) under CentOS 5 w/ xorg-x11-drv-i810-1.6.5-9.40.el5

2012-09-22 Thread Felix Miata

On 2012-09-22 23:33 (GMT-0400) Robert Heller composed:


These boxes are small form factor machines and only have two PCI slots
on a riser card. No AGP slots, so no option of alternitive video cards,
unless with use PCI video cards (are such cards even available?).


http://www.ebay.com/itm/New-ATI-Radeon-9200-Features-Up-to-128MB-of-DDR-PCI-Graphics-Card-/230805145505?forcev4exp=trueforceRpt=true
http://www.ebay.com/itm/Diamond-Multimedia-ATI-Radeon-9200SE-128MB-DDR-PCI-graphics-card-DVI-VGA-/280952813779?pt=PCC_Video_TV_Cardshash=item416a17b8d3

They do, but whether they're new enough to support 16:9 modes other than 
1920x1080, if that, may take some digging to find out. 1920x1080 as a HDTV 
standard mode is actually quite old, while newer 1280x800, 1366x768, 
1440x900, 1600x900  1680x1050 modes require newer chips to provide required 
video BIOS mode support. New PCI cards still are made, but could well be cost 
ineffective for your situation. It might be significantly cheaper to trade 
out those widescreens for widely available though sometimes tricky to locate 
1280x1024s, if you can't make those 845Gs do what you need.

--
The wise are known for their understanding, and pleasant
words are persuasive. Proverbs 16:21 (New Living Translation)

 Team OS/2 ** Reg. Linux User #211409 ** a11y rocks!

Felix Miata  ***  http://fm.no-ip.com/
___
xorg@lists.x.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: http://lists.x.org/mailman/listinfo/xorg
Your subscription address: arch...@mail-archive.com