DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD General

OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 10th May 2012
daemonfowl daemonfowl is offline
bsdstudent
 
Join Date: Jan 2012
Location: DaemonLand
Posts: 834
Thanked 0 Times in 0 Posts
Default firefox : "failed to create drawable" message

Hi !

It keeps saying "failed to create drawable" each time I start firefox when on fvwm.I wonder why it's the case with firefox (only) .. do I miss any related lib or something ?

Last edited by daemonfowl; 11th May 2012 at 08:55 PM. Reason: ambiguous title
Reply With Quote
  #2   (View Single Post)  
Old 10th May 2012
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 3,658
Thanked 214 Times in 189 Posts
Default

Please edit your entry and change the title. As written, by itself, the title of this thread is meaningless. These are read by people in lists of threads, and this particular title is extraordinarily unhelpful.

You have two questions. A) Why does Firefox produce this message, and B) is there something not installed?

The best way to find out the answer to question "A" is to scan the source code. You sir, have the tools to do this. Yourself. Because you have installed the ports tree. The following example commands will indicate where in the Firefox source code "drawable" is used. If it isn't found, then a dependency issued your warning message, and you will need to expand your search.
Code:
$ cd /usr/ports/www/mozilla-firefox
$ env NO_DEPENDS=Yes make patch
$ find /usr/ports/pobj/mozilla-firefox -type f -exec grep drawable {} /dev/null \;
Disclaimer: This was from memory; do not blindly type these commands into your computer. Understand what they do and modify accordingly. If you need to know more, please see the appropriate man pages: cd(1), env(1), make(1), ports(7), bsd.port.mk(5), find(1), grep(1).

The answer to question "B" should be self-evident to the ordinarily prudent user of packages and ports. Ask yourself, "What is a dependency, and where does pkg_add get dependency information?"
Reply With Quote
  #3   (View Single Post)  
Old 10th May 2012
ocicat ocicat is offline
Administrator
 
Join Date: Apr 2008
Posts: 2,876
Thanked 190 Times in 160 Posts
Default

Quote:
Originally Posted by daemonfowl View Post
It keeps saying "failed to create drawable" each time I start firefox when on fvwm.I wonder why it's the case with firefox (only) .. do I miss any related lib or something ?
daemonfowl, in each & every one of your posts, you have a goal. That goal, is to provide sufficient information for your readers to understand:
  • What operating system is being used. No where in your post is this information provided.
  • Which version of the operating system is being used. No where in your post is this information being provided.
  • What are the applications running at the time when the error occurs? Only applications coming from packages? Packages made available through the project, or ones you have compiled yourself? Is there anything else which is running which others might not recognize of have any knowledge of consequences? Any applications you have/are porting yourself which are not provided by the OpenBSD project?
  • What is the operating environment in which this error occurs? No dmesg(8) output is provided, so no information is provided as to platform or other hardware considerations.
  • Has any effort been made at all looking for a root cause? Internet searches? Source code of the system or applications involved?
What readers of your message are going to conclude is that you aren't putting forth much effort to understanding the fundamental problem. They are going to conclude that you want them to do all of the work. Most are going to read this asking "Why should I bother getting involved with this issue?"

Some might just respond with links like the following:

http://lmgtfy.com/?q=failed+to+create+drawable

Is this the kind of response you are wanting?
Reply With Quote
  #4   (View Single Post)  
Old 11th May 2012
daemonfowl daemonfowl is offline
bsdstudent
 
Join Date: Jan 2012
Location: DaemonLand
Posts: 834
Thanked 0 Times in 0 Posts
Default

Thanks jgimmi !
Thanks ocicat !
dmesg:
Code:
OpenBSD 5.1-current (GENERIC.MP) #253: Thu Apr 26 01:45:24 MDT 2012
    deraadt@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC.MP
cpu0: Genuine Intel(R) CPU T2250 @ 1.73GHz ("GenuineIntel" 686-class) 1.73 GHz
cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,NXE,SSE3,MWAIT,EST,TM2,xTPR,PDCM
real mem  = 2145447936 (2046MB)
avail mem = 2099552256 (2002MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 02/13/07, BIOS32 rev. 0 @ 0xfd390, SMBIOS rev. 2.33 @ 0xe3810 (25 entries)
bios0: vendor Acer version "V3.50" date 02/13/2007
bios0: Acer Aspire 5610
acpi0 at bios0: rev 0
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP APIC HPET MCFG SLIC DBGP APIC BOOT SSDT SSDT SSDT SSDT SSDT
acpi0: wakeup devices PXS1(S4) PXS2(S4) BCOL(S4) PXS4(S4) USB1(S3) USB2(S3) USB3(S3) USB4(S3) USB7(S3) LANC(S5) MODM(S3) AZAL(S3)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: apic clock running at 132MHz
cpu1 at mainbus0: apid 1 (application processor)
cpu1: Genuine Intel(R) CPU T2250 @ 1.73GHz ("GenuineIntel" 686-class) 1.73 GHz
cpu1: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,NXE,SSE3,MWAIT,EST,TM2,xTPR,PDCM
ioapic0 at mainbus0: apid 1 pa 0xfec00000, version 20, 24 pins
ioapic0: misconfigured as apic 2, remapped to apid 1
acpihpet0 at acpi0: 14318179 Hz
acpimcfg0 at acpi0 addr 0xe0000000, bus 0-255
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 1 (PEGP)
acpiprt2 at acpi0: bus 2 (RP01)
acpiprt3 at acpi0: bus 3 (RP02)
acpiprt4 at acpi0: bus 4 (RP03)
acpiprt5 at acpi0: bus 5 (RP04)
acpiprt6 at acpi0: bus 6 (PCIB)
acpiec0 at acpi0
acpicpu0 at acpi0: C3, C2, C1, PSS
acpicpu1 at acpi0: C3, C2, C1, PSS
acpitz0 at acpi0: critical temperature is 127 degC
acpitz1 at acpi0: critical temperature is 85 degC
acpibtn0 at acpi0: LID_
acpibtn1 at acpi0: SLPB
acpibtn2 at acpi0: PWRB
acpibat0 at acpi0: BAT1 model "GC86503SY90 " type Lion oem "SONY "
acpiac0 at acpi0: AC unit online
acpivideo0 at acpi0: VGA_
acpivideo1 at acpi0: GFX0
bios0: ROM list: 0xc0000/0xe000 0xce000/0x1800 0xe0000/0x1800! 0xe3800/0x800!
cpu0: Enhanced SpeedStep 1730 MHz: speeds: 1733, 1333, 1067, 800 MHz
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
pchb0 at pci0 dev 0 function 0 "Intel 82945GM Host" rev 0x03
ppb0 at pci0 dev 1 function 0 "Intel 82945GM PCIE" rev 0x03: apic 1 int 16
pci1 at ppb0 bus 1
vga1 at pci1 dev 0 function 0 "NVIDIA GeForce 7300 Go" rev 0xa1
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
azalia0 at pci0 dev 27 function 0 "Intel 82801GB HD Audio" rev 0x02: msi
azalia0: codecs: Realtek ALC883, Conexant/0x2c06, using Realtek ALC883
audio0 at azalia0
ppb1 at pci0 dev 28 function 0 "Intel 82801GB PCIE" rev 0x02: apic 1 int 17
pci2 at ppb1 bus 2
ppb2 at pci0 dev 28 function 1 "Intel 82801GB PCIE" rev 0x02: apic 1 int 16
pci3 at ppb2 bus 3
ppb3 at pci0 dev 28 function 2 "Intel 82801GB PCIE" rev 0x02: apic 1 int 18
pci4 at ppb3 bus 4
ppb4 at pci0 dev 28 function 3 "Intel 82801GB PCIE" rev 0x02: apic 1 int 19
pci5 at ppb4 bus 5
wpi0 at pci5 dev 0 function 0 "Intel PRO/Wireless 3945ABG" rev 0x02: msi, MoW2, address 00:19:d2:28:eb:bc
uhci0 at pci0 dev 29 function 0 "Intel 82801GB USB" rev 0x02: apic 1 int 23
uhci1 at pci0 dev 29 function 1 "Intel 82801GB USB" rev 0x02: apic 1 int 19
uhci2 at pci0 dev 29 function 2 "Intel 82801GB USB" rev 0x02: apic 1 int 18
uhci3 at pci0 dev 29 function 3 "Intel 82801GB USB" rev 0x02: apic 1 int 16
ehci0 at pci0 dev 29 function 7 "Intel 82801GB USB" rev 0x02: apic 1 int 23
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1
ppb5 at pci0 dev 30 function 0 "Intel 82801BAM Hub-to-PCI" rev 0xe2
pci6 at ppb5 bus 6
bce0 at pci6 dev 1 function 0 "Broadcom BCM4401B1" rev 0x02: apic 1 int 21, address 00:16:d4:d2:d6:5e
bmtphy0 at bce0 phy 1: BCM4401 10/100baseTX PHY, rev. 0
cbb0 at pci6 dev 4 function 0 "ENE CB-712 CardBus" rev 0x10: apic 1 int 16
"ENE Memory Stick" rev 0x01 at pci6 dev 4 function 1 not configured
sdhc0 at pci6 dev 4 function 2 "ENE SD Controller" rev 0x01: apic 1 int 17
sdmmc0 at sdhc0
"ENE Flash memory" rev 0x01 at pci6 dev 4 function 3 not configured
"ENE SD/MMC" rev 0x01 at pci6 dev 4 function 4 not configured
cardslot0 at cbb0 slot 0 flags 0
cardbus0 at cardslot0: bus 7 device 0 cacheline 0x8, lattimer 0x20
pcmcia0 at cardslot0
ichpcib0 at pci0 dev 31 function 0 "Intel 82801GBM LPC" rev 0x02: PM disabled
pciide0 at pci0 dev 31 function 2 "Intel 82801GBM SATA" rev 0x02: DMA, channel 0 wired to compatibility, channel 1 wired to compatibility
wd0 at pciide0 channel 0 drive 0: <ST96812AS>
wd0: 16-sector PIO, LBA48, 57231MB, 117210240 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 6
atapiscsi0 at pciide0 channel 1 drive 0
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: <Optiarc, DVD RW AD-7590A, 1.04> ATAPI 5/cdrom removable
cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2
ichiic0 at pci0 dev 31 function 3 "Intel 82801GB SMBus" rev 0x02: apic 1 int 19
iic0 at ichiic0
spdmem0 at iic0 addr 0x50: 1GB DDR2 SDRAM non-parity PC2-5300CL5 SO-DIMM
spdmem1 at iic0 addr 0x52: 1GB DDR2 SDRAM non-parity PC2-5300CL5 SO-DIMM
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
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
pms0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pms0 mux 0
pms0: Synaptics touchpad, firmware 6.2
pcppi0 at isa0 port 0x61
spkr0 at pcppi0
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
mtrr: Pentium Pro MTRR support
uvideo0 at uhub0 port 4 configuration 1 interface 0 "Logitech product 0x09b0" rev 2.00/0.06 addr 2
video0 at uvideo0
vscsi0 at root
scsibus1 at vscsi0: 256 targets
softraid0 at root
scsibus2 at softraid0: 256 targets
root on wd0a (39c54fbf19b7f065.a) swap on wd0b dump on wd0b
kernel version:
Code:
kern.version=OpenBSD 5.1-current (GENERIC.MP) #253: Thu Apr 26 01:45:24 MDT 2012
    deraadt@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC.MP
I wasn't running anything particular .. whenever I start firefox I get that message .. even on version check :
Code:
 $ firefox -v 
Mozilla Firefox 12.0
failed to create drawable
could NVIDIA GeForce 7300 be behind this ?
machine = Acer Aspire 5610
Reply With Quote
  #5   (View Single Post)  
Old 11th May 2012
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 3,658
Thanked 214 Times in 189 Posts
Default

  1. The title of this thread is still meaningless.
  2. What did Googling tell you? HINT: You apparently have not bothered to follow Ocicat's link.
  3. What did scanning the source code tell you? HINT: if you spend a few minutes doing research on Google, you should be able to uncover the answer and if so you may not need this step. I spent 2 minutes and 13 seconds on Google, and I found the answer.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
PF Dual WAN Fail Over Issue (one box) alpha202ej OpenBSD Security 13 24th April 2012 08:39 PM
DHCP Cable Connection Fail fmgil OpenBSD General 4 1st September 2009 05:18 PM
Mounting ext2 partitions seems to fail Sunsawe FreeBSD Installation and Upgrading 2 17th June 2009 01:38 PM
Basic networking fail. diw OpenBSD General 13 31st March 2009 09:29 AM
RAID-1 over NFS with fail-over PatrickBaer FreeBSD General 0 12th October 2008 12:03 AM


All times are GMT. The time now is 12:19 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick