Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Modular X server bugs, annoyances and solutions (Part 2)
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

Goto page Previous  1, 2, 3 ... 5, 6, 7 ... 20, 21, 22  Next  
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
Bogtha
n00b
n00b


Joined: 25 Mar 2006
Posts: 2

PostPosted: Sat Mar 25, 2006 2:38 am    Post subject: Reply with quote

Has anybody got the new modular X working with older closed-source NVidia drivers? From the modular X howto, it implies that you need the latest version. However in the nvidia howto, it says that older cards such as TNT2 need older drivers.

At first it wouldn't start at all, because the older drivers ( media-video/nvidia-kernel-1.0.6629-r4 + media-video/nvidia-glx-1.0.6629-r7 ) install to the wrong place. I moved them to the right place, but get unresolved symbols.

I'm guessing that somebody needs to update the older drivers to match the newer interface, but I'm afraid that's a bit beyond me. Are there any plans to get the TNT2 drivers working with modular X or am I going to have to revert back to monolithic X? Is it something a Gentoo dev can do, or does it have to be done by nvidia? I'm using the open-source drivers at the moment, but performance is awful.
Back to top
View user's profile Send private message
star.dancer
Tux's lil' helper
Tux's lil' helper


Joined: 18 Sep 2004
Posts: 93

PostPosted: Sat Mar 25, 2006 3:53 am    Post subject: dead keys [FIXED] Reply with quote

I just installed modular xorg on my amd64 computer (running gnome 2.14) and everything is working well except...

I used to have gnome configured so I could choose between "US English" and "US English w/deadkeys" using the gnome keyboard indicator applet. This allowed me to type french characters if I needed to. When I upgraded to gnome 2.14 this functionality continued to work fine.

However, after installing modular xorg, only "US English" under the available layouts in the application! I've read through the forums and tried to make sense of it but I am obviously missing something.

- In xorg.conf I have:
Code:
Option "XkbModel"   "pc105"
    Option "XkbLayout"  "us"
    Option "XkbVariant"  "intl"

- I unmerged xbddata and emerged xkeyboard-config

Can anyone point me in the right direction?

EDIT: Ok, I read through the forums again and got this fixed. See this post.

Code:
emerge --unmerge xkeyboard-config
rm -rf /usr/share/X11/xkb
emerge xkeyboard-config


Last edited by star.dancer on Sun Mar 26, 2006 4:15 pm; edited 1 time in total
Back to top
View user's profile Send private message
eNTi
Veteran
Veteran


Joined: 20 Oct 2002
Posts: 1011
Location: Salzburg, Austria

PostPosted: Sat Mar 25, 2006 9:24 am    Post subject: Reply with quote

mutlu_inek wrote:
btlee wrote:
Did you upgrade fixesproto and compositeproto?
The upgrades fixed my problem which was exactly same with yours.

I had no problems emerging xorg-server with the upgraded fixesproto and compositeproto. But then the gtk applications would not start. So I followed Donnie's workaround. Under the X server it worked fine without downgrading them as was suggested. But under Xgl I had the same problem again. Downgrading fixesproto and compositeproto solved the problem, but now I cannot reemerge the xorg-server (which luckily is not such a big deal since it runs, but it is not really a tolerable situation).

xorg-server-1.0.2-r1 fixes the problems and you need to undo the fix.
_________________
If you fall off a cliff, you might as well try to fly. After all, you got nothing to lose.

-- John Sheridan - Babylon 5, Season 4
Back to top
View user's profile Send private message
RaZoR1394
Guru
Guru


Joined: 09 Jan 2005
Posts: 356

PostPosted: Sat Mar 25, 2006 11:14 am    Post subject: Reply with quote

I'm having several annoying problems on my server...

First Xorg couldn't find the nvidia module which I fixed by updating nvidia-glx. Current problems:

    Gdm won't start so I have to use startx.
    I can't get Fluxbox to load a background (the theme defaults).
    Firefox keeps crashing as soon as I type CTRL-*something*.
    The latest Azureus won't start.
    Almost any app from linuxdcpp to top can use 99% of the cpu anytime :(.
    I can't emerge one of the Adobe fonts.



emerge --info

Code:

Portage 2.1_pre6-r6 (default-linux/amd64/2006.0, gcc-3.4.5, glibc-2.4-r1, 2.6.16-nitro_git3 x86_64)
=================================================================
System uname: 2.6.16-nitro_git3 x86_64 AMD Athlon(tm) 64 Processor 3500+
Gentoo Base System version 1.12.0_pre16
ccache version 2.4 [enabled]
dev-lang/python:     2.3.4-r1, 2.4.2-r1
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /opt/glftpd/etc /opt/glftpd/ftp-data /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/env.d"
CXXFLAGS="-march=k8 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer sandbox sfperms strict usersandbox"
GENTOO_MIRRORS="http://ftp.du.se/pub/os/gentoo http://ds.thn.htu.se/linux/gentoo http://mirror.pudas.net/gentoo http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/"
LC_ALL="sv_SE.UTF-8"
LINGUAS="sv en"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.se.gentoo.org/gentoo-portage"
USE="amd64 X acpi alsa apache2 apm avi berkdb bitmap-fonts cdinstall cli crypt ctype dba dbus disablexmb dri eds emboss emul-linux-x86 encode expat f77 fastbuild foomaticdb force-cgi-redirect fortran ftp gd gd-external gif gpm gstreamer gtk gtk2 ieee1394 imlib java javascript jikes jpeg jpeg2k libg++ libwww lm_sensors lzw lzw-tiff memlimit mono motif mp3 mpeg ncurses nls nptl nptlonly opengl oss pam pcre pdflib perl php png posix python qt quicktime readline rss ruby sdl server session simplexml soap sockets spell spl ssl tcltk tcpd tiff tokenizer truetype truetype-fonts type1-fonts unicode usb userlocales wxwindows xml xml2 xpm xsl xv zlib ~amd64 elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux linguas_sv linguas_en userland_GNU video_cards_nv video_cards_nvidia video_cards_vesa"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LANG, LDFLAGS


Xorg conf -> http://www.razoreye.org/files/xorg/dator5/xorg.conf
Xorg log -> http://www.razoreye.org/files/xorg/dator5/Xorg.0.log
_________________
http://en.wikipedia.org/wiki/Cell_(microprocessor)
Back to top
View user's profile Send private message
eae
Apprentice
Apprentice


Joined: 28 Dec 2004
Posts: 211

PostPosted: Sat Mar 25, 2006 2:32 pm    Post subject: Reply with quote

Hi, compilation of x11-base/xorg-server-1.0.2-r1 fails with
Code:
glxcmds.c: In function `__glXBindSwapBarrierSGIX':
glxcmds.c:1749: warning: cast to pointer from integer of different size
glxcmds.c: In function `__glxQueryHyperpipeNetworkSGIX':
glxcmds.c:1796: error: `xGLXQueryHyperpipeNetworkSGIXReq' undeclared (first use in this function)
glxcmds.c:1796: error: (Each undeclared identifier is reported only once
glxcmds.c:1796: error: for each function it appears in.)
glxcmds.c:1796: error: `req' undeclared (first use in this function)
glxcmds.c:1796: error: syntax error before ')' token
glxcmds.c:1797: error: `xGLXQueryHyperpipeNetworkSGIXReply' undeclared (first use in this function)
glxcmds.c:1812: error: `reply' undeclared (first use in this function)
glxcmds.c:1825: error: `sz_xGLXQueryHyperpipeNetworkSGIXReply' undeclared (first use in this function)
glxcmds.c: In function `__glxDestroyHyperpipeConfigSGIX':
glxcmds.c:1836: error: `xGLXDestroyHyperpipeConfigSGIXReq' undeclared (first use in this function)
glxcmds.c:1836: error: `req' undeclared (first use in this function)
glxcmds.c:1837: error: syntax error before ')' token
glxcmds.c:1838: error: `xGLXDestroyHyperpipeConfigSGIXReply' undeclared (first use in this function)
glxcmds.c:1851: error: `reply' undeclared (first use in this function)
glxcmds.c:1863: error: `sz_xGLXDestroyHyperpipeConfigSGIXReply' undeclared (first use in this function)
glxcmds.c: In function `__glxQueryHyperpipeConfigSGIX':
glxcmds.c:1871: error: `xGLXQueryHyperpipeConfigSGIXReq' undeclared (first use in this function)
glxcmds.c:1871: error: `req' undeclared (first use in this function)
glxcmds.c:1872: error: syntax error before ')' token
glxcmds.c:1873: error: `xGLXQueryHyperpipeConfigSGIXReply' undeclared (first use in this function)
glxcmds.c:1889: error: `reply' undeclared (first use in this function)
glxcmds.c:1904: error: `sz_xGLXQueryHyperpipeConfigSGIXReply' undeclared (first use in this function)
glxcmds.c: In function `__glxHyperpipeConfigSGIX':
glxcmds.c:1915: error: `xGLXHyperpipeConfigSGIXReq' undeclared (first use in this function)
glxcmds.c:1915: error: `req' undeclared (first use in this function)
glxcmds.c:1916: error: syntax error before ')' token
glxcmds.c:1917: error: `xGLXHyperpipeConfigSGIXReply' undeclared (first use in this function)
glxcmds.c:1935: error: `reply' undeclared (first use in this function)
glxcmds.c:1949: error: `sz_xGLXHyperpipeConfigSGIXReply' undeclared (first use in this function)
make[2]: *** [glxcmds.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
 x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -I../../include -I../../include -I../../include -I../../include -I../../GL/include -I../../hw/xfree86/os-support -DHAVE_DIX_CONFIG_H -I/var/tmp/portage/xorg-server-1.0.2-r1/work/Mesa-6.4.2/include -DXFree86Server -DIN_MODULE -DXFree86Module -DXFree86LOADER -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -I../../include -I../../include -I../../Xext -I../../composite -I../../damageext -I../../xfixes -I../../Xi -I../../mi -I../../miext/shadow -I../../miext/damage -I../../render -I../../randr -I../../fb -I../../lbx -pipe -O2 -march=athlon64 -fomit-frame-pointer -MT glxcmdsswap.lo -MD -MP -MF .deps/glxcmdsswap.Tpo -c glxcmdsswap.c  -fPIC -DPIC -o .libs/glxcmdsswap.o
make[2]: Leaving directory `/var/tmp/portage/xorg-server-1.0.2-r1/work/xorg-server-1.0.2/GL/glx'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/xorg-server-1.0.2-r1/work/xorg-server-1.0.2/GL'
make: *** [all-recursive] Error 1

!!! ERROR: x11-base/xorg-server-1.0.2-r1 failed.
Call stack:
  ebuild.sh, line 1573:   Called dyn_compile
  ebuild.sh, line 982:   Called src_compile
  ebuild.sh, line 1288:   Called x-modular_src_compile
  x-modular.eclass, line 305:   Called x-modular_src_make

!!! emake failed
!!! If you need support, post the topmost build error, and the call stack if relevant.



I read that someone got the same error somewhere in this thread but nobody answered him I think. I have also tried to install a previous version but
Code:
# eix xorg-server
* x11-base/xorg-server
     Available versions:  1.0.1 1.0.1-r2 1.0.1-r3 1.0.1-r4 1.0.2-r1
     Installed:           none
     Homepage:            http://xorg.freedesktop.org/
     Description:         X.Org X servers

# emerge -av =x11-base/xorg-server-1.0.1-r4

These are the packages that would be merged, in order:

Calculating dependencies
emerge: there are no ebuilds to satisfy "=x11-base/xorg-server-1.0.1-r4".


Code:
# ls /usr/portage/x11-base/xorg-server/
ChangeLog                    files/                       xorg-server-1.0.2-r1.ebuild
Manifest                     metadata.xml


I only have the ebuild for the latest version? :o

By the way, if I want to return to the previous monolithic xserver that I have quickpackaged and uninstalled, what's the correct procedure to do so? Considering that I have installed a lot of the packages from the modular distribution
Back to top
View user's profile Send private message
drjimmy42
Guru
Guru


Joined: 03 Feb 2003
Posts: 512
Location: Nashua, NH

PostPosted: Sat Mar 25, 2006 3:51 pm    Post subject: Reply with quote

The only issue I had when migrating was that when I started gnu emacs 22.0.50 in X the fonts were WAY too wide.
I found that the default font for emacs in X is

Code:
-adobe-courier-medium-r-*-*-*-120-*-*-*-*-iso8859-1


but when I start emacs with

Code:
emacs -fn -adobe-courier-medium-r-*-*-*-120-*-*-*-*-iso8859-1


the font is the same and too wide. However, if I add in a 75 after the 120 to make it

Code:
-adobe-courier-medium-r-*-*-*-120-75-*-*-*-iso8859-1


then I get my old font back. So now I just start emacs with

Code:
emacs -fn -adobe-courier-medium-r-*-*-*-120-75-*-*-*-iso8859-1


and it all works. I guess some default changed in 7.0 that made me have to specify this. I know less than nothing about fonts in X and frankly I kinda like it that way. There's only so much room in my head and all the lines to 12 hour HHGTTG radio show takes up a lot of room. Hope this helps someone.
Back to top
View user's profile Send private message
eae
Apprentice
Apprentice


Joined: 28 Dec 2004
Posts: 211

PostPosted: Sat Mar 25, 2006 4:04 pm    Post subject: Reply with quote

I have also tried
Code:
# emerge -avK =xorg-x11-6.8.2-r6

These are the packages that would be merged, in order:

Calculating dependencies -
emerge: there are no ebuilds to satisfy ">=x11-misc/ttmkfdir-3.0.9-r2".
(dependency required by "x11-base/xorg-x11-6.8.2-r6" [binary])


edit: Indeed, ttkmfdir is now in x11-apps
Code:
# emerge -av ttmkfdir

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] x11-apps/ttmkfdir-3.0.9-r3  19 kB

Total size of downloads: 19 kB

Do you want me to merge these packages? [Yes/No] no


I used package.provided
Code:
echo x11-misc/ttmkfdir-3.0.9-r2 > /etc/make.profile/package.provided

and I managed to reemerge my xorg binary package.
Now assuming that the compilation error gets solved and that I will try to emerge the modular xorg again, will I have to manually tell emerge to re-emerge all the packages (more than 50) that got installed before the emerge process stopped at xorg-server? Cause I suppose that reinstalling the binary package overwrote thos modular packages, and portage believes that they are installed... or not? 8O
Back to top
View user's profile Send private message
mutlu_inek
Tux's lil' helper
Tux's lil' helper


Joined: 20 Nov 2004
Posts: 141

PostPosted: Sat Mar 25, 2006 5:51 pm    Post subject: Reply with quote

eNTi wrote:
xorg-server-1.0.2-r1 fixes the problems and you need to undo the fix.

Yes it does. I still had the workarounds in my overlay, portage did not pull the updates from the servers. Thanks.
Back to top
View user's profile Send private message
dufeu
l33t
l33t


Joined: 30 Aug 2002
Posts: 924
Location: US-FL-EST

PostPosted: Sun Mar 26, 2006 3:01 am    Post subject: An odd problem I haven't seen mentioned yet. Reply with quote

I'm updating xorg-x11 on three different machines.

On this machine, I have an X800 PCIe based graphics card. I have the latest ati dirvers available - 8.23.7

The USE flags are set thusly:

Code:
[ebuild   R   ] x11-base/xorg-x11-7.0-r1  INPUT_DEVICES="keyboard mouse wacom -acecad -aiptek -calcomp -citron -digitaledge -dmc -dynapro -elo2300 -elographics -evdev -fpit -hyperpen -jamstudio -joystick -magellan -magictouch -microtouch -mutouch -palmax -penmount -spaceorb -summa -synaptics -tek4957 -ur98 -vmmouse -void" VIDEO_CARDS="ati fglrx vesa vga vmware -apm -ark -chips -cirrus -cyrix -dummy -fbdev -glint -i128 -i810 -mga -neomagic -nv -nvidia -rendition -s3 -s3virge -savage -siliconmotion -sis -sisusb -tdfx -tga -trident -tseng -v4l -via -voodoo" 0 kB

lsmod shows:
Code:
Module                  Size  Used by
fglrx                 502464  0
wacom                  15744  0
w83792d                29784  0
eeprom                  6800  0
snd_seq                51136  0
snd_seq_device          7696  1 snd_seq
snd_pcm_oss            47520  0
snd_mixer_oss          15232  1 snd_pcm_oss
r8169                  25160  0
snd_intel8x0           31272  2
snd_ac97_codec         99672  1 snd_intel8x0
snd_ac97_bus            2688  1 snd_ac97_codec
snd_pcm                82376  3 snd_pcm_oss,snd_intel8x0,snd_ac97_codec
snd_timer              21256  2 snd_seq,snd_pcm
snd                    48264  12 snd_seq,snd_seq_device,snd_pcm_oss,snd_mixer_oss,snd_intel8x0,snd_ac97_codec,snd_pcm,snd_timer
snd_page_alloc          9488  2 snd_intel8x0,snd_pcm
i2c_nforce2             6784  0


When I set opengl to ati
Code:
# eselect opengl set ati
Switching to ati OpenGL interface... done

and have configured /etc/X11/xorg.conf using
Code:
# aticonfig --initial

I get the following when I start X
Code:
(II) Loading extension XFree86-DRI
(II) LoadModule: "glx"
(II) Loading /usr/lib64/xorg/modules/extensions/libglx.so
(II) Module glx: vendor="X.Org Foundation"
        compiled for 7.0.0, module version = 1.0.0
        ABI class: X.Org Server Extension, version 0.2
(II) Loading sub module "GLcore"
(II) LoadModule: "GLcore"
(II) Loading /usr/lib64/xorg/modules/extensions/libGLcore.so
(II) Module GLcore: vendor="X.Org Foundation"
        compiled for 7.0.0, module version = 1.0.0
        ABI class: X.Org Server Extension, version 0.2
(II) Loading extension GLX
(II) LoadModule: "fglrx"
(WW) Warning, couldn't open module fglrx
(II) UnloadModule: "fglrx"
(EE) Failed to load module "fglrx" (module does not exist, 0)
(II) LoadModule: "mouse"
(II) Loading /usr/lib64/xorg/modules/input/mouse_drv.so
(II) Module mouse: vendor="X.Org Foundation"
        compiled for 7.0.0, module version = 1.0.4
        Module class: X.Org XInput Driver
        ABI class: X.Org XInput driver, version 0.5
(II) LoadModule: "kbd"
(II) Loading /usr/lib64/xorg/modules/input/kbd_drv.so
(II) Module kbd: vendor="X.Org Foundation"
        compiled for 7.0.0, module version = 1.0.1
        Module class: X.Org XInput Driver
        ABI class: X.Org XInput driver, version 0.5
(II) LoadModule: "wacom"
(WW) Warning, couldn't open module wacom
(II) UnloadModule: "wacom"
(EE) Failed to load module "wacom" (module does not exist, 0)
(EE) No drivers available.

Fatal server error:
no screens found

At the moment, I'm running X with opengl set to xorg-x11 using radeon as my driver which allows me to at least make meaningful use of this machine.

The relevant parts of xorg.conf are:
Code:
Section "ServerLayout"
        Identifier     "Simple Layout"
        Screen      0  "aticonfig Screen 0" 0 0
        InputDevice    "Mouse1" "CorePointer"
        InputDevice    "Keyboard1" "CoreKeyboard"
        InputDevice    "stylus" "SendCoreEvents"
EndSection

Section "Files"
        FontPath     "/usr/share/fonts/misc/"
        FontPath     "/usr/share/fonts/TTF/"
        FontPath     "/usr/share/fonts/Type1/"
        FontPath     "/usr/share/fonts/75dpi/"
        FontPath     "/usr/share/fonts/100dpi/"
        FontPath     "/usr/share/fonts/local/"
        FontPath     "/usr/share/fonts/freefont/"
EndSection

Section "Module"
        Load  "dbe"     # Double buffer extension
        SubSection "extmod"
                Option      "omit xfree86-dga"   # don't initialise the DGA extension
        EndSubSection
        Load  "type1"
        Load  "freetype"
        Load  "dri"
        Load  "glx"
EndSection

Section "InputDevice"
        Identifier  "Mouse1"
        Driver      "mouse"
        Option      "Protocol" "PS/2"
        Option      "Device" "/dev/psaux"
        Option      "Emulate3Buttons"
EndSection

Section "Monitor"
        Identifier   "aticonfig Monitor 0"
EndSection

Section "Device"
        Identifier  "ATI Graphics Adapter 0"
        Driver      "fglrx"
        BusID       "PCI:4:0:0"
EndSection

Section "Screen"
        Identifier "aticonfig Screen 0"
        Device     "ATI Graphics Adapter 0"
        Monitor    "aticonfig Monitor 0"
        DefaultDepth     24
        SubSection "Display"
                Viewport   0 0
                Depth     24
                Modes    "1280x1024" "1024x768" "800x600" "640x480"
        EndSubSection
EndSection

Advice would be appreciated. :-D
_________________
People whom think M$ is mediocre, don't know the half of it.
Back to top
View user's profile Send private message
johndo
n00b
n00b


Joined: 22 Nov 2003
Posts: 32

PostPosted: Sun Mar 26, 2006 6:37 am    Post subject: Reply with quote



Last edited by johndo on Mon Mar 27, 2006 6:43 am; edited 2 times in total
Back to top
View user's profile Send private message
shikon
n00b
n00b


Joined: 12 Oct 2005
Posts: 7

PostPosted: Sun Mar 26, 2006 10:09 am    Post subject: evdev driver annoyance Reply with quote

Hi,

I got everything installed and working (acer aspire 1520), but I noticed a very annoying problem with the new evdev driver. It does not obey the..

Code:

Section "ServerFlags"
    Option      "AllowMouseOpenFail"    "True"
EndSection


..which is a really big no-no with a laptop. If I configure my external mouse with the evdev, my X hangs rather bad on startup (I'm left with nvidia logo and the keyboard doesn't even work), even if it is not the corepointer (my touchpad is). If someone knows a workaround, I'd be happy to hear it.

Also, I had trouble getting the new X to detect my synaptics touchpad, how ever, I got it fixed by using the manual configuration instead of the "auto-dev" which is the default:

Code:

Section "InputDevice"
  Identifier    "touchpad"
  Driver        "synaptics"
  Option        "Device"        "/dev/input/synpad"
  Option        "Protocol"      "event"
....
EndSection


The input device is created with udev automagically:

Code:

# cat /etc/udev/rules.d/49-mousedev.rules
KERNEL=="event*", SYSFS{../name}=="SynPS/2 Synaptics TouchPad", NAME="input/synpad", MODE="664", GROUP="plugdev"


Note, that the order counts with udev, thus 49. I guess you could also define it with the "Dev Phys" directive, mine seems to be Phys=isa0060/serio4/input0, so the correct line would be:

Code:

  Option        "Dev Phys"      "isa0060/serio4/input0"


You can find more examples of using "Dev Phys" with google, if needed.
Back to top
View user's profile Send private message
Knute
Guru
Guru


Joined: 28 Jun 2004
Posts: 362
Location: Fargo, ND

PostPosted: Sun Mar 26, 2006 9:00 pm    Post subject: Reply with quote

eae wrote:
Hi, compilation of x11-base/xorg-server-1.0.2-r1 fails with
Code:
glxcmds.c: In function `__glXBindSwapBarrierSGIX':
glxcmds.c:1749: warning: cast to pointer from integer of different size
glxcmds.c: In function `__glxQueryHyperpipeNetworkSGIX':

<<snipped>>

make[2]: Leaving directory `/var/tmp/portage/xorg-server-1.0.2-r1/work/xorg-server-1.0.2/GL/glx'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/xorg-server-1.0.2-r1/work/xorg-server-1.0.2/GL'
make: *** [all-recursive] Error 1

!!! ERROR: x11-base/xorg-server-1.0.2-r1 failed.
Call stack:
  ebuild.sh, line 1573:   Called dyn_compile
  ebuild.sh, line 982:   Called src_compile
  ebuild.sh, line 1288:   Called x-modular_src_compile
  x-modular.eclass, line 305:   Called x-modular_src_make

!!! emake failed
!!! If you need support, post the topmost build error, and the call stack if relevant.



Your problem is that you are missing a file on an ebuild that has already been installed. I believe that this one is gl.h and glx.h which is in the mesa ebuild.
I just got finished struggling with this very issue myself.
(And now it either segfaults, or gives me a fatal error when I try to start it.
:mad: )

Anyway, when this happens, all you can do is go back thru the code and look for the file not found message, then equery belongs the file to see which ebuild you need to reinstall.
_________________
Knute
----------
The human race has one really effective weapon, and that is laughter.
-- Mark Twain

If you want proof of that, take a look at windows sometime. :)
Back to top
View user's profile Send private message
eae
Apprentice
Apprentice


Joined: 28 Dec 2004
Posts: 211

PostPosted: Sun Mar 26, 2006 9:47 pm    Post subject: Reply with quote

Knute wrote:

Your problem is that you are missing a file on an ebuild that has already been installed. I believe that this one is gl.h and glx.h which is in the mesa ebuild.
I just got finished struggling with this very issue myself.
(And now it either segfaults, or gives me a fatal error when I try to start it.
:mad: )

Anyway, when this happens, all you can do is go back thru the code and look for the file not found message, then equery belongs the file to see which ebuild you need to reinstall.


Hmm so you say that I should reemerge mesa? Looks like I can't
Code:
# emerge -av mesa

These are the packages that would be merged, in order:

Calculating dependencies... done!
[blocks B     ] <=x11-base/xorg-x11-6.9 (is blocking media-libs/mesa-6.4.2-r2)
[ebuild   R   ] media-libs/mesa-6.4.2-r2  USE="-debug -motif" VIDEO_CARDS="-ati -i810 -mga -none -s3virge -savage -sis -tdfx -trident -via" 0 kB

Total size of downloads: 0 kB

!!! Error: The above package list contains packages which cannot be installed
!!!        at the same time on the same system.


I suppose that I should unmerge xorg again before doing it.
Anyways I'm not sure how to proceed, as i said, considering that I installed 60 packets or so from the modular xorg and then, after I got stuck at xorg-server, I reinstalled the monolithic one using the binary package. Now if I uninstall xorg, reinstall mesa and give the command to emerge the modular xorg, will things work?
Back to top
View user's profile Send private message
Knute
Guru
Guru


Joined: 28 Jun 2004
Posts: 362
Location: Fargo, ND

PostPosted: Sun Mar 26, 2006 10:51 pm    Post subject: Reply with quote

eae wrote:

I suppose that I should unmerge xorg again before doing it.
Anyways I'm not sure how to proceed, as i said, considering that I installed 60 packets or so from the modular xorg and then, after I got stuck at xorg-server, I reinstalled the monolithic one using the binary package. Now if I uninstall xorg, reinstall mesa and give the command to emerge the modular xorg, will things work?


Oh god no!

You'd have to unmerge the monolithic one, and then you will have TONS of files that you will need to re-emerge.
I did that last night, which led me to the solution that I posted before.

Now, for me, the modular build just fails. Not sure why, it just does.
I'm currently reinstalling xorg-server to see if that will change anything.
_________________
Knute
----------
The human race has one really effective weapon, and that is laughter.
-- Mark Twain

If you want proof of that, take a look at windows sometime. :)
Back to top
View user's profile Send private message
drakos7
Apprentice
Apprentice


Joined: 21 Feb 2003
Posts: 294
Location: Rockville, MD, USA, Earth, Sol

PostPosted: Mon Mar 27, 2006 3:32 am    Post subject: Re: An odd problem I haven't seen mentioned yet. Reply with quote

dufeu wrote:
I'm updating xorg-x11 on three different machines.

On this machine, I have an X800 PCIe based graphics card. I have the latest ati dirvers available - 8.23.7
...
Code:
[ebuild   R   ] x11-base/xorg-x11-7.0-r1  INPUT_DEVICES="keyboard mouse wacom
...

I get the following when I start X
Code:
(II) Loading extension XFree86-DRI
...
(II) LoadModule: "wacom"
(WW) Warning, couldn't open module wacom
(II) UnloadModule: "wacom"
(EE) Failed to load module "wacom" (module does not exist, 0)
(EE) No drivers available.
...
At the moment, I'm running X with opengl set to xorg-x11 using radeon as my driver which allows me to at least make meaningful use of this machine.
...


Your problem seems to do nothing with opengl or your radeon drivers. It is the wacom that is causing the problem. Remove it from your xorg.conf file at least temporarily to get things working.
Back to top
View user's profile Send private message
Strowi
l33t
l33t


Joined: 19 Aug 2003
Posts: 656
Location: Bonn

PostPosted: Mon Mar 27, 2006 8:49 am    Post subject: Reply with quote

hi,

i just tried installing xorg7 on my amd64, ati radeon x800 computer.
While the monolithic kernel worked fine, the new one just crashes the whole pc, forcing me to a reset.

Does anyone have similar problems?

I didn't want to paste the long logfies here, so i put them up here:

make.conf
dmesg
Xorg.0-log
messages

i don't know if there is any other useful information i can give?
_________________
--
Linux & such ...
http://blog.hasnoname.de
Back to top
View user's profile Send private message
EricHsu
Bodhisattva
Bodhisattva


Joined: 03 May 2004
Posts: 591
Location: Aragon Consulting Group, Beijing, China

PostPosted: Mon Mar 27, 2006 8:59 am    Post subject: Reply with quote

guys, sorry for my inpatience of reading the whole thread.

here is my question:

how can I rebuild all the necessary packages of xorg-x11-7.0?

I emerge -u world to update my x from 6.9.0 to 7.0, then I ran into the could not open default font 'fixed' bug.

before I read this bug report, I just emerge -K xorg-6.9.0 - my backup version trying to get my X back and running, however, the backup'd version didn't work - since during the world update, I was rebuilding my system to be 'pam free', so the quickpkg version depends on 'pam'.

so I emerge -C the 6.9.0 version and tried to emerge xorg-x11-7.0 again, but the portage kept emerging only the xorg-x11-7.0 meta ebuild only - and the other x libs were unmerged during unmerging 6.9.0 version!

so I need to totally rebuild the whole xorg-x11 7.0 packages, how can I do that?

(I tried emerge -p depclean or revdep-rebuild to see if I could figure out the x libs those depend on the xorg-x11-7.0 meta ebuild, however, no x libs depends on this meta ebuild! so I'm unable to emerge depclean to removed the x libs first then re-emerge xorg-x11 to pull them back again...:( )

pls help~

big thanks!
_________________
- http://nkbit.com
- http://twitter.com/xuyihua
Back to top
View user's profile Send private message
Xake
Guru
Guru


Joined: 11 Feb 2004
Posts: 588
Location: Göteborg, the rainy part of scandinavia

PostPosted: Mon Mar 27, 2006 9:09 am    Post subject: Reply with quote

EricHsu wrote:
so I need to totally rebuild the whole xorg-x11 7.0 packages, how can I do that?


I think the esiest way (and maybe only without unemergeing alot of other packages or reemerge all libs by hand) is to emerge xorg-x11 -e
Back to top
View user's profile Send private message
mxa055
n00b
n00b


Joined: 09 Oct 2005
Posts: 38

PostPosted: Mon Mar 27, 2006 10:16 am    Post subject: Migrating to Modular X problem following howto Reply with quote

Hi,
I am trying to follow the Migrating to Modular X HOWTO http://www.gentoo.org/proj/en/desktop/x/x11/modular-x-howto.xml but with no success.

I do

Code:

# emerge gentoolkit                                      [b]OK[/b]
# quickpkg xorg-x11                                     [b]OK[/b]
# emerge -Ca xorg-x11 virtual/x11                [b]OK[/b]
#if [[ ! -L /usr/X11R6 ]]; \
   then equery belongs /usr/X11R6 > ~/usr-x11r6-packages \
   && rm -rf /usr/X11R6; fi                                                              [b]no output?[/b]


My /etc/portage/package.keywords looks like
Code:

app-doc/xorg-docs
app-doc/xorg-sgml-doctools
media-fonts/encodings
media-fonts/font-adobe-100dpi
media-fonts/font-adobe-75dpi
media-fonts/font-adobe-utopia-100dpi
media-fonts/font-adobe-utopia-75dpi
media-fonts/font-adobe-utopia-type1
media-fonts/font-alias
media-fonts/font-arabic-misc
media-fonts/font-bh-100dpi
media-fonts/font-bh-75dpi
media-fonts/font-bh-lucidatypewriter-100dpi
media-fonts/font-bh-lucidatypewriter-75dpi
media-fonts/font-bh-ttf
media-fonts/font-bh-type1
media-fonts/font-bitstream-100dpi
media-fonts/font-bitstream-75dpi
media-fonts/font-bitstream-speedo
media-fonts/font-bitstream-type1
media-fonts/font-cronyx-cyrillic
media-fonts/font-cursor-misc
media-fonts/font-daewoo-misc
media-fonts/font-dec-misc
media-fonts/font-ibm-type1
media-fonts/font-isas-misc
media-fonts/font-jis-misc
media-fonts/font-micro-misc
media-fonts/font-misc-cyrillic
media-fonts/font-misc-ethiopic
media-fonts/font-misc-meltho
media-fonts/font-misc-misc
media-fonts/font-mutt-misc
media-fonts/font-schumacher-misc
media-fonts/font-screen-cyrillic
media-fonts/font-sony-misc
media-fonts/font-sun-misc
media-fonts/font-util
media-fonts/font-winitzki-cyrillic
media-fonts/font-xfree86-type1
media-libs/mesa
virtual/x11
x11-apps/appres
x11-apps/bdftopcf
x11-apps/beforelight
x11-apps/bitmap
x11-apps/editres
x11-apps/fonttosfnt
x11-apps/fslsfonts
x11-apps/fstobdf
x11-apps/iceauth
x11-apps/ico
x11-apps/lbxproxy
x11-apps/listres
x11-apps/luit
x11-apps/mkcfm
x11-apps/mkfontdir
x11-apps/mkfontscale
x11-apps/oclock
x11-apps/proxymngr
x11-apps/rgb
x11-apps/rstart
x11-apps/scripts
x11-apps/sessreg
x11-apps/setxkbmap
x11-apps/showfont
x11-apps/smproxy
x11-wm/twm
x11-apps/viewres
x11-apps/x11perf
x11-apps/xauth
x11-apps/xbiff
x11-apps/xcalc
x11-apps/xclipboard
x11-apps/xclock
x11-apps/xcmsdb
x11-apps/xconsole
x11-apps/xcursorgen
x11-apps/xdbedizzy
x11-apps/xditview
x11-apps/xdm
x11-apps/xdpyinfo
x11-apps/xdriinfo
x11-apps/xedit
x11-apps/xev
x11-apps/xeyes
x11-apps/xf86dga
x11-apps/xfd
x11-apps/xfindproxy
x11-apps/xfontsel
x11-apps/xfs
x11-apps/xfsinfo
x11-apps/xfwp
x11-apps/xgamma
x11-apps/xgc
x11-apps/xhost
x11-apps/xinit
x11-apps/xkbcomp
x11-apps/xkbevd
x11-apps/xkbprint
x11-apps/xkbutils
x11-apps/xkill
x11-apps/xload
x11-apps/xlogo
x11-apps/xlsatoms
x11-apps/xlsclients
x11-apps/xlsfonts
x11-apps/xmag
x11-apps/xman
x11-apps/xmessage
x11-apps/xmh
x11-apps/xmodmap
x11-apps/xmore
x11-apps/xphelloworld
x11-apps/xplsprinters
x11-apps/xpr
x11-apps/xprehashprinterlist
x11-apps/xprop
x11-apps/xrandr
x11-apps/xrdb
x11-apps/xrefresh
x11-apps/xrx
x11-apps/xset
x11-apps/xsetmode
x11-apps/xsetpointer
x11-apps/xsetroot
x11-apps/xsm
x11-apps/xstdcmap
x11-apps/xtrap
x11-apps/xvidtune
x11-apps/xvinfo
x11-apps/xwd
x11-apps/xwininfo
x11-apps/xwud
x11-base/kdrive
x11-base/xorg-server
x11-drivers/xf86-input-acecad
x11-drivers/xf86-input-aiptek
x11-drivers/xf86-input-calcomp
x11-drivers/xf86-input-citron
x11-drivers/xf86-input-digitaledge
x11-drivers/xf86-input-dmc
x11-drivers/xf86-input-dynapro
x11-drivers/xf86-input-elo2300
x11-drivers/xf86-input-elographics
x11-drivers/xf86-input-evdev
x11-drivers/xf86-input-fpit
x11-drivers/xf86-input-hyperpen
x11-drivers/xf86-input-jamstudio
x11-drivers/xf86-input-joystick
x11-drivers/xf86-input-keyboard
x11-drivers/xf86-input-magellan
x11-drivers/xf86-input-magictouch
x11-drivers/xf86-input-microtouch
x11-drivers/xf86-input-mouse
x11-drivers/xf86-input-mutouch
x11-drivers/xf86-input-palmax
x11-drivers/xf86-input-penmount
x11-drivers/xf86-input-spaceorb
x11-drivers/xf86-input-summa
x11-drivers/xf86-input-tek4957
x11-drivers/xf86-input-ur98
x11-drivers/xf86-input-vmmouse
x11-drivers/xf86-input-void
x11-drivers/xf86-video-apm
x11-drivers/xf86-video-ark
x11-drivers/xf86-video-ati
x11-drivers/xf86-video-chips
x11-drivers/xf86-video-cirrus
x11-drivers/xf86-video-cyrix
x11-drivers/xf86-video-dummy
x11-drivers/xf86-video-fbdev
x11-drivers/xf86-video-glint
x11-drivers/xf86-video-i128
x11-drivers/xf86-video-i740
x11-drivers/xf86-video-i810
x11-drivers/xf86-video-imstt
x11-drivers/xf86-video-mga
x11-drivers/xf86-video-neomagic
x11-drivers/xf86-video-newport
x11-drivers/xf86-video-nsc
x11-drivers/xf86-video-nv
x11-drivers/xf86-video-rendition
x11-drivers/xf86-video-s3
x11-drivers/xf86-video-s3virge
x11-drivers/xf86-video-savage
x11-drivers/xf86-video-siliconmotion
x11-drivers/xf86-video-sis
x11-drivers/xf86-video-sisusb
x11-drivers/xf86-video-sunbw2
x11-drivers/xf86-video-suncg14
x11-drivers/xf86-video-suncg3
x11-drivers/xf86-video-suncg6
x11-drivers/xf86-video-sunffb
x11-drivers/xf86-video-sunleo
x11-drivers/xf86-video-suntcx
x11-drivers/xf86-video-tdfx
x11-drivers/xf86-video-tga
x11-drivers/xf86-video-trident
x11-drivers/xf86-video-tseng
x11-drivers/xf86-video-v4l
x11-drivers/xf86-video-vesa
x11-drivers/xf86-video-vga
x11-drivers/xf86-video-via
x11-drivers/xf86-video-vmware
x11-drivers/xf86-video-voodoo
x11-libs/libdmx
x11-libs/libdrm
x11-libs/libfontenc
x11-libs/libFS
x11-libs/libICE
x11-libs/liblbxutil
x11-libs/liboldX
x11-libs/libSM
x11-libs/libX11
x11-libs/libXau
x11-libs/libXaw
x11-libs/libXcomposite
x11-libs/libXcursor
x11-libs/libXdamage
x11-libs/libXdmcp
x11-libs/libXevie
x11-libs/libXext
x11-libs/libXfixes
x11-libs/libXfont
x11-libs/libXfontcache
x11-libs/libXft
x11-libs/libXi
x11-libs/libXinerama
x11-libs/libxkbfile
x11-libs/libxkbui
x11-libs/libXmu
x11-libs/libXp
x11-libs/libXpm
x11-libs/libXprintAppUtil
x11-libs/libXprintUtil
x11-libs/libXrandr
x11-libs/libXrender
x11-libs/libXres
x11-libs/libXScrnSaver
x11-libs/libXt
x11-libs/libXTrap
x11-libs/libXtst
x11-libs/libXv
x11-libs/libXvMC
x11-libs/libXxf86dga
x11-libs/libXxf86misc
x11-libs/libXxf86vm
x11-libs/xtrans
x11-misc/gccmakedep
x11-misc/imake
x11-misc/lndir
x11-misc/makedepend
x11-misc/util-macros
x11-misc/xbitmaps
x11-misc/xkbdata
x11-misc/xkeyboard-config
x11-misc/xorg-cf-files
x11-proto/bigreqsproto
x11-proto/compositeproto
x11-proto/damageproto
x11-proto/dmxproto
x11-proto/evieext
x11-proto/fixesproto
x11-proto/fontcacheproto
x11-proto/fontsproto
x11-proto/glproto
x11-proto/inputproto
x11-proto/kbproto
x11-proto/printproto
x11-proto/randrproto
x11-proto/recordproto
x11-proto/renderproto
x11-proto/resourceproto
x11-proto/scrnsaverproto
x11-proto/trapproto
x11-proto/videoproto
x11-proto/xcmiscproto
x11-proto/xextproto
x11-proto/xf86bigfontproto
x11-proto/xf86dgaproto
x11-proto/xf86driproto
x11-proto/xf86miscproto
x11-proto/xf86rushproto
x11-proto/xf86vidmodeproto
x11-proto/xineramaproto
x11-proto/xproto
x11-proto/xproxymanagementprotocol
x11-themes/gentoo-xcursors
x11-themes/xcursor-themes

>=sys-apps/portage-2.1_pre4
=sys-apps/man-1.6b-r2
app-admin/eselect-opengl
>=app-admin/eselect-1.0_rc1
media-video/nvidia-kernel
media-video/nvidia-glx


But when I do
Code:
emerge --verbose --pretend xorg-x11


I get:
Code:
These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild  N    ] x11-base/xorg-x11-6.8.2-r6  -3dfx -3dnow +bitmap-fonts -cjk -debug -dlloader -dmx -doc -font-server -insecure-drivers +ipv6 -minimal -mmx +nls -nocxx +opengl +pam -sdk -sse -static +truetype-fonts +type1-fonts (-uclibc) -xprint +xv 0 kB


What am I missing here?
Back to top
View user's profile Send private message
ecatmur
Advocate
Advocate


Joined: 20 Oct 2003
Posts: 3595
Location: Edinburgh

PostPosted: Mon Mar 27, 2006 10:19 am    Post subject: Reply with quote

You also need to keyword x11-base/xorg-x11.
_________________
No more cruft
dep: Revdeps that work
Using command-line ACCEPT_KEYWORDS?
Back to top
View user's profile Send private message
mark_alec
Bodhisattva
Bodhisattva


Joined: 11 Sep 2004
Posts: 6066
Location: Melbourne, Australia

PostPosted: Mon Mar 27, 2006 10:28 am    Post subject: Reply with quote

Merged above two posts.
Back to top
View user's profile Send private message
mxa055
n00b
n00b


Joined: 09 Oct 2005
Posts: 38

PostPosted: Mon Mar 27, 2006 10:45 am    Post subject: Reply with quote

ecatmur wrote:
You also need to keyword x11-base/xorg-x11.


thanks it works with the addition of a couple more masks that it complains about after adding xorg-x11... that wasn't very clear to me from what I read in the howto.
Back to top
View user's profile Send private message
mxa055
n00b
n00b


Joined: 09 Oct 2005
Posts: 38

PostPosted: Mon Mar 27, 2006 11:28 am    Post subject: Reply with quote

darn, and it was doing so well....

I started emerging xorg-x11 and when it got to libX11-1.0.0.tar.bz2 I got

Code:

!!! Digest verification Failed:
!!!    /usr/portage/distfiles/libX11-1.0.0.tar.bz2
!!! Reason: Failed on MD5 verification


I tried deleting the file from /usr/portage/distfiles and getting it manually from xorg.freedesktop.org but same error.
And now its really weird it seems like it tries to download it from all the mirrors I have in make.conf but gives The file is already fully retrieved; nothing to do message, but then tries again with the next mirror until it downloads it using the last in row (no matter which one it is) 8O
Back to top
View user's profile Send private message
Xake
Guru
Guru


Joined: 11 Feb 2004
Posts: 588
Location: Göteborg, the rainy part of scandinavia

PostPosted: Mon Mar 27, 2006 11:56 am    Post subject: Reply with quote

mxa055 wrote:
darn, and it was doing so well....

I started emerging xorg-x11 and when it got to libX11-1.0.0.tar.bz2 I got

Code:

!!! Digest verification Failed:
!!!    /usr/portage/distfiles/libX11-1.0.0.tar.bz2
!!! Reason: Failed on MD5 verification


I tried deleting the file from /usr/portage/distfiles and getting it manually from xorg.freedesktop.org but same error.
And now its really weird it seems like it tries to download it from all the mirrors I have in make.conf but gives The file is already fully retrieved; nothing to do message, but then tries again with the next mirror until it downloads it using the last in row (no matter which one it is) 8O


rm /usr/portage/distfiles/libX11-1.0.0.tar.bz2 && emerge sync
Back to top
View user's profile Send private message
EricHsu
Bodhisattva
Bodhisattva


Joined: 03 May 2004
Posts: 591
Location: Aragon Consulting Group, Beijing, China

PostPosted: Mon Mar 27, 2006 1:23 pm    Post subject: Reply with quote

@Xake:

thanks a lot for you hint! however, that pulled in tone of packages, I had to rebuild gcc, glibc & lots of other stuff.

after a long time building, the emerge process terminated since it encountered the libX11's digest error as mxa055, then, now I don't know how can I resume the emerge process again... (the only two ways I can think about is run emerge -e xorg-x11 again to emerge tones of thing or write a small script to pick out all the packages left to compile only these packages)...

Is there a better way that I can compile ONLY the xorg-x11-7.0 relative packages?
_________________
- http://nkbit.com
- http://twitter.com/xuyihua
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Goto page Previous  1, 2, 3 ... 5, 6, 7 ... 20, 21, 22  Next
Page 6 of 22

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum