Xorg 7.4 upgrade - report

SPlissken said:
Hello , well, stupid question , but how do i upgrade xorg ?
When i try portupgrade xorg or make install in /usr/ports/x11/xorg it says
===> Generating temporary packing list
===> Checking if x11/xorg already installed
===> xorg-7.4 is already installed

and nothing is compiled

It is already the latest version in your ports....

try

Code:
pkg_version -v | grep xorg
it will show you if your currently installed version is < > or = against the version you have in your ports directory.

In your case, i think it is already the latest version
 
Well thanks, but i m sure that xorg-server is not uptodate
This meta package xorg is uptodate but i think that i have to do some kind of portupgrade xorg-server
 
Mouse works but no keyboard xorg 7.4

Well, Ive tried everything except installing xorg-server without hal. I never had any issues in 7.3 and dont understand why now there are such huge issues. I can start xfce and the mouse works fine but the keys on the keyboard do not work at all. Then out of no where it will start filling text boxes with keys as if the keyboard is stuck. Everything works fine in console. How disturbing this xorg upgrade has been such a hassle. :(
 
Yes. I have two lines added in to my rc.conf. They were there prior to the upgrade as well. I had no problems before. I just downgraded xorg yet I still have the keyboard problem. I dont know that I managed to downgrade everything and Im not sure where to start to track the issue down.

<edited>

Ok, I had reverted most of xorg back to the prior version before knowing fully what the issue was. I still dont know for sure and wish that I knew better how debug problems like this "would appreciate any input at this point", but I ended up downgrading hal back to my prior version and the problem was solved. I now have mouse "and" keyboard in xfce4.6. Im not sure what the problem could be and would love to help find a solution for future versions if someone could tell me what to do to make that possible. All I know is that the problem was solved with the downgrade of hal.
 
Input lag with HAL on....

Hello all,

I'm a bit stumped here...I have a relatively new (< 2 months old) install of 7.1-RELEASE that I am experiencing some input lag in X with. If I have the hald on and I stop typing for a few moments, then begin typing again, it will take several seconds (sometimes up to 10) for the text to appear on screen. During this time, it also ignores mouses clicks (though I can still move the mouse, and music will still play, etc.).

I've experienced this in both KDE4.2 and XFCE 4.6. I'm running a Core 2 Quad 6600 (but x86), with ample ram, etc.

Any thoughts what could be causing this? It... goes away... if I turn off the hald, so it is not entirely debilitating or anything.

Thanks very much for any help!

-m

EDIT: eep, this probably would have been more appropriate in the xorg 7.4 thread...sorry for mucking the forum :(
 
USB mouse&keyboard Xorg

Hy, I install Xorg and my usb mouse/keybord not working.
In the console system works mouse.

any ideea?:(
 
If you are running xorg-7.4, you need to start dbus and hald.
Try # cd /usr/local/etc/rc.d && dbus forcestart && hald forcestart before starting X.
If it works, put
Code:
dbus_enabled="YES"
hald_enabled="YES"
in /etc/rc.conf
 
Sorry, I have :
Code:
sosa# uname -a
FreeBSD sosa 8.0-CURRENT-200902 FreeBSD 8.0-CURRENT-200902 #1: Wed Apr  1 10:32:22 EEST 2009     [email]root@www.sosa.ro[/email]:/usr/src/sys/amd64/compile/AREOL  amd64

and in rc.conf
Code:
hostname="sosa"
ifconfig_em0="DHCP"
inetd_enable="YES"
keymap="us.iso"
nfs_server_enable="YES"
rpcbind_enable="YES"
sshd_enable="YES"

apache22_enable="YES"
mysql_enable="YES"

usbd_enable="YES"

moused_port="/dev/usm0"
moused_flags="-3"
moused_type="auto"
moused_enable="YES"
moused_nondefault_enable="YES"

hald_enable="YES"
dbus_enable="YES"

at # cd /usr/local/etc/rc.d && dbus forcestart && hald forcestart before starting X.


Code:
sosa# cd /usr/local/etc/rc.d && dbus forcestart && hald forcestart
dbus: Command not found.
 
The same thing happens to me although I use older hardware.

For running XFCE4 with hal enabled is a complete nightmare: slow, jerky and unresponsive. However if I don't enable hal all is well and lightning fast (XFCE works fine without hal but some of the option on the Log Out menu become unavailable).

Haven't found any solution for the problem either.
 
pe3sos said:
sosa# cd /usr/local/etc/rc.d && dbus forcestart && hald forcestart
dbus: Command not found.

I think you need "./" before dbus and hald, like:

Code:
cd /usr/local/etc/rc.d && ./dbus forcestart && ./hald forcestart
 
You'll both have to check again, because running XFCE4 with HAL and DBUS enabled poses no problem whatsoever here. No lag, no unresponsiveness, nothing.
 
pe3sos said:
Code:
sosa# cd /usr/local/etc/rc.d && dbus forcestart && hald forcestart
dbus: Command not found.

Code:
cd /usr/local/etc/rc.d && ./dbus forcestart && ./hald forcestart
or
/usr/local/etc/rc.d/dbus forcestart && /usr/local/etc/rc.d//hald forcestart
 
DutchDaemon said:
You'll both have to check again, because running XFCE4 with HAL and DBUS enabled poses no problem whatsoever here. No lag, no unresponsiveness, nothing.

X and XFCE4 were compiled with hal. hal and dbus enabled in rc.conf. Tried only enabling hal, tried only enabling dbus, tried both; always same result.

Tried with generic and custom kernels.
 
I won't have access to the computer until Monday night so I can't post the Xorg.log.

However here's the xorg.conf from a recent backup:

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

Section "ServerFlags"
	Option		"AllowEmptyInput"	"off"
	Option		"AllowAddDevices"	"off"
EndSection

Section "Files"
#	RgbPath      "/usr/local/share/X11/rgb"
	ModulePath   "/usr/local/lib/xorg/modules"
	FontPath     "/usr/local/lib/X11/fonts/misc/"
	FontPath     "/usr/local/lib/X11/fonts/TTF/"
	FontPath     "/usr/local/lib/X11/fonts/OTF"
	FontPath     "/usr/local/lib/X11/fonts/Type1/"
	FontPath     "/usr/local/lib/X11/fonts/100dpi/"
	FontPath     "/usr/local/lib/X11/fonts/75dpi/"
	FontPath     "/usr/local/lib/X11/fonts/dejavu/"
	FontPath     "/usr/local/lib/X11/fonts/Liberation/"
	FontPath     "/usr/local/lib/X11/fonts/bitstream-vera/"
	FontPath     "/usr/local/lib/X11/fonts/profont/"
	FontPath     "/usr/local/lib/X11/fonts/artwiz-fonts/"
	FontPath     "/usr/local/lib/X11/fonts/freefont/"
	FontPath     "/usr/local/lib/X11/fonts/terminus-font/"
EndSection

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

Section "InputDevice"
	Identifier  "Keyboard0"
	Driver      "kbd"
	Option	    "XkbRules" "xorg"
	Option	    "XkbModel" "pc105"
	Option	    "XkbLayout" "pt"
EndSection

Section "InputDevice"
	Identifier  "Mouse0"
	Driver      "mouse"
	Option	    "Protocol" "auto"
	Option	    "Device" "/dev/sysmouse"
	Option	    "ZAxisMapping" "4 5"
	Option	    "Emulate3Buttons" "false"
	Option	    "ButtonMapping" "1 2 3 6 7 8 9 10 4 5"
EndSection

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

Section "Device"
	Identifier  "Card0"
	Driver      "nvidia"
	VendorName  "nVidia Corporation"
	BoardName   "GeForce 7900 GS"
	BusID       "PCI:2:0:0"
EndSection

Section "Screen"
	Identifier "Screen0"
	Device     "Card0"
	Monitor    "Monitor0"
	SubSection "Display"
		Viewport   0 0
		Depth     1
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     4
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     8
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     15
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     16
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     24
	EndSubSection
EndSection
 
I don't have these (I think they're no longer required), and I'm running hal and dbus with X without problems. The mouse/keyboard settings are about the same (using USB keyboard and USB mouse via a kvm switch, and a laptop keyboard/touchpad mouse at the same time).

Code:
Section "ServerFlags"
	Option		"AllowEmptyInput"	"off"
	Option		"AllowAddDevices"	"off"
EndSection
 
Yeah I'll try that and see how it goes.

I only see 2 root causes: some ports weren't properly installed (for installed I disabled hal option on the port for mistake) or my xorg.conf settings are conflicting.

Do notice that I've added those settings to xorg.conf because my mouse simply didn't work without them.

I'll post troubleshooting results when possible.
 
Well, one could always rebuild the hal port recursively (downwards).

I should add that I have this in rc.conf as well:

Code:
moused_nondefault_enable="NO" # Treat non-default mice as enabled unless
moused_enable="NO"      # Run the mouse daemon.
 
Hmm... my rc.conf doesn't have anything about moused. One more item for the troubleshoot list ;)

I didn't quite follow what you meant by rebuilding the hal port recursively. I can always rebuild hal and even add that option to my make.conf. Using the latter I would have to rebuild all my ports. Is there another way?
 
Oh right, you already built everything initially with hal, you just en/disabled hald on occasion. Then rebuilding won't be much use, no. Just make sure your current X installation (basically: xorg-server) was compiled with the hal option enabled. I don't think there's anything more magical about hal.
 
Ah! I did all of the following:

-Removed the following from my xorg.conf
Code:
Section "ServerFlags"
	Option		"AllowEmptyInput"	"off"
EndSection

-Added the following to my rc.conf
Code:
moused_nondefault_enable="NO" # Treat non-default mice as enabled unless
moused_enable="NO"      # Run the mouse daemon.

And that did it! IT now runs with hal with none of the input lag! I'd try and narrow it down a bit more and see if I could figure out exactly which item fixed it, but I've got to run to work now. Thanks very much for your help!

-m

ps. thanks for the thread move DutchDaemon
 
Back
Top