Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Unsupported Software
  • Search

[100526] xorg-server-1.8.0 final: udev kills hal

This forum covers all Gentoo-related software not officially supported by Gentoo. Ebuilds/software posted here might harm the health and stability of your system(s), and are not supported by Gentoo developers. Bugs/errors caused by ebuilds from overlays.gentoo.org are covered by this forum, too.
Post Reply
Advanced search
216 posts
  • Page 4 of 9
    • Jump to page:
  • Previous
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • …
  • 9
  • Next
Author
Message
roelof
Guru
Guru
Posts: 488
Joined: Thu Feb 05, 2009 1:16 pm

  • Quote

Post by roelof » Sat Apr 10, 2010 12:29 pm

Hello,

I have a problem.
Emerging xorg-server-1.8.0 fails.

Here emerge-info : http://dpaste.com/181659
Here emerge -pgv : http://dpaste.com/181661
Here the build log : http://dpaste.com/181662
here aclocal.out : http://dpaste.com/181663

Roelof
Top
asturm
Developer
Developer
Posts: 9496
Joined: Thu Apr 05, 2007 4:07 pm

  • Quote

Post by asturm » Sat Apr 10, 2010 12:34 pm

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.
Top
asturm
Developer
Developer
Posts: 9496
Joined: Thu Apr 05, 2007 4:07 pm

  • Quote

Post by asturm » Sat Apr 10, 2010 12:55 pm

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.
Top
pigeon768
l33t
l33t
Posts: 683
Joined: Mon Jan 02, 2006 1:13 pm

  • Quote

Post by pigeon768 » Sat Apr 10, 2010 3:42 pm

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.
Top
asturm
Developer
Developer
Posts: 9496
Joined: Thu Apr 05, 2007 4:07 pm

  • Quote

Post by asturm » Sat Apr 10, 2010 3:52 pm

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?
Top
roelof
Guru
Guru
Posts: 488
Joined: Thu Feb 05, 2009 1:16 pm

  • Quote

Post by roelof » Sat Apr 10, 2010 3:56 pm

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
Top
asturm
Developer
Developer
Posts: 9496
Joined: Thu Apr 05, 2007 4:07 pm

  • Quote

Post by asturm » Sat Apr 10, 2010 4:28 pm

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: Select all

Section "Device"
        Identifier      "my-nvidia-card"
        Driver          "nvidia"
EndSection
or

Code: Select all

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.
Top
roelof
Guru
Guru
Posts: 488
Joined: Thu Feb 05, 2009 1:16 pm

  • Quote

Post by roelof » Sat Apr 10, 2010 5:08 pm

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
Top
roelof
Guru
Guru
Posts: 488
Joined: Thu Feb 05, 2009 1:16 pm

  • Quote

Post by roelof » Sun Apr 11, 2010 10:28 am

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
Top
roelof
Guru
Guru
Posts: 488
Joined: Thu Feb 05, 2009 1:16 pm

  • Quote

Post by roelof » Sun Apr 11, 2010 4:35 pm

Hello

Nobody ?

Roelof
Top
BaronChaos
n00b
n00b
Posts: 3
Joined: Tue Apr 06, 2010 8:42 pm
Location: Germany

  • Quote

Post by BaronChaos » Sun Apr 11, 2010 5:40 pm

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
Top
roelof
Guru
Guru
Posts: 488
Joined: Thu Feb 05, 2009 1:16 pm

  • Quote

Post by roelof » Sun Apr 11, 2010 5:55 pm

Hello,

This is not a rebuild/upgrade but a fresh install.

Roelof
Top
BaronChaos
n00b
n00b
Posts: 3
Joined: Tue Apr 06, 2010 8:42 pm
Location: Germany

  • Quote

Post by BaronChaos » Sun Apr 11, 2010 6:15 pm

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: Select all

Fatal Server error: 
No screens found.
Top
roelof
Guru
Guru
Posts: 488
Joined: Thu Feb 05, 2009 1:16 pm

  • Quote

Post by roelof » Sun Apr 11, 2010 6:30 pm

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
Top
loftwyr
l33t
l33t
User avatar
Posts: 970
Joined: Wed Dec 29, 2004 2:51 am
Location: 43°38'23.62"N 79°27'8.60"W

  • Quote

Post by loftwyr » Sun Apr 11, 2010 8:43 pm

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.
Top
roelof
Guru
Guru
Posts: 488
Joined: Thu Feb 05, 2009 1:16 pm

  • Quote

Post by roelof » Mon Apr 12, 2010 6:42 am

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
Top
erpalma
n00b
n00b
Posts: 17
Joined: Tue Feb 19, 2008 8:24 pm

  • Quote

Post by erpalma » Mon Apr 12, 2010 12:34 pm

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?
Top
asturm
Developer
Developer
Posts: 9496
Joined: Thu Apr 05, 2007 4:07 pm

  • Quote

Post by asturm » Mon Apr 12, 2010 12:34 pm

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.
Top
hellsings
n00b
n00b
Posts: 2
Joined: Mon Apr 12, 2010 1:51 pm

  • Quote

Post by hellsings » Mon Apr 12, 2010 1:55 pm

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
Top
yoshi314
l33t
l33t
User avatar
Posts: 852
Joined: Thu Dec 30, 2004 9:33 pm
Location: PL
Contact:
Contact yoshi314
Website

  • Quote

Post by yoshi314 » Tue Apr 13, 2010 4:46 am

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: Select all

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: Select all

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
Top
hellsings
n00b
n00b
Posts: 2
Joined: Mon Apr 12, 2010 1:51 pm

It works

  • Quote

Post by hellsings » Tue Apr 13, 2010 6:50 am

Just add this in my xorg.conf :
Section "ServerFlags"
Option "AutoAddDevices" "False"
EndSection
But inputclass doesn't work at all...

Greets,
Hellsings
Top
haarp
Guru
Guru
Posts: 535
Joined: Wed Oct 31, 2007 12:44 pm

  • Quote

Post by haarp » Tue Apr 13, 2010 2:35 pm

So, uhh, how do you set your keyboard layout without HAL these days?
Top
asturm
Developer
Developer
Posts: 9496
Joined: Thu Apr 05, 2007 4:07 pm

  • Quote

Post by asturm » Tue Apr 13, 2010 3:47 pm

You did read the first post?
Top
haarp
Guru
Guru
Posts: 535
Joined: Wed Oct 31, 2007 12:44 pm

  • Quote

Post by haarp » Tue Apr 13, 2010 3:49 pm

No. I did now. :oops:
Just stumbled upon this thread on page2, I didn't even notice that there was a big post on p1, sorry.
Top
asturm
Developer
Developer
Posts: 9496
Joined: Thu Apr 05, 2007 4:07 pm

  • Quote

Post by asturm » Tue Apr 13, 2010 3:58 pm

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.
Top
Post Reply

216 posts
  • Page 4 of 9
    • Jump to page:
  • Previous
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • …
  • 9
  • Next

Return to “Unsupported Software”

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