Page 1 of 1

Startup-errors / jeopardized graphics after distr upgrade

PostPosted: Thu Sep 18, 2008 4:36 pm
by Erik.Schiegg
Hi,

I dared to make the distribution upgrade to hardy 8.10.

Since, beside the announced bugs of the pre-release, my x-server is doing it its own way:

It says to install the latest nvidia-driver

When I do so and restart the computer, the x.conf file is corrupted and I have to reconfigure the monitor manually and so on...

...and no 3D :oops: and no Open Arena :cry: and no Eye Candies :( from my nvidia 8500GT with 512 ram!

I snooped around :ugeek: and found those startup-errors:
Code: Select all
Warning:  Could not retrieve EDID because get-edid is not installed (1)
discover: unrecognized option `--enable-all'
14885 7584
xinit /etc/gdm/failsafeXinit /etc/X11/xorg.conf.failsafe with-gdm -- /usr/bin/X :0 -auth /var/lib/gdm/:0.Xauth -nolisten tcp vt9 -br -once -config /etc/X11/xorg.conf.failsafe

X: warning; process set to priority -1 instead of requested priority 0

X.Org X Server 1.5.0
Release Date:
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.24-15-server x86_64 Ubuntu
Current Operating System: Linux erik-desktop-AMD64x2 2.6.27-3-generic #1 SMP Wed Sep 10 16:18:52 UTC 2008 x86_64
Build Date: 11 September 2008  06:25:01PM
xorg-server 2:1.5.0-1ubuntu1 ([email protected])
   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: Thu Sep 18 21:58:43 2008
(++) Using config file: "/etc/X11/xorg.conf.failsafe"
error setting MTRR (base = 0xdd000000, size = 0x00e00000, type = 1) Invalid argument (22)
(EE) Failed to initialize GLX extension (Compatible NVIDIA X driver not found)
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Warning:          Type "ONE_LEVEL" has 1 levels, but <RALT> has 2 symbols
>                   Ignoring extra symbols
Errors from xkbcomp are not fatal to the X server
14885 7584


The installing of get-edid or read-edid failed:
Code: Select all
erik@erik-desktop-AMD64x2:~$ chmod +x read-edid-1.4.1
erik@erik-desktop-AMD64x2:~$ cd read-edid-1.4.1
erik@erik-desktop-AMD64x2:~/read-edid-1.4.1$ ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
configure: creating ./config.status
config.status: creating Makefile
config.status: executing depfiles commands
erik@erik-desktop-AMD64x2:~/read-edid-1.4.1$ make
if gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"read-edid\" -DVERSION=\"1.4.1\"  -I. -I.     -g -O2 -MT lrmi.o -MD -MP -MF ".deps/lrmi.Tpo" -c -o lrmi.o lrmi.c; \
   then mv -f ".deps/lrmi.Tpo" ".deps/lrmi.Po"; else rm -f ".deps/lrmi.Tpo"; exit 1; fi
lrmi.c: In function ‘get_int_seg’:
lrmi.c:197: warning: cast to pointer from integer of different size
lrmi.c: In function ‘get_int_off’:
lrmi.c:204: warning: cast to pointer from integer of different size
lrmi.c: In function ‘LRMI_init’:
lrmi.c:267: warning: cast from pointer to integer of different size
lrmi.c:275: warning: cast from pointer to integer of different size
lrmi.c:276: warning: cast from pointer to integer of different size
lrmi.c: In function ‘set_regs’:
lrmi.c:305: error: ‘IF_MASK’ undeclared (first use in this function)
lrmi.c:305: error: (Each undeclared identifier is reported only once
lrmi.c:305: error: for each function it appears in.)
lrmi.c:305: error: ‘IOPL_MASK’ undeclared (first use in this function)
lrmi.c: In function ‘emulate’:
lrmi.c:571: warning: cast to pointer from integer of different size
lrmi.c: In function ‘run_vm86’:
lrmi.c:784: error: ‘VIF_MASK’ undeclared (first use in this function)
lrmi.c:784: error: ‘TF_MASK’ undeclared (first use in this function)
lrmi.c: In function ‘LRMI_int’:
lrmi.c:873: error: ‘IF_MASK’ undeclared (first use in this function)
lrmi.c:873: error: ‘IOPL_MASK’ undeclared (first use in this function)
make: *** [lrmi.o] Fehler 1

and discover is also throwing errors: discover: unrecognized option `--enable-all'.

:geek: Now I'm looking for a save way to reinstall from scratch my graphics resp. my x server :geek:

(I used to use two Monitors with cool nvidia-configure settings and it worked just fine.)

Thanx for helping a Newbee out of this flooding sand.. :mrgreen:
(I googled around for some days, befor submitting my problem)

Re: Startup-errors / jeopardized graphics after distr upgrade

PostPosted: Thu Sep 18, 2008 11:08 pm
by DaddyX3
What are you using to install your video drivers??? It looks like your using a different type of installer. You are not being sucsessful at a proper installer for your drivers. Have you tried installing envyng? What about installing the video drivers right from the nvidia site?

Re: Startup-errors / jeopardized graphics after distr upgrade

PostPosted: Fri Sep 19, 2008 1:08 am
by Erik.Schiegg
Since the upgrade, envy did not work properly. A second envy-icon from a different version is staring at me, since I reinstalled it and it does not work properly anymore.

The nvidia 177 driver is actually downloaded and installed by SYSTEM->ADMIN->HARDWAREDRIVERS.

I can install the nvidia-driver, but nvidia-settings is not recognizing the nvidia-driver and the worst:
when I restart after installing the nvidia-driver, my system falls back to basic graphics and I have to fix the x server during a generic startup.

Inside the session I reconfigure the monitor. If I don't touch anything, it will work (with no 3D) after a restart.
But if I try to fix it by installing the driver again, it falls back to failsave mode in order to fix it and so on...

I can work and watch videos (thus, VLC is rendering the image with coloured ascii chars :shock: , the caca AsCii Art mode), but the benefits of a decent graphics card are wasted...
Image
That's why I tried to install discover and get-edid to help the system to autorecover after a restart properly...

Thanx for your answer.

Re: Startup-errors / jeopardized graphics after distr upgrade

PostPosted: Fri Sep 19, 2008 10:34 am
by DaddyX3
VLC did that!?!? that is freak'n cool! I've never seen that before! <BREW>
Well, I think that you've gotten yourself into a bad spot now. You prob. should have come in here a little earlier with questions on envyng or even how to install the nvidia drivers off their site. Now it looks like a serious clean up job. If you are willing to undo all that you have done, I will walk you through setting up your nvidia drivers for ya ;)

Heck, a fresh install might be a good option for you as well. You could spend hours doing repair work just to get back to a fresh install spot. (hours - meaning, time spent here in the forums)

Re: Startup-errors / jeopardized graphics after distr upgrade

PostPosted: Fri Sep 19, 2008 1:22 pm
by silhouette
I have the same problem.
You don't need to fresh install.

The problem with get-edid can be fixed by typing
sudo apt-get install read-edid

As far as the discover problem is concerned, i think that someone typed
discover --enable-all
when they were supposed to type
discover --enable-dbus all
Its probibly in a shell script somewhere. I am going to look for it later today.

Re: Startup-errors / jeopardized graphics after distr upgrade

PostPosted: Sun Sep 21, 2008 2:47 am
by Erik.Schiegg
Yeah, VLC is playing all the movies in coulered AsCii-Art. Kinda Matrix 8-)
Same thing during a logout with the spashscreen/progressbar..but here rather ugly :o

I still can't install read-edid:
Code: Select all
erik@erik-desktop-AMD64x2:~$ sudo apt-get install read-edid
[sudo] password for erik:
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut       
Lese Status-Informationen ein... Fertig
Paket read-edid ist nicht verfügbar, wird aber von einem anderen
Paket referenziert. Das kann heißen, dass das Paket fehlt, dass es veraltet
ist oder nur aus einer anderen Quelle verfügbar ist.
E: Paket read-edid hat keinen Installationskandidaten
erik@erik-desktop-AMD64x2:~$

(package read-edid is not available, but is referenced by a different package. This could mean that the package is missing, is depreciated or is only available by a different source.
E: package read-edid has no installation candidate
In short: :evil: fuk of :evil: EOF)

But I'm gonna try to fix the discover-script. A big thanx anyway <BREW>

A reinstall from scratch might be the only serious fix, as Daddy sais.

Maybe I try before that to write manually the x.conf file of the x-server.
And indicating better/appropriate software-sources may fix the problem with read-edid...

...I'll feed-back news. A farewell to the kingz of :D ubuntu-ultimate-there-is-no-better-edition :D