Re: Xorg on ASRock i945GZ problem
On Mar 19, 2009 5:13pm, Evgeniy Sudyr wrote: > Hi, all I have problem with Xorg on -current. Card is supported (as I > see) but X not startx :(. > vesabios0 at mainbus0: version 3.0, Intel Corporation Intel(r) 82945G > Chipset Family Graphics Controller > vesabios0: VESA mode 0160: attributes > vesabios0: VESA mode 0161: attributes > vesabios0: VESA mode 0162: attributes > vesabios0: VESA mode 0163: attributes > vesabios0: VESA mode 0164: attributes > vesabios0: VESA mode 0165: attributes > vesabios0: VESA mode 0166: attributes > vesabios0: VESA mode 0167: attributes > vesabios0: VESA mode 0168: attributes > vesabios0: VESA mode 013c: attributes 009b, 1920x1440 8bbp Packed pixel > vesabios0: VESA mode 014d: attributes 009b, 1920x1440 16bbp Direct Color > vesabios0: VESA mode 015c: attributes > vesabios0: VESA mode 013a: attributes 009b, 1600x1200 8bbp Packed pixel > vesabios0: VESA mode 014b: attributes 009b, 1600x1200 16bbp Direct Color > vesabios0: VESA mode 015a: attributes 009b, 1600x1200 32bbp Direct Color > vesabios0: VESA mode 0107: attributes 009b, 1280x1024 8bbp Packed pixel > vesabios0: VESA mode 011a: attributes 009b, 1280x1024 16bbp Direct Color > vesabios0: VESA mode 011b: attributes 009b, 1280x1024 32bbp Direct Color > vesabios0: VESA mode 0105: attributes 009b, 1024x768 8bbp Packed pixel > vesabios0: VESA mode 0117: attributes 009b, 1024x768 16bbp Direct Color > vesabios0: VESA mode 0118: attributes 009b, 1024x768 32bbp Direct Color > vesabios0: VESA mode 0112: attributes 009b, 640x480 32bbp Direct Color > vesabios0: VESA mode 0114: attributes 009b, 800x600 16bbp Direct Color > vesabios0: VESA mode 0115: attributes 009b, 800x600 32bbp Direct Color > vesabios0: VESA mode 0101: attributes 009b, 640x480 8bbp Packed pixel > vesabios0: VESA mode 0103: attributes 009b, 800x600 8bbp Packed pixel > vesabios0: VESA mode 0111: attributes 009b, 640x480 16bbp Direct Color You're not running GENERIC, since I see vesabios active here. This is the problem. Try with a true GENERIC kernel.
Re: Xorg on ASRock i945GZ problem
On Thu, Mar 19, 2009 at 04:13:14PM +, Evgeniy Sudyr wrote: > Hi, all I have problem with Xorg on -current. Card is supported (as I > see) but X not startx :(. > > Look for my dmesg, xorg.conf and Xorg.0.log below and please let me > know if there is a way to debug this problem. rerun MAKEDEV(8) all. Also make sure that machdep.allowaperture is set to 2. -0- -- Living on Earth may be expensive, but it includes an annual free trip around the Sun.
Re: Xorg on ASRock i945GZ problem
On Thu, 19 Mar 2009 16:13:14 + Evgeniy Sudyr wrote: > Hi, all I have problem with Xorg on -current. Card is supported (as I > see) but X not startx :(. > > Look for my dmesg, xorg.conf and Xorg.0.log below and please let me > know if there is a way to debug this problem. > >From your dmesg, log and conf (thanks!), I noticed you are attempting to use drm (Direct Rendering Management) but have not yet created the drm0 device. # cd /dev # ./MAKEDEV drm0 Though things can/should work without drm0, it's probably best to have it set up properly. There are a few issues with the new intel(4) driver. Many people suggest changing from using the new default EXA acceleration to using the old XAA acceleration. Option "AccelMethod" "XAA" Though some have had success with the above change to acceleration method, the problems seem to be rooted a lot deeper, namely in the way the VBIOS is understood and initialized, as well as the way the attached display is queried and recognized. > (WW) xf86ReadBIOS: /dev/mem mmap[s=600,a=0,o=0] failed (Invalid > argument) (WW) Check that you have set 'machdep.allowaperture=2' >in /etc/sysctl.conf and reboot your machine >refer to xf86(4) for details > (EE) intel(0): Cannot read int vect > (EE) intel(0): Bad VBT signature > (WW) intel(0): VBIOS initialization failed. You need to make sure you've got the mentioned 'machdep.allowaperture=2' in your /etc/sysctl.conf file or you'll have nothing but problems. One of the things that has helped here is disabling the VESA Display Data Channel (DDC) support. The DDC support is supposed to allow the driver to figure out what the capabilities of the attached display, but I've found at least two cases where this goes horribly wrong. There are two version of DDC ("1" and "2"), and you can toggle support for them on and off as follows: Option "DDC" "false" # shut off all DDC Option "DDC1" "false" # shut off version 1 Option "DDC2" "false" # shut off version 2 I shut off the latter ("DDC2") on some i845 boxes here and it solves most all of the problems. Though DDC might seem "too simple" to be the problem, you need to understand that the new intel(4) driver has it's own wild idea about "correct" resolution and refresh of your display, and THE DRIVER OFTEN IGNORES WHAT YOU TELL IT TO DO in your xorg.conf The reason why the new intel(4) driver has a mind of it's own when it comes to "correct" display settings is due to the fact that many LCD's have "fixed" or "native" display settings. The intel(4) driver tries to rescale your xorg.conf display settings into something the LCD will actually accept. More details can be found in the intel(4) man page. By shutting off DCC, and thereby preventing the driver from learning anything about the attached display, you've prevented the driver from doing this (uncontrolled) rescaling nonsense. -- J.C. Roberts
Xorg on ASRock i945GZ problem
Hi, all I have problem with Xorg on -current. Card is supported (as I see) but X not startx :(. Look for my dmesg, xorg.conf and Xorg.0.log below and please let me know if there is a way to debug this problem. int 23 (irq 5) uhci1 at pci0 dev 29 function 1 "Intel 82801GB USB" rev 0x01: apic 2 int 19 (irq 11) uhci2 at pci0 dev 29 function 2 "Intel 82801GB USB" rev 0x01: apic 2 int 18 (irq 15) uhci3 at pci0 dev 29 function 3 "Intel 82801GB USB" rev 0x01: apic 2 int 16 (irq 10) ehci0 at pci0 dev 29 function 7 "Intel 82801GB USB" rev 0x01: apic 2 int 23 (irq 5) usb0 at ehci0: USB revision 2.0 uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1 ppb0 at pci0 dev 30 function 0 "Intel 82801BA Hub-to-PCI" rev 0xe1 pci1 at ppb0 bus 1 rl0 at pci1 dev 7 function 0 "Realtek 8139" rev 0x10: apic 2 int 22 (irq 3), address 00:13:8f:b3:e9:18 rlphy0 at rl0 phy 0: RTL internal PHY ichpcib0 at pci0 dev 31 function 0 "Intel 82801GB LPC" rev 0x01: PM disabled pciide0 at pci0 dev 31 function 1 "Intel 82801GB IDE" rev 0x01: DMA, channel 0 configured to compatibility, channel 1 configured to compatibility atapiscsi0 at pciide0 channel 0 drive 1 scsibus0 at atapiscsi0: 2 targets cd0 at scsibus0 targ 0 lun 0: ATAPI 5/cdrom removable cd0(pciide0:0:1): using PIO mode 4, Ultra-DMA mode 2 pciide0: channel 1 ignored (disabled) pciide1 at pci0 dev 31 function 2 "Intel 82801GB SATA" rev 0x01: DMA, channel 0 configured to native-PCI, channel 1 configured to native-PCI pciide1: using apic 2 int 19 (irq 11) for native-PCI interrupt ichiic0 at pci0 dev 31 function 3 "Intel 82801GB SMBus" rev 0x01: apic 2 int 19 (irq 11) iic0 at ichiic0 spdmem0 at iic0 addr 0x50: 512MB DDR2 SDRAM non-parity PC2-5300CL5 spdmem1 at iic0 addr 0x52: 512MB DDR2 SDRAM non-parity PC2-5300CL5 usb1 at uhci0: USB revision 1.0 uhub1 at usb1 "Intel UHCI root hub" rev 1.00/1.00 addr 1 usb2 at uhci1: USB revision 1.0 uhub2 at usb2 "Intel UHCI root hub" rev 1.00/1.00 addr 1 usb3 at uhci2: USB revision 1.0 uhub3 at usb3 "Intel UHCI root hub" rev 1.00/1.00 addr 1 usb4 at uhci3: USB revision 1.0 uhub4 at usb4 "Intel UHCI root hub" rev 1.00/1.00 addr 1 isa0 at ichpcib0 isadma0 at isa0 com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo pckbc0 at isa0 port 0x60/5 pckbd0 at pckbc0 (kbd slot) pckbc0: using irq 1 for kbd slot wskbd0 at pckbd0: console keyboard, using wsdisplay0 pmsi0 at pckbc0 (aux slot) pckbc0: using irq 12 for aux slot wsmouse0 at pmsi0 mux 0 pcppi0 at isa0 port 0x61 midi0 at pcppi0: spkr0 at pcppi0 lpt0 at isa0 port 0x378/4 irq 7 wbsio0 at isa0 port 0x2e/2: W83627EHF rev 0x63 lm1 at wbsio0 port 0x290/8: W83627EHF npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16 mtrr: Pentium Pro MTRR support softraid0 at root PXE boot MAC address 00:13:8f:b3:e9:18, interface rl0 nfs_boot: using interface rl0, with revarp & bootparams nfs_boot: client_addr=192.168.100.28 nfs_boot: server_addr=192.168.100.254 hostname=eject root on 192.168.100.254:/exports/eject/root swap on 192.168.100.254:/exports/eject/swap syncing disks... OpenBSD 4.5-current (DISKLESS) #1: Thu Mar 19 15:08:47 EET 2009 r...@eject:/usr/src/sys/arch/i386/compile/DISKLESS cpu0: Intel(R) Pentium(R) 4 CPU 3.00GHz ("GenuineIntel" 686-class) 3 GHz cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS H,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,CNXT-ID,CX16,xTPR real mem = 1064595456 (1015MB) avail mem = 1021075456 (973MB) mainbus0 at root bios0 at mainbus0: AT/286+ BIOS, date 04/24/07, BIOS32 rev. 0 @ 0xf0010, SMBIOS rev. 2.4 @ 0xfbb30 (22 entries) bios0: vendor American Megatrends Inc. version "P1.90" date 04/24/2007 acpi0 at bios0: rev 0 acpi0: tables DSDT FACP APIC MCFG OEMB acpi0: wakeup devices P0P2(S4) P0P1(S4) PS2K(S4) PS2M(S4) UAR1(S4) EUSB(S4) MC97(S4) HDAC(S4) P0P4(S4) P0P5(S4) P0P6(S4) P0P7(S4) P0P8(S4) P0P9(S4) USB0(S4) USB1(S4) USB2(S4) USB3(S4) SLPB(S4) acpitimer0 at acpi0: 3579545 Hz, 24 bits acpimadt0 at acpi0 addr 0xfee0: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: apic clock running at 199MHz vmt0 at mainbus0vmware: open failed, eax=, ecx=001e, edx=5658 : failed to open backdoor RPC channel ioapic0 at mainbus0: apid 2 pa 0xfec0, version 20, 24 pins acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus -1 (P0P2) acpiprt2 at acpi0: bus 1 (P0P1) acpiprt3 at acpi0: bus -1 (P0P4) acpiprt4 at acpi0: bus -1 (P0P5) acpiprt5 at acpi0: bus -1 (P0P6) acpiprt6 at acpi0: bus -1 (P0P7) acpiprt7 at acpi0: bus -1 (P0P8) acpiprt8 at acpi0: bus -1 (P0P9) acpicpu0 at acpi0 acpibtn0 at acpi0: SLPB acpibtn1 at acpi0: PWRB bios0: ROM list: 0xc/0xae00! 0xcb000/0x1000 vesabios0 at mainbus0: version 3.0, Intel Corporation Intel(r) 82945G Chipset Family Graphics Controller vesabios0: VESA mode 0160: attributes vesabios0: VESA mode 0161: attributes vesabios0: VESA mode 0162: attributes vesabios0: VESA mode 0163: attributes vesabios0: VESA mode 0164: attributes vesabios0: VESA m