xfce4 freeze on Loongson netbook

classic Classic list List threaded Threaded
12 messages Options
Reply | Threaded
Open this post in threaded view
|

xfce4 freeze on Loongson netbook

Alan Cheng-2
Hello List,

So I'm using a Loongson YeeLoong netbook. I installed XFCE4 without any
issues, But it will freeze after around 15 minutes, even if I do nothing on
it. Starting "terminal" will cause it to freeze immediately.

I can still SSH into this netbook after freeze and everything else seems to
be fine.

This happens back during 4.9 days. It's the same on 5.0 and current
snapshot.

Any insight will be appreciated. and I'll be glad to provide any info
required to troubleshoot this.

I'm not sure exactly what info will be needed, so I'll start with dmesg.
More will be provided as necessary:

[ using 466480 bytes of bsd ELF symbol table ]
Copyright (c) 1982, 1986, 1989, 1991, 1993
        The Regents of the University of California.  All rights reserved.
Copyright (c) 1995-2012 OpenBSD. All rights reserved.
http://www.OpenBSD.org <http://www.openbsd.org/>
OpenBSD 5.1 (GENERIC) #93: Sun Feb 12 18:10:05 MST 2012
    [hidden email]:/usr/src/sys/arch/loongson/compile/GENERIC
real mem = 1073741824 (1024MB)
avail mem = 1059160064 (1010MB)
mainbus0 at root: Lemote Yeeloong
cpu0 at mainbus0: STC Loongson2F CPU 796 MHz, STC Loongson2F FPU
cpu0: cache L1-I 64KB D 64KB 4 way, L2 512KB 4 way
bonito0 at mainbus0: memory and PCI-X controller, rev 1
pci0 at bonito0 bus 0
rl0 at pci0 dev 7 function 0 "Realtek 8139" rev 0x10: irq 5, address
00:23:8b:b5:38:eb
rlphy0 at rl0 phy 0: RTL internal PHY
smfb0 at pci0 dev 8 function 0 "Silicon Motion LynxEM+" rev 0xb0
wsdisplay0 at smfb0 mux 1: console (std, vt100 emulation)
ohci0 at pci0 dev 9 function 0 "NEC USB" rev 0x44: irq 7, version 1.0
ehci0 at pci0 dev 9 function 1 "NEC USB" rev 0x05: irq 7
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 "NEC EHCI root hub" rev 2.00/1.00 addr 1
glxpcib0 at pci0 dev 14 function 0 "AMD CS5536 ISA" rev 0x03: rev 3, 32-bit
3579545Hz timer, watchdog, gpio
gpio1 at glxpcib0: 32 pins
pciide0 at pci0 dev 14 function 2 "AMD CS5536 IDE" rev 0x01: DMA, channel 0
wired to compatibility, channel 1 wired to compatibility
wd0 at pciide0 channel 0 drive 0: <ST9160310AS>
wd0: 16-sector PIO, LBA48, 152627MB, 312581808 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2
pciide0: channel 1 ignored (disabled)
auglx0 at pci0 dev 14 function 3 "AMD CS5536 Audio" rev 0x01: isa irq 9,
CS5536 AC97
ac97: codec id 0x414c4760 (Avance Logic ALC655 rev 0)
audio0 at auglx0
ohci1 at pci0 dev 14 function 4 "AMD CS5536 USB" rev 0x02: isa irq 11,
version 1.0, legacy support
ehci1 at pci0 dev 14 function 5 "AMD CS5536 USB" rev 0x02: isa irq 11
usb1 at ehci1: USB revision 2.0
uhub1 at usb1 "AMD EHCI root hub" rev 2.00/1.00 addr 1
usb2 at ohci0: USB revision 1.0
uhub2 at usb2 "NEC OHCI root hub" rev 1.00/1.00 addr 1
isa0 at glxpcib0
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
mcclock0 at isa0 port 0x70/2: mc146818 or compatible
ykbec0 at isa0 port 0x381/3
usb3 at ohci1: USB revision 1.0
uhub3 at usb3 "AMD OHCI root hub" rev 1.00/1.00 addr 1
clock0 at mainbus0: ticker on int5 using count register
apm0 at mainbus0
rum0 at uhub0 port 2 "Ralink Technology RT2573" rev 2.00/0.01 addr 2
rum0: MAC/BBP RT2573 (rev 0x2573a), RF RT2528, address 00:19:e0:81:e1:4e
umass0 at uhub1 port 1 configuration 1 interface 0 "Generic USB2.0-CRW" rev
2.00/58.87 addr 2
umass0: using SCSI over Bulk-Only
scsibus0 at umass0: 2 targets, initiator 0
sd0 at scsibus0 targ 1 lun 0: <Generic-, Multi-Card, 1.00> SCSI0 0/direct
removable serial.0bda0158114173400000
urtw0 at uhub1 port 4 "Realtek RTL8187B" rev 2.00/2.00 addr 3
urtw0: RTL8187B rev E, address 00:17:c4:3d:33:f9
vscsi0 at root
scsibus1 at vscsi0: 256 targets
softraid0 at root
scsibus2 at softraid0: 256 targets
pmon bootpath: /dev/disk/wd0
boot device: wd0
root on wd0a (2c517028a6b8deda.a) swap on wd0b dump on wd0b
apm0: battery high

