Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Desktop Environments
  • Search

xorg upgrade on hp2133 [solved]

Problems with GUI applications? Questions about X, KDE, Gnome, Fluxbox, etc.? Come on in. NOTE: For multimedia, go up one forum
Post Reply
Advanced search
20 posts • Page 1 of 1
Author
Message
Ivar
n00b
n00b
User avatar
Posts: 44
Joined: Wed May 21, 2003 9:32 am
Location: Mullsjö, Jönköping, Sweden
Contact:
Contact Ivar
Website

xorg upgrade on hp2133 [solved]

  • Quote

Post by Ivar » Wed Apr 15, 2009 8:04 am

Hi there!

I tried to upgrade my hp2133 to the new xorg, followed the upgrade guide to the best of my knowledge, but all I managed to accive was a dead computer :-(

When starting kde with:
/etc/init.d/xdm start
the machine tries to start the kde, But the graphics are scramblede and corrupt, the splashscreen is residing little to the side and down as if the size of the screen is to big to be viewed, and trying to restore the last session it hangs and have to be rebooted with the buttton.

The kdm.log ends with:
0:/usr/bin/X(xorg_backtrace+0x38) [0x812d838]
[mi] EQ overflowing. The server is probably stuck in an infinite loop

I've rebuilt xorg-server, and it's drivers, removed the xorg.conf (if it's present I don't even get a splashscreen).

At the moment I'm so desperate that I've doing a complete rebuild of everything to be make sure that I get everything, 600 packages left to compile.

Any idea what to do to get a working Gui again ?

And in case anyone wonder, I'm using links to read the forum and post this, and that aint easy!!
Last edited by Ivar on Fri Apr 17, 2009 12:23 pm, edited 1 time in total.
/Ivar
Top
eesrjhc
n00b
n00b
Posts: 17
Joined: Mon Apr 05, 2004 2:54 pm
Location: UK

  • Quote

Post by eesrjhc » Wed Apr 15, 2009 6:29 pm

I've just upgraded xorg on my 2133, and I must say it went very smoothly.

I don't use kde (but I do use some kde programs like kmail kmix, konqueror) and I manually type "startx" to get X up and running. I use fvwm window manager.

I first upgraded system

Code: Select all

emerge -uvDN system
which also installed a new gcc (4.3.2) which I then set as the system default:

Code: Select all

gcc-config i686-pc-linux-gnu-4.3.2
env-update
source /etc/profile
.
I then did

Code: Select all

emerge -uvDN world
which did 132 packages including xorg.

I then followed the instructions given in this link in the message that came with the last emerge --sync regarding rebuilding all the xorg driver-modules used (kbd, mouse, synaptics, openchrome in my case) to make sure they all picked up the right libraries; and about using evdev and setting parameters in /etc/hal/fdi/policy/10-xinput-configuration.fdi

All this in an xtern su-ed to root.

I then killed the X session, and restarted it with startx as a normal user. and hey presto it worked. I just need to sort out disabling the tapping on the touchpad as I find this "feature" extremely annoying.
Top
spindle
Apprentice
Apprentice
Posts: 245
Joined: Mon Dec 01, 2003 1:37 am

  • Quote

Post by spindle » Wed Apr 15, 2009 9:02 pm

After you follow the xorg-server-1.5 upgrade guide like eesrjhc talks about, something that might help you is to use a modified xorg.conf (which is what worked on my two workstations). Just comment out your InputDevice lines in your ServerLayout section and the corresponding InputDevice sections. This should hopefully at least get your screen working again. Then once that works you can work with the fdi files for hal to get you mouse and keyboard working with the xf86-input-evdev driver, if they are not working already. Warning: if you have some Option lines in your Input devices you might want to try to set this up before like eesrjhc did otherwise you may end up with a nice looking screen but you can't use the keyboard or mouse, so you can't kill it that way. You'd have to ssh into the box or something to restart your xdm.

Here's some fdi hits from one of my boxes. The commented sections are from my old xorg.conf which I now have commented out from my xorg.conf, the fdi files basically replaces that for hal / evdev and allows you set it's x11_options for the devices like you may have done before.

/etc/hal/fdi/policy/10-keyboard.fdi

Code: Select all

<?xml version="1.0" encoding="UTF-8"?>

<!--
NOTE: This should only be used if you are unable to get your keyboard to
work by any other means
-->

<!--
Section "InputDevice"
	Identifier  "Keyboard0"
	Driver      "kbd"
        Option      "CoreKeyboard"
	Option "XkbRules" "xorg"
	Option "XkbModel" "pc105"
	Option "XkbLayout" "us"

EndSection
-->
<deviceinfo version="0.2">
   <match key="info.capabilities" contains="input.keyboard">
      <merge key="input.x11_options.XkbRules" type="string">xorg</merge>
      <merge key="input.x11_options.XkbModel" type="string">pc105</merge>
      <merge key="input.x11_options.XkbLayout" type="string">us</merge>
   </match>
</deviceinfo>

/etc/hal/fdi/policy/50-mouse.fdi

Code: Select all

<?xml version="1.0" encoding="UTF-8"?>
<!--
NOTE: This should only be used if you are unable to get your mouse to work by
any other means
-->

<!--
#Section "InputDevice"
#        Identifier      "USB Mouse"
#        Driver          "mouse"
#        Option          "Device"                "/dev/input/mice"
#	Option		"SendCoreEvents"	"true"
#        Option          "Protocol"              "IMPS/2"
#        Option          "ZAxisMapping"          "4 5"
#        Option          "Buttons"               "5"
#EndSection
-->
<deviceinfo version="0.2">
   <match key="info.capabilities" contains="input.mouse">
      <merge key="input.x11_options.SendCoreEvents" type="string">true</merge>
      <merge key="input.x11_options.Protocol" type="string">IMPS/2</merge>
      <merge key="input.x11_options.ZAxisMapping" type="string">4 5</merge>
      <merge key="input.x11_options.Buttons" type="string">5</merge>
	     
   </match>
</deviceinfo>
Top
VoidMage
Watchman
Watchman
User avatar
Posts: 6196
Joined: Sat Oct 14, 2006 8:43 am

  • Quote

Post by VoidMage » Wed Apr 15, 2009 10:51 pm

spindle wrote:

Code: Select all

      <merge key="input.x11_options.SendCoreEvents" type="string">true</merge>
      <merge key="input.x11_options.Buttons" type="string">5</merge>
These line are most probably unneeded...
spindle wrote:

Code: Select all

      <merge key="input.x11_options.Protocol" type="string">IMPS/2</merge>
      <merge key="input.x11_options.ZAxisMapping" type="string">4 5</merge>

and these are plain invalid, there are no such options in evdev driver.
Top
d2_racing
Bodhisattva
Bodhisattva
User avatar
Posts: 13047
Joined: Mon Apr 25, 2005 2:25 pm
Location: Ste-Foy,Canada
Contact:
Contact d2_racing
Website

  • Quote

Post by d2_racing » Thu Apr 16, 2009 2:20 am

Hi, can you post your actual /etc/X11/xorg.conf plz ?
Top
Ivar
n00b
n00b
User avatar
Posts: 44
Joined: Wed May 21, 2003 9:32 am
Location: Mullsjö, Jönköping, Sweden
Contact:
Contact Ivar
Website

  • Quote

Post by Ivar » Thu Apr 16, 2009 8:53 am

I've put the related file on http://och.nu/ivar/trouble for easy access !

Here is the xorg.conf I've been trying with:

Code: Select all

Section "ServerLayout"
	Identifier     "X.org Configured"
	Screen      0  "Screen0" 0 0
EndSection

#Section "ServerFlags"
#	Option	"AutoAddDevices" "on"
#	Option	"AutoEnablDevices" "on"
#	Option	"AllowEmptyInput" "on"
#EndSection

Section "Files"
	#RgbPath      "/usr/share/X11/rgb"
	ModulePath   "/usr/lib/xorg/modules"
	FontPath     "/usr/share/fonts/misc/"
	FontPath     "/usr/share/fonts/TTF/"
	FontPath     "/usr/share/fonts/OTF"
	FontPath     "/usr/share/fonts/Type1/"
	FontPath     "/usr/share/fonts/100dpi/"
	FontPath     "/usr/share/fonts/75dpi/"
EndSection

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

Section "Modes"
	Identifier "modes"
	ModeLine "1280x768" 77.37 1280 1344 1480 1680 768 769 772 794
EndSection

Section "Monitor"
	Identifier   "Monitor0"
	VendorName   "Monitor Vendor"
	ModelName    "Monitor Model"
	UseModes	"modes"
EndSection

Section "Monitor" 
   # from the web somewhere
   Identifier "Monitor" 
   ModeLine "720x480" 26.7 720 736 808 896 480 481 484 497 
   ModeLine "720x576" 32.7 720 744 816 912 576 577 580 597 
   ModeLine "800x480" 29.58 800 816 896 992 480 481 484 497 
   ModeLine "848x480" 31.5 848 864 952 1056 480 481 484 497 
   ModeLine "856x480" 31.7 856 872 960 1064 480 481 484 497 
   ModeLine "960x600" 45.98 960 1000 1096 1232  600 601 604 622 -HSync +Vsync 
   ModeLine "1000x600" 48.07 1000 1040 1144 1288 600 601 604 622 -HSync +Vsync 
   ModeLine "1024x512" 41.3 1024 1056 1160 1296 512 513 516 531 
   ModeLine "1088x612" 52.95 1088 1128 1240 1392 612 613 616 634 -HSync +Vsync 
   ModeLine "1152x720" 67.32 1152 1208 1328 1504 720 721 724 746 -HSync +Vsync 
   ModeLine "1200x720" 70.18 1200 1256 1384 1568 720 721 724 746 -HSync +Vsync 
   ModeLine "1280x600" 61.50 1280 1336 1464 1648 600 601 604 622 -HSync +Vsync 
   ModeLine "1280x720" 74.6 1280 1341 1474 1688 720 721 724 746 
   ModeLine "1280x768" 80.1 1280 1344 1480 1680 768 769 772 795 
   ModeLine "1360x768" 85.50 1360 1392 1712 1744 768 783 791 807 +HSync +Vsync 
   ModeLine "1366x768" 85.86 1366 1440 1584 1800 768 769 772 795 -HSync +Vsync 
   ModeLine "1440x900" 106.47 1440 1520 1672 1904 900 901 904 932 -HSync +Vsync 
   ModeLine "1440x1050" 126.2 1440 1536 1688 1936 1050 1051 1054 1087 
   ModeLine "1600x900" 119.00 1600 1696 1864 2128 900 901 904 932 -HSync +Vsync 
   ModeLine "1600x1024" 136.36 1600 1704 1872 2144 1024 1025 1028 1060 -HSync +Vsync 
   ModeLine "1792x1344" 202.97 1792 1920 2112 2432 1344 1345 1348 1391 -HSync +Vsync 
   ModeLine "1856x1392" 218.57 1856 1992 2192 2528 1392 1393 1396 1441 -HSync +Vsync 
   ModeLine "1920x1080" 172.9 1920 2043 2249 2578 1080 1081 1084 1118 
   ModeLine "2048x1536" 266.95 2048 2200 2424 2800 1536 1537 1540 1589 -HSync +Vsync 
   ModeLine "720x480" 34.9 720 752 824 928 480 481 484 502 
   ModeLine "720x576" 42.6 720 760 832 944 576 577 580 602 
   ModeLine "848x480" 41.0 848 880 968 1088 480 481 484 502 
   ModeLine "856x480" 41.3 856 888 976 1096 480 481 484 502 
   ModeLine "1024x512" 53.3 1024 1072 1176 1328 512 513 516 535 
   ModeLine "1280x768" 103.0 1280 1360 1496 1712 768 769 772 802 
   ModeLine "1440x1050" 160.0 1440 1536 1696 1952 1050 1051 1054 1096 
   ModeLine "1280x768" 118.5 1280 1368 1504 1728 768 769 772 807 
   ModeLine "1440x1050" 184.5 1440 1544 1704 1968 1050 1051 1054 1103 
   ModeLine "848x480" 47.4 848 888 976 1104 480 481 484 505 
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     "PrintVGARegs"       	# [<bool>]
        #Option     "PrintTVRegs"        	# [<bool>]
        #Option     "I2CScan"            	# [<bool>]
        #Option     "VBEModes"           	# [<bool>]
        #Option     "NoAccel"            	# [<bool>]
        #Option     "AccelMethod"        	# <str>
        #Option     "ExaNoComposite"     	# [<bool>]
        #Option     "ExaScratchSize"     	# <i>
        #Option     "SWCursor"           	# [<bool>]
        #Option     "ShadowFB"           	# [<bool>]
        #Option     "Rotate"             	# [<str>]
        #Option     "VideoRAM"           	# <i>
        #Option     "ActiveDevice"       	# [<str>]
        #Option     "BusWidth"           	# [<str>]
        #Option     "Center"             	# [<bool>]
        #Option     "PanelSize"          	# [<str>]
        #Option     "ForcePanel"         	# [<bool>]
        #Option     "TVDotCrawl"         	# [<bool>]
        #Option     "TVDeflicker"        	# <i>
        #Option     "TVType"             	# [<str>]
        #Option     "TVOutput"           	# [<str>]
        #Option     "DisableVQ"          	# [<bool>]
        #Option     "DisableIRQ"         	# [<bool>]
        #Option     "EnableAGPDMA"       	# [<bool>]
        #Option     "NoAGPFor2D"         	# [<bool>]
        #Option     "NoXVDMA"            	# [<bool>]
        #Option     "VbeSaveRestore"     	# [<bool>]
        #Option     "DisableXvBWCheck"   	# [<bool>]
        #Option     "MaxDRIMem"          	# <i>
        #Option     "AGPMem"             	# <i>
	Identifier  "Card0"
	Driver      "openchrome"
#	Driver      "via"
	VendorName  "Unknown Vendor"
	BoardName   "Unknown Board"
	BusID       "PCI:1:0:0"
        Option      "ForcePanel"         	"true"
        Option      "SWCursor"           	"true"

	Option	"DisableIRQ"
	Option	"EnableAGPDMA"
	Option	"usevnc"		"no"
EndSection

Section "Screen"
	Identifier "Screen0"
	Device     "Card0"
	Monitor    "Monitor0"
	SubSection "Display"
		Modes	"1280x768"
		Depth     24
#		Depth     16
	EndSubSection
EndSection

Section "DRI"
	Mode 0666
EndSection
The /var/log/kdm.log

Code: Select all

********************************************************************************
Note that your system uses syslog. All of kdm's internally generated messages
(i.e., not from libraries and external programs/scripts it uses) go to the
daemon.* syslog facility; check your syslog configuration to find out to which
file(s) it is logged. PAM logs messages related to authentication to authpriv.*.
********************************************************************************


X.Org X Server 1.5.3
Release Date: 5 November 2008
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.27-gentoo-r8 i686 
Current Operating System: Linux hp 2.6.27-gentoo-r8 #3 PREEMPT Thu Apr 2 16:48:45 CEST 2009 i686
Build Date: 14 April 2009  03:08:42PM
 
	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Thu Apr 16 10:13:28 2009
(==) Using config file: "/etc/X11/xorg.conf"
(EE) Failed to load module "type1" (module does not exist, 0)
(EE) Failed to load module "freetype" (module does not exist, 0)
FATAL: Module via not found.
(EE) [drm] drmOpen failed.
(EE) CHROME(0): [dri] DRIScreenInit failed.  Disabling DRI.
Freed 15733760 (pool 1)
The /var/log/Xorg.0.log was to big, it's on http://och.nu/ivar/trouble
Last edited by Ivar on Thu Apr 16, 2009 9:16 am, edited 1 time in total.
/Ivar
Top
Ivar
n00b
n00b
User avatar
Posts: 44
Joined: Wed May 21, 2003 9:32 am
Location: Mullsjö, Jönköping, Sweden
Contact:
Contact Ivar
Website

  • Quote

Post by Ivar » Thu Apr 16, 2009 8:59 am

I have now a bad picture of the bad graphics when it fails !

it resides at http://och.nu/ivar/trouble/hp2133.jpg
/Ivar
Top
Ivar
n00b
n00b
User avatar
Posts: 44
Joined: Wed May 21, 2003 9:32 am
Location: Mullsjö, Jönköping, Sweden
Contact:
Contact Ivar
Website

  • Quote

Post by Ivar » Thu Apr 16, 2009 9:18 am

My goal with this is only to get a working gui, no need of input or stuff with the .fdi files, only a desktop that stays up with graphics that readable. The rest is solvable!!
/Ivar
Top
d2_racing
Bodhisattva
Bodhisattva
User avatar
Posts: 13047
Joined: Mon Apr 25, 2005 2:25 pm
Location: Ste-Foy,Canada
Contact:
Contact d2_racing
Website

  • Quote

Post by d2_racing » Thu Apr 16, 2009 11:44 am

Hi, can you post this :

Code: Select all

# emerge --info
# lspci
for your /etc/X11/xorg.conf should be like this :

Code: Select all

Section "ServerLayout" 
   Identifier     "X.org Configured" 
   Screen      0  "Screen0"
EndSection 

Section "Files" 
   ModulePath   "/usr/lib/xorg/modules" 
   FontPath     "/usr/share/fonts/misc/" 
   FontPath     "/usr/share/fonts/TTF/" 
   FontPath     "/usr/share/fonts/OTF" 
   FontPath     "/usr/share/fonts/Type1/" 
   FontPath     "/usr/share/fonts/100dpi/" 
   FontPath     "/usr/share/fonts/75dpi/" 
EndSection 

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

Section "Monitor" 
   Identifier   "Monitor0" 
   VendorName   "Monitor Vendor" 
   ModelName    "Monitor Model" 
EndSection 


Section "Device" 
   Identifier  "Card0" 
   Driver      "vesa" 
EndSection 

Section "Screen" 
   Identifier "Screen0" 
   Device     "Card0" 
   Monitor    "Monitor0" 
EndSection 
Try to use the vesa driver to start and after that you will be able to test your new driver :P
Top
VoidMage
Watchman
Watchman
User avatar
Posts: 6196
Joined: Sat Oct 14, 2006 8:43 am

  • Quote

Post by VoidMage » Thu Apr 16, 2009 12:41 pm

That log (combined with xorg.conf) is bit confusing: do you want dri or not ?
If you do:
- make sure your video driver is emerged with dri useflag
- make sure you've got correct DRM kernel module for your card built

Try commenting your ModelLine block, to see if we're no fighting against your own settings.
Oh, and read your driver's manpage, just to see if there were any changes from the last time you've read it.
Top
Ivar
n00b
n00b
User avatar
Posts: 44
Joined: Wed May 21, 2003 9:32 am
Location: Mullsjö, Jönköping, Sweden
Contact:
Contact Ivar
Website

  • Quote

Post by Ivar » Thu Apr 16, 2009 12:52 pm

I'll be damned!!

Using vesa made a gui pop up without chrashing, and here I thought openchrome was the thing to use..

On the downside is that with vesa I don't have any tty-session (or what they called with ctrl-shift-f1 and so on) since they are corrupted graphics on, and I dont have any external screen either, but it maybe solveble :D

emerge --info :

Code: Select all

Portage 2.1.6.7 (default/linux/x86/2008.0, gcc-4.1.2, glibc-2.8_p20080602-r1, 2.6.27-gentoo-r8 i686)
=================================================================
System uname: Linux-2.6.27-gentoo-r8-i686-VIA_C7-M_Processor_1000MHz-with-glibc2.0
Timestamp of tree: Tue, 14 Apr 2009 11:00:01 +0000
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7-r1, 2.1.7
dev-lang/python:     2.4.4-r6, 2.5.2-r7
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=i686 -mmmx -msse -msse2 -msse3 -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=i686 -mmmx -msse -msse2 -msse3 -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirror.uni-c.dk/pub/gentoo/ http://ftp.linux.ee/pub/gentoo/distfiles/ ftp://ftp.linux.ee/pub/gentoo/distfiles/ http://trumpetti.atm.tut.fi/gentoo/ ftp://trumpetti.atm.tut.fi/gentoo/ http://ftp.ing.umu.se/linux/gentoo/ ftp://ftp.ing.umu.se/linux/gentoo/ http://ftp.ds.karen.hj.se/gentoo/ ftp://ftp.ds.karen.hj.se/gentoo/ "
LDFLAGS="-Wl,-O1"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acl alsa apache2 berkdb bluetooth bzip2 cgi cli cracklib crypt ctype cups dri fortran gdbm gif gphoto2 gpm hal http iconv ieee1394 ipv6 isdnlog jpeg kde midi mudflap multisync mysql ncurses nls nptl nptlonly obex opengl openmp pam pcmcia pcre perl pic pppd python qt3 qt4 readline reflection samba session spl ssl sysfs tcpd unicode v4l wifi win32codecs x86 xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="openchrome via"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
lspci :

Code: Select all

00:00.0 Host bridge: VIA Technologies, Inc. P4M900 Host Bridge
00:00.1 Host bridge: VIA Technologies, Inc. P4M900 Host Bridge
00:00.2 Host bridge: VIA Technologies, Inc. P4M900 Host Bridge
00:00.3 Host bridge: VIA Technologies, Inc. P4M900 Host Bridge
00:00.4 Host bridge: VIA Technologies, Inc. P4M900 Host Bridge
00:00.5 PIC: VIA Technologies, Inc. P4M900 I/O APIC Interrupt Controller
00:00.6 Host bridge: VIA Technologies, Inc. P4M900 Security Device
00:00.7 Host bridge: VIA Technologies, Inc. P4M900 Host Bridge
00:01.0 PCI bridge: VIA Technologies, Inc. VT8237/VX700 PCI Bridge
00:02.0 PCI bridge: VIA Technologies, Inc. P4M900 PCI to PCI Bridge Controller (rev 80)
00:03.0 PCI bridge: VIA Technologies, Inc. P4M900 PCI to PCI Bridge Controller (rev 80)
00:0f.0 IDE interface: VIA Technologies, Inc. Device 5372
00:10.0 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev b0)
00:10.2 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev b0)
00:10.3 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev b0)
00:10.4 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 90)
00:11.0 ISA bridge: VIA Technologies, Inc. VT8237S PCI to ISA Bridge
00:11.7 Host bridge: VIA Technologies, Inc. VT8251 Ultra VLINK Controller
00:13.0 Host bridge: VIA Technologies, Inc. VT8237A Host Bridge
00:13.1 PCI bridge: VIA Technologies, Inc. VT8237A PCI to PCI Bridge
01:00.0 VGA compatible controller: VIA Technologies, Inc. P4M900 [Chrome 9 HC] (rev 01)
02:00.0 Network controller: Broadcom Corporation BCM4312 802.11b/g (rev 01)
07:03.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5788 Gigabit Ethernet (rev 03)
80:01.0 Audio device: VIA Technologies, Inc. VT1708/A [Azalia HDAC] (VIA High Definition Audio Controller) (rev 10)
/Ivar
Top
spindle
Apprentice
Apprentice
Posts: 245
Joined: Mon Dec 01, 2003 1:37 am

  • Quote

