You are not logged in.

#21 2018-01-19 18:33:29

42578
Member
Registered: 2017-12-22
Posts: 45

Re: Screen Resolution Issue

Can you show me how I make this?

Thanks.

Offline

#22 2018-01-20 12:29:45

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,073
Website

Re: Screen Resolution Issue

sudo apt install -t jessie-backports primus bumblebee nvidia-driver

Although you should have already installed those packages if you followed my earlier advice.

Please also confirm that there is no xorg.conf or any files under /etc/X11/xorg.conf.d/ ending in ".conf".

Offline

#23 2018-01-20 12:43:08

42578
Member
Registered: 2017-12-22
Posts: 45

Re: Screen Resolution Issue

I already had done this:

sudo apt install -t jessie-backports primus bumblebee nvidia-driver


I don't have this file: xorg.conf.d

Last edited by 42578 (2018-01-20 12:43:24)

Offline

#24 2018-01-20 13:03:22

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,073
Website

Re: Screen Resolution Issue

OK, let's check the drivers:

lspci -knn | grep -A2 '\''[030[02]\]'

Offline

#25 2018-01-20 13:35:43

42578
Member
Registered: 2017-12-22
Posts: 45

Re: Screen Resolution Issue

I have this:

00:02.0 VGA compatible controller [0300]: Intel Corporation Device [8086:191b] (rev 06)
    Subsystem: ASUSTeK Computer Inc. Device [1043:1c5d]
    Kernel driver in use: i915
--
01:00.0 3D controller [0302]: NVIDIA Corporation Device [10de:139b] (rev a2)
    Subsystem: ASUSTeK Computer Inc. Device [1043:1c5d]
02:00.0 Network controller [0280]: Intel Corporation Wireless 7265 [8086:095a] (rev 59)

Offline

#26 2018-01-20 15:35:31

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,073
Website

Re: Screen Resolution Issue

So the Intel drivers are definitely installed and in use then, that's good.

Hopefully, stevep (or any other NVidia users) will be able to confirm that output is correct for an Optimus system.

Can you use the GPU?

optirun gfxgears

Offline

#27 2018-01-20 15:50:16

42578
Member
Registered: 2017-12-22
Posts: 45

Re: Screen Resolution Issue

I have this:

[ 7150.243903] [ERROR]Cannot access secondary GPU - error: Could not load GPU driver

[ 7150.243977] [ERROR]Aborting because fallback start is disabled.

Offline

#28 2018-01-20 15:59:58

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,073
Website

Re: Screen Resolution Issue

My apologies but it seems you need the bumblebee-nvidia package if you use the NVida drivers.

However, apparently the nouveau drivers can be used with bumblebee, which I didn't realise.

This may be a better option (if performance is not a priority):

sudo aptitude purge nvidia-drivers

Then add your user to the "bumblebee" group:

sudo gpasswd -a $USER bumblebee

Now log out & back in again and try the `optirun` command once more.

Offline

#29 2018-01-20 16:36:59

42578
Member
Registered: 2017-12-22
Posts: 45

Re: Screen Resolution Issue

If I run this commands I will be able to run games in 60fps?

Offline

#30 2018-01-20 16:41:08

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,073
Website

Re: Screen Resolution Issue

^ Only one way to find out big_smile

If you use `optirun $game` then that should run $game with the GPU, I think.

I've never owned a computer with a discrete GPU though so I'm not really sure tbh.

Offline

#31 2018-01-20 16:45:55

42578
Member
Registered: 2017-12-22
Posts: 45

Re: Screen Resolution Issue

Ok, I will try it.

Offline

#32 2018-01-20 17:10:41

42578
Member
Registered: 2017-12-22
Posts: 45

Re: Screen Resolution Issue

I run the command:

sudo aptitude purge nvidia-drivers

And I have this:

We could not find any package where the name or description matches "nvidia-drivers"
We could not find any package where the name or description matches "nvidia-drivers"
No package will be installed, updated or removed.
0 packages updated, 0 new ones installed, 0 to be removed and 0 not upgraded.
You must get 0 B of files. After unpacking 0 B will be used.

Offline

#33 2018-01-20 17:23:03

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,073
Website

Re: Screen Resolution Issue

Typo...

sudo aptitude purge nvidia-driver

Last edited by Head_on_a_Stick (2018-01-20 17:25:20)

Offline

#34 2018-01-20 17:38:02

42578
Member
Registered: 2017-12-22
Posts: 45

Re: Screen Resolution Issue

I made what you told me and I have this:

~$ optirun gfxgears
[  139.403250] [ERROR]Cannot access secondary GPU - error: Could not load GPU driver

[  139.403333] [ERROR]Aborting because fallback start is disabled.

Offline

#35 2018-01-20 18:03:01

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,073
Website

Re: Screen Resolution Issue

First make sure that you are in the "bumblebee" group:

groups

If you are then try editing the file at /etc/bumblebee/bumblebee.conf (as root) and change the KernelDriver line to:

KernalDriver=nouveau

Then restart bumblebee and retry:

sudo systemctl restart bumblebeed
optirun glxgears

This is actually covered on the Debian wiki page, did you bother to read that?

https://wiki.debian.org/Bumblebee#Common_issues

That mentions the "nvidia-driver" but we are trying nouveau (for the moment).

Offline

#36 2018-01-25 20:39:41

42578
Member
Registered: 2017-12-22
Posts: 45

Re: Screen Resolution Issue

Yes, I read.

I have this error when I type optirun glxgears:

[   73.080168] [ERROR]Cannot access secondary GPU - error: [XORG] (EE) NVIDIA: Failed to initialize the NVIDIA kernel module. Please see the

[   73.080226] [ERROR]Aborting because fallback start is disabled.

Offline

#37 2018-01-25 20:58:33

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,073
Website

Re: Screen Resolution Issue

Please post the output of

groups
systemctl status bumblebeed
cat /etc/bumblebee/bumblebee.conf

Offline

#38 2018-01-26 16:24:36

42578
Member
Registered: 2017-12-22
Posts: 45

Re: Screen Resolution Issue

Output of groups:

home cdrom floppy sudo audio dip video plugdev netdev bumblebee

Output of systemctl status bumblebeed:

● bumblebeed.service - Bumblebee C Daemon
   Loaded: loaded (/lib/systemd/system/bumblebeed.service; enabled)
   Active: active (running) since Sex 2018-01-26 15:51:35 WET; 31min ago
 Main PID: 654 (bumblebeed)
   CGroup: /system.slice/bumblebeed.service
           └─654 /usr/sbin/bumblebeed

Output of cat /etc/bumblebee/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.
[bumblebeed]
# The secondary Xorg server DISPLAY number
VirtualDisplay=:8
# 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.
KeepUnusedXServer=false
# The name of the Bumbleblee server group name (GID name)
ServerGroup=bumblebee
# Card power state at exit. Set to false if the card shoud be ON when Bumblebee
# server exits.
TurnCardOffAtExit=false
# The default behavior of '-f' option on optirun. If set to "true", '-f' will
# be ignored.
NoEcoModeOverride=false
# 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)
Driver=
# Directory with a dummy config file to pass as a -configdir to secondary X
XorgConfDir=/etc/bumblebee/xorg.conf.d
# Xorg binary to run
XorgBinary=Xorg

## Client options. Will take effect on the next optirun executed.
[optirun]
# Acceleration/ rendering bridge, possible values are auto, virtualgl and
# primus.
Bridge=auto
# The method used for VirtualGL to transport frames between X servers.
# Possible values are proxy, jpeg, rgb, xv and yuv.
VGLTransport=proxy
# List of paths which are searched for the primus libGL.so.1 when using
# the primus bridge
PrimusLibraryPath=/usr/lib/x86_64-linux-gnu/primus:/usr/lib/i386-linux-gnu/primus:/usr/lib/primus:/usr/lib32/primus
# Should the program run under optirun even if Bumblebee server or nvidia card
# is not available?
AllowFallbackToIGC=false


# 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
# [url]https://github.com/Bumblebee-Project/Bumblebee/wiki/Comparison-of-PM-methods[/url]

## Section with nvidia driver specific options, only parsed if Driver=nvidia
[driver-nvidia]
# Module name to load, defaults to Driver if empty or unset
KernelDriver=nouveau
PMMethod=auto
# colon-separated path to the nvidia libraries
LibraryPath=/usr/lib/x86_64-linux-gnu/nvidia:/usr/lib/i386-linux-gnu/nvidia:/usr/lib/nvidia
# comma-separated path of the directory containing nvidia_drv.so and the
# default Xorg modules path
XorgModulePath=/usr/lib/nvidia/nvidia,/usr/lib/xorg/modules
XorgConfFile=/etc/bumblebee/xorg.conf.nvidia

## Section with nouveau driver specific options, only parsed if Driver=nouveau
[driver-nouveau]
KernelDriver=nouveau
PMMethod=auto
XorgConfFile=/etc/bumblebee/xorg.conf.nouveau

Last edited by Head_on_a_Stick (2018-01-26 19:39:31)

Offline

#39 2018-01-26 19:43:17

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,073
Website

Re: Screen Resolution Issue

Change this line in /etc/bumblebee/bumblebee.conf:

42578 wrote:
Driver=

To:

Driver=nouveau

If that does not work then check your drivers again:

lspci -knn | grep -A2 '\''[030[02]\]'

We need to see "nouveau" as the kernel driver in use.

Offline

#40 2018-01-27 13:33:38

42578
Member
Registered: 2017-12-22
Posts: 45

Re: Screen Resolution Issue

Optirun glxgear:

optirun glxgears
[intel_init_bufmgr:1190] Error initializing buffer manager.
libGL error: failed to create dri screen
libGL error: failed to load driver: i965

lspci -knn | grep -A2 '\''[030[02]\]' :

lspci -knn | grep -A2 '\''[030[02]\]'
00:02.0 VGA compatible controller [0300]: Intel Corporation Device [8086:191b] (rev 06)
    Subsystem: ASUSTeK Computer Inc. Device [1043:1c5d]
    Kernel driver in use: i915
--
01:00.0 3D controller [0302]: NVIDIA Corporation Device [10de:139b] (rev a2)
    Subsystem: ASUSTeK Computer Inc. Device [1043:1c5d]
02:00.0 Network controller [0280]: Intel Corporation Wireless 7265 [8086:095a] (rev 59)

Last edited by Head_on_a_Stick (2018-01-27 17:10:58)

Offline

Board footer

Powered by FluxBB