thanks,
Alan

Reply | Threaded
Open this post in threaded view
|

Re: xfce4 freeze on Loongson netbook

Anders Trobäck-2
What happens if you run a different window manager like fvwm?

Den Tue, 20 Mar 2012 23:41:56 +0800
skrev Alan Cheng <[hidden email]>:

> Hello List,
>
> So I'm using a Loongson YeeLoong netbook. I installed XFCE4 without
> any issues, But it will freeze after around 15 minutes, even if I do
> nothing on it. Starting "terminal" will cause it to freeze
> immediately.
>
> I can still SSH into this netbook after freeze and everything else
> seems to be fine.
>
> This happens back during 4.9 days. It's the same on 5.0 and current
> snapshot.
>
> Any insight will be appreciated. and I'll be glad to provide any info
> required to troubleshoot this.
>
> I'm not sure exactly what info will be needed, so I'll start with
> dmesg. More will be provided as necessary:
>
> [ using 466480 bytes of bsd ELF symbol table ]
> Copyright (c) 1982, 1986, 1989, 1991, 1993
>         The Regents of the University of California.  All rights
> reserved. Copyright (c) 1995-2012 OpenBSD. All rights reserved.
> http://www.OpenBSD.org <http://www.openbsd.org/>
> OpenBSD 5.1 (GENERIC) #93: Sun Feb 12 18:10:05 MST 2012
>     [hidden email]:/usr/src/sys/arch/loongson/compile/GENERIC
> real mem = 1073741824 (1024MB)
> avail mem = 1059160064 (1010MB)
> mainbus0 at root: Lemote Yeeloong
> cpu0 at mainbus0: STC Loongson2F CPU 796 MHz, STC Loongson2F FPU
> cpu0: cache L1-I 64KB D 64KB 4 way, L2 512KB 4 way
> bonito0 at mainbus0: memory and PCI-X controller, rev 1
> pci0 at bonito0 bus 0
> rl0 at pci0 dev 7 function 0 "Realtek 8139" rev 0x10: irq 5, address
> 00:23:8b:b5:38:eb
> rlphy0 at rl0 phy 0: RTL internal PHY
> smfb0 at pci0 dev 8 function 0 "Silicon Motion LynxEM+" rev 0xb0
> wsdisplay0 at smfb0 mux 1: console (std, vt100 emulation)
> ohci0 at pci0 dev 9 function 0 "NEC USB" rev 0x44: irq 7, version 1.0
> ehci0 at pci0 dev 9 function 1 "NEC USB" rev 0x05: irq 7
> usb0 at ehci0: USB revision 2.0
> uhub0 at usb0 "NEC EHCI root hub" rev 2.00/1.00 addr 1
> glxpcib0 at pci0 dev 14 function 0 "AMD CS5536 ISA" rev 0x03: rev 3,
> 32-bit 3579545Hz timer, watchdog, gpio
> gpio1 at glxpcib0: 32 pins
> pciide0 at pci0 dev 14 function 2 "AMD CS5536 IDE" rev 0x01: DMA,
> channel 0 wired to compatibility, channel 1 wired to compatibility
> wd0 at pciide0 channel 0 drive 0: <ST9160310AS>
> wd0: 16-sector PIO, LBA48, 152627MB, 312581808 sectors
> wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2
> pciide0: channel 1 ignored (disabled)
> auglx0 at pci0 dev 14 function 3 "AMD CS5536 Audio" rev 0x01: isa irq
> 9, CS5536 AC97
> ac97: codec id 0x414c4760 (Avance Logic ALC655 rev 0)
> audio0 at auglx0
> ohci1 at pci0 dev 14 function 4 "AMD CS5536 USB" rev 0x02: isa irq 11,
> version 1.0, legacy support
> ehci1 at pci0 dev 14 function 5 "AMD CS5536 USB" rev 0x02: isa irq 11
> usb1 at ehci1: USB revision 2.0
> uhub1 at usb1 "AMD EHCI root hub" rev 2.00/1.00 addr 1
> usb2 at ohci0: USB revision 1.0
> uhub2 at usb2 "NEC OHCI root hub" rev 1.00/1.00 addr 1
> isa0 at glxpcib0
> 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
> mcclock0 at isa0 port 0x70/2: mc146818 or compatible
> ykbec0 at isa0 port 0x381/3
> usb3 at ohci1: USB revision 1.0
> uhub3 at usb3 "AMD OHCI root hub" rev 1.00/1.00 addr 1
> clock0 at mainbus0: ticker on int5 using count register
> apm0 at mainbus0
> rum0 at uhub0 port 2 "Ralink Technology RT2573" rev 2.00/0.01 addr 2
> rum0: MAC/BBP RT2573 (rev 0x2573a), RF RT2528, address
> 00:19:e0:81:e1:4e umass0 at uhub1 port 1 configuration 1 interface 0
> "Generic USB2.0-CRW" rev 2.00/58.87 addr 2
> umass0: using SCSI over Bulk-Only
> scsibus0 at umass0: 2 targets, initiator 0
> sd0 at scsibus0 targ 1 lun 0: <Generic-, Multi-Card, 1.00> SCSI0
> 0/direct removable serial.0bda0158114173400000
> urtw0 at uhub1 port 4 "Realtek RTL8187B" rev 2.00/2.00 addr 3
> urtw0: RTL8187B rev E, address 00:17:c4:3d:33:f9
> vscsi0 at root
> scsibus1 at vscsi0: 256 targets
> softraid0 at root
> scsibus2 at softraid0: 256 targets
> pmon bootpath: /dev/disk/wd0
> boot device: wd0
> root on wd0a (2c517028a6b8deda.a) swap on wd0b dump on wd0b
> apm0: battery high
>
> thanks,
> Alan