Post by spindle » Thu Apr 16, 2009 1:21 pm

VoidMage wrote:
spindle wrote:

Code: Select all

      <merge key="input.x11_options.SendCoreEvents" type="string">true</merge>
      <merge key="input.x11_options.Buttons" type="string">5</merge>
These line are most probably unneeded...
spindle wrote:

Code: Select all

      <merge key="input.x11_options.Protocol" type="string">IMPS/2</merge>
      <merge key="input.x11_options.ZAxisMapping" type="string">4 5</merge>

and these are plain invalid, there are no such options in evdev driver.
Thanks VoidMage, you were right. I just did this because that's basically what I did on my other box to get it working. I was able to remove this file entirely. I'll have to check out the keyboard one too for similar stuff. Thanks!
Top
Ivar
n00b
n00b
User avatar
Posts: 44
Joined: Wed May 21, 2003 9:32 am
Location: Mullsjö, Jönköping, Sweden
Contact:
Contact Ivar
Website

  • Quote

Post by Ivar » Thu Apr 16, 2009 1:57 pm

VoidMage wrote:That log (combined with xorg.conf) is bit confusing: do you want dri or not ?
Good guestion!

The answer is that I don't know really, what does it do and do I need it?
VoidMage wrote:If you do:
- make sure your video driver is emerged with dri useflag
- make sure you've got correct DRM kernel module for your card built

