View previous topic :: View next topic |
Author |
Message |
roelof Guru
Joined: 05 Feb 2009 Posts: 488
|
|
Back to top |
|
|
asturm Developer
Joined: 05 Apr 2007 Posts: 8936
|
Posted: Sat Apr 10, 2010 12:34 pm Post subject: |
|
|
No reason to use any 9999 packages, didn't I say that?
x11-libs/libX11-1.3.3 should perfectly do the job. Put this package atom into your xorg keywords file (but don't forget the leading '=').
$ grep 9999 /etc/portage/package.unmask/*
Remove or comment out any x11-*/ entries grep will spit out, and use their latest final counterparts instead. I don't think you want any live packages on your system at this time.
PS: Due to the nature of live ebuilds serving the code hot off the dev repositories, they will fail at times, either at build time or later trying to run them. |
|
Back to top |
|
|
asturm Developer
Joined: 05 Apr 2007 Posts: 8936
|
Posted: Sat Apr 10, 2010 12:55 pm Post subject: |
|
|
darkbasic wrote: | Shouldn't synaptics be a better choice for a touchpad? |
It should, for a synaptics touchpad?
I suspect that xf86-input-synaptics will create a standard config file inside /etc/X11/xorg.conf.d/ preceding the evdev-catchall file, at least that would be the sane thing to do. |
|
Back to top |
|
|
pigeon768 l33t
Joined: 02 Jan 2006 Posts: 683
|
Posted: Sat Apr 10, 2010 3:42 pm Post subject: |
|
|
genstorm wrote: | darkbasic wrote: | Shouldn't synaptics be a better choice for a touchpad? | It should, for a synaptics touchpad?
I suspect that xf86-input-synaptics will create a standard config file inside /etc/X11/xorg.conf.d/ preceding the evdev-catchall file, at least that would be the sane thing to do. | It does not.
I currently seem to be using evdev for my touchpad, and it works fine. No mention of synaptics in /var/log/Xorg.0.log. All the features of the touchpad that I use work - two finger scrolling, tap to click, double tap to double click.
synclient fails, of course. |
|
Back to top |
|
|
asturm Developer
Joined: 05 Apr 2007 Posts: 8936
|
Posted: Sat Apr 10, 2010 3:52 pm Post subject: |
|
|
Well probably not the current version - mind you, xorg-server-1.8.0 is still overlay only, and other package versions still have to catch up. What about configuring the driver by yourself? |
|
Back to top |
|
|
roelof Guru
Joined: 05 Feb 2009 Posts: 488
|
Posted: Sat Apr 10, 2010 3:56 pm Post subject: |
|
|
Hello Genstorm,
Emerging Xorg-1.8.0 went fine.
One maybe stupid question : If you have just standard hardware , do I need to make a xorg.conf.
I'm now getting a message that no drivers are found and after that a message no screens found.
Roelof |
|
Back to top |
|
|
asturm Developer
Joined: 05 Apr 2007 Posts: 8936
|
Posted: Sat Apr 10, 2010 4:28 pm Post subject: |
|
|
Depends on your definition of standard.
1.a) If you are using one of the vendors' binary blobs, like nvidia-drivers or ati-drivers, you will need a minimum xorg.conf like this:
Code: | Section "Device"
Identifier "my-nvidia-card"
Driver "nvidia"
EndSection |
or
Code: | Section "Device"
Identifier "my-ati-card"
Driver "fglrx"
EndSection |
1.b) Open source drivers like nouveau, radon or intel should work out of the box, if...
2.) At the same time, be sure you have set that very driver for VIDEO_CARDS inside your /etc/make.conf
You should also have put at least INPUT_DEVICES="evdev" in there to get your mouse and keyboard going initially.
(the xorg-drivers package will then pull those driver packages automatically)
Then, if you are using a non-standard keyboard or even just a different keymap than US, you need to set that too. There's an example how I set up my german keyboard in the first post of this thread. |
|
Back to top |
|
|
roelof Guru
Joined: 05 Feb 2009 Posts: 488
|
Posted: Sat Apr 10, 2010 5:08 pm Post subject: |
|
|
Hello,
I have a 101 AT keyboard with a usb mouse and a lcd monitor.
I see what went wrong. I set inputdevices to "udev" instead of "evdev"
So I think i have to reinstall everything
Roelof |
|
Back to top |
|
|
roelof Guru
Joined: 05 Feb 2009 Posts: 488
|
Posted: Sun Apr 11, 2010 10:28 am Post subject: |
|
|
Hello,
I changed input-devices to "keyboard, mouse, evdev" but still it won't start.
When I do startx I get this error messages.
Failed to load "glx" (module does not exist, 0)
Failed to load "dri" (module does not exist, 0)
Failed to load "dri2" (module does not exist, 0)
Failed to load "nv" (module does not exist, 0)
Failed to load "vesa" (module does not exist, 0)
Failed to load "fbdev" (module does not exist, 0)
Fatal Server error:
No screens found.
giving up.
xinit : No such file or directory (errorno 2) : unable to connect to server.
xinit : No such process (errorno 3) : server error.
Roelof |
|
Back to top |
|
|
roelof Guru
Joined: 05 Feb 2009 Posts: 488
|
Posted: Sun Apr 11, 2010 4:35 pm Post subject: |
|
|
Hello
Nobody ?
Roelof |
|
Back to top |
|
|
BaronChaos n00b
Joined: 06 Apr 2010 Posts: 3 Location: Germany
|
Posted: Sun Apr 11, 2010 5:40 pm Post subject: |
|
|
my first guess: you didnt rebuild the xf86-*-* packages
try to rebuild
xf86-video-nv
and/or
xf86-video-vesa
and/or
xf86-video-fbdev
(you should only need one of them, i'd choose nv)
almost forgot to mention - you always have to do that after xorg-server upgrade/rebuild, not only 1.8.0 |
|
Back to top |
|
|
roelof Guru
Joined: 05 Feb 2009 Posts: 488
|
Posted: Sun Apr 11, 2010 5:55 pm Post subject: |
|
|
Hello,
This is not a rebuild/upgrade but a fresh install.
Roelof |
|
Back to top |
|
|
BaronChaos n00b
Joined: 06 Apr 2010 Posts: 3 Location: Germany
|
Posted: Sun Apr 11, 2010 6:15 pm Post subject: |
|
|
have VIDEO_CARDS="..." in make.conf?
is one of the xf86-video-* packages installed?
you need at least one working video driver, thats the meaning of
Code: | Fatal Server error:
No screens found. |
|
|
Back to top |
|
|
roelof Guru
Joined: 05 Feb 2009 Posts: 488
|
Posted: Sun Apr 11, 2010 6:30 pm Post subject: |
|
|
Hello,
I have VIDEO_CARDS="nouveau" in make.conf.
I will look if one of the xf86-video packages is installed.
Roelof
Edit : I have the xf86-video-nouveau installed.
Roelof |
|
Back to top |
|
|
loftwyr l33t
Joined: 29 Dec 2004 Posts: 970 Location: 43°38'23.62"N 79°27'8.60"W
|
Posted: Sun Apr 11, 2010 8:43 pm Post subject: |
|
|
Install the vesa driver as well, the nouveau doesn't seem to be autodetected but the vesa driver should be.
The nv driver is deprecated in favour of nouveau but the nvidia and nouveau drivers need to be specified in your xorg.conf. _________________ My emerge --info
Have you run revdep-rebuild lately? It's in gentoolkit and it's worth a shot if things don't work well.
Celebrating 5 years of Gentoo-ing. |
|
Back to top |
|
|
roelof Guru
Joined: 05 Feb 2009 Posts: 488
|
Posted: Mon Apr 12, 2010 6:42 am Post subject: |
|
|
Hello,
I found it.
I had no xorg.conf.
So i made one and now it's complaining about drm.
So i try to emerge nouveau-drm.
The problem I now have is that I can't find VGA_ARB in my kernel config.
Can anyone tell me where it's hidden.
I tried with menuconfig and / but then I get a message that no modules were found.
Roelof |
|
Back to top |
|
|
erpalma n00b
Joined: 19 Feb 2008 Posts: 17
|
Posted: Mon Apr 12, 2010 12:34 pm Post subject: |
|
|
I've just tried xorg-server 1.8 with udev but I do not understand how to fully migrate to this configuration. Actually works everything but hal-associated kde programs (plasma, powerdevil, usb mount, etc). Should I wait for a new kde release? |
|
Back to top |
|
|
asturm Developer
Joined: 05 Apr 2007 Posts: 8936
|
Posted: Mon Apr 12, 2010 12:34 pm Post subject: |
|
|
Oh my. Fiddling around with unsupported stuff does require some advanced knowledge. Now ofc, nothing comes from nothing, so we'll try to help you as best as we can - but you still have to understand the implications of e.g. setting different variables inside the make.conf because this is no handbook-style step by step manual.
Now, when you alter variables such as VIDEO_CARDS and INPUT_DEVICES, first of all happens... nothing. These variables contain USE flags that enable hardware support for your specific system and are better explained in the X Server Howto. (for almost everything else, things have changed since the guide that still covers the arch version of xorg-server, so it's outdated for us)
As I said, evdev covers mouse as well as keyboard input pretty well, so don't use the old fashioned mouse and keyboard drivers anymore. Those options will suffice:
INPUT_DEVICES="evdev"
VIDEO_CARDS="nvidia nouveau" (this enables both the proprietary as well as the open source driver which is one case of still unsupported software in itself you are mixing here...)
For portage to detect USE flag changes like those, and to re-merge the according packages, do:
# emerge --update --newuse --deep --verbose --ask world
This will cover any changes you make and in your particular case will re-merge essentially xorg-drivers. And only then will your selected drivers be available.
Now, for nouveau to really work, you need kernel 2.6.33 at least. You will find the nouveau driver in the "Staging Drivers" Section. For you, simply using nvidia-drivers will probably be the best idea right now even if emerging it is quite a dirty hack (as described earlier, above). How to get that working, well, everything has been said already pretty clear. There is a thread on how to use the nouveau driver floating around in this forum too, so if you really want to go for it, definitely follow it through instead of blindly emerging packages.
@BaronChaos: A simple rebuild of xorg-server in most cases won't make an x11-drivers/* necessary, of course it is recommended to avoid issues for the lesser experienced users. |
|
Back to top |
|
|
hellsings n00b
Joined: 12 Apr 2010 Posts: 2
|
Posted: Mon Apr 12, 2010 1:55 pm Post subject: |
|
|
Hi,
I tried to install xorg-server-1.8, but with INPUT_DEVICES set to evdev or evdev/mouse/keyboard/synaptics.
My keyboard/mouse don't work with *.conf in /etc/xorg.conf.d/
When i use InputDevice instead of InputClass, it works...
Autodetection of the keyboard/mouse don't work at all.
Greets,
Hellsings |
|
Back to top |
|
|
yoshi314 l33t
Joined: 30 Dec 2004 Posts: 850 Location: PL
|
Posted: Tue Apr 13, 2010 4:46 am Post subject: |
|
|
i have no problems with keyboard/mouse.
i had them with wacom tablet, though
if anybody else is using wacom bamboo tablet try this:
/etc/X11/xorg.conf.d/10-wacom.conf
Code: | Section "InputClass"
Identifier "Wacom Tablet"
MatchProduct "Bamboo 4x5 Finger"
MatchDevicePath "/dev/input/event*"
Driver "wacom"
EndSection
| Product name comes from X logs after prior starts.
also, for completeness
/etc/udev/rules.d/10-wacom.rules
Code: | KERNEL=="event*", ID_VENDOR_ID=="056a", NAME="input/%k", SYMLINK="input/wacom"
|
wacom driver is built by hand, along with a custom kernel module (it has patches to support bamboo series - current in-kernel module does not recognize them yet).
you can grab the sources here:
http://aur.archlinux.org/packages.php?ID=31540
and follow the PKGBUILD (it's basically a shell script). _________________ ~amd64
shrink your /usr/portage with squashfs+aufs |
|
Back to top |
|
|
hellsings n00b
Joined: 12 Apr 2010 Posts: 2
|
Posted: Tue Apr 13, 2010 6:50 am Post subject: It works |
|
|
Just add this in my xorg.conf :
Quote: |
Section "ServerFlags"
Option "AutoAddDevices" "False"
EndSection
|
But inputclass doesn't work at all...
Greets,
Hellsings |
|
Back to top |
|
|
haarp Guru
Joined: 31 Oct 2007 Posts: 535
|
Posted: Tue Apr 13, 2010 2:35 pm Post subject: |
|
|
So, uhh, how do you set your keyboard layout without HAL these days? |
|
Back to top |
|
|
asturm Developer
Joined: 05 Apr 2007 Posts: 8936
|
Posted: Tue Apr 13, 2010 3:47 pm Post subject: |
|
|
You did read the first post? |
|
Back to top |
|
|
haarp Guru
Joined: 31 Oct 2007 Posts: 535
|
Posted: Tue Apr 13, 2010 3:49 pm Post subject: |
|
|
No. I did now.
Just stumbled upon this thread on page2, I didn't even notice that there was a big post on p1, sorry. |
|
Back to top |
|
|
asturm Developer
Joined: 05 Apr 2007 Posts: 8936
|
Posted: Tue Apr 13, 2010 3:58 pm Post subject: |
|
|
No problem, share your experiences with us
hellsings wrote: | I tried to install xorg-server-1.8, but with INPUT_DEVICES set to evdev or evdev/mouse/keyboard/synaptics.
My keyboard/mouse don't work with *.conf in /etc/xorg.conf.d/ |
Have you set INPUT_DEVICES="evdev" and rebuilt xorg-drivers (which will pull in xf86-input-evdev), evdev interface built into the kernel or as module?
Did you really operate inside the /etc/xorg.conf.d/ or actually choose the correct one, /etc/X11/xorg.conf.d? Also, users are supposed to put their custom configs into the good old /etc/X11/xorg.conf file which has a higher priority than the directory which is meant for standard distribution quirks. |
|
Back to top |
|
|
|