Reply | Threaded
Open this post in threaded view
|

Re: xfce4 freeze on Loongson netbook

Alan Cheng-2
fvwm works fine. So is jwm.

Thanks,
Alan
On Tue, Mar 20, 2012 at 11:52 PM, Anders Trobdck <[hidden email]> wrote:

> What happens if you run a different window manager like fvwm?
>
> Den Tue, 20 Mar 2012 23:41:56 +0800
> skrev Alan Cheng <[hidden email]>:
>
> > Hello List,
> >
> > So I'm using a Loongson YeeLoong netbook. I installed XFCE4 without
> > any issues, But it will freeze after around 15 minutes, even if I do
> > nothing on it. Starting "terminal" will cause it to freeze
> > immediately.
> >
> > I can still SSH into this netbook after freeze and everything else
> > seems to be fine.
> >
> > This happens back during 4.9 days. It's the same on 5.0 and current
> > snapshot.
> >
> > Any insight will be appreciated. and I'll be glad to provide any info
> > required to troubleshoot this.
> >
> > I'm not sure exactly what info will be needed, so I'll start with
> > dmesg. More will be provided as necessary:
> >
> > [ using 466480 bytes of bsd ELF symbol table ]
> > Copyright (c) 1982, 1986, 1989, 1991, 1993
> >         The Regents of the University of California.  All rights
> > reserved. Copyright (c) 1995-2012 OpenBSD. All rights reserved.
> > http://www.OpenBSD.org <http://www.openbsd.org/> <
> http://www.openbsd.org/>
>  > OpenBSD 5.1 (GENERIC) #93: Sun Feb 12 18:10:05 MST 2012
> >     [hidden email]:
> /usr/src/sys/arch/loongson/compile/GENERIC
> > real mem = 1073741824 (1024MB)
> > avail mem = 1059160064 (1010MB)
> > mainbus0 at root: Lemote Yeeloong
> > cpu0 at mainbus0: STC Loongson2F CPU 796 MHz, STC Loongson2F FPU
> > cpu0: cache L1-I 64KB D 64KB 4 way, L2 512KB 4 way
> > bonito0 at mainbus0: memory and PCI-X controller, rev 1
> > pci0 at bonito0 bus 0
> > rl0 at pci0 dev 7 function 0 "Realtek 8139" rev 0x10: irq 5, address
> > 00:23:8b:b5:38:eb
> > rlphy0 at rl0 phy 0: RTL internal PHY
> > smfb0 at pci0 dev 8 function 0 "Silicon Motion LynxEM+" rev 0xb0
> > wsdisplay0 at smfb0 mux 1: console (std, vt100 emulation)
> > ohci0 at pci0 dev 9 function 0 "NEC USB" rev 0x44: irq 7, version 1.0
> > ehci0 at pci0 dev 9 function 1 "NEC USB" rev 0x05: irq 7
> > usb0 at ehci0: USB revision 2.0
> > uhub0 at usb0 "NEC EHCI root hub" rev 2.00/1.00 addr 1
> > glxpcib0 at pci0 dev 14 function 0 "AMD CS5536 ISA" rev 0x03: rev 3,
> > 32-bit 3579545Hz timer, watchdog, gpio
> > gpio1 at glxpcib0: 32 pins
> > pciide0 at pci0 dev 14 function 2 "AMD CS5536 IDE" rev 0x01: DMA,
> > channel 0 wired to compatibility, channel 1 wired to compatibility
> > wd0 at pciide0 channel 0 drive 0: <ST9160310AS>
> > wd0: 16-sector PIO, LBA48, 152627MB, 312581808 sectors
> > wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2
> > pciide0: channel 1 ignored (disabled)
> > auglx0 at pci0 dev 14 function 3 "AMD CS5536 Audio" rev 0x01: isa irq
> > 9, CS5536 AC97
> > ac97: codec id 0x414c4760 (Avance Logic ALC655 rev 0)
> > audio0 at auglx0
> > ohci1 at pci0 dev 14 function 4 "AMD CS5536 USB" rev 0x02: isa irq 11,
> > version 1.0, legacy support
> > ehci1 at pci0 dev 14 function 5 "AMD CS5536 USB" rev 0x02: isa irq 11
> > usb1 at ehci1: USB revision 2.0
> > uhub1 at usb1 "AMD EHCI root hub" rev 2.00/1.00 addr 1
> > usb2 at ohci0: USB revision 1.0
> > uhub2 at usb2 "NEC OHCI root hub" rev 1.00/1.00 addr 1
> > isa0 at glxpcib0
> > 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
> > mcclock0 at isa0 port 0x70/2: mc146818 or compatible
> > ykbec0 at isa0 port 0x381/3
> > usb3 at ohci1: USB revision 1.0
> > uhub3 at usb3 "AMD OHCI root hub" rev 1.00/1.00 addr 1
> > clock0 at mainbus0: ticker on int5 using count register
> > apm0 at mainbus0
> > rum0 at uhub0 port 2 "Ralink Technology RT2573" rev 2.00/0.01 addr 2
> > rum0: MAC/BBP RT2573 (rev 0x2573a), RF RT2528, address
> > 00:19:e0:81:e1:4e umass0 at uhub1 port 1 configuration 1 interface 0
> > "Generic USB2.0-CRW" rev 2.00/58.87 addr 2
> > umass0: using SCSI over Bulk-Only
> > scsibus0 at umass0: 2 targets, initiator 0
> > sd0 at scsibus0 targ 1 lun 0: <Generic-, Multi-Card, 1.00> SCSI0
> > 0/direct removable serial.0bda0158114173400000
> > urtw0 at uhub1 port 4 "Realtek RTL8187B" rev 2.00/2.00 addr 3
> > urtw0: RTL8187B rev E, address 00:17:c4:3d:33:f9
> > vscsi0 at root
> > scsibus1 at vscsi0: 256 targets
> > softraid0 at root
> > scsibus2 at softraid0: 256 targets
> > pmon bootpath: /dev/disk/wd0
> > boot device: wd0
> > root on wd0a (2c517028a6b8deda.a) swap on wd0b dump on wd0b
> > apm0: battery high
> >
> > thanks,
> > Alan

Reply | Threaded
Open this post in threaded view
|

Re: xfce4 freeze on Loongson netbook

Bryan Irvine
In reply to this post by Alan Cheng-2
On Tue, Mar 20, 2012 at 8:41 AM, Alan Cheng <[hidden email]> wrote:

> Hello List,
>
> So I'm using a Loongson YeeLoong netbook. I installed XFCE4 without any
> issues, But it will freeze after around 15 minutes, even if I do nothing on
> it. Starting "terminal" will cause it to freeze immediately.
>
> I can still SSH into this netbook after freeze and everything else seems to
> be fine.
>
> This happens back during 4.9 days. It's the same on 5.0 and current
> snapshot.
>

It works fine on my 8089 running 5.0 -release.

Reply | Threaded
Open this post in threaded view
|

Re: xfce4 freeze on Loongson netbook

Miod Vallat
In reply to this post by Alan Cheng-2
> So I'm using a Loongson YeeLoong netbook. I installed XFCE4 without any
> issues, But it will freeze after around 15 minutes, even if I do nothing on
> it. Starting "terminal" will cause it to freeze immediately.
>
> I can still SSH into this netbook after freeze and everything else seems to
> be fine.

I'm sorry, but this hardly sounds like the system freezing to me. On the
other hand, it sounds from what you are reporting, that the X server (on
an X application, such as the window manager) is misbehaving.

You might want to check for the state of your `num lock' key, and look
for a process in an unnatural state in a ps output.

Reply | Threaded
Open this post in threaded view
|

Re: xfce4 freeze on Loongson netbook

Juan Francisco Cantero Hurtado
In reply to this post by Alan Cheng-2
On Tue, Mar 20, 2012 at 11:41:56PM +0800, Alan Cheng wrote:

> Hello List,
>
> So I'm using a Loongson YeeLoong netbook. I installed XFCE4 without any
> issues, But it will freeze after around 15 minutes, even if I do nothing on
> it. Starting "terminal" will cause it to freeze immediately.
>
> I can still SSH into this netbook after freeze and everything else seems to
> be fine.
>
> This happens back during 4.9 days. It's the same on 5.0 and current
> snapshot.
>
> Any insight will be appreciated. and I'll be glad to provide any info
> required to troubleshoot this.
>
> I'm not sure exactly what info will be needed, so I'll start with dmesg.
> More will be provided as necessary:

I can't help with your problem but if you run the window manager with
"startx", the output of "startx" is always very useful. Run "startx"
with this command:
startx 1>startx-output.log 2>&1

Also, you can log in your loongson with ssh, execute "tail -f
startx-output.log" and look the errors in real time when your wm is
freeze.

Cheers.

--
Juan Francisco Cantero Hurtado http://juanfra.info

Reply | Threaded
Open this post in threaded view
|

Re: xfce4 freeze on Loongson netbook

Alan Cheng-2
In reply to this post by Alan Cheng-2
good to know there is a model on which xfce4 works. Mine is 8101.



Bryan Irvine <[hidden email]>g<eo<

>On Tue, Mar 20, 2012 at 8:41 AM, Alan Cheng <[hidden email]> wrote:
>> Hello List,
>>
>> So I'm using a Loongson YeeLoong netbook. I installed XFCE4 without any
>> issues, But it will freeze after around 15 minutes, even if I do nothing on
>> it. Starting "terminal" will cause it to freeze immediately.
>>
>> I can still SSH into this netbook after freeze and everything else seems to
>> be fine.
>>
>> This happens back during 4.9 days. It's the same on 5.0 and current
>> snapshot.
>>
>
>It works fine on my 8089 running 5.0 -release.

Reply | Threaded
Open this post in threaded view
|

Re: xfce4 freeze on Loongson netbook

Alan Cheng-2
In reply to this post by Alan Cheng-2
I agree it's an issue with xfce4, the window manager, instead of the entire system. will check num lock key. I checked ps before but didn't find anything unusual. will give it another try.

Miod Vallat <[hidden email]>g<eo<

>> So I'm using a Loongson YeeLoong netbook. I installed XFCE4 without any
>> issues, But it will freeze after around 15 minutes, even if I do nothing on
>> it. Starting "terminal" will cause it to freeze immediately.
>>
>> I can still SSH into this netbook after freeze and everything else seems to
>> be fine.
>
>I'm sorry, but this hardly sounds like the system freezing to me. On the
>other hand, it sounds from what you are reporting, that the X server (on
>an X application, such as the window manager) is misbehaving.
>
>You might want to check for the state of your `num lock' key, and look
>for a process in an unnatural state in a ps output.

