Problem with video drivers

I am new to Linux and not really sure where to start here. Any help or guidance would be greatly appreciated.

I am running opensuse 12.2 and was unable to up my resolution to 1280x1024, i was stuck at 1024x768. Everytime I tried to change the resolution, the machine would lock up. Yesterday I decided to try to install the graphics drivers from nvidia, however now I can not boot into x. When I boot the computer normally it just boots to a shell and if i try to run startx i get an infinite loop of error messages.

However, if I use the advanced start options and select the default option, my machine boots perfectly AND works in 1280x1024.

Any idea where I would start to fix this?

@khaos337

there may be nothing to fix

sometimes the graphics set-up takes time to settle and needs two or three
cold boots to reach the required status

after a change it appears a bit of the old configuration may be retained

suggest after a change,
make sure the os is stable before making further changes or adjustments

On 03/11/2013 04:46 PM, keellambert wrote:
>
> @khaos337
>
> there may be nothing to fix
>
> sometimes the graphics set-up takes time to settle and needs two or
> three
> cold boots to reach the required status
>
> after a change it appears a bit of the old configuration may be
> retained
>
> suggest after a change,
> make sure the os is stable before making further changes or adjustments

OH! where did you learn all of that? i ask because it reads like you
lifted it directly out of some Window® ‘knowledge base’ or MS
technical support phone scripts (so many begin with reboot or
reinstall!!)

linux is dependable to not change itsself and go bonkers (or fix
itself) just because it is booted! and it does not go “unstable” when
one adds a kernel module correctly


dd
openSUSE®, the “German Engineered Automobile” of operating systems!

I’ve cold booted now 4 or 5 times, still the same result.

I tried unistalling all the nvidia drivers, and still have the same issue.

One other strange problem is when I boot the system normally, if I don’t press escape to exit the opensuse boot animation, when the screen changes resolutions my monitor goes into power save mode and the system hangs. If I do press escape the resolution changes properly and I get a shell log in.

@khaos337

it would be nice to know your hardware and graphics adapter

also if you boot to the gui, what is the response to cmd
xrandr

also as root what’s the output of cmd
lspci

keep smiling

@dd

in passing, my hardware has been running on 100% linux since suse8.3,
5 PC’s self built, only two laptops (so no real experience),
but have found the graphics set-up can be the weakest / most
frustrating part of the installation process

cheers

Welcome. It might useful to tell the forum what facility were you using when you “tried to change the resolution” and it locked up. Also, what desktop are you using, and what model of Nvidia graphics do you have installed?

Lots of Nvidia users here (not me). :slight_smile:

I was using the display dialog in system settings. Running Gnome desktop with nVidia GeForce 9400GT

That still doesn’t justify what you claimed in your first post. It has nothing to do with the OP’s problem, and neither does your PC-building experiences, or mine.

I seem to have done something else bad and now can not get into the gui at all.

xrandr gives me:

Can’t open display

and lspci VGA line is:

01:00.0 VGA compatible controller: NVIDIA Corporation G96 [GeForce 9400 GT] (rev a1)

On 2013-03-11, consused <consused@no-mx.forums.opensuse.org> wrote:
>
> khaos337;2533775 Wrote:
>> I am new to Linux and not really sure where to start here. Any help or
>> guidance would be greatly appreciated.
>>
>> I am running opensuse 12.2 and was unable to up my resolution to
>> 1280x1024, i was stuck at 1024x768. Everytime I tried to change the
>> resolution, the machine would lock up.
<SNIP>
>> Any idea where I would start to fix this?
> Welcome. It might useful to tell the forum what facility were you using
> when you “tried to change the resolution” and it locked up. Also, what
> desktop are you using, and what model of Nvidia graphics do you have
> installed?
>
> Lots of Nvidia users here (not me). :slight_smile:

I am nvidia user and one question I’d like to add to consused’s list is how precisely you installed the nvidia driver.

At first I tried to install them by downloading the linux driver from nvidia’s website, when that didn’t work, i tried the easy way via rpm as I read on the opensuse nvidia drivers documentation page. I also tried the hard way.

None of this worked, so I tried to uninstall all nvidia drivers from default boot mode, now I can’t get into any gui.

@khaos337

How did you initially install openSUSE12.2?

dvd?
liveCD?
net?

Originally installed via DVD

Assuming you are using Grub2, the advanced start option takes you to a sub menu, are you then selecting “failsafe” mode?

If yes, you would then probably be booting with “nomodeset”, and without looking it up, I’m not sure which driver you then default to with Nvidia h/w (possibly “fbdev”)?

One of the Nvidia users could chip in here with the answer.

If I boot into recovery mode, I can get a gui with the 3.8.2 kernel

Ouch’ That’s not the standard kernel on 12.2.

Also the release notes (12.3) say this for “nomodeset”: On NVIDIA without KMS the nv driver is used (the nouveau driver supports only KMS). I guess same for 12.2?

I’ve unistalled everything (i think), and now I can get to a command prompt in both kernels (3.4.28 and 3.8.2). When I try to start X11 now I get the following:

hostname: Name or service not known
xauth  file /home/user/.serverauth.2075 does not exist

/etc/X11/xinit/xerverrc: line 51: exec: X: not found
xinit: giving up
xinit: unable to connect to X server: Connection refused
xinig: server error

If you locate the file xservrrc, you can open it with an editor (gedit, I guess), and line51 is near the end. See if you locate what it’s looking for. That may give you a clue as to what its missing. Other than that, I can’t tell. :\

@khaos337

tomorrow a new version 12.3 is out,

suggestion:
download and burn the new liveCD and try to run from it,
if it goes ok then do an install,
if you can’t run successfully come back
(verify download as recommended)

this, most probably, will be the easiest and fastest
way to get going again

it’s assumed you have no hardware problems; DVD read/write, RAM …

cheers

There were a couple of updates [today] for standard 12.2, one a kernel update and another for xserver. Have you installed them, ok?