You are not logged in.

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

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 8,759
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

“Et ignotas animum dimittit in artes.” — Ovid, Metamorphoses, VIII., 18.

Forum Rules   •   How to report a problem   •   Software that rocks

Offline

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

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

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: 8,759
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.


“Et ignotas animum dimittit in artes.” — Ovid, Metamorphoses, VIII., 18.

Forum Rules   •   How to report a problem   •   Software that rocks

Offline

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

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

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: 8,759
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.


“Et ignotas animum dimittit in artes.” — Ovid, Metamorphoses, VIII., 18.

Forum Rules   •   How to report a problem   •   Software that rocks

Offline

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

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

Re: Screen Resolution Issue

Ok, I will try it.

Offline

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

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

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: 8,759
Website

Re: Screen Resolution Issue

Typo...

sudo aptitude purge nvidia-driver

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


“Et ignotas animum dimittit in artes.” — Ovid, Metamorphoses, VIII., 18.

Forum Rules   •   How to report a problem   •   Software that rocks

Offline

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

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

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: 8,759
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).


“Et ignotas animum dimittit in artes.” — Ovid, Metamorphoses, VIII., 18.

Forum Rules   •   How to report a problem   •   Software that rocks

Offline

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

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

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: 8,759
Website

Re: Screen Resolution Issue

Please post the output of

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

“Et ignotas animum dimittit in artes.” — Ovid, Metamorphoses, VIII., 18.

Forum Rules   •   How to report a problem   •   Software that rocks

Offline

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

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

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: 8,759
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.


“Et ignotas animum dimittit in artes.” — Ovid, Metamorphoses, VIII., 18.

Forum Rules   •   How to report a problem   •   Software that rocks

Offline

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

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

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

#41 2018-01-27 17:14:59

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 8,759
Website

Re: Screen Resolution Issue

^ OK, looks like I forgot about the nouveau blacklist, sorry!  ops

This should get your NVIDIA card working (I think):

sudo aptitude reinstall xserver-xorg{,-video-nouveau}

After a reboot the `lscpi` command we used above should now show the nouveau driver in use. Hopefully.

Thanks for your patience with this, I've never owned an NVIDIA card so this is all new to me.


“Et ignotas animum dimittit in artes.” — Ovid, Metamorphoses, VIII., 18.

Forum Rules   •   How to report a problem   •   Software that rocks

Offline

#42 2018-01-27 17:33:12

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

Re: Screen Resolution Issue

I don't think that actually work:


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)

Offline

#43 2018-01-27 17:38:04

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 8,759
Website

Re: Screen Resolution Issue

Is there a blacklist at all?

grep -R nouveau /etc/modprobe.d

Maybe the drivers aren't supposed to be listed in an Optimus machine, I really have no clue.

Unless any other forum members who actually have some experience of NVIDIA cards can offer any assistance then we may have to give up here.

If you want to use Linux (or BSD) then it's probably best to avoid NVIDIA if at all possible, their support for the open source community is atrocious.


“Et ignotas animum dimittit in artes.” — Ovid, Metamorphoses, VIII., 18.

Forum Rules   •   How to report a problem   •   Software that rocks

Offline

#44 2018-01-27 17:53:13

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

Re: Screen Resolution Issue

Do you know any distro wich is good with the Nvidia Optimus?

I will install Bunsenlabs in other machine.

Offline

#45 2018-01-27 18:08:55

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 8,759
Website

Re: Screen Resolution Issue

42578 wrote:

Do you know any distro wich is good with the Nvidia Optimus?

Try MX Linux 17 — they have a tool which can auto-configure Optimus systems, apparently.

https://mxlinux.org/version/mx-17

I think we may try to port it to BunsenLabs after my dismal failure in this thread...  cry


“Et ignotas animum dimittit in artes.” — Ovid, Metamorphoses, VIII., 18.

Forum Rules   •   How to report a problem   •   Software that rocks

Offline

#46 2018-01-27 18:19:24

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

Re: Screen Resolution Issue

Ok. Don't be sad. If you find the solution post here and them I will return to Bunsenlabs, or if Bunsenlabs port the tool.

Any way, thanks for your help. I have learn much things with your help.

Bye

Offline

#47 2018-01-27 21:52:46

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 8,759
Website

Re: Screen Resolution Issue

42578 wrote:

If you find the solution post here and them I will return to Bunsenlabs, or if Bunsenlabs port the tool

Well, you could try installing the MX Linux .deb file for their NVIDIA (and AMD) installer:

http://mxrepo.com/mx/repo/pool/main/d/d … 01_all.deb

Install it with `gdebi` or

sudo dpkg -i ddm-mx*.deb

If it installs, run it with

sudo /usr/local/bin/ddm-mx -i nvidia

Be warned though that I have no idea if this will work at all.

@stevep: sorry!


“Et ignotas animum dimittit in artes.” — Ovid, Metamorphoses, VIII., 18.

Forum Rules   •   How to report a problem   •   Software that rocks

Offline

#48 2018-01-30 19:53:58

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

Re: Screen Resolution Issue

Don't work... cry

Thanks for all.

If you find the solution tell me. For now I will use MX Linux. cry

Offline

#49 2018-01-30 19:59:02

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 8,759
Website

Re: Screen Resolution Issue

42578 wrote:

Don't work...

Did the .deb install?

Were there any errors after you ran the command?

For now I will use MX Linux. cry

No need to be sad — MX Linux is an awesome distribution cool

If you have a fresh install, you could try adding our repositories and use

sudo apt install bunsen-meta-all

to install our entire desktop.

But be warned that it might mess up MX Linux's exquisite XFCE setup.

EDIT: if you want to try this with MX-17 then use our Helium-dev repositories:

sudo tee /etc/apt/sources.list.d/helium-dev.list << !
deb https://kelaino.bunsenlabs.org/~johnraff/debian helium main
!
wget -q https://kelaino.bunsenlabs.org/~johnraff/helium-dev.asc -O - | sudo apt-key add -
sudo apt update

Last edited by Head_on_a_Stick (2018-01-30 20:24:29)


“Et ignotas animum dimittit in artes.” — Ovid, Metamorphoses, VIII., 18.

Forum Rules   •   How to report a problem   •   Software that rocks

Offline

#50 2018-01-30 20:30:37

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

Re: Screen Resolution Issue

Can you please tell me more about that?

smile

Last edited by 42578 (2018-01-30 20:31:14)

Offline

Board footer

Powered by FluxBB