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

Goto page Previous  1, 2, 3, ... 35, 36, 37  Next  
This topic is locked: you cannot edit posts or make replies.    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
Piper Dawn
n00b
n00b


Joined: 31 Oct 2004
Posts: 6

PostPosted: Thu Sep 15, 2005 1:47 pm    Post subject: Reply with quote

n0n wrote:
Piper Dawn wrote:
Seems to be a showstopper that should have been picked up by now, but I'm willing to accept it as an error in my (admittedly quite clumsy) installation.

When things like that happen, it's generally a problem with the video driver being used at the time. What driver are you using?

i810, on an 845GL chipset.

edit: also, I'm running xorg-server-0.99.1-r9, and version 1.4.0-r3 of the driver.
Back to top
View user's profile Send private message
4nykey
Apprentice
Apprentice


Joined: 11 Feb 2004
Posts: 176

PostPosted: Thu Sep 15, 2005 2:53 pm    Post subject: Reply with quote

Hello.

If anybody knows, what is Xv status, is it supposed to work out of the box/not working yet/requires extra moves/packages?

I've got 'S3 Inc. Savage 4 (rev 02)',
Code:
Section "Device"
        Identifier  "Card0"
        Driver      "savage"
        VendorName  "S3 Inc."
        BoardName   "Savage 4"
        BusID       "PCI:1:0:0"
EndSection

Quote:
xvinfo
X-Video Extension version 2.2
screen #0
no adaptors present


I see, there's an '--enable-xv' in xorg-server config script, disabled by default. Tried to tick it, still no xv (hence no telly :cry:).
Quote:
xvoutput: No XVIDEO port found which supports YUY2 images.

*** tvtime requires hardware YUY2 overlay support from your video card
*** driver.

_________________
anykey banykey yelee varanykey
Back to top
View user's profile Send private message
r00tzz
Apprentice
Apprentice


Joined: 09 Apr 2004
Posts: 203
Location: Sao Paulo, Brasil

PostPosted: Sat Sep 17, 2005 12:21 pm    Post subject: Reply with quote

Phlogiston. wrote:
Before I'll try this modular thing... Is anyone out there using this with nvidia driver? Got it anyone to work?

Greets


YES!!! After re-emerging nvidia-kernel and nvidia-glx it did work!
Back to top
View user's profile Send private message
Phlogiston
Veteran
Veteran


Joined: 27 Jan 2004
Posts: 1925
Location: Europe, Swizerland

PostPosted: Sat Sep 17, 2005 2:14 pm    Post subject: Reply with quote

r00tzz wrote:
Phlogiston. wrote:
Before I'll try this modular thing... Is anyone out there using this with nvidia driver? Got it anyone to work?

Greets


YES!!! After re-emerging nvidia-kernel and nvidia-glx it did work!


hmm thats good news... probably when I find time, I'll try this out...

No other problems so far? Did you follow normal howto? Can you tell us something about perfomance changes? :)
_________________
Workstation: 5.1 SurroundSound, LIRC remote control; Laptop [IBM-T43]: patched sources, s2disk/ram, fingerprint sensor
Back to top
View user's profile Send private message
irondog
l33t
l33t


Joined: 07 Jul 2003
Posts: 715
Location: Voor mijn TV. Achter mijn pc.

PostPosted: Sat Sep 17, 2005 6:07 pm    Post subject: Reply with quote

I've been running xorg-modular on two systems for a while now. For nvidia with binary drivers GLX doesn't work. When enabling GLX the server starts but crashes after 1 second.

For my ATI computer only the fbdev driver works. Everything else makes my screen become black until reboot.

For both systems xmodmap doesn't work correctly. I'm not going back to monolithic. I'm waiting for new, more stable versions patiently. In other words: it works good enough. I think devs have problems locating causes for some bugs. The project is big and some things just work in monolithic, but are broken on modular. They are weeks behind scedule.
_________________
Alle dingen moeten onzin zijn.
Back to top
View user's profile Send private message
r00tzz
Apprentice
Apprentice


Joined: 09 Apr 2004
Posts: 203
Location: Sao Paulo, Brasil

PostPosted: Mon Sep 19, 2005 1:42 am    Post subject: Reply with quote

Phlogiston. wrote:
No other problems so far?


Problems I see was emerge every other package needed for my apps to run again... A LOT of libraries was needed to run many programs...

Phlogiston. wrote:
Did you follow normal howto?

Yes, I've followed the how-to on the first post

Phlogiston. wrote:
Can you tell us something about perfomance changes?

Just start time was slightly better... after everything is running no diference (at least no noticiable)...

irondog wrote:
For nvidia with binary drivers GLX doesn't work. When enabling GLX the server starts but crashes after 1 second.

No problems here just re-emerged both nvidia-kernel and nvidia-glx.... Did you check your ModulePath part?
Back to top
View user's profile Send private message
Sprotte
Apprentice
Apprentice


Joined: 18 Oct 2004
Posts: 217
Location: Kiel, Germany

PostPosted: Sun Sep 25, 2005 3:10 am    Post subject: Reply with quote

I filed my bug with the chips driver at bugs.gentoo.org:

bug 107133

https://bugs.gentoo.org/show_bug.cgi?id=107133

sprotte
Back to top
View user's profile Send private message
Bonkie
Guru
Guru


Joined: 28 Oct 2002
Posts: 501
Location: Antwerpen, Belgium

PostPosted: Sun Sep 25, 2005 3:10 pm    Post subject: Re: The modular X server bugs, annoyances and solutions thre Reply with quote

Voltago wrote:
Before you start, create copy the folder '/usr/portage/x11-base/xorg-server' to your overlay and add the line
Code:
PROVIDE="virtual/x11"

somewhere at the beginning of the ebuild and add the line
Code:
virtual/x11 x11-base/xorg-server

to '/etc/portage/profile/virtuals' to stop portage nagging about missing dependencies.


It also helps to add

Code:
virtual/xft x11-libs/libXft


Also just switched to modular X and im hoping I did everything allright :)
_________________
"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
Back to top
View user's profile Send private message
Bonkie
Guru
Guru


Joined: 28 Oct 2002
Posts: 501
Location: Antwerpen, Belgium

PostPosted: Mon Sep 26, 2005 1:12 pm    Post subject: Reply with quote

Xdm wont start, keeps complaining:

Code:
(==) Using config file: "/etc/X11/xorg.conf"
xdm error (pid 27383): /usr/lib/X11/xdm/libXdmGreet.so: cannot open shared object file: No such file or directory while loading /usr/lib/X11/xdm/libXdmGreet.so


Cant find it in x11-libs so what am I missing ??
_________________
"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
Back to top
View user's profile Send private message
Voltago
Advocate
Advocate


Joined: 02 Sep 2003
Posts: 2584
Location: userland

PostPosted: Mon Sep 26, 2005 3:16 pm    Post subject: Re: The modular X server bugs, annoyances and solutions thre Reply with quote

Bonkie wrote:

It also helps to add

Code:
virtual/xft x11-libs/libXft


If you really want to use the fontserver, yes. But I urge everyone not to use this obsolete piece of software. Use fontconfig instead.


Last edited by Voltago on Mon Sep 26, 2005 3:27 pm; edited 1 time in total
Back to top
View user's profile Send private message
Voltago
Advocate
Advocate


Joined: 02 Sep 2003
Posts: 2584
Location: userland

PostPosted: Mon Sep 26, 2005 3:26 pm    Post subject: Reply with quote

Bonkie wrote:
Xdm wont start, keeps complaining:

Code:
(==) Using config file: "/etc/X11/xorg.conf"
xdm error (pid 27383): /usr/lib/X11/xdm/libXdmGreet.so: cannot open shared object file: No such file or directory while loading /usr/lib/X11/xdm/libXdmGreet.so


Cant find it in x11-libs so what am I missing ??

Are you sure you cleaned out your old X11 properly before emerging the new stuff? Since all libs (except modules and drivers) for modular xorg go directly into /usr/lib, nothing should be linked against /usr/lib/X11/<whatever>.so. Consider wiping out and re-emerging all your X stuff.
Back to top
View user's profile Send private message
Bonkie
Guru
Guru


Joined: 28 Oct 2002
Posts: 501
Location: Antwerpen, Belgium

PostPosted: Mon Sep 26, 2005 6:51 pm    Post subject: Reply with quote

Voltago wrote:
Consider wiping out and re-emerging all your X stuff.


Could u be more specific ???

I followed the modular X howto as far as I can remember, and I did a revdep-rebuild but the problem still exists.

Code:
# ldd /usr/bin/xdm
        linux-gate.so.1 =>  (0xffffe000)
        libXpm.so.4 => /usr/lib/libXpm.so.4 (0xb7f3c000)
        libX11.so.6 => /usr/lib/libX11.so.6 (0xb7e52000)
        libdl.so.2 => /lib/libdl.so.2 (0xb7e4e000)
        libXaw7.so.7 => /usr/lib/libXaw7.so.7 (0xb7df4000)
        libXmu.so.6 => /usr/lib/libXmu.so.6 (0xb7ddf000)
        libXt.so.6 => /usr/lib/libXt.so.6 (0xb7d94000)
        libSM.so.6 => /usr/lib/libSM.so.6 (0xb7d8d000)
        libICE.so.6 => /usr/lib/libICE.so.6 (0xb7d75000)
        libXext.so.6 => /usr/lib/libXext.so.6 (0xb7d67000)
        libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0xb7d63000)
        libcrypt.so.1 => /lib/libcrypt.so.1 (0xb7d35000)
        libpam.so.0 => /lib/libpam.so.0 (0xb7d2c000)
        libc.so.6 => /lib/libc.so.6 (0xb7c0f000)
        libXau.so.6 => /usr/lib/libXau.so.6 (0xb7c0c000)
        /lib/ld-linux.so.2 (0xb7f61000)


I dont have much in /usr/lib/X11 at all (certainly not libXdmGreet.so) so I dont understand why xdm keeps complaining about it :?

Code:
# tail /var/log/xdm.log
        Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Mon Sep 26 20:24:26 2005
(==) Using config file: "/etc/X11/xorg.conf"
xdm error (pid 3774): /usr/lib/X11/xdm/libXdmGreet.so: cannot open shared object file: No such file or directory while loading /usr/lib/X11/xdm/libXdmGreet.so
FreeFontPath: FPE "/usr/share/fonts/misc/" refcount is 2, should be 1; fixing.

_________________
"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
Back to top
View user's profile Send private message
COiN3D
Guru
Guru


Joined: 02 Aug 2004
Posts: 543
Location: Munich, Germany

PostPosted: Mon Sep 26, 2005 8:01 pm    Post subject: Reply with quote

Excuse me, but what is that often-seen DRI-Support good for? What is DRI generally?
_________________
e17 documentation | Be free and use Jabber as your IM! | Combine IRC and IM
Back to top
View user's profile Send private message
Husky
Tux's lil' helper
Tux's lil' helper


Joined: 23 Oct 2003
Posts: 77

PostPosted: Tue Sep 27, 2005 2:14 pm    Post subject: Re: The modular X server bugs, annoyances and solutions thre Reply with quote

Voltago wrote:

A few additional considerations:
[list=1][*]You should know what you are doing (to a certain degree).
[*]Before you start, create copy the folder '/usr/portage/x11-base/xorg-server' to your overlay and add the line
Code:
PROVIDE="virtual/x11"

somewhere at the beginning of the ebuild and add the line
Code:
virtual/x11 x11-base/xorg-server

to '/etc/portage/profile/virtuals' to stop portage nagging about missing dependencies.


shouldn't xorg-server at least also provide virtual/glu and virtual/opengl?
Back to top
View user's profile Send private message
n0n
Guru
Guru


Joined: 13 Jun 2002
Posts: 355

PostPosted: Tue Sep 27, 2005 2:20 pm    Post subject: Re: The modular X server bugs, annoyances and solutions thre Reply with quote

Husky wrote:
shouldn't xorg-server at least also provide virtual/glu and virtual/opengl?

Those are provided by media-libs/mesa under the modular heirarchy, seems.
Back to top
View user's profile Send private message
arkaine
n00b
n00b


Joined: 23 Jun 2004
Posts: 62
Location: Ohio

PostPosted: Tue Sep 27, 2005 11:11 pm    Post subject: Reply with quote

Hmmm...let me try and figure out how I'm gonna do this...

I have tried over and over, with no sucess, to get modular x to work. My xorg.conf seems fine. Also I dont get any errors when I startx, besides one

"(WW) ****INVALID MEM ALLOCATION**** b:0xe0000000 e:0xe8000000 correcting

*** If unresolved symbols were reported they may not
*** be the reason for the server aborting.

Backtrace:
0: X(xf86SigHandler+0x14a) [0x80bb2da]
1: [0xffffe420]

Fatal server error:
Caught signal 11. Server aborting.

XIO: Fatal IO Error 104 (Connection reset by peer) on X Server ":0.0"
after 0 requests (0 known processed) with 0 events remaining.

Man I wish I knew how to copy shit into links ( yah I know , use the middle click button...it doesn't work).

Anyways, I'm using the nvidia drivers (nvidia-kernel / nvidia-glx). I've tried emerging them multiple times, with different kernels. I talked with a guy from a different thread with what seemed to be the same problem, and he said adding

BusId "PCI:2:0:0"
and
Option "NvAGP "0"
helped him get it working. But I did that and I'm still xless.
Back to top
View user's profile Send private message
n0n
Guru
Guru


Joined: 13 Jun 2002
Posts: 355

PostPosted: Wed Sep 28, 2005 12:12 am    Post subject: Reply with quote

arkaine wrote:
"(WW) ****INVALID MEM ALLOCATION**** b:0xe0000000 e:0xe8000000 correcting

The errors you're getting sound rather scary - is there any particular reason why you need the modular version, or can you cope with just using the most recent stable? If you don't mind just using 6.8.2-rwhatever, I'd just rip out the modular stuff and emerge that, and make sure that your system works using that.

Offhand, I'd suspect either flaky hardware or some problem with CFLAGS, etc...
Back to top
View user's profile Send private message
arkaine
n00b
n00b


Joined: 23 Jun 2004
Posts: 62
Location: Ohio

PostPosted: Wed Sep 28, 2005 12:25 am    Post subject: Reply with quote

n0n wrote:
arkaine wrote:
"(WW) ****INVALID MEM ALLOCATION**** b:0xe0000000 e:0xe8000000 correcting

The errors you're getting sound rather scary - is there any particular reason why you need the modular version, or can you cope with just using the most recent stable? If you don't mind just using 6.8.2-rwhatever, I'd just rip out the modular stuff and emerge that, and make sure that your system works using that.

Offhand, I'd suspect either flaky hardware or some problem with CFLAGS, etc...


Not quite that simple. I tried that... and then xorg couldn't find my nvidia module, even after I emerged all that crud again... I even did an emerge -e world just incase, no luck. But yah, I don't really NEED to have modular x...I just enjoy screwing around with new stuff that other people are scared of (plus I like forcing myself to use the console ;). It's funny how much stuff you can do without when you really have to). But yah, there is probably a solution to that too, oh well.

As for flaky hardware, this error never appeared until I started using modular x. I stepped the cflags down to -O2 instead of the -O3 I had been been using, no luck.
Back to top
View user's profile Send private message
n0n
Guru
Guru


Joined: 13 Jun 2002
Posts: 355

PostPosted: Wed Sep 28, 2005 12:50 am    Post subject: Reply with quote

arkaine wrote:
I tried that... and then xorg couldn't find my nvidia module, even after I emerged all that crud again...

When troubleshooting things like this, it's really nice to be able to have a working version to reference. The modular xorg builds, in fact, don't yet work completely without taking various bits and pieces from a previous Xorg installation (most of which are documented in spyderous' guide, I believe... I had to move over some locale and xkb information as well before my install was working properly). When you've got something that works then you can do some comparisons with the stuff that's not working. Because the modular Xorg builds are still beta quality and not supported nearly as well yet, you'll honestly have a much easier time getting the stable Xorg build going first. Then once you've got that you'll probably have a better sense of how to tackle doing the modular stuff.

That's just what I'd recommend though. Good luck in any case...
Back to top
View user's profile Send private message
btlee
Apprentice
Apprentice


Joined: 03 Sep 2004
Posts: 168
Location: San Francisco

PostPosted: Wed Sep 28, 2005 6:43 am    Post subject: Reply with quote

[quote="Voltago"]I'm using i810 too and it's working fine (i915GM hardware). Try my xorg.conf (you might want different screen and input options, of course).
Don't worry about font path error messages, they're mostly

I have a question.
Have you ever tried a framebuffer and VBERestore option?
In the previous monolithic version of xorg, I had no problem.
But, it is no more possible to return the console with framebuffer.
I'm using dell 700m, which has 1280x800 wide screen, but it is possible to run only on 1024x768 frame buffer screen.
_________________
AMD64 3200+, 2G/160G+250G
DELL 700m, 1.8GHz, 2G/80G
iBook G3-500Mhz, 640M/100G
Back to top
View user's profile Send private message
Voltago
Advocate
Advocate


Joined: 02 Sep 2003
Posts: 2584
Location: userland

PostPosted: Wed Sep 28, 2005 8:19 am    Post subject: Reply with quote

btlee wrote:

I have a question.
Have you ever tried a framebuffer and VBERestore option?
In the previous monolithic version of xorg, I had no problem.
But, it is no more possible to return the console with framebuffer.
I'm using dell 700m, which has 1280x800 wide screen, but it is possible to run only on 1024x768 frame buffer screen.

VBERestore in conjunction with fbdev? No, haven't tried it, sorry. But have you tried to use the i810 driver and the 855resolution tool (in portage) to get full resolution?
Back to top
View user's profile Send private message
btlee
Apprentice
Apprentice


Joined: 03 Sep 2004
Posts: 168
Location: San Francisco

PostPosted: Wed Sep 28, 2005 8:52 am    Post subject: Reply with quote

Voltago wrote:
btlee wrote:

I have a question.
Have you ever tried a framebuffer and VBERestore option?
In the previous monolithic version of xorg, I had no problem.
But, it is no more possible to return the console with framebuffer.
I'm using dell 700m, which has 1280x800 wide screen, but it is possible to run only on 1024x768 frame buffer screen.

VBERestore in conjunction with fbdev? No, haven't tried it, sorry. But have you tried to use the i810 driver and the 855resolution tool (in portage) to get full resolution?


I used i810 driver and 855 resolution, so i got full resolution except frame buffer.
In console, the screen resolution was 1024x768 with vesafb.
Thanks for your quick answer. :)
_________________
AMD64 3200+, 2G/160G+250G
DELL 700m, 1.8GHz, 2G/80G
iBook G3-500Mhz, 640M/100G
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 16627

PostPosted: Wed Sep 28, 2005 8:15 pm    Post subject: Re: The modular X server bugs, annoyances and solutions thre Reply with quote

Voltago wrote:
Anyone who wants to give X11R7 a spin should first read this migration guide by spyderous:
http://dev.gentoo.org/~spyderous/xorg-x11/migrating_to_modular_x_howto.txt
I've skimmed through that, and I suspect I know the answer (no), but is it possible to run modular X alongside an existing X? Are there any plans to?
_________________
Find them! Fix them! Fight them! Finish them! -- GEN Matthew B. Ridgway
Back to top
View user's profile Send private message
n0n
Guru
Guru


Joined: 13 Jun 2002
Posts: 355

PostPosted: Wed Sep 28, 2005 8:44 pm    Post subject: Re: The modular X server bugs, annoyances and solutions thre Reply with quote

pjp wrote:
I've skimmed through that, and I suspect I know the answer (no), but is it possible to run modular X alongside an existing X? Are there any plans to?

Right now the stable X series and the modular stuff write to the same file locations, so it wouldn't work out like that. If there's some way to specify an install prefix via Portage, I suppose it may be possible to have the modular stuff install somewhere else, since I think they're using the more common autoconf-style installations. I imagine that'd be pretty tricky to get working properly though.

It'd probably be easier to overlay your own ebuild for the stable X which #defines a different install prefix, and then let the modular stuff install where it wants to.
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 16627

PostPosted: Thu Sep 29, 2005 7:35 am    Post subject: Reply with quote

*nod* Thanks. I'm on AMD64, and can't be that much of a guniea pig, so I'll have to wait. X is probably not a good place to cut one's ebuild teeth :D
_________________
Find them! Fix them! Fight them! Finish them! -- GEN Matthew B. Ridgway
Back to top
View user's profile Send private message
Display posts from previous:   
This topic is locked: you cannot edit posts or make replies.    Gentoo Forums Forum Index Desktop Environments All times are GMT
Goto page Previous  1, 2, 3, ... 35, 36, 37  Next
Page 2 of 37

 
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