NVIDIA issues, Mac Mini + openSUSE 12.1

My screen is quite messed up, from what I can tell the top of my screen is fine but the left and bottom (side-bars) are out of view.
As far as I’m aware it’s an NVIDIA issue and I’ve been messing around with it for the past 48 hours trying to fix it, following various
how-to’s and past threads.

During an attempt to install a driver that supports my GPU I had to disable “the x server” using the “init 3” command and run the install. The install failed due to
some kernel relate issue.*

I’m not really sure where to begin.

After reading the bug lists and other people’s issues I went along adding NVIDIA to the repositories and doing all sorts of things
I don’t 100% understand and shouldn’t have done.

I’m not sure if it’s a resolution issue or what. All I can tell you is that my screen doesn’t fit and nomodeset doesn’t work (anymore).
I didn’t like the 800x600 resolution the nomodeset gave me. So I continued looking for ways to fix it, I’ve managed to install an
NVIDIA driver of some-sort (automated after adding the NVIDIA repository) allowing a bit more detailed configuration of my display.
Much to my dismay this prevents the nomodeset solution from working, leaving me with a very high-res, but still too-big screen.

I’m an Ubuntu person so trouble-shooting is a but more difficult. E.g. apt-get does not exist, but zypper does.

My Graphics card is an NVIDIA GeForce 9400M.
I did find an NVIDIA driver for my graphics card but it complained about my kernel and me needing to set directories etc. *
If it helps I’m using an adapter (converts my mac mini’s output to HDMI) and using my TV as a monitor.

    • same thing repeated twice.

Thanks in advance,

LeChameleon

Since we cannot see what the “things you don’t 100% understand” are, I strongly suggest you reinstall, preferably 12.2. That should bring a clean working install, though in wrong resolution. After install, first perform an update, then add the NVIDIA repository, and install the driver packages the system suggests. Then reboot.
A bit of background: the NVIDIA driver does not support modesetting, so the install changes the value of “NO_KMS_IN_INITRD” to “yes”. That has exactly the same effect as putting “nomodeset” on the kernel option line at boot. (KMS = Kernel Mode Setting)

Thanks, sorry for my lack of clarity.

Will install within the next few hours, hopefully this’ll work…

After installing 12.2, I did as you said. Installing updates and then adding the NVIDIA repository, but this time it didn’t suggest a driver at all (and dont worry, I made it refresh and check etc) I used zypper for this.

I decided to google up what other mac users did. I then stumbled upon a mac guide, it appears one of the mac books also has the NVIDIA GeForce 9400M and I attempted to install a driver mentioned there.

The driver failed (as always), but offered to remove some nouveau stuff from some configs, I accepted hoping it would fix it, but no the driver still failed to install. I then rebooted.

I then saw some other people mentioning editing the grub config I decided to go to Yast → Boot Loader and checked to see if I could do the same as them. I then noticed the VGA 800x600… I decided to click on it and try out the best resolution on there.

To my luck it worked!

I know, I didn’t exactly follow your instructions, but it looks amazing! No issues now except for a login issue.

I’d prefer not to create 2 threads within the same day so I’ll just mention it here.

***** SEPERATE ISSUE:**

When at the login screen, I have to login in twice for it to work. It doesn’t say my password is wrong, the password I entered dissappears and I have to retype it again. (Not a major issue) Just find it a bit annoying.

thanks in advance,

Le Chameleon

We’d normally rather see a second thread created, if this issue was unrelated to the above. IMHO something that changed during the experiment mentioned. I’ve seen the issue before though. Please check if an xorg.conf exists:

ls -l /etc/X11/xorg.conf

I installed java, you can only guess what happened…
It installed an NVIDIA driver which then messed up everything again.

I then used

zypper remove nvidia*

Or something simialar to the above to remove the nvidia drivers. Which allowed me to reboot with a fitting screen.
As for the xorg.conf, no it doesn’t exist. I’ve just realised how problematic this is…

Would you like me to reinstall that nvidia driver or is there another approach you’d recommend?

(I really appreciate the patience),

LeChameleon

Java did not pull in the NVIDIA driver, it auto installs since you have the repo active.

Are you sure? Because from what I could see it was a dependacy…
Anyways, I’ll remove the repository and see if the java stuff still works, thanks though. :slight_smile:

Greetings everyone, i am new to opensuse and i have also issues with my opensuse installation on my mac mini(late 2009).

I have installed the 64bit version of opensuse 12.1 a few weeks ago and then upgraded to the 12.3. When i first installed 12.1 i had no issues with graphics at all, after the upgrade this are the results:

First i run the commands below *:

sudo zypper ar --refresh Index of /repositories/home:/ealin:/apple/openSUSE_12.3 "Apple Stuff"

sudo zypper in macfanctld applesmc-kmp-default applesmc-kmp-desktop applesmc pommed mbp-nvidia-bl nvidia-bl mbp-nvidia-bl-kmp-default mbp-nvidia-bl-kmp-desktop nvidia-bl-kmp-desktop nvidia-bl-kmp-default


sudo zypper ar --refresh Index of /pub/mirrors/packman/suse/openSUSE_12.3/ "Packman Repository"


sudo zypper in broadcom-wl broadcom-wl-kmp-desktop broadcom-wl-kmp-default


sudo zypper in alsa-utils


sudo /usr/bin/alsamixer

then i did the following 2 approaches:

0. with the configuration “blacklist noueavu”@/etc/modprobe.d/nvidia-desktop.conf i have just a green login screen in terminal, everything is ok but after login-in and press “X” i get a black screen and the terminal@ctrl+alt+F10 returns this:

http://imageshack.us/a/img844/7620/ljrv.jpg

**
1.** then i removed the “nvidia-desktop.conf” file and the result after boot was this:

http://img197.imageshack.us/img197/7933/14li.jpg

and the results from the terminal@ctrl+alt+F10:

http://img845.imageshack.us/img845/1720/i4x7.jpg

If i got the latest instructions from the NVRM right, then the i had to do the first approach were i’m blacklisting the noueavu mod. I’m a little bit confused, so any directions on what to study would be welcome :smiley:

Also my Xorg.0.log file: http://pastebin.com/ixCiaX2t

Thanks in advance :-D*

Yes, you have to blacklist nouveau if you want to use the nvidia driver.

But from your Xorg.0.log:

   588.475] 

X.Org X Server 1.10.4

Release Date: 2011-08-19


That’s the X Server included in 12.1!
You didn’t fully upgrade your system to 12.3 and have a mixture between 12.1 and 12.3 now. That’s most likely causing your problem.

So please remove all 12.1 repos and then do a zypper dup to fully upgrade to 12.3.
If you’re not sure, post your repo list to get more specific advice:

zypper lr -d

Thank you for your immediate reply!!!

this is my repo http://pastebin.com/QvaBg4MJ

That looks fine.
Just one sidenote: you have the updates repo twice in there, #1 and #9. You could remove one of them.

So please run “sudo zypper dup” and your system should get fully upgraded to 12.3.
And if you get any conflict messages, please post them.

Btw, how did you do the upgrade the first time? With “zypper up” maybe?

this is my new repo

# | Alias                              | Name                               | Enabled | Refresh | Priority | Type   | URI                                                                 | Service--+------------------------------------+------------------------------------+---------+---------+----------+--------+---------------------------------------------------------------------+--------
1 | Updates-for-openSUSE-12.3-12.3-1.4 | Updates for openSUSE 12.3 12.3-1.4 | Yes     | Yes     |   99     | rpm-md | http://download.opensuse.org/update/12.3/                           |        
2 | nvidia                             | nvidia                             | Yes     | Yes     |   99     | rpm-md | http://download.nvidia.com/opensuse/12.3/                           |        
3 | openSUSE-12.3-12.3-1.4             | openSUSE-12.3-12.3-1.4             | Yes     | No      |   99     | yast2  | cd:///?devices=/dev/disk/by-id/ata-OPTIARC_DVD_RW_AD-5670S,/dev/sr0 |        
4 | repo-debug                         | openSUSE-12.3-Debug                | No      | Yes     |   99     | NONE   | http://download.opensuse.org/debug/distribution/12.3/repo/oss/      |        
5 | repo-debug-update                  | openSUSE-12.3-Update-Debug         | No      | Yes     |   99     | NONE   | http://download.opensuse.org/debug/update/12.3/                     |        
6 | repo-non-oss                       | openSUSE-12.3-Non-Oss              | Yes     | Yes     |   99     | yast2  | http://download.opensuse.org/distribution/12.3/repo/non-oss/        |        
7 | repo-oss                           | openSUSE-12.3-Oss                  | Yes     | Yes     |   99     | yast2  | http://download.opensuse.org/distribution/12.3/repo/oss/            |        
8 | repo-source                        | openSUSE-12.3-Source               | No      | Yes     |   99     | NONE   | http://download.opensuse.org/source/distribution/12.3/repo/oss/     |        
9 | repo-update-non-oss                | repo-update-non-oss                | Yes     | Yes     |   99     | rpm-md | http://download.opensuse.org/update/12.3-non-oss/                   |        



During the upgrade it asked me to put the “repo” openSUSE-12.3-12.3-1.4 which was the cdrom [/dev/sr0], but i have the 12.1v not the 12.3v. I tryied with the old cd (12.1v) but it returned that it couldn’t find the medium.

When all the 490 packages downloaded i rebooted and had the same terminal screen, i pressed “X”, returned a black screen and after a while the following:

...]
(==) Using config directory: "/etc/X11/xorg.conf.d
(==) Using system config directory: "/usr/share/X11/xorg.conf.d"
(EE) Microsoft Keyboard: failed to initialize for relative axes.

This is the ctrl+alt+F10 screen:

http://img191.imageshack.us/img191/8585/wjwq.jpg

ps: i can’t remember how i upgraded through 12.1 to 12.3, i searched my history too but couldn’t find the source i consulted, sorry :confused:

Yes, you have that in your repo list. Remove or disable #3 if you don’t have the 12.3 DVD anyway.

When all the 490 packages downloaded i rebooted and had the same terminal screen, i pressed “X”, returned a black screen and after a while the following:

Hm, I don’t really know what exactly you mean with “i pressed X”. On the keyboard?
Could you post Xorg.0.log again then please?

Which nvidia packages do you have installed?

rpm -qa | grep nvidia

Does it work when you choose “Recovery mode” in the “Advanced Options” in the boot menu?

My bad i didn’t explain it, i executed “X” by pressing “X+Enter” with su privileges.

  1. In recovery mode the results are the same.

  2. rpm -qa | grep nvidia returned:

nvidia-computeG03-319.32-15.1.i586
nvidia-gfxG03-kmp-desktop-319.32_k3.7.10_1.1-15.1.i586
x11-video-nvidiaG03-319.32-15.1.i586

  1. Xorg.0.log: http://pastebin.com/nGX3G2iU

ps: maybe the 3 rpm packages cause a conflict, so it might solve the problem, if i remove a couple of them?

Nope, the packages even depend on eachother. But. your kernel might be the wrong one for the NVIDIA driver package. Please show

uname -a && rpm -qa | grep kernel-

From the Xorg.0.log:

Current Operating System: Linux linux-ehap 3.7.10-1.16-desktop #1 SMP PREEMPT Fri May 31 20:21:23 UTC 2013 (97c14ba) i686

And the nvidia driver loads correctly.

Ahh, you are running “X” manually! I thought you were closing/exiting something. rotfl!
Well, normally one starts X with “startx” or “init 3 && init5”…

  1. In recovery mode the results are the same.

OK, after seeing the new Xorg.0.log, this actually is to be expected, see below.

  1. rpm -qa | grep nvidia returned:
nvidia-computeG03-319.32-15.1.i586
nvidia-gfxG03-kmp-desktop-319.32_k3.7.10_1.1-15.1.i586
x11-video-nvidiaG03-319.32-15.1.i586

Everything’s fine here.

  1. Xorg.0.log:

166.226] X.Org X Server 1.10.4 Release Date: 2011-08-19 166.226] X P - Pastebin.com]([ 166.226] X.Org X Server 1.10.4Release Date: 2011-08-19[ 166.226] X P - Pastebin.com)

This is still 12.1’s X version.
What’s the output of:

which X
rpm -qf `which X`

Try to run this and post any output, please:

sudo zypper in -f xorg-x11-server-7.6_1.13.2

ps: maybe the 3 rpm packages cause a conflict, so it might solve the problem, if i remove a couple of them?

As Knurpht already replied, you need all 3 if you want to use the proprietary driver.

uname -a && rpm -qa | grep kernel-

returned:

kernel-desktop-devel-3.7.10-1.16.1.i686kernel-firmware-20130714git-1.5.1.noarch
kernel-desktop-3.7.10-1.16.1.i686
kernel-devel-3.7.10-1.16.1.noarch

“startx” returned:


hostname: Name or service not known
xauth:  file /root/.serverauth.2515 does not exist




X.Org X Server 1.13.2
Release Date: 2013-01-24
X Protocol Version 11, Revision 0
Build Operating System: openSUSE SUSE LINUX
Current Operating System: Linux linux-ehap.site 3.7.10-1.16-desktop #1 SMP PREEMPT Fri May 31 20:21:23 UTC 2013 (97c14ba) i686
Kernel command line: root=/dev/disk/by-id/ata-FUJITSU_MHZ2160BH_G1_K67HT9C27LBH-part5 resume=/dev/disk/by-id/ata-FUJITSU_MHZ2160BH_G1_K67HT9C27LBH-part6 splash=silent quiet vga=0x314
Build Date: 15 July 2013  12:24:25PM
 
Current version of pixman: 0.28.2
    Before reporting problems, check http://wiki.x.org
    to make sure that you have the latest version.
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: Mon Sep 30 00:04:11 2013
(==) Using config directory: "/etc/X11/xorg.conf.d"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
Initializing built-in extension Generic Event Extension
Initializing built-in extension SHAPE
Initializing built-in extension MIT-SHM
Initializing built-in extension XInputExtension
Initializing built-in extension XTEST
Initializing built-in extension BIG-REQUESTS
Initializing built-in extension SYNC
Initializing built-in extension XKEYBOARD
Initializing built-in extension XC-MISC
Initializing built-in extension SECURITY
Initializing built-in extension XINERAMA
Initializing built-in extension XFIXES
Initializing built-in extension RENDER
Initializing built-in extension RANDR
Initializing built-in extension COMPOSITE
Initializing built-in extension DAMAGE
Initializing built-in extension MIT-SCREEN-SAVER
Initializing built-in extension DOUBLE-BUFFER
Initializing built-in extension RECORD
Initializing built-in extension DPMS
Initializing built-in extension X-Resource
Initializing built-in extension XVideo
Initializing built-in extension XVideo-MotionCompensation
Initializing built-in extension XFree86-VidModeExtension
Initializing built-in extension XFree86-DGA
Initializing built-in extension XFree86-DRI
Initializing built-in extension DRI2
Loading extension GLX
(EE) module ABI major version (10) doesn't match the server's version (13)
Loading extension NV-GLX
Loading extension NV-CONTROL
Loading extension XINERAMA
/etc/X11/xim: Checking whether an input method should be started.
sourcing /etc/sysconfig/language to get the value of INPUT_METHOD
INPUT_METHOD is not set or empty (no user selected input method).
Trying to start a default input method for the locale en_US.UTF-8 ...
There is no default input method for the current locale.
Dummy input method "none" (do not use any fancy input method by default)
/usr/bin/gnome-session: symbol lookup error: /usr/lib/libgobject-2.0.so.0: undefined symbol: g_bytes_unref
xinit: connection to X server lost


waiting for X server to shut down Server terminated successfully (0). Closing log file.



“which X” returned:


/usr/bin/X
/bin/rpm

"rpm -qf which X" returned:

error: file /root/which X: No such file or directory

The “sudo zypper in -f xorg-x11-server-7.6_1.13.2” command; I first executed it to see what it does, it started to do some upgrades (i accepted them all) and prompt me to kill some processes after the upgrade. Instead i rebooted and after the reboot the problems started, now i have no access to the internet i hope the screenshot below to give you some insight:

http://img547.imageshack.us/img547/6411/njtv.jpg

ps: thank you all for your time, help and information you provide me :smiley:

OK, that’s the right one now.

Loading extension GLX
(EE) module ABI major version (10) doesn't match the server's version (13)

But the GLX extension module is still from 12.1.

/usr/bin/gnome-session: symbol lookup error: /usr/lib/libgobject-2.0.so.0: undefined symbol: g_bytes_unref
xinit: connection to X server lost

GNOME fails to start. You still seem to have an incompatible mix of 12.1 and 12.3 packages.
You could try to set a different default windowmanager in /etc/sysconfig/windowmanager (twm or icewm would be good choices) to see if you get a working X then.

“which X” returned:


/usr/bin/X
/bin/rpm

Hm, does it really say /bin/rpm as well? That would be strange.
Anyway, I just wanted to check if you’re maybe having an old X binary somewhere which gets started instead of the installed one.
But this is moot now since the 12.3 version is started now anyway.

“rpm -qf which X” returned:

error: file /root/which X: No such file or directory

Apparently you missed the backticks. You could also type it this way:

rpm -qf $(which X)

But again, that’s not important anymore, you seem to have the 12.3 version now.

The “sudo zypper in -f xorg-x11-server-7.6_1.13.2” command; I first executed it to see what it does, it started to do some upgrades (i accepted them all) and prompt me to kill some processes after the upgrade. Instead i rebooted and after the reboot the problems started, now i have no access to the internet i hope the screenshot below to give you some insight:

OK, so you have the 12.3 X server now.
I don’t know how this should have influenced the internet access though. And I also have no idea why the last “zypper dup” didn’t fully upgrade your system (especially if you didn’t get any conflicts as you said).

Well, your picture doesn’t provide any clue, it just tells me that you don’t have internet access (at least no DNS). That would make it difficult to fix your system.
What is this actually about? Wired ethernet or WLAN?
Does “ping 8.8.8.8” work? Then it’s only the DNS settings.

What does “ifconfig” show?
Does “ifup eth0” work, or do you get an error message?

Try to run “systemctl start network.service”, does that bring up your network?
If not, what’s the output of “systemctl status network.service”?

I’m afraid I have to say that maybe it would be easier to just download the 12.3 DVD and do a fresh install at this point. You can of course keep your /home partition though if you do that.

then i’ll just do that :smiley: