LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Updated Xorg now in -current (https://www.linuxquestions.org/questions/slackware-14/updated-xorg-now-in-current-732051/)

etrumbo 06-11-2009 07:42 AM

Quote:

Originally Posted by rvdboom (Post 3570335)
In fact, the good way is to disable the Device sections for input devices in the xorg.conf file. They should not be defined there anymore, everything is done through hal.

Thanks anyway but that broke my input, too.

sahko 06-11-2009 08:35 AM

Read http://wiki.archlinux.org/index.php/...ut_hotplugging

HAL uses xf86-input-evdev to configure mouse & keyboard

kukukk 06-11-2009 08:38 AM

Thanks from me too :}

Some question before upgrading to the new X.Org...

Can I use slackpkg clean-system to uninstall the removed X packages?
The NVidia binary driver needs to be reinstalled?
And... Can I use the actual xorg.conf file, or I need to generate a new one?

The following set of commands is enough to upgrade my system?
slackpkg update
slackpkg clean-system
slackpkg install-new
slackpkg upgrade-all

rigelan 06-11-2009 09:58 AM

yup slackpkg clean-system works to remove packages not on the list anymore. But watch out if you have added your own packages, that you don't uninstall them too. (Like I have urxvt and audacity and others that I've installed)

The NVIDIA Binary only needs to be reinstalled if you change kernels. Its a kernel module.

I'm running off the exact same xorg.conf that I had before. I didn't change mine one bit, so you shouldn't need to change it.

I don't know if this is strictly necessary, but I went into "init 3" in order to update my xorg files. (So I didn't have to have the xorg binaries running in the background when I updated)

And - your list should be enough to update everything.

kukukk 06-11-2009 10:11 AM

Thank you! I will try it...

djake 06-11-2009 10:47 AM

Quote:

Originally Posted by rvdboom (Post 3570335)
They should not be defined there anymore, everything is done through hal.

So, where should I set the keyboard layout for X?

sahko 06-11-2009 10:54 AM

Quote:

Originally Posted by djake (Post 3570572)
So, where should I set the keyboard layout for X?

Modifying hal configuration

Copy the file:

/usr/share/hal/fdi/policy/10osvendor/10-keymap.fdi

to

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

and edit this copy there as follows (substitute NEW_LAYOUT with your layout, for instance fr):

<merge key="input.xkb.layout" type="string">NEW_LAYOUT</merge>

You can also toggle between layouts by adding a line similar to to the following:

<merge key="input.xkb.options" type="string">grp:TOGGLE</merge>

where TOGGLE might be menu_toggle, alt_shift_toggle, or any of the other recognized toggle switches. You can find a list of possible values in /usr/share/X11/xkb/rules/xorg.lst (options starting with "grp:")

From http://wiki.archlinux.org/index.php/...ut_hotplugging

Something similar. Slackware might already have /etc/hal/ files

samac 06-11-2009 12:16 PM

Hmmm.... I had to re-install the nvidia driver because glxinfo crashed after I had upgraded. After I re-installed glxinfo worked just fine, I just kept my old xorg.conf.

samac

niels.horn 06-11-2009 12:45 PM

Too bad I have too many other things to resolve... My hands are itching to try the new updates... :)

Patience... patience... Anxiousness leads to the dark side... (or to crashed installations?) :D

The weekend is getting closer ;)

Alien Bob 06-11-2009 01:04 PM

Quote:

Originally Posted by samac (Post 3570673)
Hmmm.... I had to re-install the nvidia driver because glxinfo crashed after I had upgraded. After I re-installed glxinfo worked just fine ...

That happens because the upgrade of mesa and xorg-server packages will overwrite some of the files installed by the NVIDIA driver, causing that driver to crash. Re-installing the binary NVIDIA driver solves that problem.

Eric

rigelan 06-11-2009 03:40 PM

Quote:

Originally Posted by Alien Bob (Post 3570717)
That happens because the upgrade of mesa and xorg-server packages will overwrite some of the files installed by the NVIDIA driver, causing that driver to crash. Re-installing the binary NVIDIA driver solves that problem.

Eric

My mistake. To do normal things on my computer I didn't need to reinstall the NVIDIA driver. But to do anything with OPENGL, yes I did need to reinstall it.

BobNutfield 06-11-2009 03:54 PM

WOW! I just recently upgraded to Slack Current and I have been trying for days to get direct rendering with the open source radeon driver to no avail. Just did this massive update tonight and PRESTO! Direct rendering on the first reboot! Further, the volume wheel on the front of my laptop only worked in Slack 12.1 after hours of wrangling with xev and KDE's keyboard stuff. I didn't even bother with it after the upgrade to current, but after tonights upgrades, it is working with no input from me. (Still doesn't adjust the volume, but I will figure that out.)

Thank you very much to the whole team for this massive update. My laptop is PERFECT now with Current.

Bob

rg3 06-11-2009 03:56 PM

Thanks sahko for posting the quick solution to the keyboard layout stuff. I got it working in no time. Also, I removed every InputDevice section from xorg.conf and every reference to them, and it does work without any problems for me. Minor addition: apparently you need to restart HAL for it to pick the new configuration policy. At least I had to.

sahko 06-11-2009 04:30 PM

Quote:

Originally Posted by rg3 (Post 3570920)
Minor addition: apparently you need to restart HAL for it to pick the new configuration policy.

Yes it says so in the Archlinux wiki page.
Every change to .fdi files needs a restart of the HAL daemon.

zbreaker 06-12-2009 06:29 PM

Did the update/install/upgrade when I got home from work this evening......everything went perfectly. Only extra step was reinstalling the Nvidia driver. Sincerest thanks to the team:). Lucky 13 is looking better by the day.


All times are GMT -5. The time now is 03:57 AM.