TS3.3ce - New X-Wizard

A home for all kinds of Puppy related projects
Message
Author
Everitt
Posts: 331
Joined: Tue 19 Dec 2006, 21:59
Location: Leeds,UK or Birmingham, UK

#31 Post by Everitt »

The new version works fine with my hardware, outputing

Code: Select all

hardware profile:  NVIDIAGSM3b41
keymap:            gb
screen resolution: 800x600
refresh rate:      85
monitor model:     ambiguous
graphics adapter:  nv43 Board - 21602013 Chip Rev
X-driver:          nvidia
This is technically correct, but I can't help but feel that 800x600@80Hz is a bit low when 1024x768@75 is avaliable.

Code: Select all

ctiming: 640x480@60
ctiming: 640x480@75
ctiming: 640x480@85
ctiming: 720x450@70
ctiming: 800x600@75
ctiming: 800x600@85
ctiming: 1024x768@75
dtiming: 1024x768@74
Just a personal preference really, but maybe something to think about?

Leachim
Posts: 229
Joined: Sun 27 May 2007, 23:04

#32 Post by Leachim »

Everitt wrote:This is technically correct, but I can't help but feel that 800x600@80Hz is a bit low when 1024x768@75 is avaliable.

Just a personal preference really, but maybe something to think about?
As you say this has to do with personal taste. I also do know people who would prefer refresh rates of 100 Hz! So I had to find some compromise.

But I could add a configuration file (/etc/xwizard.conf or ~/.xwizard.conf) with personal settings where one could set one's preferred refresh rate.

User avatar
HairyWill
Posts: 2928
Joined: Fri 26 May 2006, 23:29
Location: Southampton, UK

#33 Post by HairyWill »

are you interested in results from intel cards i810
Will
contribute: [url=http://www.puppylinux.org]community website[/url], [url=http://tinyurl.com/6c3nm6]screenshots[/url], [url=http://tinyurl.com/6j2gbz]puplets[/url], [url=http://tinyurl.com/57gykn]wiki[/url], [url=http://tinyurl.com/5dgr83]rss[/url]

Leachim
Posts: 229
Joined: Sun 27 May 2007, 23:04

#34 Post by Leachim »

HairyWill wrote:are you interested in results from intel cards i810
yes!!!

I do not have access to any PCs with Intel graphics hardware! I would be interested in the output of ddcprobe and lspci.

Thanks in advance!

User avatar
HairyWill
Posts: 2928
Joined: Fri 26 May 2006, 23:29
Location: Southampton, UK

#35 Post by HairyWill »

After liberally sprinkling pci.ids and pci.ids.gz in random combinations around my system I still can't get names out of lspc so I've given you elspci -l as well so you can see the associated modules

This is on a thinkpad x30 with a puny 830m graphics card
xorg currently uses the i810 driver

Code: Select all

# lspci -n  
00:00.0 Class 0600: 8086:3575 (rev 04)
00:02.0 Class 0300: 8086:3577 (rev 04)
00:02.1 Class 0380: 8086:3577
00:1d.0 Class 0c03: 8086:2482 (rev 02)
00:1d.1 Class 0c03: 8086:2484 (rev 02)
00:1d.2 Class 0c03: 8086:2487 (rev 02)
00:1e.0 Class 0604: 8086:2448 (rev 42)
00:1f.0 Class 0601: 8086:248c (rev 02)
00:1f.1 Class 0101: 8086:248a (rev 02)
00:1f.3 Class 0c05: 8086:2483 (rev 02)
00:1f.5 Class 0401: 8086:2485 (rev 02)
00:1f.6 Class 0703: 8086:2486 (rev 02)
01:00.0 Class 0607: 1180:0476 (rev a8)
01:00.1 Class 0607: 1180:0476 (rev a8)
01:00.2 Class 0c00: 1180:0552
01:02.0 Class 0280: 8086:4220 (rev 05)
01:08.0 Class 0200: 8086:1031 (rev 42)
# ddcprobe
vbe: VESA 3.0 detected.
oem: Almador Graphics Chip Accelerated VGA BIOS
vendor: Intel Corporation
product: Almador Graphics Controller Hardware Version 0.0
memory: 8000kb
mode: 1280x1024x256
mode: 640x480x16m
mode: 800x600x64k
mode: 800x600x16m
mode: 1024x768x32k
mode: 1024x768x64k
mode: 1024x768x16m
mode: 1280x1024x64k
mode: 1280x1024x16m
mode: 640x480x256
mode: 800x600x256
mode: 1024x768x256
mode: 640x480x64k
edid: 
edidfail
# elspci -l 
01:08.0 020000 8086:1031 <eepro100>
01:02.0 028000 8086:4220 <ipw2200>
01:00.2 0C0010 1180:0552 <>
01:00.1 060700 1180:0476 <yenta_cardbus>
01:00.0 060700 1180:0476 <yenta_cardbus>
00:1f.6 070300 8086:2486 <slamr>
00:1f.5 040100 8086:2485 <Intel ICH>
00:1f.3 0C0500 8086:2483 <>
00:1f.1 01018A 8086:248A <PIIX_IDE>
00:1f.0 060100 8086:248C <>
00:1e.0 060400 8086:2448 <>
00:1d.2 0C0300 8086:2487 <uhci_hcd>
00:1d.1 0C0300 8086:2484 <uhci_hcd>
00:1d.0 0C0300 8086:2482 <uhci_hcd>
00:02.1 038000 8086:3577 <>
00:02.0 030000 8086:3577 <>
00:00.0 060000 8086:3575 <agpgart-intel>
# 
Will
contribute: [url=http://www.puppylinux.org]community website[/url], [url=http://tinyurl.com/6c3nm6]screenshots[/url], [url=http://tinyurl.com/6j2gbz]puplets[/url], [url=http://tinyurl.com/57gykn]wiki[/url], [url=http://tinyurl.com/5dgr83]rss[/url]

Leachim
Posts: 229
Joined: Sun 27 May 2007, 23:04

lspci

#36 Post by Leachim »

I added a download link for my version of lspci to the first post of this thread. I hope this version, in combination with the pci-ids-file, can display verbose output on any Puppy system!

To decide which Intel-driver to use I need more informations than ddcprobe is supplying.

User avatar
HairyWill
Posts: 2928
Joined: Fri 26 May 2006, 23:29
Location: Southampton, UK

#37 Post by HairyWill »

that works

Code: Select all

# ./lspci           
00:00.0 Class Host bridge: Intel Corporation 82830 830 Chipset Host Bridge (rev 04)
00:02.0 Class VGA compatible controller: Intel Corporation 82830 CGC [Chipset Graphics Controller] (rev 04)
00:02.1 Class Display controller: Intel Corporation 82830 CGC [Chipset Graphics Controller]
00:1d.0 Class USB Controller: Intel Corporation 82801CA/CAM USB Controller #1 (rev 02)
00:1d.1 Class USB Controller: Intel Corporation 82801CA/CAM USB Controller #2 (rev 02)
00:1d.2 Class USB Controller: Intel Corporation 82801CA/CAM USB Controller #3 (rev 02)
00:1e.0 Class PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev 42)
00:1f.0 Class ISA bridge: Intel Corporation 82801CAM ISA Bridge (LPC) (rev 02)
00:1f.1 Class IDE interface: Intel Corporation 82801CAM IDE U100 Controller (rev 02)
00:1f.3 Class SMBus: Intel Corporation 82801CA/CAM SMBus Controller (rev 02)
00:1f.5 Class Multimedia audio controller: Intel Corporation 82801CA/CAM AC'97 Audio Controller (rev 02)
00:1f.6 Class Modem: Intel Corporation 82801CA/CAM AC'97 Modem Controller (rev 02)
01:00.0 Class CardBus bridge: Ricoh Co Ltd RL5c476 II (rev a8)
01:00.1 Class CardBus bridge: Ricoh Co Ltd RL5c476 II (rev a8)
01:00.2 Class FireWire (IEEE 1394): Ricoh Co Ltd R5C552 IEEE 1394 Controller
01:02.0 Class Network controller: Intel Corporation PRO/Wireless 2200BG Network Connection (rev 05)
01:08.0 Class Ethernet controller: Intel Corporation 82801CAM (ICH3) PRO/100 VE (LOM) Ethernet Controller (rev 42)
Will
contribute: [url=http://www.puppylinux.org]community website[/url], [url=http://tinyurl.com/6c3nm6]screenshots[/url], [url=http://tinyurl.com/6j2gbz]puplets[/url], [url=http://tinyurl.com/57gykn]wiki[/url], [url=http://tinyurl.com/5dgr83]rss[/url]

muggins
Posts: 6724
Joined: Fri 20 Jan 2006, 10:44
Location: hobart

#38 Post by muggins »

Also output from an intel 810:

Code: Select all

# ddcprobe
vbe: VESA 3.0 detected.
oem: Intel(R) 8xx Chipset Video BIOS
vendor: Intel Corporation
product: Intel(R) 8xx Chipset Hardware Version 0.0
memory: 1024kb
mode: 132x25 (text)
mode: 132x43 (text)
mode: 132x50 (text)
mode: 132x60 (text)
mode: 320x200x64k
mode: 640x400x256
mode: 640x480x256
mode: 640x480x32k
mode: 640x480x64k
mode: 640x480x16m
mode: 800x600x16
mode: 800x600x256
mode: 800x600x32k
mode: 800x600x64k
mode: 800x600x16m
mode: 1024x768x256
edid: 
edid: 1 3
id: 0503
eisa: HWP0503
serial: 000027e6
manufacture: 41 2001
input: sync on green, analog signal.
screensize: 32 24
gamma: 2.830000
dpms: RGB, active off, suspend, standby
timing: 640x480@60 Hz (VGA)
timing: 640x480@75 Hz (VESA)
timing: 800x600@60 Hz (VESA)
timing: 800x600@75 Hz (VESA)
timing: 1024x768@87 Hz Interlaced (8514A)
timing: 1024x768@75 Hz (VESA)
ctiming: 640x480@85
ctiming: 800x600@85
ctiming: 1024x768@85
ctiming: 1280x1024@60
dtiming: 1024x768@104
monitorserial: THLDO10214
monitorname: MX70
monitorrange: 30-70, 50-120
and:

Code: Select all

# lspci   
00:00.0 Host bridge: Intel Corporation 82810 GMCH [Graphics Memory Controller Hub] (rev 03)
00:01.0 VGA compatible controller: Intel Corporation 82810 CGC [Chipset Graphics Controller] (rev 03)
00:1e.0 PCI bridge: Intel Corporation 82801AA PCI Bridge (rev 02)
00:1f.0 ISA bridge: Intel Corporation 82801AA ISA Bridge (LPC) (rev 02)
00:1f.1 IDE interface: Intel Corporation 82801AA IDE Controller (rev 02)
00:1f.2 USB Controller: Intel Corporation 82801AA USB Controller (rev 02)
00:1f.3 SMBus: Intel Corporation 82801AA SMBus Controller (rev 02)
00:1f.5 Multimedia audio controller: Intel Corporation 82801AA AC'97 Audio Controller (rev 02)

Leachim
Posts: 229
Joined: Sun 27 May 2007, 23:04

X-Wizard Update

#39 Post by Leachim »

Thanks to Muggins and Hairy Will for supplying information about their Intel based graphics adapters!

The wizard now supports intel chipsets. It uses the appropriate Intel driver (i740 or i810) if possible.

I updated the download in the first post of this thread.

To all others: Please give the wizard a try! If it fails (uses wrong refresh rates or screen resolutions) report the output of lspci and ddcprobe on your system and I will try to fix the wizard! :-)

Everitt
Posts: 331
Joined: Tue 19 Dec 2006, 21:59
Location: Leeds,UK or Birmingham, UK

#40 Post by Everitt »

Leachim wrote:I could add a configuration file (/etc/xwizard.conf or ~/.xwizard.conf) with personal settings where one could set one's preferred refresh rate.
Hmm, yes. Having just used the script properly (rather than using --simulate) I can honestly say that I couldn't live with 800x600 any more. 1024x768 is clunky to my mind, but is the highest my monitor can take.
Perhaps a command line option? (--min_refresh=75 )?
The detection is working flawlessly though. :D Good work!

Leachim
Posts: 229
Joined: Sun 27 May 2007, 23:04

#41 Post by Leachim »

I can add a command line option, too. But the main application of xwizard is the replacement of the current xorgwizard, which is started by a script (xwin) that will not allow for supplying options.

A separate configuration file will work anyways. The idea behind X-Wizard is a USB-pen based installation which will be run on many different PCs and which will select a proper X-configuration on each one - even if never run on this PC before. (That's the way my students and me are using the wizard.)

Leachim
Posts: 229
Joined: Sun 27 May 2007, 23:04

X-Wizard Update

#42 Post by Leachim »

I updated the X-Wizard as usual (in the first post of this thread).

The new version supports a configuration file, which can either be

* ~/.xwizard.conf

or

* /etc/xwizard.conf

The one in your home directory takes precedence if both exist.

Currently only one variable can be set:

Code: Select all

# X-Wizard configuration

!minimum_refresh_rate 85 # used for CRT-displays only!
Be careful: this file is executed as a Simplicity script, so any syntax-error in this file will hold the complete wizard. (I will supply a more robust integration later on.)

Attention: Don't forget the exclamation mark on the start of the line! Misspelling of minimum_refresh_rate will just set an unused variable.

Set the refresh rate to any rate you like. Reasonable values lie in the range 60 to 120 (Hz).

User avatar
ecomoney
Posts: 2178
Joined: Fri 25 Nov 2005, 07:00
Location: Lincolnshire, England
Contact:

intel 810

#43 Post by ecomoney »

Good news about the intel 810's, they have always been a problem with puppy as xvesa cant get more than 800x600x16 with them
Puppy Linux's [url=http://www.murga-linux.com/puppy/viewtopic.php?p=296352#296352]Mission[/url]

Sorry, my server is down atm!

User avatar
cb88
Posts: 1165
Joined: Mon 29 Jan 2007, 03:12
Location: USA
Contact:

#44 Post by cb88 »

hey leachim I hope you are reading the wNOP thread cause there is a good deal of info about various cards being uploaded there... the dumpfiles may quite usefull... http://www.murga-linux.com/puppy/viewtopic.php?t=23569
Taking Puppy Linux to the limit of perfection. meanwhile try "puppy pfix=duct_tape" kernel parem eater.
X86: Sager NP6110 3630QM 16GB ram, Tyan Thunder 2 2x 300Mhz
Sun: SS2 , LX , SS5 , SS10 , SS20 ,Ultra 1, Ultra 10 , T2000
Mac: Platinum Plus, SE/30

Leachim
Posts: 229
Joined: Sun 27 May 2007, 23:04

#45 Post by Leachim »

Another Update!

The new version adds HorizSync and VertRefresh information to the generated xorg.conf-file. Most drivers are able to collect this information by themselves - but not all ...

I had some problems with an invisible mouse cursor when using the "nv"-driver. Has somebody else similar problems or does somebody know how to fix this?

User avatar
HairyWill
Posts: 2928
Joined: Fri 26 May 2006, 23:29
Location: Southampton, UK

#46 Post by HairyWill »

doesn't work for me with the thinkpad x30 830m that I posted lspci for earlier
xwizard generates

Code: Select all

# This file was generated by xwizard (C) 2007 Dipl.-Ing. Michael Niederle
#PuppyHardwareProfile=Almador_Graphics_Chip_Accelerated_VGA_BIOS

Section "ServerLayout"
  Identifier     "simple configuration"
  Screen 0       "screen0" 0 0
  InputDevice    "mouse0"    "CorePointer"
  InputDevice    "keyboard0" "CoreKeyboard"
EndSection

Section "Files"
  RgbPath        "/usr/X11R7/lib/X11/rgb"
  FontPath       "/usr/X11R7/lib/X11/fonts/misc/"
  FontPath       "/usr/X11R7/lib/X11/fonts/Type1/"
  FontPath       "/usr/X11R7/lib/X11/fonts/TTF/"
EndSection

Section "Module"
   Load          "dbe" # double buffer extension
   SubSection    "extmod"
     Option      "omit xfree86-dga" # don't initialise the DGA extension
   EndSubSection
   Load          "type1"
   Load          "freetype"
EndSection

Section "InputDevice"
  Identifier     "keyboard0"
  Driver         "kbd"
  Option         "XkbRules" "xorg"
  Option         "XkbModel" "pc102"
  Option         "XkbLayout" "gb"
EndSection

Section "InputDevice"
  Identifier     "mouse0"
  Driver         "mouse"
  Option         "Protocol" "auto"
  Option         "Device" "/dev/input/mice"
EndSection

Section "Monitor"
  Identifier     "monitor0"
  ModelName      "unknown"
  Option         "DPMS"
EndSection

Section "Device"
  Identifier     "device0"
  #model         "Almador Graphics Controller Hardware Version 0.0"
  Driver         "vesa"
EndSection

Section "Screen"
  Identifier     "screen0"
  Device         "device0"
  Monitor        "monitor0"
  DefaultDepth   24
  SubSection "Display"
    Viewport     0 0
    Depth        24
    Modes        "800x600"
  EndSubSection
EndSection
this upsets X so much that it replaces it with this before starting

Code: Select all

...
...

#everything past here is auto-generated by Puppy's Xorg Wizard...


Section "ServerLayout"
	Identifier     "X.org Configured"
	Screen      0  "Screen0" 0 0
	InputDevice    "Mouse0" "CorePointer"
	InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "InputDevice"
	Identifier  "Keyboard0"
	Driver      "kbd"
	Option      "XkbRules" "xorg"
	Option      "XkbModel" "pc102"
	Option      "XkbLayout" "gb" #xkeymap0
EndSection

Section "InputDevice"
	Identifier  "Mouse0"
	Driver      "mouse"
	Option	    "Protocol" "auto" #mouse0protocol
	Option	    "Device" "/dev/mouse"
	#Option      "Emulate3Buttons"
	#Option      "Emulate3Timeout" "50"
	Option      "ZAxisMapping" "4 5" #scrollwheel
EndSection

Section "Monitor"
	Identifier   "Monitor0"
	VendorName   "Monitor Vendor"
	ModelName    "Monitor Model"
	HorizSync    31.5-48.5
	VertRefresh  40-70
	#UseModes     "Modes0" #monitor0usemodes
	EndSection
	
Section "Modes"
	Identifier "Modes0"
	#modes0modeline0
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      "i810" #card0driver
	VendorName  "Intel Corporation"
	BoardName   "82830 CGC [Chipset Graphics Controller]"
	BusID       "PCI:0:2:0"
EndSection

Section "Screen"
	Identifier "Screen0"
	Device     "Card0"
	Monitor    "Monitor0"
    DefaultDepth 16
    Subsection "Display"
        Depth       16
        Modes       "1024x768"
    EndSubsection
EndSection

#PuppyHardwareProfile=Almador_Graphics_Chip
Will
contribute: [url=http://www.puppylinux.org]community website[/url], [url=http://tinyurl.com/6c3nm6]screenshots[/url], [url=http://tinyurl.com/6j2gbz]puplets[/url], [url=http://tinyurl.com/57gykn]wiki[/url], [url=http://tinyurl.com/5dgr83]rss[/url]

Leachim
Posts: 229
Joined: Sun 27 May 2007, 23:04

#47 Post by Leachim »

HairyWill wrote:#PuppyHardwareProfile=Almador_Graphics_Chip_Accelerated_VGA_BIOS
#PuppyHardwareProfile=Almador_Graphics_Chip
The problem is the different profile-id that is generated by the two wizards.

This is a compatibility issue between the original xorgwizard and my new X-Wizard. I wil try to fix it!

Leachim
Posts: 229
Joined: Sun 27 May 2007, 23:04

#48 Post by Leachim »

Update updated ...

The naming of the "PuppyHardwareProfile" should now be absolutely identical to that of the original xorgwizard, so xwin will not replace xorg.conf with a new one when X starts.

User avatar
HairyWill
Posts: 2928
Joined: Fri 26 May 2006, 23:29
Location: Southampton, UK

#49 Post by HairyWill »

yup that uses your profile though the xorg.conf doesn't work.
Scary colours blooming over the screen I hit CTRL-ALT-BACKSPACE fairly quickly. Is it possible to cook an LCD, I would cry :wink:

it is still using the vesa driver at 24bpp 800x600
Normally vesa works from cold boot 16bpp 1024x768 though restarting X corrupts half the screen

it should be i810, and the screen works well at 1024x768

I know there is an i830 driver but I think it is deprecated
Will
contribute: [url=http://www.puppylinux.org]community website[/url], [url=http://tinyurl.com/6c3nm6]screenshots[/url], [url=http://tinyurl.com/6j2gbz]puplets[/url], [url=http://tinyurl.com/57gykn]wiki[/url], [url=http://tinyurl.com/5dgr83]rss[/url]

Leachim
Posts: 229
Joined: Sun 27 May 2007, 23:04

#50 Post by Leachim »

I'm not sure I understood you fully.

Which driver does the newly created xorg.conf use? My testing with your output of lspci and ddcprobe posted earlier in this thread suggests that it should use i810.

I'm sorry, but I cannot test on Intel-hardware myself. So thanks in advance for your help! Maybe you can post the xorg.conf created by the current version of X-Wizard.

Post Reply