Reply | Threaded
Open this post in threaded view
|

Re: xfce4 freeze on Loongson netbook

Alan Cheng-2
In reply to this post by Alan Cheng-2
below is what i got from startx log. it's better to have some error that i can pass to google.

will do my homework first, but wouldn't mind a few pointers if this looks obvious to anyone. :-)

thanks.

[acheng@azalea ~]$ tail -f startx.out

Thunar:/usr/X11R6/lib/libGL.so.12.0: /usr/X11R6/lib/libGL.so.10.0 : WARNING: symbol(__glapi_noop_table) size mismatch, relink your program
Thunar:/usr/X11R6/lib/libGL.so.12.0: /usr/X11R6/lib/libGL.so.10.0 : WARNING: symbol(__glapi_noop_table) size mismatch, relink your program
xfdesktop:/usr/X11R6/lib/libGL.so.12.0: /usr/X11R6/lib/libGL.so.10.0 : WARNING: symbol(__glapi_noop_table) size mismatch, relink your program
xfdesktop:/usr/X11R6/lib/libGL.so.12.0: /usr/X11R6/lib/libGL.so.10.0 : WARNING: symbol(__glapi_noop_table) size mismatch, relink your program

(xfce4-settings-helper:9953): xfce4-settings-helper-WARNING **: Unknown mode '1024x600 @ 0.0' for output default.


(xfce4-settings-helper:9953): xfce4-settings-helper-CRITICAL **: Stored Xfconf properties disable all outputs, aborting.
xfdesktop[18998]: starting up

(xfdesktop:18998): GLib-GObject-WARNING **: invalid (NULL) pointer instance

(xfdesktop:18998): GLib-GObject-CRITICAL **: g_signal_connect_data: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed




Juan Francisco Cantero Hurtado <[hidden email]>g<eo<

>On Tue, Mar 20, 2012 at 11:41:56PM +0800, Alan Cheng wrote:
>> Hello List,
>>
>> So I'm using a Loongson YeeLoong netbook. I installed XFCE4 without any
>> issues, But it will freeze after around 15 minutes, even if I do nothing on
>> it. Starting "terminal" will cause it to freeze immediately.
>>
>> I can still SSH into this netbook after freeze and everything else seems to
>> be fine.
>>
>> This happens back during 4.9 days. It's the same on 5.0 and current
>> snapshot.
>>
>> Any insight will be appreciated. and I'll be glad to provide any info
>> required to troubleshoot this.
>>
>> I'm not sure exactly what info will be needed, so I'll start with dmesg.
>> More will be provided as necessary:
>
>I can't help with your problem but if you run the window manager with
>"startx", the output of "startx" is always very useful. Run "startx"
>with this command:
>startx 1>startx-output.log 2>&1
>
>Also, you can log in your loongson with ssh, execute "tail -f
>startx-output.log" and look the errors in real time when your wm is
>freeze.
>
>Cheers.
>
>--
>Juan Francisco Cantero Hurtado http://juanfra.info

