Re: Apple Macbook Xorg synchronization problems(?) - Update

2008-08-20 Thread Kostas Zorbadelos
On Tuesday 19 August 2008 22:32:34 Nick Guenther wrote:
 On Tue, Aug 19, 2008 at 5:05 AM, Kostas Zorbadelos [EMAIL PROTECTED] wrote:
  On Tuesday 19 August 2008 11:58:34 Karl Sjodahl - dunceor wrote:
  On Tue, Aug 19, 2008 at 10:29 AM, Kostas Zorbadelos [EMAIL PROTECTED]
 
  wrote:
   Hello to everyone.
  
   This is my first post here and I should be considered a new user in
   OpenBSD. I have an Apple Macbook (13.3') Intel Core 2 Duo and I
   managed to install 4.3-release/amd64. I have a working console-based
   system using GENERIC.MP kernel. The problem is when I start X I can
   see no fonts on the screen (seems like an X server synchronization
   problem).
 
  I should have included that in the first place :)
 
  As I can see I also have a 2,1 but I guess the Intel card is supported in
  the Xorg intel driver...


OK, first the update.

I can very well see truetype anti-aliased fonts. I configured my xterm to use 
a Microsoft Core Font and I can see the font clearly. However, any attempts 
to use bitmap fonts so far have failed (I cannot see them on screen unless I 
plug an external monitor in which case I can see them both in the external 
monitor and the laptop's). For now, I will configure everything to use TTF 
and also use fvwm as KDE has quite a few problems and does not work well 
out-of-the box. 

 You have a 2,1? How did you get it installed in the first place? The
 install kernel hangs for me. I got around that by putting the
 harddrive in a different computer, but I'm wondering if I missed an
 easier way.


I will try to document everything in a public url and when I do I will post 
the link to the list. Generally, I have a dual boot setup (Mac OS X Leopard 
and OpenBSD). I used Boot Camp assistant to create an empty partition. Then I 
installed OpenBSD 4.3 from the CD using an external USB keyboard in the first 
USB slot. After the installation was complete I modified boot.conf to use 
GENERIC.MP kernel (the normal kernel does not work and I believe it has to do 
something with the different ACPI handling in the MP kernel). Finally I use 
the very good rEfit boot loader (http://refit.sourceforge.net/) to dual boot 
the system. I guess someone could use rEfit and have only OpenBSD on the 
laptop if that was  his wish -:)

 -Nick

Kostas



Re: Apple Macbook Xorg synchronization problems

2008-08-20 Thread Karl Sjodahl - dunceor
On Tue, Aug 19, 2008 at 9:32 PM, Nick Guenther [EMAIL PROTECTED] wrote:
 On Tue, Aug 19, 2008 at 5:05 AM, Kostas Zorbadelos [EMAIL PROTECTED] wrote:
 On Tuesday 19 August 2008 11:58:34 Karl Sjodahl - dunceor wrote:
 On Tue, Aug 19, 2008 at 10:29 AM, Kostas Zorbadelos [EMAIL PROTECTED]
 wrote:
  Hello to everyone.
 
  This is my first post here and I should be considered a new user in
  OpenBSD. I have an Apple Macbook (13.3') Intel Core 2 Duo and I managed
  to install 4.3-release/amd64. I have a working console-based system using
  GENERIC.MP kernel. The problem is when I start X I can see no fonts on
  the screen (seems like an X server synchronization problem).


 I should have included that in the first place :)

 As I can see I also have a 2,1 but I guess the Intel card is supported in the
 Xorg intel driver...


 You have a 2,1? How did you get it installed in the first place? The
 install kernel hangs for me. I got around that by putting the
 harddrive in a different computer, but I'm wondering if I missed an
 easier way.

 -Nick



Last time I installed it there was a long pause in the install process
when it tried to find something.
It finally timed out and then just continued.

BR
dunceor



Re: Apple Macbook Xorg synchronization problems

2008-08-20 Thread Nick Guenther
On Wed, Aug 20, 2008 at 8:20 AM, Karl Sjodahl - dunceor
[EMAIL PROTECTED] wrote:
 On Tue, Aug 19, 2008 at 9:32 PM, Nick Guenther [EMAIL PROTECTED] wrote:


 You have a 2,1? How did you get it installed in the first place? The
 install kernel hangs for me. I got around that by putting the
 harddrive in a different computer, but I'm wondering if I missed an
 easier way.

 -Nick



 Last time I installed it there was a long pause in the install process
 when it tried to find something.
 It finally timed out and then just continued.


I get that long pause too, but then after that the USB hubs don't work
(there's a bunch of errors about that) and so the keyboard doesn't
work. You don't see that?
-Nick



Re: Apple Macbook Xorg synchronization problems

2008-08-20 Thread Pierre Riteau
On Wed, Aug 20, 2008 at 11:56:38AM -0400, Nick Guenther wrote:
 On Wed, Aug 20, 2008 at 8:20 AM, Karl Sjodahl - dunceor
 [EMAIL PROTECTED] wrote:
  On Tue, Aug 19, 2008 at 9:32 PM, Nick Guenther [EMAIL PROTECTED] wrote:
 
 
  You have a 2,1? How did you get it installed in the first place? The
  install kernel hangs for me. I got around that by putting the
  harddrive in a different computer, but I'm wondering if I missed an
  easier way.
 
  -Nick
 
 
 
  Last time I installed it there was a long pause in the install process
  when it tried to find something.
  It finally timed out and then just continued.
 
 
 I get that long pause too, but then after that the USB hubs don't work
 (there's a bunch of errors about that) and so the keyboard doesn't
 work. You don't see that?
 -Nick
 

Make sure you plug the USB keyboard in the USB port the closest from you
(farthest from the screen).



Re: Apple Macbook Xorg synchronization problems

2008-08-19 Thread Karl Sjodahl - dunceor
On Tue, Aug 19, 2008 at 10:29 AM, Kostas Zorbadelos [EMAIL PROTECTED] wrote:
 Hello to everyone.

 This is my first post here and I should be considered a new user in OpenBSD.
 I have an Apple Macbook (13.3') Intel Core 2 Duo and I managed to install
 4.3-release/amd64. I have a working console-based system using GENERIC.MP
 kernel. The problem is when I start X I can see no fonts on the screen (seems
 like an X server synchronization problem).

 A search in Google about a valid xorg.conf file produced various results but I
 could get no solution. Does anyone have a working xorg.conf file or any
 pointers to the solution?

 Find attached my xorg.conf file (pretty much the one generated by X -configure
 with few additions). Another hint is that if I connect the laptop to an
 external monitor (using the mini DVI-to-DVI connector of Apple) I can see the
 fonts just fine. If you need any other input please let me know.

 Thanks in advance,

 KOstas Zorbadelos
 Section ServerLayout
Identifier X.org Configured
Screen  0  Screen0 0 0
InputDeviceMouse0 CorePointer
InputDeviceKeyboard0 CoreKeyboard
 EndSection

 Section Files
RgbPath  /usr/X11R6/share/X11/rgb
ModulePath   /usr/X11R6/lib/modules
FontPath /usr/X11R6/lib/X11/fonts/100dpi/:unscaled
FontPath /usr/X11R6/lib/X11/fonts/75dpi/:unscaled
FontPath /usr/X11R6/lib/X11/fonts/misc/
FontPath /usr/X11R6/lib/X11/fonts/TTF/
FontPath /usr/X11R6/lib/X11/fonts/OTF
FontPath /usr/local/lib/X11/fonts/ghostscript/
FontPath /usr/X11R6/lib/X11/fonts/Type1/
FontPath /usr/local/lib/X11/fonts/mscorefonts/
 EndSection

 Section Module
Load  GLcore
Load  dbe
Load  extmod
Load  glx
Load  record
Load  xtrap
Load  freetype
Load  type1
 EndSection

 Section InputDevice
Identifier  Keyboard0
Driver  kbd
 EndSection

 Section InputDevice
Identifier  Mouse0
Driver  mouse
Option  Protocol wsmouse
Option  Device /dev/wsmouse
Option  ZAxisMapping 4 5 6 7
 EndSection

 Section Monitor
#DisplaySize  290   190 # mm
Identifier   Monitor0
VendorName   APP
ModelNameColor LCD
HorizSync28.0 - 64.0
VertRefresh  43.0 - 60.0
 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 NoAccel   # [bool]
#Option SWcursor  # [bool]
#Option ColorKey  # i
#Option CacheLines# i
#Option Dac6Bit   # [bool]
#Option DRI   # [bool]
#Option NoDDC # [bool]
#Option ShowCache # [bool]
#Option XvMCSurfaces  # i
#Option PageFlip  # [bool]
Identifier  Card0
Driver  intel
VendorName  Intel Corporation
BoardName   Mobile 945GM/GMS, 943/940GML Express Integrated Graphics 
 Controller
BusID   PCI:0:2:0
 EndSection

 Section Screen
Identifier Screen0
Device Card0
MonitorMonitor0
DefaultDepth 24
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
Modes   1280x800
EndSubSection
 EndSection



What version of macbook do you have? I have a 2,1 that I have had
problems with the intel 945 graphics card.
I have downgraded from the new intel driver to the old i810 driver
otherwise my screen frooze.

Please show dmesg.

BR
dunceor



Re: Apple Macbook Xorg synchronization problems

2008-08-19 Thread Kostas Zorbadelos
On Tuesday 19 August 2008 11:58:34 Karl Sjodahl - dunceor wrote:
 On Tue, Aug 19, 2008 at 10:29 AM, Kostas Zorbadelos [EMAIL PROTECTED] 
wrote:
  Hello to everyone.
 
  This is my first post here and I should be considered a new user in
  OpenBSD. I have an Apple Macbook (13.3') Intel Core 2 Duo and I managed
  to install 4.3-release/amd64. I have a working console-based system using
  GENERIC.MP kernel. The problem is when I start X I can see no fonts on
  the screen (seems like an X server synchronization problem).
 
  A search in Google about a valid xorg.conf file produced various results
  but I could get no solution. Does anyone have a working xorg.conf file or
  any pointers to the solution?
 
  Find attached my xorg.conf file (pretty much the one generated by X
  -configure with few additions). Another hint is that if I connect the
  laptop to an external monitor (using the mini DVI-to-DVI connector of
  Apple) I can see the fonts just fine. If you need any other input please
  let me know.
 
  Thanks in advance,
 
  KOstas Zorbadelos
..
 What version of macbook do you have? I have a 2,1 that I have had
 problems with the intel 945 graphics card.
 I have downgraded from the new intel driver to the old i810 driver
 otherwise my screen frooze.

 Please show dmesg.


I should have included that in the first place :)

As I can see I also have a 2,1 but I guess the Intel card is supported in the 
Xorg intel driver...

 BR
 dunceor

[demime 1.01d removed an attachment of type text/x-objcsrc which had a name of 
dmesg.kzorba]



Re: Apple Macbook Xorg synchronization problems

2008-08-19 Thread Kostas Zorbadelos
On Tuesday 19 August 2008 11:58:34 Karl Sjodahl - dunceor wrote:
 On Tue, Aug 19, 2008 at 10:29 AM, Kostas Zorbadelos [EMAIL PROTECTED] 
wrote:
  Hello to everyone.
 
  This is my first post here and I should be considered a new user in
  OpenBSD. I have an Apple Macbook (13.3') Intel Core 2 Duo and I managed
  to install 4.3-release/amd64. I have a working console-based system using
  GENERIC.MP kernel. The problem is when I start X I can see no fonts on
  the screen (seems like an X server synchronization problem).
 
  A search in Google about a valid xorg.conf file produced various results
  but I could get no solution. Does anyone have a working xorg.conf file or
  any pointers to the solution?
 
  Find attached my xorg.conf file (pretty much the one generated by X
  -configure with few additions). Another hint is that if I connect the
  laptop to an external monitor (using the mini DVI-to-DVI connector of
  Apple) I can see the fonts just fine. If you need any other input please
  let me know.
 
  Thanks in advance,
 
  KOstas Zorbadelos

 What version of macbook do you have? I have a 2,1 that I have had
 problems with the intel 945 graphics card.
 I have downgraded from the new intel driver to the old i810 driver
 otherwise my screen frooze.

 Please show dmesg.


Ooopps!!

 BR
 dunceor
OpenBSD 4.3 (GENERIC.MP) #1582: Wed Mar 12 11:16:45 MDT 2008
[EMAIL PROTECTED]:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 1040805888 (992MB)
avail mem = 998682624 (952MB)
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.4 @ 0xe (37 entries)
bios0: vendor Apple Inc. version MB21.88Z.00A5.B07.0706270922 date 06/27/07
bios0: Apple Inc. MacBook2,1
acpi0 at bios0: rev 0
acpi0: tables DSDT HPET APIC MCFG ASF! SBST ECDT FACP SSDT SSDT SSDT
acpi0: wakeup devices ADP1(S3) LID0(S3) PXS1(S4) PXS2(S4) USB1(S3) USB2(S3) 
USB3(S3) USB4(S3) USB7(S3) EC__(S3)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpihpet0 at acpi0: 14318179 Hz
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel(R) Core(TM)2 CPU T7200 @ 2.00GHz, 1995.28 MHz
cpu0: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,CX16,xTPR,NXE,LONG
cpu0: 4MB 64b/line 16-way L2 cache
cpu0: apic clock running at 166MHz
cpu1 at mainbus0: apid 1 (application processor)
cpu1: Intel(R) Core(TM)2 CPU T7200 @ 2.00GHz, 1995.00 MHz
cpu1: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,CX16,xTPR,NXE,LONG
cpu1: 4MB 64b/line 16-way L2 cache
ioapic0 at mainbus0 apid 1 pa 0xfec0, version 20, 24 pins
ioapic0: misconfigured as apic 0, remapped to apid 1
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 1 (RP01)
acpiprt2 at acpi0: bus 2 (RP02)
acpiprt3 at acpi0: bus 3 (PCIB)
acpiec0 at acpi0
acpicpu0 at acpi0: C3, C2
acpicpu1 at acpi0: C3, C2
acpiac0 at acpi0: AC unit offline
acpibtn0 at acpi0: LID0
acpibtn1 at acpi0: PWRB
acpibtn2 at acpi0: SLPB
acpibat0 at acpi0: BAT0 model AS type LI oem DP
cpu0: unknown Enhanced SpeedStep CPU, msr 0x06130c2706000a21
cpu0: using only highest, current and lowest power states
cpu0: Enhanced SpeedStep 1667 MHz (1228 mV): speeds: 2000, 1667, 1000 MHz
pci0 at mainbus0 bus 0: configuration mode 1
pchb0 at pci0 dev 0 function 0 Intel 82945GM Host rev 0x03
agp0 at pchb0: aperture at 0x4000, size 0x1000
vga1 at pci0 dev 2 function 0 Intel 82945GM Video rev 0x03
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
Intel 82945GM Video rev 0x03 at pci0 dev 2 function 1 not configured
vendor Intel, unknown product 0x27a3 (class DASP subclass Time and Frequency, 
rev 0x03) at pci0 dev 7 function 0 not configured
azalia0 at pci0 dev 27 function 0 Intel 82801GB HD Audio rev 0x02: apic 1 int 
22 (irq 10)
azalia0: codec[s]: Sigmatel STAC9221
audio0 at azalia0
ppb0 at pci0 dev 28 function 0 Intel 82801GB PCIE rev 0x02: apic 1 int 17 
(irq 11)
pci1 at ppb0 bus 1
mskc0 at pci1 dev 0 function 0 Marvell Yukon 88E8053 rev 0x22, Yukon-2 EC 
rev. A3 (0x2): apic 1 int 16 (irq 11)
msk0 at mskc0 port A: address 00:17:f2:d9:6c:ce
eephy0 at msk0 phy 0: Marvell 88E Gigabit PHY, rev. 2
ppb1 at pci0 dev 28 function 1 Intel 82801GB PCIE rev 0x02: apic 1 int 16 
(irq 11)
pci2 at ppb1 bus 2
ath0 at pci2 dev 0 function 0 Atheros AR5418 rev 0x01: apic 1 int 17 (irq 11)
ath_hal_attach: unable to init EEPROM
ath0: unable to attach hardware; HAL status 22
uhci0 at pci0 dev 29 function 0 Intel 82801GB USB rev 0x02: apic 1 int 21 
(irq 11)
uhci1 at pci0 dev 29 function 1 Intel 82801GB USB rev 0x02: apic 1 int 19 
(irq 11)
uhci2 at pci0 dev 29 function 2 Intel 82801GB USB rev 0x02: apic 1 int 18 
(irq 11)
uhci3 at pci0 dev 29 function 3 Intel 82801GB USB rev 0x02: apic 1 int 16 
(irq 11)
ehci0 at pci0 dev 29 function 7 Intel 82801GB USB rev 0x02: apic 1 int 

Re: Apple Macbook Xorg synchronization problems

2008-08-19 Thread Nick Guenther
On Tue, Aug 19, 2008 at 5:05 AM, Kostas Zorbadelos [EMAIL PROTECTED] wrote:
 On Tuesday 19 August 2008 11:58:34 Karl Sjodahl - dunceor wrote:
 On Tue, Aug 19, 2008 at 10:29 AM, Kostas Zorbadelos [EMAIL PROTECTED]
 wrote:
  Hello to everyone.
 
  This is my first post here and I should be considered a new user in
  OpenBSD. I have an Apple Macbook (13.3') Intel Core 2 Duo and I managed
  to install 4.3-release/amd64. I have a working console-based system using
  GENERIC.MP kernel. The problem is when I start X I can see no fonts on
  the screen (seems like an X server synchronization problem).


 I should have included that in the first place :)

 As I can see I also have a 2,1 but I guess the Intel card is supported in the
 Xorg intel driver...


You have a 2,1? How did you get it installed in the first place? The
install kernel hangs for me. I got around that by putting the
harddrive in a different computer, but I'm wondering if I missed an
easier way.

-Nick