Try commenting your ModelLine block, to see if we're no fighting against your own settings.
Oh, and read your driver's manpage, just to see if there were any changes from the last time you've read it.
I'll look inte it, maybe it is the one that corrupt the graphics...
/Ivar
Top
Ivar
n00b
n00b
User avatar
Posts: 44
Joined: Wed May 21, 2003 9:32 am
Location: Mullsjö, Jönköping, Sweden
Contact:
Contact Ivar
Website

  • Quote

Post by Ivar » Thu Apr 16, 2009 2:13 pm

After trying to find out what vesa does that openchrome doesn't I stumbled over this http://en.gentoo-wiki.com/wiki/HP_2133# ... rver-1.5.3

I'll try it out to see if I manage to get it to work, hopefully I'll learned something new in the process!! :lol:
/Ivar
Top
Ivar
n00b
n00b
User avatar
Posts: 44
Joined: Wed May 21, 2003 9:32 am
Location: Mullsjö, Jönköping, Sweden
Contact:
Contact Ivar
Website

  • Quote

Post by Ivar » Fri Apr 17, 2009 12:05 pm

I managed to get the openchrome working by doing this as root !

Remove the old version that didn't do the magic:

Code: Select all

emerge -C xf86-video-openchrome
And install the lastest unstable from svn:

Code: Select all

svn co http://svn.openchrome.org/svn/trunk openchrome
cd openchrome
./autogen.sh
./configure --prefix=/usr
make
make install
/etc/init.d/xdm start
I don't know enough about Gentoo to make an ebuild yet, but atleast I have the hp2133 back as good/bad as it was before :wink:

Thanks for all the help, it's people like you who makes the Gentoo worth struggling with!!
/Ivar
Top
VoidMage
Watchman
Watchman
User avatar
Posts: 6196
Joined: Sat Oct 14, 2006 8:43 am

  • Quote

Post by VoidMage » Fri Apr 17, 2009 3:04 pm

Doing 'make install' instead of using portage
will eventually bite you in the a**.
Top
Ivar
n00b
n00b
User avatar
Posts: 44
Joined: Wed May 21, 2003 9:32 am
Location: Mullsjö, Jönköping, Sweden
Contact:
Contact Ivar
Website

  • Quote

Post by Ivar » Fri Apr 17, 2009 3:37 pm

VoidMage wrote:Doing 'make install' instead of using portage
will eventually bite you in the a**.
Yupp, every time I do an update !!

But it'll works for the moment, and somtimes you have live in that little space.. ;-)
/Ivar
Top
spindle
Apprentice
Apprentice
Posts: 245
Joined: Mon Dec 01, 2003 1:37 am

  • Quote

Post by spindle » Fri Apr 17, 2009 4:18 pm

VoidMage wrote:Doing 'make install' instead of using portage
will eventually bite you in the a**.
To that end I went ahead and put together a quick ebuild for this for you. I'm no portage expert but I've done a few of these. This is based on the regular openchrome ebuild but uses svn to fetch the current source. It looks like emerges fine on my box but I can't test if it works because I don't have the hardware. Here's the ebuild.

To install the ebuild put it in an overlay. If you haven't done an overlay before it's done like this, first make sure that /usr/local/portage is in your PORTDIR_OVERLAY in /etc/make.conf or you can use a different overlay location if you have one. Then do something like this,

Code: Select all

# mkdir -p /usr/local/portage/x11-drivers/xf86-video-openchrome-svn/
# cd /usr/local/portage/x11-drivers/xf86-video-openchrome-svn/
# wget http://timeline.homelinux.org/~mike/dump/gentoo/usr/local/portage/x11-drivers/xf86-video-openchrome-svn/xf86-video-openchrome-svn-20090417.ebuild
# ebuild xf86-video-openchrome-svn-20090417.ebuild digest
You'll have to unmask it in your package.keywords and umerge the regular openchrome driver if you have it still, then emerge xf86-video-openchrome-svn.

Eventually you'll probably want to go back to the regular ebuild once they get up to the current version.
Top
Ivar
n00b
n00b
User avatar
Posts: 44
Joined: Wed May 21, 2003 9:32 am
Location: Mullsjö, Jönköping, Sweden
Contact:
Contact Ivar
Website

  • Quote

Post by Ivar » Thu Apr 23, 2009 9:19 am

spindle wrote:
VoidMage wrote:Doing 'make install' instead of using portage
will eventually bite you in the a**.
To that end I went ahead and put together a quick ebuild for this for you. I'm no portage expert but I've done a few of these. This is based on the regular openchrome ebuild but uses svn to fetch the current source. It looks like emerges fine on my box but I can't test if it works because I don't have the hardware. Here's the ebuild.
Thanks!
To install the ebuild put it in an overlay. If you haven't done an overlay before it's done like this, first make sure that /usr/local/portage is in your PORTDIR_OVERLAY in /etc/make.conf or you can use a different overlay location if you have one. Then do something like this,

Code: Select all

# mkdir -p /usr/local/portage/x11-drivers/xf86-video-openchrome-svn/
# cd /usr/local/portage/x11-drivers/xf86-video-openchrome-svn/
# wget http://timeline.homelinux.org/~mike/dump/gentoo/usr/local/portage/x11-drivers/xf86-video-openchrome-svn/xf86-video-openchrome-svn-20090417.ebuild
# ebuild xf86-video-openchrome-svn-20090417.ebuild digest
You'll have to unmask it in your package.keywords and umerge the regular openchrome driver if you have it still, then emerge xf86-video-openchrome-svn.
But an upgrade still tries to pull in the xf86-video-openchrome from portage depending on xorg-server, so it's not a big difference, but it's looks better :-)
/Ivar
Top
Matrix7
n00b
n00b
Posts: 54
Joined: Sat Feb 21, 2004 3:45 pm
Location: Sussex

  • Quote

Post by Matrix7 » Wed Jul 22, 2009 9:10 pm

Another tip for the HP2133 when setting up X:

Make sure that hald and dbus are started before attempting to configure X. Otherwise X will simply freeze as it cannot detect input devices.

Wish I'd thought of it before wasting 24 hours of fruitless labour.
Top
Post Reply

20 posts • Page 1 of 1

Return to “Desktop Environments”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic