No subject
Stacey Roberts
stacey at vickiandstacey.com
Fri Mar 25 08:20:00 PST 2005
>Submitter-Id: current-users
>Originator: Stacey Roberts
>Organization:
>Confidential: no
>Synopsis XORG / FBSD5.4 stuck at 640x480 on HP XE2, used to get 800x600 on XFree86 / FBSD4Stable
>Severity: serious
>Priority: medium
>Category: ports
>Class: sw-bug
>Release: FreeBSD 5.4-PRERELEASE i386
>Environment:
System: FreeBSD omni.vickiandstacey.com 5.4-PRERELEASE FreeBSD 5.4-PRERELEASE #0: Sat Mar 19 23:55:04 GMT 2005 root at omni.vickiandstacey.com:/usr/obj/usr/src/sys/XE2 i386
>Description:
Hardware: HP XE2 Laptop
When FreeBSD-4Stable (as of two weeks ago) was installed with XFree86-4, I was able to get 800x600 resolution on this machine. However since installing (wiped disk / fresh install from CD) FreeBSD-5 / XORG I've not ever been able to get this machine to run at any resolution other than that which is produced from following the procdures in the online Handbook.
Using the same instructions from the Handbook for FreeBSD-4 / XFree86, the defaults were sufficient to run 800x600 resolution (console / Gnome), but the default xorg.conf does do this. Here is what the working XFree86 config file had:
$ cat XF86Config
Section "ServerLayout"
Identifier "XFree86 Configured"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection
Section "Files"
RgbPath "/usr/X11R6/lib/X11/rgb"
ModulePath "/usr/X11R6/lib/modules"
FontPath "/usr/X11R6/lib/X11/fonts/misc/"
FontPath "/usr/X11R6/lib/X11/fonts/Speedo/"
FontPath "/usr/X11R6/lib/X11/fonts/Type1/"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi/"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi/"
EndSection
Section "Module"
Load "extmod"
Load "glx"
Load "dri"
Load "dbe"
Load "record"
Load "xtrap"
Load "speedo"
Load "type1"
EndSection
Section "InputDevice"
Identifier "Keyboard0"
Driver "keyboard"
EndSection
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/sysmouse"
EndSection
Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "Monitor Model"
EndSection
Section "Device"
### Available Driver options are:-
### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
### [arg]: arg optional
#Option "pci_burst" # [<bool>]
#Option "fifo_conservative" # [<bool>]
#Option "fifo_moderate" # [<bool>]
#Option "fifo_aggressive" # [<bool>]
#Option "pci_retry" # [<bool>]
#Option "NoAccel" # [<bool>]
#Option "set_mclk" # <freq>
#Option "show_cache" # [<bool>]
#Option "HWCursor" # [<bool>]
#Option "SWCursor" # [<bool>]
#Option "ShadowFB" # [<bool>]
#Option "Rotate" # [<str>]
#Option "VideoKey" # <i>
#Option "ByteSwap" # [<bool>]
#Option "Interlaced" # [<bool>]
#Option "UseBIOS" # [<bool>]
#Option "ZoomOnLCD" # [<bool>]
Identifier "Card0"
Driver "siliconmotion"
VendorName "Silicon Motion, Inc."
BoardName "SM810 LynxE"
Option "UseBIOS" "off"
BusID "PCI:0:2:0"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
SubSection "Display"
Depth 1
EndSubSection
SubSection "Display"
Depth 4
EndSubSection
SubSection "Display"
Depth 8
EndSubSection
SubSection "Display"
Depth 15
EndSubSection
SubSection "Display"
Depth 16
EndSubSection
SubSection "Display"
Depth 24
EndSubSection
EndSection
Here is what I get after configuring XORG as per the Handbook:
Section "ServerLayout"
Identifier "X.org Configured"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection
Section "Files"
RgbPath "/usr/X11R6/lib/X11/rgb"
ModulePath "/usr/X11R6/lib/modules"
FontPath "/usr/X11R6/lib/X11/fonts/misc/"
FontPath "/usr/X11R6/lib/X11/fonts/TTF/"
FontPath "/usr/X11R6/lib/X11/fonts/Type1/"
FontPath "/usr/X11R6/lib/X11/fonts/CID/"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi/"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi/"
EndSection
Section "Module"
Load "extmod"
Load "glx"
Load "dri"
Load "dbe"
Load "record"
Load "xtrap"
Load "type1"
Load "freetype"
EndSection
Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
EndSection
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/sysmouse"
EndSection
Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "Monitor Model"
EndSection
Section "Device"
### Available Driver options are:-
### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
### [arg]: arg optional
#Option "pci_burst" # [<bool>]
#Option "fifo_conservative" # [<bool>]
#Option "fifo_moderate" # [<bool>]
#Option "fifo_aggressive" # [<bool>]
#Option "pci_retry" # [<bool>]
#Option "NoAccel" # [<bool>]
#Option "set_mclk" # <freq>
#Option "show_cache" # [<bool>]
#Option "HWCursor" # [<bool>]
#Option "SWCursor" # [<bool>]
#Option "ShadowFB" # [<bool>]
#Option "Rotate" # [<str>]
#Option "VideoKey" # <i>
#Option "ByteSwap" # [<bool>]
#Option "Interlaced" # [<bool>]
#Option "UseBIOS" # [<bool>]
#Option "ZoomOnLCD" # [<bool>]
Identifier "Card0"
Driver "siliconmotion"
VendorName "Silicon Motion, Inc."
BoardName "SM810 LynxE"
BusID "PCI:0:2:0"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
SubSection "Display"
Viewport 0 0
Depth 1
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 4
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 8
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 15
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 16
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
EndSection
Even if I try "tuning" the default xorg.conf file as per suggestions in the Handbook for the Screen section to:
Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
DefaultDepth 8
SubSection "Display"
Viewport 0 0
Depth 8
Modes "800x600"
EndSubSection
The above changes result in the lcd screen looking as if its over-heating or something after a few seconds - so I have to hit CTRL ALT BKSPACE quickly to prevent damage. Note that I did *not* ever have to define DefaultDepth / Modes when XFree86 / FreeBSD4 was running, so I did presume the same would apply for XORG / FreeBSD5. If this is not a correct presumption, then I'd appreciate some suggestions as to what those settings should be.
Here is what scanpci shows:
scanpci -v
pci bus 0x0000 cardnum 0x00 function 0x00: vendor 0x8086 device 0x7192
Intel Corp. 440BX/ZX/DX - 82443BX/ZX/DX Host bridge (AGP disabled)
STATUS 0xa200 COMMAND 0x0106
CLASS 0x06 0x00 0x00 REVISION 0x03
BIST 0x00 HEADER 0x00 LATENCY 0x40 CACHE 0x00
BASE0 0x00000008 addr 0x00000000 MEM PREFETCHABLE
pci bus 0x0000 cardnum 0x02 function 0x00: vendor 0x126f device 0x0810
Silicon Motion, Inc. SM810 LynxE
STATUS 0x0230 COMMAND 0x001f
CLASS 0x03 0x00 0x00 REVISION 0xa6
BIST 0x00 HEADER 0x00 LATENCY 0x40 CACHE 0x00
BASE0 0xfd000000 addr 0xfd000000 MEM
MAX_LAT 0x00 MIN_GNT 0x00 INT_PIN 0x01 INT_LINE 0x0a
BYTE_0 0x01 BYTE_1 0x00 BYTE_2 0x01 BYTE_3 0x06
pci bus 0x0000 cardnum 0x07 function 0x00: vendor 0x8086 device 0x7110
Intel Corp. 82371AB/EB/MB PIIX4 ISA
STATUS 0x0280 COMMAND 0x000f
CLASS 0x06 0x01 0x00 REVISION 0x02
BIST 0x00 HEADER 0x80 LATENCY 0x00 CACHE 0x00
pci bus 0x0000 cardnum 0x07 function 0x01: vendor 0x8086 device 0x7111
Intel Corp. 82371AB/EB/MB PIIX4 IDE
STATUS 0x0280 COMMAND 0x0005
CLASS 0x01 0x01 0x80 REVISION 0x01
BIST 0x00 HEADER 0x00 LATENCY 0x40 CACHE 0x00
BASE4 0x0000fcf1 addr 0x0000fcf0 I/O
BYTE_0 0x77 BYTE_1 0xe3 BYTE_2 0x77 BYTE_3 0xe3
pci bus 0x0000 cardnum 0x07 function 0x02: vendor 0x8086 device 0x7112
Intel Corp. 82371AB/EB/MB PIIX4 USB
STATUS 0x0280 COMMAND 0x0005
CLASS 0x0c 0x03 0x00 REVISION 0x01
BIST 0x00 HEADER 0x00 LATENCY 0x40 CACHE 0x00
BASE4 0x0000fcc1 addr 0x0000fcc0 I/O
MAX_LAT 0x00 MIN_GNT 0x00 INT_PIN 0x04 INT_LINE 0x0a
pci bus 0x0000 cardnum 0x07 function 0x03: vendor 0x8086 device 0x7113
Intel Corp. 82371AB/EB/MB PIIX4 ACPI
STATUS 0x0280 COMMAND 0x0003
CLASS 0x06 0x80 0x00 REVISION 0x02
BIST 0x00 HEADER 0x00 LATENCY 0x00 CACHE 0x00
BYTE_0 0x01 BYTE_1 0x80 BYTE_2 0x00 BYTE_3 0x00
pci bus 0x0000 cardnum 0x0a function 0x00: vendor 0x104c device 0xac1c
Texas Instruments PCI1225
STATUS 0x0210 COMMAND 0x0007
CLASS 0x06 0x07 0x00 REVISION 0x01
BIST 0x00 HEADER 0x82 LATENCY 0x40 CACHE 0x08
BASE0 0x80000000 addr 0x80000000 MEM
BASE1 0x020000a0 addr 0x020000a0 MEM
BASE2 0x20030200 addr 0x20030200 MEM
BASE3 0xfffff000 addr 0xfffff000 MEM
BASE5 0xfffff000 addr 0xfffff000 MEM
MAX_LAT 0x07 MIN_GNT 0x40 INT_PIN 0x01 INT_LINE 0x0a
BYTE_0 0x3c BYTE_1 0x10 BYTE_2 0x09 BYTE_3 0x00
pci bus 0x0000 cardnum 0x0a function 0x01: vendor 0x104c device 0xac1c
Texas Instruments PCI1225
STATUS 0x0210 COMMAND 0x0007
CLASS 0x06 0x07 0x00 REVISION 0x01
BIST 0x00 HEADER 0x82 LATENCY 0x40 CACHE 0x08
BASE0 0x80001000 addr 0x80001000 MEM
BASE1 0x020000a0 addr 0x020000a0 MEM
BASE2 0x20050400 addr 0x20050400 MEM
BASE3 0xfffff000 addr 0xfffff000 MEM
BASE5 0xfffff000 addr 0xfffff000 MEM
MAX_LAT 0x07 MIN_GNT 0x40 INT_PIN 0x02 INT_LINE 0x0a
BYTE_0 0x3c BYTE_1 0x10 BYTE_2 0x09 BYTE_3 0x00
pci bus 0x0000 cardnum 0x0e function 0x00: vendor 0x125d device 0x1978
ESS Technology ES1978 Maestro 2E
CardVendor 0x103c card 0x0009 (Hewlett-Packard Company, Card unknown)
STATUS 0x0290 COMMAND 0x0005
CLASS 0x04 0x01 0x00 REVISION 0x10
BIST 0x00 HEADER 0x80 LATENCY 0x40 CACHE 0x00
BASE0 0x0000f801 addr 0x0000f800 I/O
MAX_LAT 0x18 MIN_GNT 0x02 INT_PIN 0x01 INT_LINE 0x05
BYTE_0 0x7f BYTE_1 0x90 BYTE_2 0x00 BYTE_3 0x00
pci bus 0x0000 cardnum 0x0e function 0x01: vendor 0x125d device 0x1978
ESS Technology ES1978 Maestro 2E
CardVendor 0x103c card 0x0009 (Hewlett-Packard Company, Card unknown)
STATUS 0x0290 COMMAND 0x0001
CLASS 0x07 0x80 0x00 REVISION 0x10
BIST 0x00 HEADER 0x80 LATENCY 0x00 CACHE 0x00
BASE0 0x0000f401 addr 0x0000f400 I/O
MAX_LAT 0x00 MIN_GNT 0x00 INT_PIN 0x01 INT_LINE 0x05
BYTE_0 0x7f BYTE_1 0x90 BYTE_2 0x00 BYTE_3 0x00
Here is the pciconf output:
pciconf -lv
hostb0 at pci0:0:0: class=0x060000 card=0x00000000 chip=0x71928086 rev=0x03 hdr=0x00
vendor = 'Intel Corporation'
device = '82443BX/ZX 440BX/ZX CPU to PCI Bridge (AGP Not Implemented)'
class = bridge
subclass = HOST-PCI
none0 at pci0:2:0: class=0x030000 card=0x0810126f chip=0x0810126f rev=0xa6 hdr=0x00
vendor = 'Silicon Motion Inc'
device = 'SM810 LynxE'
class = display
subclass = VGA
isab0 at pci0:7:0: class=0x060100 card=0x00000000 chip=0x71108086 rev=0x02 hdr=0x00
vendor = 'Intel Corporation'
device = '82371AB/EB/MB PIIX4/4E/4M ISA Bridge'
class = bridge
subclass = PCI-ISA
atapci0 at pci0:7:1: class=0x010180 card=0x00000000 chip=0x71118086 rev=0x01 hdr=0x00
vendor = 'Intel Corporation'
device = '82371AB/EB/MB PIIX4/4E/4M IDE Controller'
class = mass storage
subclass = ATA
uhci0 at pci0:7:2: class=0x0c0300 card=0x00000000 chip=0x71128086 rev=0x01 hdr=0x00
vendor = 'Intel Corporation'
device = '82371AB/EB/MB PIIX4/4E/4M USB Interface'
class = serial bus
subclass = USB
none1 at pci0:7:3: class=0x068000 card=0x00000000 chip=0x71138086 rev=0x02 hdr=0x00
vendor = 'Intel Corporation'
device = '82371AB/EB/MB PIIX4/4E/4M Power Management Controller'
class = bridge
subclass = PCI-unknown
cbb0 at pci0:10:0: class=0x060700 card=0x0009103c chip=0xac1c104c rev=0x01 hdr=0x02
vendor = 'Texas Instruments (TI)'
device = 'PCI1225 PC card CardBus Controller'
class = bridge
subclass = PCI-CardBus
cbb1 at pci0:10:1: class=0x060700 card=0x0009103c chip=0xac1c104c rev=0x01 hdr=0x02
vendor = 'Texas Instruments (TI)'
device = 'PCI1225 PC card CardBus Controller'
class = bridge
subclass = PCI-CardBus
none2 at pci0:14:0: class=0x040100 card=0x0009103c chip=0x1978125d rev=0x10 hdr=0x00
vendor = 'ESS Technology'
device = 'ES1978 Maestro-2E Audiodrive, ES1970 Canyon3D'
class = multimedia
subclass = audio
none3 at pci0:14:1: class=0x078000 card=0x0009103c chip=0x1978125d rev=0x10 hdr=0x00
vendor = 'ESS Technology'
device = 'ES1978 Maestro-2E Audiodrive, ES1970 Canyon3D'
class = simple comms
At present, I'm running Gnome-2.10-LATEST in ports, with the latest versions of all XORG components:
xorg-clients-6.8.2 = up-to-date with port
xorg-documents-6.8.2 = up-to-date with port
xorg-fonts-100dpi-6.8.2 = up-to-date with port
xorg-fonts-75dpi-6.8.2 = up-to-date with port
xorg-fonts-cyrillic-6.8.2 = up-to-date with port
xorg-fonts-encodings-6.8.2 = up-to-date with port
xorg-fonts-miscbitmaps-6.8.2 = up-to-date with port
xorg-fonts-truetype-6.8.2 = up-to-date with port
xorg-fonts-type1-6.8.2 = up-to-date with port
xorg-fontserver-6.8.2 = up-to-date with port
xorg-libraries-6.8.2 = up-to-date with port
xorg-manpages-6.8.2 = up-to-date with port
xorg-nestserver-6.8.2 = up-to-date with port
xorg-printserver-6.8.2 = up-to-date with port
xorg-server-6.8.2 = up-to-date with port
xorg-vfbserver-6.8.2 = up-to-date with port
>How-To-Repeat:
Use HP XE2 Laptop
Install FreeBSD-5
Upgrade to latest stable
Install XORG / portupgrade to latest
Attempt to use at resolutions above 640x480
>Fix:
Don't know
More information about the freebsd-x11
mailing list