Reply | Threaded
Open this post in threaded view
|

Re: xfce4 freeze on Loongson netbook

Stuart Henderson
You have a mismatched set of packages, some depending on old X libraries
and some on new X libraries, causing a conflict.

/usr/ports/infrastructure/bin/out-of-date should show you which need updates.


On 2012-03-21, Alan Cheng <[hidden email]> wrote:

> below is what i got from startx log. it's better to have some error that i can pass to google.
>
> will do my homework first, but wouldn't mind a few pointers if this looks obvious to anyone. :-)
>
> thanks.
>
> [acheng@azalea ~]$ tail -f startx.out
>
> Thunar:/usr/X11R6/lib/libGL.so.12.0: /usr/X11R6/lib/libGL.so.10.0 : WARNING: symbol(__glapi_noop_table) size mismatch, relink your program
> Thunar:/usr/X11R6/lib/libGL.so.12.0: /usr/X11R6/lib/libGL.so.10.0 : WARNING: symbol(__glapi_noop_table) size mismatch, relink your program
> xfdesktop:/usr/X11R6/lib/libGL.so.12.0: /usr/X11R6/lib/libGL.so.10.0 : WARNING: symbol(__glapi_noop_table) size mismatch, relink your program
> xfdesktop:/usr/X11R6/lib/libGL.so.12.0: /usr/X11R6/lib/libGL.so.10.0 : WARNING: symbol(__glapi_noop_table) size mismatch, relink your program
>
> (xfce4-settings-helper:9953): xfce4-settings-helper-WARNING **: Unknown mode '1024x600 @ 0.0' for output default.
>
>
> (xfce4-settings-helper:9953): xfce4-settings-helper-CRITICAL **: Stored Xfconf properties disable all outputs, aborting.
> xfdesktop[18998]: starting up
>
> (xfdesktop:18998): GLib-GObject-WARNING **: invalid (NULL) pointer instance
>
> (xfdesktop:18998): GLib-GObject-CRITICAL **: g_signal_connect_data: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed
>
>
>
>
> Juan Francisco Cantero Hurtado <[hidden email]>g<eo<
>
>>On Tue, Mar 20, 2012 at 11:41:56PM +0800, Alan Cheng wrote:
>>> Hello List,
>>>
>>> So I'm using a Loongson YeeLoong netbook. I installed XFCE4 without any
>>> issues, But it will freeze after around 15 minutes, even if I do nothing on
>>> it. Starting "terminal" will cause it to freeze immediately.
>>>
>>> I can still SSH into this netbook after freeze and everything else seems to
>>> be fine.
>>>
>>> This happens back during 4.9 days. It's the same on 5.0 and current
>>> snapshot.
>>>
>>> Any insight will be appreciated. and I'll be glad to provide any info
>>> required to troubleshoot this.
>>>
>>> I'm not sure exactly what info will be needed, so I'll start with dmesg.
>>> More will be provided as necessary:
>>
>>I can't help with your problem but if you run the window manager with
>>"startx", the output of "startx" is always very useful. Run "startx"
>>with this command:
>>startx 1>startx-output.log 2>&1
>>
>>Also, you can log in your loongson with ssh, execute "tail -f
>>startx-output.log" and look the errors in real time when your wm is
>>freeze.
>>
>>Cheers.
>>
>>--
>>Juan Francisco Cantero Hurtado http://juanfra.info

Reply | Threaded
Open this post in threaded view
|

Re: xfce4 freeze on Loongson netbook

Alan Cheng-2
yeah.
I upgraded it from 5.0 to snapshot, but just found there is no
"thunar" package in snapshot. so I'm running everything else in snapshot
with thunar still in 5.0. That's very likely the cause of  library
connflicts.

I'm compiling thunar from updated ports now ...

thanks.

On Thu, Mar 22, 2012 at 5:53 AM, Stuart Henderson <[hidden email]>wrote:

> You have a mismatched set of packages, some depending on old X libraries
> and some on new X libraries, causing a conflict.
>
> /usr/ports/infrastructure/bin/out-of-date should show you which need
> updates.
>
>
> On 2012-03-21, Alan Cheng <[hidden email]> wrote:
> > below is what i got from startx log. it's better to have some error that
> i can pass to google.
> >
> > will do my homework first, but wouldn't mind a few pointers if this
> looks obvious to anyone. :-)
> >
> > thanks.
> >
> > [acheng@azalea ~]$ tail -f startx.out
> >
> > Thunar:/usr/X11R6/lib/libGL.so.12.0: /usr/X11R6/lib/libGL.so.10.0 :
> WARNING: symbol(__glapi_noop_table) size mismatch, relink your program
> > Thunar:/usr/X11R6/lib/libGL.so.12.0: /usr/X11R6/lib/libGL.so.10.0 :
> WARNING: symbol(__glapi_noop_table) size mismatch, relink your program
> > xfdesktop:/usr/X11R6/lib/libGL.so.12.0: /usr/X11R6/lib/libGL.so.10.0 :
> WARNING: symbol(__glapi_noop_table) size mismatch, relink your program
> > xfdesktop:/usr/X11R6/lib/libGL.so.12.0: /usr/X11R6/lib/libGL.so.10.0 :
> WARNING: symbol(__glapi_noop_table) size mismatch, relink your program
> >
> > (xfce4-settings-helper:9953): xfce4-settings-helper-WARNING **: Unknown
> mode '1024x600 @ 0.0' for output default.
> >
> >
> > (xfce4-settings-helper:9953): xfce4-settings-helper-CRITICAL **: Stored
> Xfconf properties disable all outputs, aborting.
> > xfdesktop[18998]: starting up
> >
> > (xfdesktop:18998): GLib-GObject-WARNING **: invalid (NULL) pointer
> instance
> >
> > (xfdesktop:18998): GLib-GObject-CRITICAL **: g_signal_connect_data:
> assertion `G_TYPE_CHECK_INSTANCE (instance)' failed
> >
> >
> >
> >
> > Juan Francisco Cantero Hurtado <[hidden email]>g< e  o<
>  >
> >>On Tue, Mar 20, 2012 at 11:41:56PM +0800, Alan Cheng wrote:
> >>> Hello List,
> >>>
> >>> So I'm using a Loongson YeeLoong netbook. I installed XFCE4 without any
> >>> issues, But it will freeze after around 15 minutes, even if I do
> nothing on
> >>> it. Starting "terminal" will cause it to freeze immediately.
> >>>
> >>> I can still SSH into this netbook after freeze and everything else
> seems to
> >>> be fine.
> >>>
> >>> This happens back during 4.9 days. It's the same on 5.0 and current
> >>> snapshot.
> >>>
> >>> Any insight will be appreciated. and I'll be glad to provide any info
> >>> required to troubleshoot this.
> >>>
> >>> I'm not sure exactly what info will be needed, so I'll start with
> dmesg.
> >>> More will be provided as necessary:
> >>
> >>I can't help with your problem but if you run the window manager with
> >>"startx", the output of "startx" is always very useful. Run "startx"
> >>with this command:
> >>startx 1>startx-output.log 2>&1
> >>
> >>Also, you can log in your loongson with ssh, execute "tail -f
> >>startx-output.log" and look the errors in real time when your wm is
> >>freeze.
> >>
> >>Cheers.
> >>
> >>--
> >>Juan Francisco Cantero Hurtado http://juanfra.info

Reply | Threaded
Open this post in threaded view
|

Re: xfce4 freeze on Loongson netbook

Alan Cheng-2
In reply to this post by Alan Cheng-2
With help from many  on and off-list, I finally worked around the freeze
issue, by doing the following:

1. went back to 5.0 release
2. in .xinitrc, use "dbus-lunch startxfce4" instead of just "startxfce4.

Just in case anyone is still interested in this.

Thanks again.

- Alan