I just switched from another distribution to openSUSE and it’s getting late and I still haven’t figured out two important things.
1.) I would like to use the nvidia drivers, not the nouveau ones. I have an Nvidia optimus graphicscard, GTX870m. I already installed the nvidia drivers, but I can’t seem to switch from nouveau to nvidia, just can’t find the settings for this.
2.) I have my laptop hooked up to a TV and I can’t get the picture to the TV. On my laptop, the keycombination is Fn+F2, but that doesn’t seem to work. In the display settings, the TV isn’t even listed. No idea where to start.
Would really appreciate some help, since google didn’t really help me.
I’m using openSUSE 13.2. Downloaded today and updated everything. I already downloaded the correct Nvidia driver, but nouveau was pre-installed and it’s still used as the driver. I don’t know where to change this from nouveau to nvidia. Oh, I also have bumblebee installed, I have an optimus. GTX 870m.
Ok, I still can’t figure out how to get my TV to work. One time, the TV suddenly showed a picture and I had it shown up in the systemsettings for the monitor. It worked as an extension of my laptop screen there. Couldn’t crank it up to the 4k resolution though. And since then, the TV didn’t work a single time. Doesn’t show up in the systemsettings neither. I even installed kscreen.
I use only the laptop screen, but I muse, that your problem might be defined by how your external display sockets (HDMI, VGA)
are wired to your graphics cards, Intel and Nvidia.
While the laptop screen is usually directly connected with your integrated Intel graphics card,
the results of the Nvidia graphics card are furthered to the Intel graphics and reach the laptop screen only through the integrated Intel graphics.
Therefore the two xorg-servers, the :1 and :8.
But I read, that, depending on your laptop model,
often the external display ports are directly connected to the Nvidia card.
So what your Nvidia card produces should show on your TV screen, but not the result of the Intel graphics, the KDE desktop, for example.
There are threads about running the whole KDE desktop on the Nvidia card though, but this would require a permanently powered Nvidia card with the according thermal load.
Now I’ve read about 500 tutorials and forum posts and I just can’t get this to run.
Here’s my bumblebee.conf:
# Configuration file for Bumblebee. Values should **not** be put between quotes
## Server options. Any change made in this section will need a server restart
# to take effect.
# The secondary Xorg server DISPLAY number
# Should the unused Xorg server be kept running? Set this to true if waiting
# for X to be ready is too long and don't need power management at all.
# The name of the Bumbleblee server group name (GID name)
# Card power state at exit. Set to false if the card shoud be ON when Bumblebee
# server exits.
# The default behavior of '-f' option on optirun. If set to "true", '-f' will
# be ignored.
# The Driver used by Bumblebee server. If this value is not set (or empty),
# auto-detection is performed. The available drivers are nvidia and nouveau
# (See also the driver-specific sections below)
# Directory with a dummy config file to pass as a -configdir to secondary X
## Client options. Will take effect on the next optirun executed.
# Acceleration/ rendering bridge, possible values are auto, virtualgl and
# The method used for VirtualGL to transport frames between X servers.
# Possible values are proxy, jpeg, rgb, xv and yuv.
# List of paths which are searched for the primus libGL.so.1 when using
# the primus bridge
# Should the program run under optirun even if Bumblebee server or nvidia card
# is not available?
# Driver-specific settings are grouped under [driver-NAME]. The sections are
# parsed if the Driver setting in [bumblebeed] is set to NAME (or if auto-
# detection resolves to NAME).
# PMMethod: method to use for saving power by disabling the nvidia card, valid
# values are: auto - automatically detect which PM method to use
# bbswitch - new in BB 3, recommended if available
# switcheroo - vga_switcheroo method, use at your own risk
# none - disable PM completely
## Section with nvidia driver specific options, only parsed if Driver=nvidia
# Module name to load, defaults to Driver if empty or unset
# colon-separated path to the nvidia libraries
# comma-separated path of the directory containing nvidia_drv.so and the
# default Xorg modules path
## Section with nouveau driver specific options, only parsed if Driver=nouveau
Here’s my xorg.conf.nvidia:
Section "ServerLayout" Identifier "Layout0"
Option "AutoAddDevices" "false"
Option "AutoAddGPU" "false"
VendorName "NVIDIA Corporation"
# If the X server does not automatically detect your VGA device,
# you can manually set it here.
# To get the BusID prop, run `lspci | egrep 'VGA|3D'` and input the data
# as you see in the commented example.
# This Setting may be needed in some platforms with more than one
# nvidia card, which may confuse the proprietary driver (e.g.,
# trying to take ownership of the wrong device). Also needed on Ubuntu 13.04.
# BusID "PCI:01:00:0"
# Setting ProbeAllGpus to false prevents the new proprietary driver
# instance spawned to try to control the integrated graphics card,
# which is already being managed outside bumblebee.
# This option doesn't hurt and it is required on platforms running
# more than one nvidia graphics card with the proprietary driver.
# (E.g. Macbook Pro pre-2010 with nVidia 9400M + 9600M GT).
# If this option is not set, the new Xorg may blacken the screen and
# render it unusable (unless you have some way to run killall Xorg).
Option "ProbeAllGpus" "false"
Option "ConnectedMonitor" "CRT"
Option "NoLogo" "true"
Option "UseEDID" "false"
Option "UseDisplayDevice" "none"
I just added a few things that I read in certain forum posts/tutorials. Keep in mind, I have no idea what I’m doing or did here. I can’t find any specific informations to what the points actually means. Just from reading the files, I would assume that I should put “AutoAddDevices” to “true” in the xorg.conf.nvidia, but this isn’t mentioned in any forum post/tutorial I have read. Why is this such a huge pain in the ass? I would have thought, this would be a triviality.
WARNING: Unable to locate/open X configuration file.
Package xorg-server was not found in the pkg-config search path.
Perhaps you should add the directory containing `xorg-server.pc'
to the PKG_CONFIG_PATH environment variable
No package 'xorg-server' found
New X configuration file written to '/etc/X11/xorg.conf'
EDIT: Error on my side. Didn’t work with sudo, but when I used su and then tried it again, it worked just fine.