Forums

Skip to content

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

Modular X server bugs, annoyances and solutions (Part 1)

Problems with GUI applications? Questions about X, KDE, Gnome, Fluxbox, etc.? Come on in. NOTE: For multimedia, go up one forum
Locked
Advanced search
923 posts
  • Page 23 of 37
    • Jump to page:
  • Previous
  • 1
  • …
  • 21
  • 22
  • 23
  • 24
  • 25
  • …
  • 37
  • Next
Author
Message
Phlogiston
Veteran
Veteran
User avatar
Posts: 1925
Joined: Tue Jan 27, 2004 12:05 pm
Location: Europe, Swizerland

Post by Phlogiston » Thu Jan 05, 2006 6:07 pm

@Xake

Thanks for your answer. As you can see above it works with that message without evdev. For mouse I'm using synaptic. So as a conclusion I won't use it.
Workstation: 5.1 SurroundSound, LIRC remote control; Laptop [IBM-T43]: patched sources, s2disk/ram, fingerprint sensor
Top
twalter
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 104
Joined: Wed Apr 07, 2004 8:12 pm
Location: Churchill, Canada

Re: Optical Trackman

Post by twalter » Thu Jan 05, 2006 6:52 pm

Phlogiston wrote:
twalter wrote:I finally managed to get evdev to stop crashing my X and now am in the process of ironing out the final nuisances. Does anyone know why modular X doesn't honour my "AngleOffset" option? There are no errors/warnings about it in the log. Without it, the mouse is a bloody pain to use as the cursor drifts off the Y axis! :evil: A less annoying issue is that the Synaptics driver refuses to load regardless of where I put it in the modules directory but I think I saw a solution posted earlier.

- Todd.
Are u using the latest masked version from portage? First I also had troubles but now it works. What is evdev for? Do I need it?
- Yes -
Phlogiston wrote: And: Does anyone has also a font problem after the update to modular X? What do I need to change? Anyone know? I installed the fonts... Do I need to remove others?
- Yes. Ever since the upgrade my GTK fonts are too large, even using the DisplaySize parameter. Currently I use the gnome-font-properties utility to shrink them on every boot. However, the major annoyance is that my AngleOffset parameter doesn't work. Anyone have any ideas?

- Todd.
Top
calr0x
Apprentice
Apprentice
Posts: 244
Joined: Mon Aug 16, 2004 4:52 am

Post by calr0x » Thu Jan 05, 2006 7:37 pm

What is evdev for? Do I need it?
I believe it's a driver for USB input devices and is not required, but seems to be the next direction for input drivers..
Edit the subject of the original post w/ [SOLVED] at the end if this thread is resolved.
Top
StifflerStealth
Retired Dev
Retired Dev
User avatar
Posts: 968
Joined: Wed Jul 03, 2002 8:20 pm

Post by StifflerStealth » Thu Jan 05, 2006 10:33 pm

Phlogiston: Did you try my suggestion close to the top of page 22 about eliminating keyboard errors by typing:
# ln -s /usr/share/X11/XKeysymDB /usr/lib/X11/XKeysymDB
Nothing to read in this sig. Move along.
Top
Phlogiston
Veteran
Veteran
User avatar
Posts: 1925
Joined: Tue Jan 27, 2004 12:05 pm
Location: Europe, Swizerland

Post by Phlogiston » Thu Jan 05, 2006 11:33 pm

StifflerStealth wrote:Phlogiston: Did you try my suggestion close to the top of page 22 about eliminating keyboard errors by typing:
# ln -s /usr/share/X11/XKeysymDB /usr/lib/X11/XKeysymDB
No I didn't because now it seems to work, just that strange notification. But I will try that out and report...

Thanks
Workstation: 5.1 SurroundSound, LIRC remote control; Laptop [IBM-T43]: patched sources, s2disk/ram, fingerprint sensor
Top
Xake
Guru
Guru
User avatar
Posts: 588
Joined: Wed Feb 11, 2004 10:14 am
Location: Göteborg, the rainy part of scandinavia

Post by Xake » Fri Jan 06, 2006 12:43 am

calr0x wrote:
What is evdev for? Do I need it?
I believe it's a driver for USB input devices and is not required, but seems to be the next direction for input drivers..
Works with all kind of inout, used it on my PS/2 mouse and keyboard. Unsure about serial, but....;)
Top
Phlogiston
Veteran
Veteran
User avatar
Posts: 1925
Joined: Tue Jan 27, 2004 12:05 pm
Location: Europe, Swizerland

Post by Phlogiston » Fri Jan 06, 2006 10:50 am

StifflerStealth wrote:Phlogiston: Did you try my suggestion close to the top of page 22 about eliminating keyboard errors by typing:
# ln -s /usr/share/X11/XKeysymDB /usr/lib/X11/XKeysymDB
Ok I tried that out, but I still get:

Code: Select all

The XKEYBOARD keymap compiler (xkbcomp) reports:
> Warning:          Type "ONE_LEVEL" has 1 levels, but <RALT> has 2 symbols
>                   Ignoring extra symbols
Errors from xkbcomp are not fatal to the X server
But it's just a Warning, so who cares? 8)
Workstation: 5.1 SurroundSound, LIRC remote control; Laptop [IBM-T43]: patched sources, s2disk/ram, fingerprint sensor
Top
hlandgar
n00b
n00b
Posts: 7
Joined: Fri Sep 24, 2004 10:58 pm

Gdk-WARNING **: locale not supported by Xlib

Post by hlandgar » Fri Jan 06, 2006 6:30 pm

Does anybody have a workaround to this. It causes java programs to fail. I am running x11-libs/libX11-1.0.0 and x11-misc/util-macros-1.0.1.
Top
Xake
Guru
Guru
User avatar
Posts: 588
Joined: Wed Feb 11, 2004 10:14 am
Location: Göteborg, the rainy part of scandinavia

Re: Gdk-WARNING **: locale not supported by Xlib

Post by Xake » Fri Jan 06, 2006 7:05 pm

hlandgar wrote:Does anybody have a workaround to this. It causes java programs to fail. I am running x11-libs/libX11-1.0.0 and x11-misc/util-macros-1.0.1.
Please don't place the issue in the subject-field. It is very easy to overlook.
Oh, and are you sure that is your fatal problem?
Have had that one and it was nonfatal for me...
Top
hlandgar
n00b
n00b
Posts: 7
Joined: Fri Sep 24, 2004 10:58 pm

Re: Gdk-WARNING **: locale not supported by Xlib

Post by hlandgar » Fri Jan 06, 2006 7:07 pm

Gdk-WARNING **: locale not supported by Xlib
hlandgar wrote:Does anybody have a workaround to this. It causes java programs to fail. I am running x11-libs/libX11-1.0.0 and x11-misc/util-macros-1.0.1.
Top
riven
n00b
n00b
Posts: 44
Joined: Sat Jul 10, 2004 9:04 pm

Re: Optical Trackman

Post by riven » Fri Jan 06, 2006 11:11 pm

twalter wrote: - Yes. Ever since the upgrade my GTK fonts are too large, even using the DisplaySize parameter. Currently I use the gnome-font-properties utility to shrink them on every boot. However, the major annoyance is that my AngleOffset parameter doesn't work. Anyone have any ideas?
- Todd.
Its the display drivers trying to be clever and calculate the dpi to use. Unfortunately its not very clever.

You can pass a server argument into X when it starts to manually override.
If your method of starting X is to login on a console then "startx", then edit your /usr/bin/startx with a text editor, and add "-dpi 72" (without quotes), to the server arguments at the top. ie defaultserverargs="-nolisten tcp -br -dpi 72"

Adjust the value if it still doesnt look right.

If you are using a login manager like kdm or gdm, then it probably requires a different file editing, and I'm afraid I don't know what it would be, as I don't use one. But no doubt someone else does.
Top
riven
n00b
n00b
Posts: 44
Joined: Sat Jul 10, 2004 9:04 pm

Post by riven » Fri Jan 06, 2006 11:27 pm

For the interest of those thinking about trying modular X. I emerged it the other day before I saw that there were handy guides and stuff. It was really very straight forward for me personally. I just emerged it, then emerged the driver modules i needed et voila! A lot of it I'm sure is down to hardware specific things as to whether it works or not. But I'm using nvidia's drivers, and my MX1000 mouse works fine, just as it did under evdev in 6.8.99.

I'm really impressed. The modular build is a great idea, and the ebuild writers have done a great job of it so far. Nice one chaps! And my total ram usage (as reported by conky) once my desktop has loaded is less than 70mb, which is lower than all previous X builds I used on this setup. One very happy customer.
Top
meulie
l33t
l33t
User avatar
Posts: 845
Joined: Tue Jun 17, 2003 12:07 pm
Location: a Dutchman living in Norway
Contact:
Contact meulie
Website

Post by meulie » Sat Jan 07, 2006 11:57 am

Modular X doesn't do the job for me just yet, so I would like to revert to my old setup, which I backed up with quickpkg.

What is the proper way to remove modular X, and restore the quickpkg package?
Greetz,
Evert Meulie
Top
hoschi
Advocate
Advocate
User avatar
Posts: 2517
Joined: Sat Jul 19, 2003 9:08 pm
Location: Ulm, Germany, Europe
Contact:
Contact hoschi
Website

Post by hoschi » Sat Jan 07, 2006 12:00 pm

Phlogiston wrote:ok I more or less solved the keyboard issue:
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "ch"

That did the trick. But what about this warnings?

Code: Select all

The XKEYBOARD keymap compiler (xkbcomp) reports:
> Warning:          Type "ONE_LEVEL" has 1 levels, but <RALT> has 2 symbols
>                   Ignoring extra symbols
Errors from xkbcomp are not fatal to the X server
:o

same here with this config:

Code: Select all

Section "InputDevice"
    Identifier	"IBM AT Keyboard"
    Driver	"kbd"
    Option "XkbModel"	"pc105"
    Option "XkbLayout"	"de"
EndSection
Just you and me strogg!
Top
Bonkie
Guru
Guru
Posts: 501
Joined: Mon Oct 28, 2002 8:25 pm
Location: Antwerpen, Belgium
Contact:
Contact Bonkie
Website

Post by Bonkie » Sat Jan 07, 2006 1:00 pm

Anyone here on amd64 ??

Everything works, but there's something odd about the nvidia glx ebuild (although its probably amd64 related):

Code: Select all

$ ldd /usr/lib32/opengl/nvidia/lib/libGL.so.1.0.8178
        linux-gate.so.1 =>  (0xffffe000)
        libGLcore.so.1 => //usr/lib32/opengl/nvidia/lib/libGLcore.so.1 (0x555e9000)
        libnvidia-tls.so.1 => //usr/lib32/opengl/nvidia/lib/libnvidia-tls.so.1 (0x55da7000)
        libm.so.6 => /lib32/libm.so.6 (0x55da9000)
        libXext.so.6 => not found
        libX11.so.6 => not found
        libdl.so.2 => /lib32/libdl.so.2 (0x55dce000)
        libc.so.6 => /lib32/libc.so.6 (0x55dd2000)
        /lib/ld-linux.so.2 (0x56555000)
libXext.so.6 and libX11.so.6 exist in /usr/lib64 and creating symlinks in /usr/lib32 didn't help much.
"I would say we have a 50% chance of survival, but I consider myself an optimist so I'll give us 50,5% ..."
~ Arthur C. Clarke [Physics PHD,SF Writer], when asked about the chances of the human race's survival
Top
Ibn al-Hazardous
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 133
Joined: Thu Sep 02, 2004 9:24 am
Location: Somewhere deep in the desert.
Contact:
Contact Ibn al-Hazardous
Website

Post by Ibn al-Hazardous » Sat Jan 07, 2006 6:57 pm

Bonkie wrote:Anyone here on amd64 ??

Everything works, but there's something odd about the nvidia glx ebuild (although its probably amd64 related):

Code: Select all

$ ldd /usr/lib32/opengl/nvidia/lib/libGL.so.1.0.8178
        linux-gate.so.1 =>  (0xffffe000)
        libGLcore.so.1 => //usr/lib32/opengl/nvidia/lib/libGLcore.so.1 (0x555e9000)
        libnvidia-tls.so.1 => //usr/lib32/opengl/nvidia/lib/libnvidia-tls.so.1 (0x55da7000)
        libm.so.6 => /lib32/libm.so.6 (0x55da9000)
        libXext.so.6 => not found
        libX11.so.6 => not found
        libdl.so.2 => /lib32/libdl.so.2 (0x55dce000)
        libc.so.6 => /lib32/libc.so.6 (0x55dd2000)
        /lib/ld-linux.so.2 (0x56555000)
libXext.so.6 and libX11.so.6 exist in /usr/lib64 and creating symlinks in /usr/lib32 didn't help much.
I'm on amd64 too, and my output from ldd /usr/lib32/opengl/nvidia/lib/libGL.so.1.0.8178 is sane. libXext.so.6 and libX11.so.6 are links to /emul/linux/x86/usr/lib/libXext.so.6 and dito libX11.so.6 Check that dir, and if they are not there either maybe you should try revdep-rebuild?
/Ibn
Top
z0idberg
n00b
n00b
Posts: 1
Joined: Sat Jan 07, 2006 8:44 pm
Location: Finland

Post by z0idberg » Sat Jan 07, 2006 8:57 pm

I really need some help with x.org 7 and the open source driver now. After some research on forums I finally managed to get dri working... that is, Xorg.0.log shows that it's enabled and gives no errors, but when I startx the screen goes blank, and the system stops responding to input (ctrl-alt-F1-F7 for example). Maybe someone knows of a possible solution?

I run gentoo on a AMD XP 2500+, Radeon 9800 Pro, nForce 2 motherboard. To install x.org I copied all the modular X-packages to package.unmask and emerged xorg-server. I have the 2.6.15 kernel, agpgart, drm, radeon and nvidia-agp are all compiled as modules. According to Xorg.0.log there are no errors, agp works and dri is enabled.

Actually, I tried running Kubuntu Dapper with (I think) modularized X some time ago and had the same problem, screen went blank, no input etc. Would this mean there is something wrong with my graphics card? It seems to work fine in games I run in Windows, so I doubt it.

I'd really appreciate some help, and if this question has been answered a lot of times before, I'm sorry.
Top
reynolds531
Apprentice
Apprentice
User avatar
Posts: 260
Joined: Sat Apr 23, 2005 10:34 pm
Location: Rochester, NY

Post by reynolds531 » Sun Jan 08, 2006 12:25 am

I'm having a problem compiling gnuplot-4.0-r1 and I think it's related to modular X. Here's the error message:

Code: Select all

Making all in tutorial
make[2]: Entering directory `/var/tmp/portage/gnuplot-4.0-r1/work/gnuplot-4.0.0/ tutorial'
../src/gnuplot: error while loading shared libraries: libXaw.so.8: cannot open shared object file: No such file or directory
../src/gnuplot: error while loading shared libraries: libXaw.so.8: cannot open shared object file: No such file or directory
make[2]: *** [eg1.tex] Error 127
make[2]: *** Waiting for unfinished jobs....
make[2]: *** [eg2.tex] Error 127
make[2]: Leaving directory `/var/tmp/portage/gnuplot-4.0-r1/work/gnuplot-4.0.0/tutorial'
According to the changelog, the gnuplot ebuild has already been configured for modular X, but even so this seems to be related. The new libxaw module creates libXaw.so.6 and 7, but not 8.

Could I work around this with a symlink to 6 or 7? Any other ideas?

EDIT: Nevermind. I just needed to run a revdep-rebuild. :oops:
Last edited by reynolds531 on Sun Jan 08, 2006 10:13 pm, edited 1 time in total.
Top
meulie
l33t
l33t
User avatar
Posts: 845
Joined: Tue Jun 17, 2003 12:07 pm
Location: a Dutchman living in Norway
Contact:
Contact meulie
Website

Post by meulie » Sun Jan 08, 2006 8:21 am

meulie wrote:Modular X doesn't do the job for me just yet, so I would like to revert to my old setup, which I backed up with quickpkg.

What is the proper way to remove modular X, and restore the quickpkg package?
Anyone...?
Greetz,
Evert Meulie
Top
StringCheesian
l33t
l33t
Posts: 887
Joined: Tue Oct 21, 2003 6:21 am

Post by StringCheesian » Sun Jan 08, 2006 10:11 am

meulie wrote:Modular X doesn't do the job for me just yet, so I would like to revert to my old setup, which I backed up with quickpkg.

What is the proper way to remove modular X, and restore the quickpkg package?
EDIT: Your /etc/portage/package.unmask (or alternatively /usr/portage/profiles/package.mask) contains a list of the packages you need to uninstall. I haven't learned enough about Linux tools/utilities yet, but someone else can probably give you a command that will unmerge a package for each line in an input file - all you'd have to do is copy out the right lines for it.

After that restoring your quickpkg backup of xorg is as simple as "emerge -aK xorg-x11". Then you'll want to remove all the xorg modular lines from your package.unmask, and that should be everything.
Top
Bonkie
Guru
Guru
Posts: 501
Joined: Mon Oct 28, 2002 8:25 pm
Location: Antwerpen, Belgium
Contact:
Contact Bonkie
Website

Post by Bonkie » Sun Jan 08, 2006 11:43 am

Ibn al-Hazardous wrote:I'm on amd64 too, and my output from ldd /usr/lib32/opengl/nvidia/lib/libGL.so.1.0.8178 is sane. libXext.so.6 and libX11.so.6 are links to /emul/linux/x86/usr/lib/libXext.so.6 and dito libX11.so.6 Check that dir, and if they are not there either maybe you should try revdep-rebuild?
I have ran revdep-rebuild and thats why I noticed it, but it doesn't fix anything. And the directory you specified (/emul/linux) doesn't exist here ... Is there some package or functionality I need on amd64 ?
"I would say we have a 50% chance of survival, but I consider myself an optimist so I'll give us 50,5% ..."
~ Arthur C. Clarke [Physics PHD,SF Writer], when asked about the chances of the human race's survival
Top
Ibn al-Hazardous
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 133
Joined: Thu Sep 02, 2004 9:24 am
Location: Somewhere deep in the desert.
Contact:
Contact Ibn al-Hazardous
Website

Post by Ibn al-Hazardous » Sun Jan 08, 2006 7:41 pm

Bonkie wrote:I have ran revdep-rebuild and thats why I noticed it, but it doesn't fix anything. And the directory you specified (/emul/linux) doesn't exist here ... Is there some package or functionality I need on amd64 ?
Well, the stuff in there is for 32 compatibility. Do you have emul-linux-x86-xlibs installed (that is the packege that said files belong to)?

If you don't much fancy running a 32-bit binary (eg firefox with flash plugin), there's no need for the 32-bit stuff.
/Ibn
Top
Parasietje
Apprentice
Apprentice
Posts: 194
Joined: Sun Jan 25, 2004 6:43 pm

Post by Parasietje » Sun Jan 08, 2006 10:02 pm

I was wondering if the Keyboard mapping problem when using "evdev" has allready been fixed.

Im typing qwerty on an azerty keyboard, and Id like to fix that. As you can see, I dont know where the apostrophe is located :lol:

And no, I cannot use the kbd driver. Im trying to run multiseat X, and I need the evdev driver for that.
Top
Tronic
Apprentice
Apprentice
Posts: 194
Joined: Mon Jul 28, 2003 11:17 am
Location: Finland
Contact:
Contact Tronic
Website

Segfault on startup

Post by Tronic » Sun Jan 08, 2006 10:21 pm

I've been suffering of a segfault on Xorg startup after upgrading to modular (xorg-server-1.0.1-r1). This turned out to be a NULL pointer dereference in ConvertAddr() that gets called from a horribly ugly and long function DefineSelf(). Both are in os/access.c within the xorg-server sources.

I wrote a quick patch to fix it:

Code: Select all

diff -r -u xorg-server-1.0.1/os/access.c xorg-server-hacked/os/access.c
--- xorg-server-1.0.1/os/access.c       2005-11-08 08:33:30.000000000 +0200
+++ xorg-server-hacked/os/access.c      2006-01-08 12:40:15.000000000 +0200
@@ -980,6 +980,10 @@
            continue;
 #endif /* DNETCONN */
        len = sizeof(*(ifr->ifa_addr));
+       if (ifr->ifa_addr == NULL) {
+               ErrorF("Warning: ifr->ifa_addr == NULL in access.c\n");
+               continue;
+       }
        family = ConvertAddr(ifr->ifa_addr, &len, (pointer *)&addr);
        if (family == -1 || family == FamilyLocal)
            continue;
There are no alternative energy sources to fossil fuels. Whoever claims otherwise doesn't know the difference between mW and MW. -Kurki-Suonio
Top
Neo_0815
l33t
l33t
User avatar
Posts: 815
Joined: Mon Feb 24, 2003 12:31 am
Location: Leipzig

Re: Segfault on startup

Post by Neo_0815 » Mon Jan 09, 2006 4:07 am

Tronic wrote:I've been suffering of a segfault on Xorg startup after upgrading to modular (xorg-server-1.0.1-r1). This turned out to be a NULL pointer dereference in ConvertAddr() that gets called from a horribly ugly and long function DefineSelf(). Both are in os/access.c within the xorg-server sources.

I wrote a quick patch to fix it:

Code: Select all

diff -r -u xorg-server-1.0.1/os/access.c xorg-server-hacked/os/access.c
--- xorg-server-1.0.1/os/access.c       2005-11-08 08:33:30.000000000 +0200
+++ xorg-server-hacked/os/access.c      2006-01-08 12:40:15.000000000 +0200
@@ -980,6 +980,10 @@
            continue;
 #endif /* DNETCONN */
        len = sizeof(*(ifr->ifa_addr));
+       if (ifr->ifa_addr == NULL) {
+               ErrorF("Warning: ifr->ifa_addr == NULL in access.c\n");
+               continue;
+       }
        family = ConvertAddr(ifr->ifa_addr, &len, (pointer *)&addr);
        if (family == -1 || family == FamilyLocal)
            continue;
https://bugs.freedesktop.org/show_bug.cgi?id=5068

Look there. Already posted since weeks.

regards
Image
Top
Locked

923 posts
  • Page 23 of 37
    • Jump to page:
  • Previous
  • 1
  • …
  • 21
  • 22
  • 23
  • 24
  • 25
  • …
  • 37
  • Next

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