Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 157371 - after world update x started not but with vesa. system has been restaged from beginning. same symptom
Summary: after world update x started not but with vesa. system has been restaged from...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: x86 Linux
: High critical (vote)
Assignee: Gentoo X packagers
URL: http://forums.gentoo.org/viewtopic-t-...
Whiteboard:
Keywords:
: 157372 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-12-06 14:45 UTC by Ilias
Modified: 2007-02-24 16:43 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Xorg.0.log (Xorg.0.log,61.80 KB, text/plain)
2006-12-06 19:33 UTC, Ilias
Details
Xorg.conf (xorg.conf,1.52 KB, text/plain)
2006-12-06 19:39 UTC, Ilias
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ilias 2006-12-06 14:45:32 UTC
User-Agent:       Mozilla/5.0 (X11; U; Linux i686; de; rv:1.8.1) Gecko/20061206 BonEcho/2.0
Build Identifier: 

This hardware worked perfectly for months. and now i cannot start x using the
fglrx drivers from ati. The modules are built and loaded but xserver doesnt seem
to like them :.(

As having an onboard i915 graphic chip i unpluged the radeon card (x1300le
pciexpress). But also here there seem to be problems. Although on a testsystem
with an old radeon 8500 (and which has been setup also some days ago) I get
direct rendering enabled with the open source radeon driver and x11-drm. But
with the i915/i810 driver i only have indirect rendering. 

I opened a post and described the whole thing there.I also put log files n stuff
there. 

I would be very pleased if this problem could be solved as soon as possible. 

Thank you

Kind regards, 
Ilias

Reproducible: Always

Steps to Reproduce:
1.Setup gentoo from actual livecd image. Did not choose additional packages
2.Did an emerge sync and world update
3.Did compile a actual stable kernel from gentoo-sources
4.emerged xorg-x11
5.emerged ati-drivers


Actual Results:  
x would not start but when defining vesa drivers

Expected Results:  
well start a graphical ui with direct rendering enabled as it did before. 

It is the identical hardware which worked perfectly before. It costed my very
much nervs as I did reemerge the whole system but obviously it was not my fault
but seems to really be a bug. 

As many I used windows before. I decided to switch over to gentoo. I knew that
starting with gentoo without knowing anything about linux is the hard way. But
as I like gentoo very much, I decided to ged rid of windows totally. So after
this world update I lost very much time. What I did learn from that is that I
should have looked bether before starting a world update. 

But now I am at a point, where I dont know wether it is a gentoo bug or an xorg
server bug or a bug of drivers etc. 

I even did open a bug towards the x11-drm people because the radeon x1300le did
not eather function with their driver. But they told me that it is not yet
supported because ati did not publish the specs of the card.

I hope when it is not a gentoo bug that I will at least get an information on
where I should adress this problems further. 

Detailed Logs can be found in this Thread: 

http://forums.gentoo.org/viewtopic-t-521619-postdays-0-postorder-asc-start-0.html

If I can provide any informations to help solving this issue dont hesitate to
contact me. 

With kind regards, 

Ilias aka Elleni
Comment 1 Wernfried Haas (RETIRED) gentoo-dev 2006-12-06 14:58:14 UTC
whoops, forgot to post a smart comment that this is not a devrel issue - reassigned to bug-wranglers. ;-)
Comment 2 Wernfried Haas (RETIRED) gentoo-dev 2006-12-06 14:59:40 UTC
*** Bug 157372 has been marked as a duplicate of this bug. ***
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2006-12-06 15:06:09 UTC
Don't refer to forums.g.o. when reporting bugs; attach anything relevant to this bug, post the xorg-server version, drivers version etc. etc. Also helps to not mix several different issues in one bug. And finally, there's nothing we could fix w/ binary ATI drivers.
Comment 4 Ilias 2006-12-06 15:27:20 UTC
copy/paste of everything from the mentioned post that seemed relevant to me. 

Will provide any information needed. Please just tell me what you need to know. 

-----------------
As trying to fix the xserver crash after worldupdate I started playing
around with kerneloptions, and at the end I was not sure, wether I had
changed something resulting my xserver would not start anymore... 

So just to be very sure, I decided to download the 2006.1 livecd image,
burnt it to cd and re-setup my system from the beginning. I now found
out, that I wouldnt had to reemerge the whole stuff as the problem
persists. 

I have a second testsystem, which has an old radeon 8500 built in and
there the installation worked as I was used to. That meens I have there
drm support with the open source driver. (x11-drm / direct
rendering:yes) 

Now on the productive system there is a radeon 1300 le pcie. There is
also an onboard graphic chip (intel i915), which unfortunatelly cannot
be disabled via BIOS. Till now I did ignore the onboard intel i915
graphic chip as I have only one monitor attached to the ati radeon card.
And till now I did not have an entry for the intel chip in xorg.conf.
And everything worked fine... 

My only guess is, that something changed in xserver that causes this.
Till before the last world update everything worked as needed and now I
am starting to panic. 

following my xorg.0.log (with fglrx) for further informations. 

grep -e EE -e WW Xorg.log 
Current Operating System: Linux localhost 2.6.18-gentoo-r3 #16 SMP
PREEMPT Mon Dec 4 02:26:22 CET 2006 i686 
(WW) The core pointer device wasn't specified explicitly in the layout. 
(WW) Open ACPI failed (/var/run/acpid.socket) (No such file or
directory) 
(WW) fglrx: No matching Device section for instance (BusID PCI:1:0:1)
found 
(WW) fglrx(0): Failed to open DRM connection 
(EE) fglrx(0): PreInitDAL failed 
(EE) fglrx(0): PreInit failed 
(EE) fglrx(1): Quitting secondary screen -- no monitor specified. 
(EE) fglrx(1): PreInit failed 

When trying the open source driver the xorg.0.log shows the following: 

grep -e EE -e WW Xorg.log 
Current Operating System: Linux localhost 2.6.18-gentoo-r3 #16 SMP
PREEMPT Mon Dec 4 02:26:22 CET 2006 i686 
(WW) The core pointer device wasn't specified explicitly in the layout. 
(WW) Open ACPI failed (/var/run/acpid.socket) (No such file or
directory) 
(WW) RADEON: No matching Device section for instance (BusID PCI:1:0:1)
found 
(EE) No devices detected. 


Please help my out of this, as I am getting nervous because I have much
work to do on this system and need it with working x as soon as
possible. 

And after having spent three days in trying to find a solution here I am
at a point where frustration ist very big and the idea of reinstalling
windows comes to my mind. But on the other side I am very happy with my
gentoobox. At least till last world update. 

So I hope, there is some help out there :(

I tried out different ati-drivers and kernel versions. Always the
same ... 

The driver(s) load(s) normally at boot, but when starting x ... crash.. 

I tried wether I get a starting x with xorg 7.0-r1, xorg-server
1.0.2-r7... nothing. I tried different versions of ati-drivers and
x11-drm.. nothing. I even emerged the unstable 2.6.19-r1 kerenel. With
this one the drm modules did not build. But with all the other kernels
(I tried 2.6.17-r9, 2.6.18-r3) there is the same result. With the
2.6.17-r9 not even vesa started ;-)

I set up the system from live cd. There I have choosen no additional
packages. Nothing. Then I did an emerge sync && emerge world update.
After that I built a new kernel (I mean I did that quite some times. Its
not the first time I setup gentoo..) 
After that xorg server, atidriver and x11-drm and all the rest... 

As described the modules are loaded at boot this is not the problem. 

But x starts only if using vesa. 

Detailed logs are posted when trying to startx with fglrx or radeon
driver. And yeah, I tried almost every driver version of ati. At the
moment I am using the unstable 8.30.3-r1, kernel gentoo sources
2.6.18-r3, Xorg-X11 7.1. 

I mean everything is actual. emerge -depclean and world and
revdep-rebuild tell me that there are no outdated packages. 

Ok, now without the ati card i managed to startx with the i810
driver :-)
X did not crash but I got no pic in Monitor and a message indicating
that Resolution is out of range. I can do 1600x1200 though *confused*
The strange thing is, that when trying to use 1280x1024 in gnome I can
not change the refresh rate setting to something else then the 85 Hz and
that s probably to high... 

So I deleted the 1280x1024 setting and voila - I have at least a
starting X with something quicker then vesa... Though I would like to
use my prefered res. and also would like to use the ati card... 

I tried to get direct rendering to yes here with the intel i915 onboard
chip but didnt succed yet..

As for the direct rendering thing. I did not compile drm in the kernel
as I had emerged x11-drm with radeon and i915 support. The modules were
also loaded successfully. But for testing I deinstalled x11-drm, tried
the drm drivers from kernel. Tryed them as modules, comiled them in
kernel. After having spent another day on trying to get direct rendering
to get working, I am pretty pissed. Seems again to have to do with some
sort of change in xorg server or I dont know... :evil:

As that now doesnt work I am not able to watch any moviefiles in a
regular way. It works with the first file. When trying to start the next
moviefile x behaves like I would have pressed Ctr+Alt+Backspace... But I
am telling me dont worry. Its just till the probs are fixed. I will make
a share and probably I will be able to watch the movie files from this
box via LAN... You see I try to workaround one thing after the
other ... 

But ok, at least I can do my work now with i810 driver and 1600x1200
Screenresolution. That is a beginning. 

I have no clue what to do next. I mean this Box is freshly setup. I have
no idea where the problem(s) come from. Is it gentoospecific ? Or is it
a problem of the atidrivers ? But then why glxinfo shows me always
Direct rendering: No with the intel onboard chip ? Or is it a xorg
problem. 

I have no idea what would be the best steps so that these problems will
be fixed in near future. 

If I can be of any help for this please tell me what to do. 

In my newbish understanding of linux I start thinking that it would be
good if a Gentoo developper could have a look at the described problems.
I will try to be as helpful as I can, so please tell me... 

Or are there any other configs that I could provide, for example to
check if kerneloptions I have choosen are ok, or the worldfile to see if
any installed package are useless or should I paste my make.conf ? 

But the most important for me is, that the correct people are adressed
with this problems I am encountering here so they will be fixed in
future. I cannot understand that. I mean this Hardware did work with drm
enabled (intel onboard chip but also ati radeon x100le pcie card), I was
able to play 3D games (thats why I had bought the radeon card and it
worked as intended), had my dualscreenconfig with tv connected to s-vhs
of the radeon card (dualscreen config with fglrx). 

Its not that I did change something. (Ok pluged in an older monitor but
i did that before restaging the client). 

And I spent already too much time in trying to understand whats going
wrong. I tryed everything that came to my mind. 

And now I am at a point where I just can hope I will get instructions on
how to proceed. 

Any informations still needed I will try to provide as soon as possible
so that this issue can be analyzed. 

Kind regards, 

Ilias
Comment 5 Joshua Baergen (RETIRED) gentoo-dev 2006-12-06 18:51:49 UTC
Please post your 'emerge --info', and attach your xorg.conf and full Xorg log.
Comment 6 Ilias 2006-12-06 19:29:06 UTC
 emerge --info
Portage 2.1.1-r2 (default-linux/x86/2006.1/desktop, gcc-4.1.1, glibc-2.4-r4, 2.6.18-gentoo-r3 i686)
=================================================================
System uname: 2.6.18-gentoo-r3 i686 Intel(R) Pentium(R) 4 CPU 3.20GHz
Gentoo Base System version 1.12.6
Last Sync: Wed, 06 Dec 2006 17:00:01 +0000
ccache version 2.3 [enabled]
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.3
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.60
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-r3
sys-devel/gcc-config: 1.3.13-r4
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium4 -O2 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-march=pentium4 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="de_CH.utf8"
LINGUAS="de"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aac alsa alsa_cards_intel8x0 arts avi berkdb bitmap-fonts cairo cdr cli cracklib crypt cups dbus dga dlloader dri dts dvd dvdr dvdread eds elibc_glibc emboss encode esd fam firefox fortran gdbm gif gnome gpm gstreamer gtk hal i8x0 iconv input_devices_evdev input_devices_keyboard input_devices_mouse ipv6 isdnlog jpeg kde kernel_linux ldap libg++ linguas_de live mad matroska mikmod mmx mmxext mp3 mpeg ncurses nls nptl nptlonly ogg opengl oss pam pcre pdf pdflib perl png ppds pppd python qt3 qt4 quicktime readline real reflection sdl session spell spl sse sse2 ssl tcpd theora truetype truetype-fonts type1-fonts udev unicode userland_GNU video_cards_fglrx video_cards_i810 video_cards_i915 video_cards_radeon video_cards_vesa vorbis win32codecs x86 xanim xml xorg xv zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 7 Ilias 2006-12-06 19:33:36 UTC
Created attachment 103509 [details]
Xorg.0.log
Comment 8 Ilias 2006-12-06 19:39:10 UTC
Created attachment 103510 [details]
Xorg.conf

done
Comment 9 Joshua Baergen (RETIRED) gentoo-dev 2006-12-06 19:56:40 UTC
Which would you rather have working: i810, ati open-source or ati-drivers?

You should remove the following lines from the Module section of xorg.conf:

   Load "drm"
   Load "ddc"
   Load "vbe"
   Load "GLcore"

This won't fix anything, but it should avoid future issues.

My guess as to why your direct rendering isn't working on the i810 driver is because you're missing the following from xorg.conf:

Section "DRI"
        Mode    0666
EndSection

Why makes direct rendering available to users instead of just root.
Comment 10 Ilias 2006-12-06 20:55:37 UTC
For gaming and tvout I would prefer the fglrx driver from ati. But when the x11-drm opensource driver will support my hardware, I certainly will also test that one, as it is easy to switch from one to another driver. So for the mom ati-drivers are the only supporting ones for radeon x1300le. 

The intel onboard chip would only be used for fallback as it is not so powerfull compared to the ati card. But I would also like to have drm enabled with intel onboard chip as long as it is my only solution as the radeon card is not working at the moment.

Thanks for pointing out the missing section in xorg.conf. 

This xorg.conf actually has been simplyfied just for troubleshooting this issue and I did forget the dri section at the end. 

Now I corrected xorg.conf and still - glxinfo shows direct rendering: No
Comment 11 Ilias 2006-12-06 20:59:23 UTC
Another strange behaviour which I dont understand is. 

When gdm starts I can login as user, but not as root. When initially trying to login as root gdm gets restarted as when pushing ctrl+Alt+Backspace. The funny thing is that after logging in as user it is possible to switch the user and login as root...

I am telling this here as it might help to identify the problem. Never had this issue before. If not, it is not a major problem. 
Comment 12 Richard Fish 2006-12-06 21:25:48 UTC
Ok, now I don't know whether to continue trying to help you here or on the forums.  sigh.

I believe if you want 1280x1024@75hz instead of 85hz, you can change the VertRefresh setting in xorg.conf to be 48.0 - 75.0.  In fact, my understanding is that should prevent *any* mode from exceeding a 75hz refresh rate.

According to your xorg.0.log, direct rendering is, in fact, *enabled*.  So double check "eselect opengl list", and make sure it shows xorg-x11 selected.
Comment 13 Ilias 2006-12-06 21:55:38 UTC
Hello Richard, 

I changed the vertical sync and restarted x (Ctrl+Alt+Backspace). But still same thing. When I want to choose 1280x1024 the only refreshrate in gnome Screen Resolution is 85 Hz. But I am getting pretty comfortable with 1600x1200 now. 

I also checked eselect and it is set to xorg-x11. glxinfo shows still direct rendering no. I also put back the dri Section at the end as suggested by Joshua. 

Now for the moment I can live without drm as I can watch movies on my other gentoo box.

First priority should be the ati card. If we manage to enable direct rendering ok, but its not my main prob. 

Thank you all again for trying to help !

omg ... 7 am again. I have to go n catch some sleep.. *wink*
Comment 14 Ilias 2006-12-06 22:00:57 UTC
Btw. As having all information of my system. If you see any useflags that are unnessesary or nonsense, or if there are some flags that I could/should set to improve my box please tell me. ;-)
Comment 15 Richard Fish 2006-12-06 22:57:57 UTC
(In reply to comment #13)
> First priority should be the ati card.

Well in my googling I wasn't able to find anybody that was able to get around that PreInitDAL failure, except for one ubuntu user who installed a different linux distribution to get it to work.  Based on that user, and since it worked before, I am *guessing* that something low-level in your kernel configuration might give you a workaround, and that that "something" is one or more changes to ACPI, IO APIC, MEMORY, PCI, PRE-EMPT, SMP, timer frequency, or AGP configuration options.  But obviously, that is quite unspecific help. :-(

You might also try posting that problem to the linux drivers forum at www.rage3d.com.  A few ATI devs have been known to respond there, and if you are lucky enough to catch their eyes, they might have a better idea.

Of course, you could also file an official support request with ATI (uhm, AMD now I suppose).  I'll be completely flabbergasted if they actually respond. :-(

I wish I could be more upbeat about this...but I'm struggling just to avoid ranting about ATI's linux [quote]support[/quote]

I'll keep monitoring this in case the x11 devs have anything to add, but anything else I have to say will probably be more appropriate on the forums thread.

Comment 16 Ilias 2006-12-07 05:23:35 UTC
This is what I got from ATI:

Operating Systems Distributions Supported

The latest version of the AMD Proprietary Linux driver is designed to support the following Linux distributions:

    * Red Hat Enterprise Linux suite
    * Novell/SuSE product suite 

What an answer...

Ticket #:   	737-1148417 at ati.com

Well that means they just dont care about, right ?
Comment 17 Ilias 2006-12-07 05:49:48 UTC
OK, I opened a ticet there with the following text. Perhaps there will be some help from ati too. I would really appreciate that: 


I am writing this post here in the hope to catch some eyes of some ati linux driver developpers.

I have gentoo installed and now I have got a big problem with their drivers. My x wont start. After having made a Ticket to ati, this is what they answered me and they closed ticket:

Operating Systems Distributions Supported

The latest version of the AMD Proprietary Linux driver is designed to support
the following Linux distributions:

* Red Hat Enterprise Linux suite
* Novell/SuSE product suite


So I hope that any ati linux driver developper, could have a look at the following open bug. Perhaps he or she will be able to help in this issue as it is very critical for me.

And I did buy this graphic card for only use unter linux. So I really would appreciate any help of ATI side. Pleeeaaaaseee  !

http://bugs.gentoo.org/show_bug.cgi?id=157371

Thank you.
Elleni
Comment 18 Ilias 2006-12-07 06:53:55 UTC
Also did a driver feedback after having called ati. 

Ticket #: 737-1149724
Comment 19 Ilias 2006-12-07 08:13:31 UTC
Did a driver feedback Ticket towards linux devs: 

Hello ATI Linux Driver Devs,

I freshly setup a gentoo box. Now the ati driver do not work as they did before. X does not start.

I opened a bug at gentoo. Now I am writing this feedback, because I really want to ask you for having a look at this bug. Perhaps you can help me here.I bought this radeon x1300le for the exclusive use under linux and was very happy with it. I was able to game 3D games and to use tvout and everything with your driver !

This gentoo client which does not start X, did work with the fglrx driver before.

My hope is that you as specialists could have a short look at my bugreport. Perhaps you can be of really big help here.

I mean I know that you do not support gentoo distro but when seeing this PreInidDal error you probably are the ones beeing able to help me out of this situation.

Please, please have a short look at the following bugreport. Perhaps you can help me using your product again with gentoo. I will appreciate this very much !

Or at least please have a look at the attached logfile. It probably shows you where the problem comes from.

I am pretty sure that you are a quite little team and have quite a lot of work to do. But I hope yoou understand, that helping me out of this mess would be a very nice from your compagny. I think I would appreciate this very, very much !

http://bugs.gentoo.org/show_bug.cgi?id=157371

Thank you in advance.

Kind regards,
Ilias Tsarouchas

PS. The opensource x11-drm drivers are also not an alternative as they cannot support the radeon x1300le card. I was told this is because they do not know the specs of my radeon card...
Attachment:  	Xorg.0.log.dmesg.emerge_info(1).logXorg.0.log.dmesg.emerge_info(1).log
Comment 20 Ilias 2007-02-22 22:33:59 UTC
Seems to have been fixed now. Did a emerge sync, and world update and crossed my fingers after having replugged in the ati card. 

And it works again. fglrx starts and gives me direct rendering. Everything perfect again. 

Thought I d report here too. 
Comment 21 Joshua Baergen (RETIRED) gentoo-dev 2007-02-24 16:43:34 UTC
Alright, thanks.  Closing.