Re: [gentoo-user-pl] XFS i Kernel panic (...) unable to mount root fs
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Stilgar wrote: Kernel panic - not syncing: VFS: unable to mount root fs on unknown_block(0,0) zwykle przyczyny takiego komunikatu mogą być dwie - nie wkompilowana w jądro na stałe (nie jako moduł) obsługa systemu plików na którym masz / albo nie wkompilowana też na stałe obsługa chipsetu. Poszukaj obu tych opcji w konfiguracji jądra i przekompiluj, powinno działać. Dzięki za pomoc. W końcu odkryłem, że potrzebne mi było włączenie CONFIG_SATA_AHCI w jądrze. Wcześniej opcja ta była wyłączona. Dziwi mnie fakt, że bootloader poradził sobie wówczas z odczytaniem zawartości /dev/sda1, podczas gdy /dev/sda5 nie było już dla niego osiągalne. Po włączeniu powyższej opcji wszystko działa jak złoto. Pozdrawiam, Jan Stępień -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.7-ecc0.1.6 (GNU/Linux) iD8DBQFG1aqJV8Af0wiAIQIRAignAJ9KMuuaM2ccwxZ/5f7g//dg59NBRQCgiz4K l7ZaSBrJGRmMbxPa4Hf7vqc= =laEP -END PGP SIGNATURE- -- [EMAIL PROTECTED] mailing list
[gentoo-user-pl] XFS i Kernel panic (...) unable to mount root fs
Witam serdecznie, Instaluję Gentoo na laptopie CA M160S. Wycinek z /etc/fstab: /dev/sda1/boot ext2 noauto,noatime 1 2 /dev/sda5/ xfs noatime 0 1 Wycinki z /usr/src/linux/.config: CONFIG_XFS_FS=y CONFIG_EXT2_FS=y Wycinki z /boot/grub/menu.lst: title=Gentoo Linux root (hd0,0) kernel /boot/linux-2.6.22 root=/dev/sda5 initrd brak. Po restarcie i boocie z HDD grub grzecznie wybiera jądro, ładuje je i po jakimś czasie (o ile się nie mylę po wykryciu huba USB) staje z następującym komunikatem: Kernel panic - not syncing: VFS: unable to mount root fs on unknown_block(0,0) Google nie okazało się pomocne - Results 1 - 9 of 9 for xfs Kernel panic - not syncing: VFS: unable to mount root fs on unknown_block(0,0). (0.34 seconds) Będę bardzo wdzięczny za wsparcie. Pozdrawiam Jan Stępien -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Portage world update fails because of masked beryl-plugins
Boyd Stephen Smith Jr. napisał(a): e.g.: $ grep KEYWORD beryl-plugins-0.1.3.ebuild KEYWORDS=~amd64 ~ppc ~ppc64 ~x86 So, you can simply find the KEYWORDS variable in the ebuild you are trying to use and add one of those keywords to your package.keywords. Of course, if you do anything other than ~${ARCH}, where ${ARCH} is your current architecture and it breaks, you get to keep both pieces. To my surprise, the output is: KEYWORDS= There are... No keywords? I'm puzzled. I'm using x86 architecture. Should I then edit the ebuild and manually add my arch to KEYWORD variable? I'm just guessing - maybe it will help somehow. Regards, Jan Stępień -- Mailjan at stepien com pl Jabber jano at jabber aster pl GG 1894343 Web http://stepien.com.pl signature.asc Description: OpenPGP digital signature
Re: [gentoo-user] Portage world update fails because of masked beryl-plugins
Mick napisał(a): # emerge -avDu world These are the packages that would be merged, in order: Calculating world dependencies | !!! All ebuilds that could satisfy ~x11-plugins/beryl-plugins-0.1.99.2 have been masked. !!! One of the following masked packages is required to complete your request: - x11-plugins/beryl-plugins-0.1.99.2 (masked by: missing keyword) For more information, see MASKED PACKAGES section in the emerge man page or refer to the Gentoo Handbook. (dependency required by x11-wm/beryl-core-0.1.99.2 [ebuild]) !!! Problem resolving dependencies for x11-wm/emerald !!! Depgraph creation failed. You may want to have a go by adding: ~x11-plugins/beryl-plugins-0.1.99.2 or, =x11-plugins/beryl-plugins-0.1.99.2 ~x86 (if you don't want subsequent upgrades to unstable packages) to your /etc/portage/package.keywords file and then run: # emerge -upDv beryl-plugins to see if it is being picked up. You may discover additional masked dependencies at this stage and you will need to unmask them in turn. Thanks for your support. I've tried both options, but unfortunately either Portage is trying to reemerge the existing version, or it's displaying the same error message. Regards, Jan Stępień -- Mailjan at stepien com pl Jabber jano at jabber aster pl GG 1894343 Web http://stepien.com.pl signature.asc Description: OpenPGP digital signature
Re: [gentoo-user] Portage world update fails because of masked beryl-plugins
Bo Ørsted Andresen napisał(a): On Monday 19 February 2007 15:09:16 Jan Stępień wrote: To my surprise, the output is: KEYWORDS= There are... No keywords? I'm puzzled. I'm using x86 architecture. Should I then edit the ebuild and manually add my arch to KEYWORD variable? I'm just guessing - maybe it will help somehow. You need to accept ** through package.keywords and you need latest portage 2.1.2 (which is now stable)... https://bugs.gentoo.org/show_bug.cgi?id=160519 This solves the problem. Thank you very much! Best regards, Jan Stępień -- Mailjan at stepien com pl Jabber jano at jabber aster pl GG 1894343 Web http://stepien.com.pl signature.asc Description: OpenPGP digital signature
Re: [gentoo-user] Portage world update fails because of masked beryl-plugins
Mick napisał(a): On Sunday 18 February 2007 13:48, Jakob Buchgraber wrote: Jan Stępień wrote: For more information, see MASKED PACKAGES section in the emerge man page or refer to the Gentoo Handbook. Before you do any of the above I suggest that you read MASKED PACKAGES section and KEYWORDS section within man emerge. It's better that you understand what you are masking/unmasking in the long run and why. I assure you I have read it quite a long time ago. The reason I'm asking my question here is that the suggestions on emerge's man page weren't helpful. Neither Google was. Regards, Jan Stępień -- Mailjan at stepien com pl Jabber jano at jabber aster pl GG 1894343 Web http://stepien.com.pl signature.asc Description: OpenPGP digital signature
Re: [gentoo-user] Portage world update fails because of masked beryl-plugins
Jakob Buchgraber napisał(a): Jan Stępień wrote: # emerge -avDu world These are the packages that would be merged, in order: Calculating world dependencies | !!! All ebuilds that could satisfy ~x11-plugins/beryl-plugins-0.1.99.2 have been masked. !!! One of the following masked packages is required to complete your request: - x11-plugins/beryl-plugins-0.1.99.2 (masked by: missing keyword) For more information, see MASKED PACKAGES section in the emerge man page or refer to the Gentoo Handbook. (dependency required by x11-wm/beryl-core-0.1.99.2 [ebuild]) !!! Problem resolving dependencies for x11-wm/emerald !!! Depgraph creation failed. There is one interesting part in the output of emerge x11-plugins/beryl-plugins-0.1.99.2 (masked by: missing keyword) This means that the package hasn't been tested yet. So you need to replace the following in package.keywords x11-plugins/beryl-plugins by x11-plugins/beryl-plugins ~x86 I've tried to unmask it with keywords ~x86, ~*, * and even -* but still I've got the same error. I'm afraid that * wildcard isn't working and I can't guess the correct keyword. Have you got any further suggestions? Regards, Jan Stępień -- Mailjan at stepien com pl Jabber jano at jabber aster pl GG 1894343 Web http://stepien.com.pl signature.asc Description: OpenPGP digital signature
[gentoo-user] Portage world update fails because of masked beryl-plugins
Hi everyone, # emerge -avDu world These are the packages that would be merged, in order: Calculating world dependencies | !!! All ebuilds that could satisfy ~x11-plugins/beryl-plugins-0.1.99.2 have been masked. !!! One of the following masked packages is required to complete your request: - x11-plugins/beryl-plugins-0.1.99.2 (masked by: missing keyword) For more information, see MASKED PACKAGES section in the emerge man page or refer to the Gentoo Handbook. (dependency required by x11-wm/beryl-core-0.1.99.2 [ebuild]) !!! Problem resolving dependencies for x11-wm/emerald !!! Depgraph creation failed. Maybe snippets from my /etc/portage/package.* files will be helpful: keywords x11-wm/beryl x11-wm/beryl-core x11-plugins/beryl-plugins x11-plugins/beryl-dbus x11-misc/beryl-manager x11-misc/beryl-settings unmask x11-wm/beryl x11-wm/beryl-core x11-plugins/beryl-plugins x11-plugins/beryl-dbus x11-plugins/beryl-vidcap x11-misc/beryl-manager x11-misc/beryl-settings I'm not very familiar with unmasking system, so most probably an answer to the question I'm asking is more than just obvious - if so, accept my apologies. Nevertheless, I would be grateful for your support. Best regards, Jan Stępień -- Mailjan at stepien com pl Jabber jano at jabber aster pl GG 1894343 Web http://stepien.com.pl signature.asc Description: OpenPGP digital signature
Re: [gentoo-user] Ati-Drivers, no DRI
Timothy Roberts napisał(a): I have a working X environment with these three packages, Ati-drivers-8.32.5, Xorg-7.2, and Gentoo-sources-2.6.19-r4, but I cannot seem to get Direct Rendering. Here is Xorg.0.log relating to fglrx: Did you use eselect? # eselect opengl set ati This might be helpful - try it and reboot your machine. If you already did it, please attach your /etc/X11/xorg.conf Regards, Jan Stępień -- Mailjan at stepien com pl Jabber jano at jabber aster pl GG 1894343 Web http://stepien.com.pl signature.asc Description: OpenPGP digital signature
Re: [gentoo-user] Gnome, KDE applications and diacritical characters
Albert Hopkins napisał(a): Disclaimer: I don't (often) use KDE... But there is a Settings://Accessibility/Regional Languages option (or similiar). Have you using that and setting it to Polish? Can't find it in Gnome. Isn't it a KDE option? ... also might want to check your $LANG and $LC_ALL environment variables... Both set to pl_PL. Thanks for your feedback. Regards, Jan Stępień -- Mailjan at stepien com pl Jabber jano at jabber aster pl GG 1894343 Web http://stepien.com.pl signature.asc Description: OpenPGP digital signature
Re: [gentoo-user] Gnome, KDE applications and diacritical characters
Bo Ørsted Andresen napisał(a): http://www.gentoo.org/doc/en/guide-localization.xml#doc_chap3 Thanks, but I've followed these instructions already when was installing my Gentoo. # locale -a C pl_PL POSIX # locale LANG=pl_PL LC_CTYPE=pl_PL LC_NUMERIC=pl_PL LC_TIME=pl_PL LC_COLLATE=pl_PL LC_MONETARY=pl_PL LC_MESSAGES=pl_PL LC_PAPER=pl_PL LC_NAME=pl_PL LC_ADDRESS=pl_PL LC_TELEPHONE=pl_PL LC_MEASUREMENT=pl_PL LC_IDENTIFICATION=pl_PL LC_ALL=pl_PL Seems to be as Polish as a Linux can be. And it really is, in fact, despite those KDE apps. Regards, Jan Stępień -- Mailjan at stepien com pl Jabber jano at jabber aster pl GG 1894343 Web http://stepien.com.pl signature.asc Description: OpenPGP digital signature
Re: [gentoo-user] Gnome, KDE applications and diacritical characters
Benno Schulenberg napisał(a): Jan Stępień wrote: In my USE flag unicode is disabled. I'm using ISO-8859-2 encoding. Why not use Unicode? The mail you sent uses UTF-8, why not use that everywhere? When posting to international groups I try to use to use UTF-8 to make it accessible for everyone. However, over here in Poland most of my friends and colleagues use ISO-8859-2 and it's easier for us to use the same encoding. And last but not the least, I don't believe that KDE running in Polish has to use UTF-8. Regards, Jan Stępień -- Mailjan at stepien com pl Jabber jano at jabber aster pl GG 1894343 Web http://stepien.com.pl signature.asc Description: OpenPGP digital signature
Re: [gentoo-user] Gnome, KDE applications and diacritical characters
Mick napisał(a): On Sunday 28 January 2007 14:14, Jan Stępień wrote: When posting to international groups I try to use to use UTF-8 to make it accessible for everyone. However, over here in Poland most of my friends and colleagues use ISO-8859-2 and it's easier for us to use the same encoding. And last but not the least, I don't believe that KDE running in Polish has to use UTF-8. Why don't you try this in your /etc/locale.gen file and then run again running # locale-gen: Because there must be a possibility of using KDE apps under Gnome with ISO-8859-2. Enabling UTF-8 may be a solution, but it doesn't satisfy me. By the way, I gave it a try but it doesn't work. I still have got those rectangles instead of diacriticals. Regards, Jan Stępień -- Mailjan at stepien com pl Jabber jano at jabber aster pl GG 1894343 Web http://stepien.com.pl signature.asc Description: OpenPGP digital signature
Re: [gentoo-user] Xgl and direct rendering or 'Would you like Xorg or Xgl, sir?'
Albert Hopkins napisał(a): Then you probably don't want to use GDM or any other DM as they are primarily designed to manage displays that are already selected. What you want is more of a chicken-and-egg issue for a display manager. What you likely need is something to be run from the command line (i.e. *before* X is started). startx (or xinit) are perfect for this. No need to write any fancy program, it can pretty much do what you're asking: $ startx /path/to/program/that/needs/X.org -- /usr/bin/X $ startx -- /usr/bin/Xgl Thanks, now it works flawlessly. I can easily launch a slick desktop with Xgl and Beryl, and if I require direct rendering I simply log out and launch Xorg. Now I'll try to find a clever solution and make this method a little bit more automatic. We'll see what I'll be able to find around the web. Thanks once again. Regards, Jan Stępień -- Mailjan at stepien com pl Jabber jano at jabber aster pl GG 1894343 Web http://stepien.com.pl signature.asc Description: OpenPGP digital signature
Re: [gentoo-user] Gnome, KDE applications and diacritical characters
Bo Ørsted Andresen napisał(a): I guess I can assume that `locale-gen` doesn't report any errors then. So maybe you need to install kde-base/kde-i18n ? I assume your LINGUAS variable does include pl? Otherwise adjust it and run `emerge -vDp --newuse world`. Yes, locale-gen outputs no errors. Installing kde-base/kde-i18n with pl among my LINGUAS wasn't helpful, however I've noticed something interesting. I entered Amarok's setting window and in the Appearance tab I found an option allowing me to change the default font. Moreover the font chooser dialog allows me to check whether the font contains diacritical characters. I've chosen a suitable font, which displayed all those chars correctly and clicked Apply. Most surprisingly, part of the fonts have changed and begun to display everything correctly (e.g. the context window and the playlist), but the main menu on the top still consists of those rectangles and I am not able to change its font. Well, I have to admit that I'm a little bit dizzy. Regards, Jan Stępień -- Mailjan at stepien com pl Jabber jano at jabber aster pl GG 1894343 Web http://stepien.com.pl signature.asc Description: OpenPGP digital signature
Re: [gentoo-user] Xgl and direct rendering or 'Would you like Xorg or Xgl, sir?'
As far as I can see there is no chance neither to get my Radeon to cooperate with open source driver nor to turn on AIGLX with my fglrx, at least at the moment of writing. It's a pity, but allow me then to return to the secondary topic of this thread. Is it possible to enable some kind of a chooser which would allow me to choose whether I'd like to launch Xgl or Xorg? While working on my /usr/share/gdm/default.conf I've spotted a server called 'chooser'. Could you tell me what is this server doing and could it be a solution for my problem? Of course the choice doesn't have to be done in GDM. It could be a tiny bash script or a simple C++ application run in the default runlevel which would ask me for pressing a specific key to run Xorg - otherwise it will run Xgl - for example changing the line 0=Standard in the file I've mentioned above. Have you got ideas or do I have to write such an app by myself? Regards, Jan Stępień -- Mailjan at stepien com pl Jabber jano at jabber aster pl GG 1894343 Web http://stepien.com.pl signature.asc Description: OpenPGP digital signature
Re: [gentoo-user] Xgl and direct rendering or 'Would you like Xorg or Xgl, sir?'
Albert Hopkins napisał(a): A chooser in the GDM/XDMCP sense is a program that lists available hosts to log into (via XDMCP). Thanks. It may be useful some day. Why should you need to write anything. Forget GDM and if you want to run X then type X [ENTER]. If you want Xgl then Xgl [ENTER]. But again, why would you want to complicate your life with 2 different X servers? I've begun this thread because of my difficulties with running some OpenGL applications, e.g. Americas Army, on my Xgl. If you'd like to read any details you can take a look at first posts of this topic. Regards, Jan Stępień -- Mailjan at stepien com pl Jabber jano at jabber aster pl GG 1894343 Web http://stepien.com.pl signature.asc Description: OpenPGP digital signature
[gentoo-user] Gnome, KDE applications and diacritical characters
Hi everyone, Despite being a Gnome fan, I've been using few KDE apps, such as Amarok and Kile. I've emerged them on my Gentoo desktop with a Gnome environment. Unfortunately I'm not able to force a KDE apps to display Polish diacritical characters (e.g. ć, ł, ę). All I can see instead of them are small rectangles. I've tried to use qtconfig to change fonts but it hasn't solve the problem. In my USE flag unicode is disabled. I'm using ISO-8859-2 encoding. Taking into account that this is an international group, I hope that I'll be able to find someone who experienced similar problems and managed to find a solution. Help would be highly appreciated. Best regards, Jan Stępień -- Mailjan at stepien com pl Jabber jano at jabber aster pl GG 1894343 Web http://stepien.com.pl signature.asc Description: OpenPGP digital signature
Re: [gentoo-user] Xgl and direct rendering or 'Would you like Xorg or Xgl, sir?'
Albert Hopkins napisał(a): $ startx /path/to/program/that/needs/X.org -- /usr/bin/X $ startx -- /usr/bin/Xgl or whatever. There's probably a dozen other ways to do it. See the startx man page for details. Thanks, I'll take a look at the manual and give it a shot. Regards, Jan -- Mailjan at stepien com pl Jabber jano at jabber aster pl GG 1894343 Web http://stepien.com.pl signature.asc Description: OpenPGP digital signature
Re: [gentoo-user] Dependency info is missing and /sbin/depscan.sh is not helpful
Problem solved. All I had to do was booting with a live Linux, chrooting to my Gentoo installation and # emerge mktemp # /sbin/depscan.sh --update Regards, Jan Stępień -- Mailjan at stepien com pl Jabber jano at jabber aster pl GG 1894343 Web http://stepien.com.pl signature.asc Description: OpenPGP digital signature
[gentoo-user] Dependency info is missing and /sbin/depscan.sh is not helpful
Hi folks, I've been updating my system recently (emerge -u world). I've stopped the update process with ctrl-c in order to turn the PC off. After relaunching in the middle of the runlevel 1, right after configuring kernel parameters, updating environment , cleaning /var/lock, /var/run and /tmp, I've been informed that: Dependency info is missing! Please run # /sbin/depscan.sh to fix this. To make the impression even bigger each line has got a red star in front of it. This error is displayed twice, than system is entering runlevel 3, displays the same message once more and allows me to log in: This is (none).unknown_domain (Linux i686 kernel version, etc.) (none) login: I logged in as the root and gave depscan.sh a try. No output has been shown. I checked the output of '/sbin/depscan.sh --help' and accordingly to information given I tried: # /sbin/depscan.sh -u * Caching service dependencies ... sh: /bin/mktemp: No such file or dir * Failed to create temporary cache! bash: /var/lib/init.d/depcache: No such file or dir sh: /bin/mktemp: No such file or dir * Failed to create temporary cache! gawk: /lib/rcscripts/awk/gendepends.awk:506: fatal error: expression for redirection has a 0 lenght string * Failed to cache service dependencies The one but last line is displayed in Polish so what you can see above is my hope-it-is-verbatim translation into English. I've tried to 'emerge mktemp' but I realised soon that I'm offline and I cannot '/etc/init.d/net.eth0 restart' because I get the same error - Dependency info is missing!. I've tried to google around and find a solution to this problem, but despite finding few quite similar problems I haven't found anything which would help me with this particular difficulty. I would be very glad if you could support me' Best regards, Jan Stepien -- Mailjano at stepien com pl Jabber jano at jabber aster pl GG 1894343 Web http://stepien.com.pl -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Dependency info is missing and /sbin/depscan.sh is not helpful
2007/1/24, Randy Barlow [EMAIL PROTECTED]: What exactly were you in the middle up updating when you rebooted the system? What had been updated already before that? I can't remember what was it exactly. I'll try to skim the logs, I hope I'll find something over there. Besides, I'm quite sure I had got a segmentation fault errors while trying to emerge glibc, so I skipped it with --skipfirst option. Do you think that those problems may be related somehow? something crucial to the system. I would recommend booting using the livecd and then chrooting into your environment and trying to fix the system from there. Thanks, I've already thought about it. I'm planning to do it tomorrow, as it is almost midnight over here. I will do what I can and report the results. Thank you for your feedback. Regards, Jan Stepien -- Mailjano at stepien com pl Jabber jano at jabber aster pl GG 1894343 Web http://stepien.com.pl -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Xgl and direct rendering or 'Would you like Xorg or Xgl, sir?'
Iain Buchanan napisał(a): On Mon, 2007-01-22 at 21:47 +0100, Jan Stępień wrote: try these exact searches in google (include the site.. bit) INPUT_DEVICES VIDEO_CARDS site:http://www.gentoo.org and INPUT_DEVICES VIDEO_CARDS site:http://www.gentoo-wiki.org I visited gentoo.org and skimmed the documentation. What I've read doesn't make me cheerful at all. Quoting from http://www.gentoo.org/doc/en/ati-faq.xml : GPU Common Name Support snip R300,R400,R500 Radeon 9500 - x800 xorg 2D, ATI DRI If I understand it correctly, this means that if I want a 3D acceleration I've got to use closed ATI's fglrx, and if I'd like to have an open driver from Xorg I am forced to accept 2D only. So no fglrx is no 3D at all. Please tell me that I'm mistaken. Regards, Jan -- Mailjan at stepien com pl Jabber jano at jabber aster pl GG 1894343 Web http://stepien.com.pl signature.asc Description: OpenPGP digital signature
Re: [gentoo-user] Xgl and direct rendering or 'Would you like Xorg or Xgl, sir?'
Richard Fish napisał(a): On 1/20/07, Jan Stępień [EMAIL PROTECTED] wrote: (/lib/modules/2.6.18-gentoo-r4/kernel/drivers/char/drm/drm.ko): Cannot allocate memory Try searching dmesg for drm. My guess is either the radeonfb module is conflicting, or the fglrx module. -Richard In fact the radeon module conflicts with fglrx. I've unloaded fglrx, modprobed radeon (verified by lsmod) and relaunched gdm. But it's still refusing to use the new module: (EE) Failed to load module radeon (module does not exist, 0) Actually it does exist, it is loaded and besides listed in xorg.conf to be bound to my Radeon 9600XT. I'm can't get it. Any suggestions? Thankful for your support so far and still asking for help, sincerely yours, Jan -- Mailjan at stepien com pl Jabber jano at jabber aster pl GG 1894343 Web http://stepien.com.pl -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Xgl and direct rendering or 'Would you like Xorg or Xgl, sir?'
Mick napisał(a): On Monday 22 January 2007 17:29, Jan Stępień wrote: In fact the radeon module conflicts with fglrx. I've unloaded fglrx, modprobed radeon (verified by lsmod) and relaunched gdm. But it's still refusing to use the new module: (EE) Failed to load module radeon (module does not exist, 0) Actually it does exist, it is loaded and besides listed in xorg.conf to be bound to my Radeon 9600XT. I'm can't get it. Any suggestions? Did you try remerging xorg with the radeon VIDEO_DEVICE flag after you removed the fglrx module? Actually I haven't heard about this flag. I've just googled for it but without any reasonably results. Could you tell me more about it or send me a link to a proper website which could enlighten me? Thanks in advance, Jan -- Mailjan at stepien com pl Jabber jano at jabber aster pl GG 1894343 Web http://stepien.com.pl signature.asc Description: OpenPGP digital signature
Re: [gentoo-user] Xgl and direct rendering or 'Would you like Xorg or Xgl, sir?'
Richard Fish napisał(a): On 1/22/07, Jan Stępień [EMAIL PROTECTED] wrote: In fact the radeon module conflicts with fglrx. I've unloaded fglrx, modprobed radeon (verified by lsmod) and relaunched gdm. But it's still refusing to use the new module: (EE) Failed to load module radeon (module does not exist, 0) Actually it does exist, it is loaded and besides listed in xorg.conf to be bound to my Radeon 9600XT. I'm can't get it. Any suggestions? Hmm, can you post your current xorg.conf and dmesg outputs? -Richard Of course. Output of dmesg and xorg.conf attached. Regards, Jan -- Mailjan at stepien com pl Jabber jano at jabber aster pl GG 1894343 Web http://stepien.com.pl Section ServerLayout Identifier Simple Layout Screen 0 aticonfig-Screen[0] 0 0 InputDeviceMouse1 CorePointer InputDeviceKeyboard1 CoreKeyboard # Option AIGLX true EndSection Section Files #FontPath /usr/share/fonts/TTF/ #FontPath /usr/share/fonts/OTF #FontPath /usr/share/fonts/CID/ #FontPath /usr/lib/X11/fonts/local/ #FontPath /usr/lib/X11/fonts/misc/ #FontPath /usr/lib/X11/fonts/75dpi/:unscaled #FontPath /usr/lib/X11/fonts/100dpi/:unscaled #FontPath /usr/lib/X11/fonts/Speedo/ #FontPath /usr/lib/X11/fonts/Type1/ #FontPath /usr/lib/X11/fonts/TrueType/ #FontPath /usr/lib/X11/fonts/freefont/ #FontPath /usr/lib/X11/fonts/75dpi/ #FontPath /usr/lib/X11/fonts/100dpi/ FontPath /usr/share/fonts/misc/ FontPath /usr/share/fonts/Type1/ FontPath /usr/share/fonts/100dpi/ FontPath /usr/share/fonts/75dpi/ EndSection Section Module Loadtype1 Loadspeedo Load dbe # Double buffer extension SubSection extmod Option omit xfree86-dga # don't initialise the DGA extension EndSubSection Load freetype Load xtt Load dri Load glx EndSection Section InputDevice Identifier Keyboard1 Driver kbd Option AutoRepeat 500 30 Option XkbRules xorg Option XkbModel pc105 Option XkbLayout pl EndSection Section InputDevice Identifier Mouse1 Driver mouse Option Protocol ExplorerPS/2 # Explorer PS/2 Option Device /dev/psaux Option ZAxisMapping 4 5 6 7 EndSection Section Monitor Identifier aticonfig-Monitor[0] Option VendorName ATI Proprietary Driver Option ModelName Generic Autodetecting Monitor Option DPMS true EndSection Section Device Identifier aticonfig-Device[0] # Driver radeon Driver fglrx Option UseInternalAGPGART no Option VideoOverlay on Option OpenGLOverlay off # Option DRI on EndSection Section Screen Identifier aticonfig-Screen[0] Device aticonfig-Device[0] Monitoraticonfig-Monitor[0] DefaultDepth 24 SubSection Display Viewport 0 0 Depth 24 Modes1280x1024 1024x768 800x600 640x480 EndSubSection EndSection Section dri Mode 0666 EndSection #Section Extensions # Option Composite Enable #EndSection Linux version 2.6.19-gentoo-r4 ([EMAIL PROTECTED]) (gcc version 4.1.1 (Gentoo 4.1.1-r3)) #1 Sun Jan 21 23:34:32 CET 2007 BIOS-provided physical RAM map: BIOS-e820: - 0009fc00 (usable) BIOS-e820: 0009fc00 - 000a (reserved) BIOS-e820: 000f - 0010 (reserved) BIOS-e820: 0010 - 3fffc000 (usable) BIOS-e820: 3fffc000 - 3000 (ACPI data) BIOS-e820: 3000 - 4000 (ACPI NVS) BIOS-e820: fec0 - fec01000 (reserved) BIOS-e820: fee0 - fee01000 (reserved) BIOS-e820: - 0001 (reserved) Warning only 896MB will be used. Use a HIGHMEM enabled kernel. 896MB LOWMEM available. Entering add_active_range(0, 0, 229376) 0 entries of 256 used Zone PFN ranges: DMA 0 - 4096 Normal 4096 - 229376 early_node_map[1] active PFN ranges 0:0 - 229376 On node 0 totalpages: 229376 DMA zone: 32 pages used for memmap DMA zone: 0 pages reserved DMA zone: 4064 pages, LIFO batch:0 Normal zone: 1760 pages used for memmap Normal zone: 223520 pages, LIFO batch:31 DMI 2.3 present. ACPI: RSDP (v000 ASUS ) @ 0x000f5e20 ACPI: RSDT (v001 ASUS A7V8X-X 0x42302e31 MSFT 0x31313031) @ 0x3fffc000 ACPI: FADT (v001 ASUS A7V8X-X 0x42302e31 MSFT 0x31313031) @ 0x3fffc0b2 ACPI: BOOT (v001 ASUS A7V8X-X 0x42302e31 MSFT 0x31313031) @ 0x3fffc030 ACPI: MADT (v001 ASUS A7V8X-X 0x42302e31 MSFT 0x31313031) @ 0x3fffc058 ACPI: DSDT (v001
Re: [gentoo-user] Xgl and direct rendering or 'Would you like Xorg or Xgl, sir?'
Boyd Stephen Smith Jr. napisał(a): You other mail had this in the attachment: Section Device Identifier aticonfig-Device[0] # Driver radeon Driver fglrx Option UseInternalAGPGART no Option VideoOverlay on Option OpenGLOverlay off # Option DRI on EndSection which indicates that you are attempting to use the fglrx x11-driver, and not the radeon x11-driver. If you use the CONFIG_RADEON_DRM kernel module, you also need to use the ati or radeon x11 driver. If your use the fglrx out-of-tree, esclavitud kernel module (at least I think there's a kernel module by this name) you'll alsa need to use the fglrx x11 driver. You seem to be running into a simple misconfiguration at this point. I'm sorry, I've forgotten to modify this line while attaching xorg.conf. When I was trying to launch Xorg with radeon driver I obviously commented out the fglrx driver and uncommented radeon driver's line - inversely to what I have actually attached. So it should be: Driver radeon # Driver fglrx And to make it even more precise - while entering default init level fglrx is NOT loaded and radeon is loaded. Regards, Jan -- Mailjan at stepien com pl Jabber jano at jabber aster pl GG 1894343 Web http://stepien.com.pl signature.asc Description: OpenPGP digital signature
Re: [gentoo-user] Xgl and direct rendering or 'Would you like Xorg or Xgl, sir?'
Richard Fish napisał(a): On 1/19/07, Jan Stępień [EMAIL PROTECTED] wrote: Please verify my plan. I should recompile my kernel with device drivers - character devices - radeon built in (or as a module) and in xorg.conf set driver to radeon. Am I right? Yeah, I think that will work. Good luck! -Richard New problems came up. # modprobe radeon WARNING: Error inserting drm (/lib/modules/2.6.18-gentoo-r4/kernel/drivers/char/drm/drm.ko): Cannot allocate memory FATAL: Error inserting radeon (/lib/modules/2.6.18-gentoo-r4/kernel/drivers/char/drm/radeon.ko): Unknown symbol in module, or unknown parameter (see dmesg) # dmesg | grep radeon radeonfb: Found Intel x86 BIOS ROM Image radeonfb: Retrieved PLL infos from BIOS radeonfb: Reference=27.00 MHz (RefDiv=12) Memory=500.00 Mhz, System=297.00 MHz radeonfb: PLL min 2 max 4 radeonfb: Monitor 1 type CRT found radeonfb: EDID probed radeonfb: Monitor 2 type no found radeonfb (:01:00.0): ATI Radeon AR radeon: Unknown symbol drm_open radeon: Unknown symbol drm_fasync radeon: Unknown symbol drm_poll radeon: Unknown symbol drm_get_resource_len radeon: Unknown symbol drm_core_get_reg_ofs radeon: Unknown symbol drm_irq_uninstall radeon: Unknown symbol drm_ioctl radeon: Unknown symbol drm_exit radeon: Unknown symbol drm_debug radeon: Unknown symbol drm_core_get_map_ofs radeon: Unknown symbol drm_init radeon: Unknown symbol drm_addmap radeon: Unknown symbol drm_ioremapfree radeon: Unknown symbol drm_ioremap radeon: Unknown symbol drm_get_resource_start radeon: Unknown symbol drm_vbl_send_signals radeon: Unknown symbol drm_ati_pcigart_init radeon: Unknown symbol drm_mmap radeon: Unknown symbol drm_order radeon: Unknown symbol drm_ati_pcigart_cleanup radeon: Unknown symbol drm_core_reclaim_buffers radeon: Unknown symbol drm_release radeon: Unknown symbol drm_open radeon: Unknown symbol drm_fasync radeon: Unknown symbol drm_poll radeon: Unknown symbol drm_get_resource_len radeon: Unknown symbol drm_core_get_reg_ofs radeon: Unknown symbol drm_irq_uninstall radeon: Unknown symbol drm_ioctl radeon: Unknown symbol drm_exit radeon: Unknown symbol drm_debug radeon: Unknown symbol drm_core_get_map_ofs radeon: Unknown symbol drm_init radeon: Unknown symbol drm_addmap radeon: Unknown symbol drm_ioremapfree radeon: Unknown symbol drm_ioremap radeon: Unknown symbol drm_get_resource_start radeon: Unknown symbol drm_vbl_send_signals radeon: Unknown symbol drm_ati_pcigart_init radeon: Unknown symbol drm_mmap radeon: Unknown symbol drm_order radeon: Unknown symbol drm_ati_pcigart_cleanup radeon: Unknown symbol drm_core_reclaim_buffers radeon: Unknown symbol drm_release Any ideas? Regards, Jan -- Mailjan at stepien com pl Jabber jano at jabber aster pl GG 1894343 Web http://stepien.com.pl signature.asc Description: OpenPGP digital signature
Re: [gentoo-user] Xgl and direct rendering or 'Would you like Xorg or Xgl, sir?'
Novensiles divi Flamen napisał(a): I use a script called xlaunch: http://forums.gentoo.org/viewtopic-t-483004-highlight-xlaunch.html I run it on my laptop and have absolutely no problems, the xserver alone won't kill your performance. - Noven Thanks, sounds interesting. Hemmann, Volker Armin napisał(a): I don't know which drivers support AIGLX, but with aiglx (or nvidia), you can go from eye-candy-to-fast-to-eye-candy with two mouseclicks. (start beryl-manager, choose beryl from the menu for eye candy or your other wm, for speed). Fredrik Tolf napisał(a): I'm no expert, but as far as I know, that's the reason why AIGLX succeeded Xgl. So if you ask me, I think AIGLX (if it works with ATI) would be the solution to your problem. Fair enough. Firstly I'll check whether AIGLX will be working with my video card, and in case of failure I'll give xlaunch a shot. Thanks for support, guys, Regards, Jan Stępień -- Mailjan at stepien com pl Jabber jano at jabber aster pl GG 1894343 Web http://stepien.com.pl signature.asc Description: OpenPGP digital signature
Re: [gentoo-user] Xgl and direct rendering or 'Would you like Xorg or Xgl, sir?'
Jan Stępień napisał(a): Fair enough. Firstly I'll check whether AIGLX will be working with my video card, and in case of failure I'll give xlaunch a shot. I've reemerged Xorg adding aiglx to USE variable, modified /etc/X11/xorg.conf (actually I've been following these instructions: http://gentoo-wiki.com/HOWTO_AIGLX) and tried to launch Xorg with AIGLX. Unfortunately efforts were fruitless. Accordingly to article mentioned above I have to enable composite in xorg.conf: Section Extensions Option Composite Enable EndSection After launching X server with this setting it results in using Mesa instead of fglrx, which means NO direct rendering, as proved by glxinfo. Beryl cannot be launched because of lack of DRI. If I turn composite off, the X server is driven by fglrx, which gives me direct rendering and Beryl's refusal to start because of lack of composite extension. It's all quite suspicious, taking into account fact that Radeons are listed at the website above as video cards able of running AIGLX. But maybe only on FOSS drivers...? Afterwards I've downloaded xlaunch. When trying to launch an app (in this case armyops) starting xlaunch in a terminal in an existing X server the screen blacks out, probably trying to launch new X session and suddenly restarts GDM, meanwhile killing my original session. I've also tried to use xlaunch in a text console having my previous X server turned on. Results are the same. Have you got any suggestions? Best regards, Jan Stępień -- Mailjan at stepien com pl Jabber jano at jabber aster pl GG 1894343 Web http://stepien.com.pl signature.asc Description: OpenPGP digital signature
Re: [gentoo-user] Xgl and direct rendering or 'Would you like Xorg or Xgl, sir?'
Hemmann, Volker Armin napisał(a): On Thursday 18 January 2007 23:47, Jan Stępień wrote: On 18 Sty, 19:50, Hemmann, Volker Armin Or you can start a second X with xinit. So you would have one desktop (on F7) with Xgl and one (F8) with 'normal' X. This method sounds interesting, but I have some doubts. Won't two separate X servers be too big challenge for my box? I've got an Athlon XP 3000+ (working at 2167 MHz) plus a GB of RAM. Having Xgl loaded in the background could be deadly for performance in OpenGL apps on Xorg. Please correct me if I'm wrong. well, I played ut2004 on my amd64 3200+/gf6600. One instance of Xgl one with naked X (and a xterm). Worked well enough. I managed to launch two X servers at one time, however I'm still far from being successful. My /usr/share/gdm/defaults.conf snip [servers] 0=Standard 1=Xgl [server-Standard] name=Standard server command=/usr/bin/X -audit 0 priority=0 [server-Xgl] name=Xgl command=/usr/bin/Xgl :1 -ac -accel glx:pbuffer -accel xv:pbuffer flexible=true chooser=false handled=true priority=0 snip When entering default runlevel GDM starts and launches both servers. First one, Standard, has got direct rendering turned on and OpenGL is rendered by fglrx driver. OpenGL apps work fine. On the other hand second server, Xgl, has not got direct rendering, and what is most suspicious, it uses Mesa drivers, which cause Beryl to run at an absolutely unacceptable performance. Why both servers are not rendered using fglrx? Have you got any ideas how to do it? Regards, Jan -- Mailjan at stepien com pl Jabber jano at jabber aster pl GG 1894343 Web http://stepien.com.pl signature.asc Description: OpenPGP digital signature
Re: [gentoo-user] Xgl and direct rendering or 'Would you like Xorg or Xgl, sir?'
Richard Fish napisał(a): Have you checked your /var/log/Xorg.*.log files? They should reflect why the Xgl server is not being accellerated. Got it! Somewhere around 92% of /var/log/Xorg.94.log, which is logging Xgl, I've found: (EE) fglrx(0): Hardware has already been locked. (II) fglrx(0): [drm] removed 1 reserved context for kernel (II) fglrx(0): [drm] unmapping 8192 bytes of SAREA 0x2000 at 0xb7f7b000 (WW) fglrx(0): *** (WW) fglrx(0): * DRI initialization failed! * (WW) fglrx(0): * (maybe driver kernel module missing or bad) * (WW) fglrx(0): * 2D acceleraton available (MMIO) * (WW) fglrx(0): * no 3D acceleration available* (WW) fglrx(0): * * Hardware's locked? Do they mean that I can render only one X server simultaneously? They must be kidding... And near the end of this file: (EE) AIGLX: Screen 0 is not DRI capable No doubt about it. What's also interesting at the 96th per cent of Xorg.0.log, standard server's log, I've got: (EE) AIGLX error: dlopen of /usr/lib/dri/fglrx_dri.so failed (/usr/lib/dri/fglrx_dri.so: cannot open shared object file: No such file or directory) (EE) AIGLX: reverting to software rendering Did portage forgotten about something while emerging ati-drivers? Or maybe it's my mistake to force AIGLX to start ('Option AIGLX true' in xorg.conf)? Also, one other option may be to try the opensource radeon driver. You can lookup your card's pci ID (use lspci lspci -n) in /usr/src/linux/drivers/char/drm/drm_pciids.h to see if it is supported or not. If so, you should be able to get aiglx working with opensource drivers. Found it. In the section radeon_PCI_IDS I've found the following line: {0x1002, 0x4152, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CHIP_RV350}, \ Please verify my plan. I should recompile my kernel with device drivers - character devices - radeon built in (or as a module) and in xorg.conf set driver to radeon. Am I right? Thanks for your feedback, Jan -- Mailjan at stepien com pl Jabber jano at jabber aster pl GG 1894343 Web http://stepien.com.pl signature.asc Description: OpenPGP digital signature
[gentoo-user] Xgl and direct rendering or 'Would you like Xorg or Xgl, sir?'
Hi everyone, I've been using Xgl for quite a long time without any serious problems. Recently I've tried to launch America's Army (emerged one, version 2.5.0) on my box, but... ~ armyops Xlib: extension XFree86-DRI missing on display :1.0. Cheat protection disabled open /dev/[sound/]mixer: No such file or directory WARNING: ALC_EXT_capture is subject to change! Either GL_EXT_bgra or glDrawRangeElements not supported- bailing out. History: Exiting due to error Being quite disappointed I verified the first line of the output above with glxinfo. And so... ~ glxinfo name of display: :1.0 Xlib: extension XFree86-DRI missing on display :1.0. display: :1 screen: 0 direct rendering: No snip It sounds rather unbelievably. I've got running Xgl with Beryl's dazzling animations and I'm informed that despite having over 4000 FPS on glxgears I have not got direct rendering. What the...? Few days later I've accidentally launched Xorg (using startx script) instead of my Xgl. When I entered my old, two-dimension desktop I thought that trying America's Army over here, without Xgl, could tell me something more (i.e. that something's wrong with my configuration or whatever else). So I typed armyops in the terminal... And surprisingly enough the game has started. Furthermore, the framerate was quite satisfactory. After this quite long introduction I'll finally get to the point. I have got two questions. 1. Is it possible to enable somehow direct rendering on Xgl, therefore allowing OpenGL apps to work as ought to. 2. If the answer to the first questions is NO, then is there a method of choosing which Xserver to use? Can I choose whether I'd like to launch Xorg or Xgl? Or maybe I can even enable such choice in GDM login screen? If you need any further information regarding by box please don't hesitate to ask. Any support would be highly appreciated. Best regards, Jan Stępień -- Mailjan at stepien com pl Jabber jano at jabber aster pl GG 1894343 Web http://stepien.com.pl signature.asc Description: OpenPGP digital signature
[gentoo-user] Xgl and direct rendering
Hi everyone, I've been using Xgl for quite a long time without any serious problems. Recently I've tried to launch America's Army (emerged one, version 2.5.0) on my box, but... ~ armyops Xlib: extension XFree86-DRI missing on display :1.0. Cheat protection disabled open /dev/[sound/]mixer: No such file or directory WARNING: ALC_EXT_capture is subject to change! Either GL_EXT_bgra or glDrawRangeElements not supported- bailing out. History: Exiting due to error Being quite disappointed I verified the first line of the output above with glxinfo. And so... ~ glxinfo name of display: :1.0 Xlib: extension XFree86-DRI missing on display :1.0. display: :1 screen: 0 direct rendering: No snip It sounds rather unbelievably. I've got running Xgl with Beryl's dazzling animations and I'm informed that despite having over 4000 FPS on glxgears I have not got direct rendering. What the...? Few days later I've accidentally launched Xorg (using startx script) instead of my Xgl. When I entered my old, two-dimension desktop I thought that trying America's Army over here, without Xgl, could tell me something more (i.e. that something's wrong with my configuration or whatever else). So I typed armyops in the terminal... And surprisingly enough the game has started. Furthermore, the framerate was quite satisfactory. After this quite long introduction I'll finally get to the point. I have got two questions. 1. Is it possible to enable somehow direct rendering on Xgl, therefore allowing OpenGL apps to work as ought to. 2. If the answer to the first questions is NO, then is there a method of choosing which Xserver to use? Can I choose whether I'd like to launch Xorg or Xgl? Or maybe I can even enable such choice in GDM login screen? If you need any further information regarding by box please don't hesitate to ask. Any support would be highly appreciated. Best regards, Jan Stępień -- Mailjan at stepien com pl Jabber jano at jabber aster pl GG 1894343 Web http://stepien.com.pl signature.asc Description: OpenPGP digital signature
Re: [gentoo-user] Xgl and direct rendering or 'Would you like Xorg or Xgl, sir?'
On 18 Sty, 19:50, Hemmann, Volker Armin [EMAIL PROTECTED] wrote: nope. It isn't. Xgl and direct rendering are exclusive. One or the other. Pity. That would be lovely. Yes. Or you can start a second X with xinit. So you would have one desktop (on F7) with Xgl and one (F8) with 'normal' X. This method sounds interesting, but I have some doubts. Won't two separate X servers be too big challenge for my box? I've got an Athlon XP 3000+ (working at 2167 MHz) plus a GB of RAM. Having Xgl loaded in the background could be deadly for performance in OpenGL apps on Xorg. Please correct me if I'm wrong. Any reason, you are using Xgl? No Aiglx with your card? Actually, I haven't though about it. I've got an ATI Radeon 9600XT running on proprietary drivers (emerged ati-drivers). It works fine, as long as you can tell that Radeon works fine on Linux; I haven't got any experience with NVidia's hardware. Returning to the topic, I haven't got an idea neither whether Aiglx works with my Radeon nor why I'm not using Aiglx. When I've started to play with fancy 3D servers I was using Debian, and I found an article describing quite precisely how to get Xgl running on unstable Debian. Worked fine, so I've found Xgl a nice choice. Am I mistaken? Thanks for your feedback, Best regards, Jan Stępień -- Mailjan at stepien com pl Jabber jano at jabber aster pl GG 1894343 Web http://stepien.com.pl signature.asc Description: OpenPGP digital signature