LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 01-17-2012, 05:09 AM   #1
alextj
LQ Newbie
 
Registered: Jan 2012
Location: Finland
Distribution: Debian 6.0.3
Posts: 4

Rep: Reputation: Disabled
Question Slow GUI in IceWM/Xorg


I have moved a Debian system running a wxWidget application from an old PC hardware to a newer one.

The problem is that in the newer PC the application GUI feels extremely sluggish. It behaves a lot worse than on the older hardware.

Where should I look to fix the performance problem? Maybe I am missing some key graphics configuration parameters?




Old PC:
Diamond Systems Athena II (ATHM500-256A)
Datasheet: http://www.diamondsystems.com/files/...-Datasheet.pdf
Processor: VIA Mark CoreFusion CPU at 500MHz
Memory: 256MB DRAM
OS: Debian Etch 4.0

New PC:
Diamond Systems Helios (HLV800-256A)
Datasheet: http://www.diamondsystems.com/files/...0Datasheet.pdf
Processor: Vortex86DX at 800MHz
Memory: 256MB DDR2 DRAM
OS: Debian Squeeze 6.0.3

Originally I was hoping that simply copying disk image from one PC to another would do the trick, but booting OS resulted in kernel panic. Installing the same old version of Debian Etch also failed, so I installed the latest Debian Squeeze. The PC manufacturer provides Universal Driver for Linux, which gives support for IO and some other hardware. It is installed on both PCs.

Window manager is IceWM; xorg.conf and Xorg.0.log are attached in the end of the post.

The wxWidget application uses CAN and digital IO. It works well on various PCs, with the only exception behing this new Helios PC, where the GUI is for some reason very slow, otherwise everything seems to work as expected. I have tried to compile it from source on the target hardware, but the result was the same as using a pre-compiled binary.

I heard that the previous maintainer of the platform had similar GUI problem with Athena II PC and he fixed it apparently by properly configuring the OS/Xorg/IceWM, but he is not working here anymore and is not available for help, so I am on my own. He didn't leave any notes or documentation (seriously! )


I tried various configurations in xorg.conf. Below is one of them. At first I had it without the Files and Module sections. Later I saw in Xorg.0.log that the video card was detected as "Volari Z9s", so on Google I found an example xorg.conf which uses this video card, I tried it, but the GUI performance stayed the same as with the generic config.

xorg.conf (/etc/X11/xorg.conf)
Code:
Section "Files"
	FontPath	"/usr/share/fonts/X11/misc"
	FontPath	"/usr/share/fonts/X11/cyrillic"
	FontPath	"/usr/share/fonts/X11/100dpi/:unscaled"
	FontPath	"/usr/share/fonts/X11/75dpi/:unscaled"
	FontPath	"/usr/share/fonts/X11/Type1"
	FontPath	"/usr/share/fonts/X11/100dpi"
	FontPath	"/usr/share/fonts/X11/75dpi"
	FontPath	"/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection

Section "Module"
	Load	"i2c"
	Load	"bitmap"
	Load	"ddc"
	Load	"dri"
	Load	"extmod"
	Load	"freetype"
	Load	"glx"
	Load	"int10"
	Load	"vbe"
EndSection

Section "InputDevice"
	Identifier	"Generic Keyboard"
	Driver		"kbd"
	Option		"CoreKeyboard"
	Option		"XkbRules"	"xorg"
	Option		"XkbModel"	"pc104"
	Option		"XkbLayout"	"fi"
EndSection

Section "Device"
	Identifier	"Default graphics card"
	Driver		"vesa"
EndSection

Section "Monitor"
	Identifier	"SyncMaster959"
	Option		"DPI" "96x96"
EndSection

Section "Screen"
	Identifier	"Default Screen"
	Device		"Default graphics card"
	Monitor		"SyncMaster959"
	DefaultDepth	16
	SubSection	"Display"
			Depth		1
			Modes		"800x600" "640x480"
	EndSubSection
	SubSection	"Display"
			Depth		4
			Modes		"800x600" "640x480"
	EndSubSection
	SubSection	"Display"
			Depth		8
			Modes		"640x480"
	EndSubSection
	SubSection	"Display"
			Depth		15
			Modes		"800x600" "640x480"
	EndSubSection
	SubSection	"Display"
			Depth		16
			Modes		"640x480"
	EndSubSection
	SubSection	"Display"
			Depth		24
			Modes		"640x480"
	EndSubSection
EndSection

Section "ServerLayout"
	Identifier	"Default Layout"
	Screen		"Default Screen"
EndSection

Section "DRI"
	Mode	0666
EndSection
Due to character limit I am not able to attach Xorg.0.log in the same post, so I will attach it in a reply to this thread.
 
Old 01-17-2012, 11:44 AM   #2
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4864Reputation: 4864Reputation: 4864Reputation: 4864Reputation: 4864Reputation: 4864Reputation: 4864Reputation: 4864Reputation: 4864Reputation: 4864Reputation: 4864
On Debian 6 you don't need xorg.conf. Try it without it. Also, the logs would still be helpful.
 
Old 01-23-2012, 08:46 AM   #3
alextj
LQ Newbie
 
Registered: Jan 2012
Location: Finland
Distribution: Debian 6.0.3
Posts: 4

Original Poster
Rep: Reputation: Disabled
Thanks for your reply.

I tried without xorg.conf. As a result I got higher resolution, but it also introduced some visual artefacts. And didn't solve the problem with slow GUI.


Attached files:
- Xorg.0.log from the first post, where video is not configured and "vesa" driver is used.
- Xorg.0.log and xorg.conf where I have configured video with "sis" driver.

I have xserver-xorg-video-sis 0.10.3-1 installed.

All of those different configurations have the same result as in the first post.

Any ideas what am I missing?
Attached Files
File Type: txt Xorg.0.log-vesa.txt (48.1 KB, 4 views)
File Type: txt Xorg.0.log-configuredvideo.txt (30.0 KB, 4 views)
File Type: txt xorg.conf-configuredvideo.txt (1.8 KB, 5 views)
 
Old 01-23-2012, 08:48 AM   #4
alextj
LQ Newbie
 
Registered: Jan 2012
Location: Finland
Distribution: Debian 6.0.3
Posts: 4

Original Poster
Rep: Reputation: Disabled
Forum only allowed 3 attachments per reply and character limit in message is 30000, so I couldn't fit another Xorg.0.log, so I am attaching it here.
This is Xorg.0.log from when I run without xorg.conf file.
Attached Files
File Type: txt Xorg.0.log-noxorgconf.txt (43.5 KB, 7 views)
 
Old 01-30-2012, 01:45 AM   #5
alextj
LQ Newbie
 
Registered: Jan 2012
Location: Finland
Distribution: Debian 6.0.3
Posts: 4

Original Poster
Rep: Reputation: Disabled
Seems like this is a dead horse. Apparently Vortex86DX is like 486DX and wasn't really designed to run heavy things like X.org.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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



Similar Threads
Thread Thread Starter Forum Replies Last Post
"Control Panel" GUI to use in icewm matiasar Linux - Software 2 06-01-2008 10:07 AM
How to Configure Icewm as auto login GUI in Fedora 5 robertk7 Linux - General 4 05-10-2007 06:51 AM
GUI - IceWM - Keys -> minimize window shevegen Linux - Software 5 08-31-2005 08:06 PM
Xorg starts with no errors, but still no GUI... OEP Fedora 1 12-29-2004 03:10 AM
icewm + mplayer with gui or xmms needs X11 error darkleaf Linux - Software 1 08-20-2004 06:57 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 03:49 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration