| View previous topic :: View next topic |
| Author |
Message |
Master One l33t


Joined: 25 Aug 2003 Posts: 754 Location: Austria
|
Posted: Tue May 25, 2004 10:45 pm Post subject: xorg-x11 + gdm + ATI -> More than 1 Xsession -> SOLVED |
|
|
I have a very strange problem on my notebook:
Installed kernel 2.6.5-gentoo-r1 + actual xorg-x11 + ati-drivers + gnome, whole system ~x86 arch, everything set up properly, applied MTRR patch so that memory map for the embedded ATI Radeon M6 9000 64MB is showing up correctly, everything is working fine when only using one X-server on vt7.
When the system is up and running, I can swap from vt1 to vt12 without any problem, so getting to a console (with bootsplash running) and back to my X-session on vt7 does not cause any problem or grafics messup.
I can use gdmflexiserver with Xnest to swap user without logging out without any problem, as long as Xnest is executed as a window on my gnome desktop.
All I want in addition is the typical WinXP session behavior, so that I can stay logged in with my useraccount, and that my wive can also log in on the same machine using a new X-session without logging me off. This should be possible by using gdmflexiserver without the Xnest option, so to open another X-session on another virtual terminal, and when done (so when my wife logs off or when swapping vt manually using strg+alt+F**) that I can return to my session.
But this does not work on my setup!
When I am logged in and I use the menu option "Applications -> Systemtools -> New logon" (without logoff) (I am using the German layout, so this may be not exactly translated like this), which is nothing else than the command "gdmflexiserver", I can login on another user account (like root), until that point it seems to work normally. But when I end this second session (logout), to get back to my first session, the system locks up directly after klicking "logout" and the screen is totally messed up...
I assume starting gdmflexiserver from my first session spawns another X-session on another vt, but when I am logged in with two sessions, and I try to switch between the sessions using strg+alt+F**, the system also locks up and the screen gets totally messed up.
The same problem appears, when I edit gdm.conf to let the system start with more than one X-session (I tried everything, so automatic vt selection, manual vt-selection for vt7 to vt12 with 5 X-sessions, only one addition X-session on vt8, only one additional X-session with automatic vt selection,...).
As long as I stay in my inital X-session, everything is working fine, it is also working to the point, when I use gdmflexiserver to login with another useraccount from my inital gnome session, but the system freezes with screen messup as soon as I try to get back to my initial session or when I try to swap vt's when more then one X-server is running.
I am afraid I can't describe my problem better than this (also I am already totally exhausted, due to fighting with my installations problems here for days, expecially as I have some other problems on other machines as well).
I am not sure where to look for this problem, as I have no idea what's causing it.
Could it be an issue with xorg-x11?
Or is it the ati-driver?
Or something concerning the setup of the ATI Mobility M6?
Or the gdmflexiserver?
Or gnome?
Or a conflict between X-sessions any plain terminal sessions trying to access vt's simultanously?
I searched the forum extensively, I found a lot of problems concerning spawning more then one X-server, some guys try to do the same like me, but finally got it going by starting more then one X-session right from the startup by using more than one Xserver, but all I found seems to have nothing to do with my lockup & freeze problem.
Maybe someone has a clue, or discovered the same problem? _________________ Las torturas mentales de la CIA
Last edited by Master One on Sat May 29, 2004 3:32 pm; edited 3 times in total |
|
| Back to top |
|
 |
Master One l33t


Joined: 25 Aug 2003 Posts: 754 Location: Austria
|
Posted: Wed May 26, 2004 8:35 pm Post subject: |
|
|
In the meantime I did some more tests.
I disabled bootsplash from default runlevel, because I thought that it my interfere with the Xserver usage on one of the vt's from 7 to 12, but this also did not change anything, still crashing every time more than one Xserver is running.
Actually I have vt1 to vt6 as normal text-console, vt7 is the standard vt for the Xserver (gdm starting with automatic vt selection enabled in gdm.conf), vt7 to vt11 now empty, and vt12 showing text-console with /var/messages output.
What I discovered: When selecting "Applications -> System Tools -> New logon (without logoff)" gnome is left and gdm comming up again. Now when I start changing vt using strg+alt+F**, I can swap between vt1 to vt6 and vt9 to vt12 without any problem. /var/message in vt12 is now showing the following:
| Code: | [fglrx:firegl_umm_init] *ERROR* UMM area already initialized!
[fglrx:firegl_unlock] *ERROR* Process 28782 using kernel context 0 |
When I select vt8 I can see a second Xserver session showing the gdm login screen (so gdmflexiserver did spawn another Xserver session), when swapping over to vt7 afterwards I again see a gdm login screen (and not my former gnome desktop, as I assumed it should be). But when I now swap to vt1 or any other vt the screen totally messes up. I still could swap terminals in this state a few times, but then the system completely hardlocks and I have to use the power button.
Some things that came to my mind: On this notebook the AGP graphics aparture size is set to 128 MB and can not be changed over the bios, so it is fixed with this size, the embedded ATI Radeon M6 9000 has 64 MB RAM, and I had to use a patch to have MTRR set to use 128 MB properly, as the automatic detection only came up with 16 MB, which causes fb errors -> these errors made it impossible to swap between vt7 and the other vt's at all, so when I started up into gnome on vt7, everything looked fine (except the fb errors in the log due to the MTRR problem), but when I changed to any other vt, the textconsoles completely messed up. This problem is gone since I fixed this MTRR issue, but my new problem with more than one Xserver session may have also somehow be connection to this matter. These tests with the MTRR issue were performed with Xfree 4.3.xx (the actual x86 arch version), I swapped over to xorg-x11 after I got that problem fixed. That's why I can't tell now, if this matter is anyhow related to xorg-x11 or not at all.
I am thinking about a complete reinstallation on that notebook, but I would like to solve this matter before, not that I run into the same problem again after the reinstall (will do a plain install with xorg-x11 right from the beginning, also I don't see a point that swapping from Xfree to xorg-x11 could have had any influence).
Any hints and comments are welcome. _________________ Las torturas mentales de la CIA |
|
| Back to top |
|
 |
Master One l33t


Joined: 25 Aug 2003 Posts: 754 Location: Austria
|
Posted: Fri May 28, 2004 2:58 pm Post subject: |
|
|
Noone else having problem with more than one Xserver session running ???
Or is there noone else, who want's to log in on the same machine without logging out?
I am still not a single step closer to a solution of this problem. As I did not change the default gdm.conf, it should work fine with gdmflexiserver spawning new Xsessions automatically, but it isn't.
As I already mentioned, I applied this MTRR patch to have the AGP graphics aparture get recognized correctly:
| Code: | #!/bin/bash
echo "disable=2" >| /proc/mtrr
echo "base=0xf0000000 size=0x8000000 type=write-combining" > /proc/mtrr |
This little script is executed by local.start.
As I have no other idea, I assume this may have something to do with the messup when another Xsession is comming up, because without this patch there is a similar screen-corruption problem, when swapping from vt7 to any other vt, also I don't really remember that the whole machine got locked up due to this.
This phenomenon is a mystery to me, I still don't know enough about the inside to track down this problem to a particular part of my installation, that's why any hint would be highly appreciated. _________________ Las torturas mentales de la CIA |
|
| Back to top |
|
 |
Master One l33t


Joined: 25 Aug 2003 Posts: 754 Location: Austria
|
Posted: Sat May 29, 2004 3:32 pm Post subject: |
|
|
Looks like it was an ATI driver issue, because after updating to the latest 3.9.0 this problem seems to be gone. _________________ Las torturas mentales de la CIA |
|
| Back to top |
|
 |
eminenz Tux's lil' helper

Joined: 16 Jul 2006 Posts: 76
|
Posted: Mon Jul 17, 2006 12:13 pm Post subject: > unsolved |
|
|
Hi!
I have the same problem, however I'm running the newest drivers.
ati-drivers 8.21.7-r1 for ATI Mobility Radeon X700 on an Asus A6V Series
xorg-x11 7.0.0-r1
gdm 2.14.9
gnome 2.14.2
I think it's the drivers as well because when I set up my system and started with the x.org basic config I WAS able use mutliple logins.
But I somehow have the impression it's something about special drivers because my nvidia-box (Kde 3.1, Geforce 5700Ultra, Xorg-x11 6.5) worked using multiple logins until maybe 1 year ago.
Any Ideas or questions for further information (logs, configs, whatever you think of) are appreciated.
parts of xorg.conf:
Section "ServerLayout"
InputDevice "Synaptics Touchpad"
Identifier "Builtin Default Layout"
Screen 0 "aticonfig Screen 0" 0 0
InputDevice "Generic Keyboard"
InputDevice "zweite Maus"
EndSection
Section "Module"
Load "extmod"
Load "dbe"
Load "glx"
Load "freetype"
Load "type1"
Load "radeon"
Load "dri"
Load "xtrap"
EndSection
Section "ServerFlags"
Option "DontZoom" "false"
Option "DisableVidModeExtension" "false"
Option "AllowNonLocalXvidtune" "false"
Option "BlankTime" "8"
Option "StandbyTime" "10"
Option "SuspendTime" "15"
Option "OffTime" "20"
Option "NoPM" "false"
Option "Xinemara" "true"
Option "AllowDeactivateGrabs" "true"
Option "AllowClosedownGrabs" "true"
EndSection
Section "Monitor"
Identifier "aticonfig Monitor 0"
VendorName "Asus"
DisplaySize 333 208
VertRefresh 60.0 - 60.0
Option "TargetRefresh" "60.0"
Option "DPMS"
EndSection
Section "Device"
Identifier "ATI Graphics Adapter 0"
Driver "fglrx"
# Driver "radeon"
Option "BIOSHotkeys" "on"
Option "DynamicClocks" "on"
Option "UseInternalAGPGART" "on"
BusID "PCI:3: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
EndSubSection
EndSection |
|
| Back to top |
|
 |
|
|
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
|
|