You are not logged in.

#1 2021-03-06 06:05:25

Moosatronic
Member
Registered: 2021-02-24
Posts: 4

Optimus Bumblebee screen tearing issue

After alot of work i've been able to get bumblebee working on my laptop.

The only final thing i'd like to get working is the vsync setting in nvidia-settings that would help with the screen tearing i've been getting.

However i've found that the solution in the bumblebee page on the arch wiki https://wiki.archlinux.org/index.php/Bu … eo_tearing ,

won't work for me since i don't have a detected display, going to  Xserver Xvideo settings doesn't give me any settings other than "Sync to this display device: Auto" and also  "Currently synced to display: Unknown". So i can't turn on vsync. I was wondering if there's any way i can enable vsync in bumblebee's xorg settings or if there is some solution to get nvidia-settings to detect my laptop display. I'm wondering if simply changing "UseDisplayDevice" "none"  in my xorg.conf.nvidia would work maybe but not sure what to change it to. 

my xorg.conf.nvidia settings are currently as follows:

 Section "ServerLayout"
    Identifier  "Layout0"
    Option      "AutoAddDevices" "false"
    Option      "AutoAddGPU" "false"
EndSection

Section "Device"
    Identifier  "DiscreteNvidia"
    Driver      "nvidia"
    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 "NoLogo" "true"
    Option "UseEDID" "false"
    Option "UseDisplayDevice" "none"
EndSection

Offline

#2 2021-03-06 14:21:37

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 74,314

Re: Optimus Bumblebee screen tearing issue

No no and no.
And no, if I forgot a no tongue

The nvida GPU has no direct access to the output, so it cannot align to its vblank signal.
The https://wiki.archlinux.org/index.php/PRIME protocol has https://wiki.archlinux.org/index.php/PR … ronization support, but that's occasionally broken w/ the nvidia blob, should be ok w/ 5.10, though - https://bbs.archlinux.org/viewtopic.php?id=261935

In any event, that's yor path to vsync when the GPU and crtc are not the same chip.

Offline

#3 2021-03-06 21:07:38

Moosatronic
Member
Registered: 2021-02-24
Posts: 4

Re: Optimus Bumblebee screen tearing issue

so basically just uninstall bumblebee and switch to Prime?

man this optimus nonsense. I guess i'll try to get prime working then, I found it wasn't working for me and I was getting errors at least trying to use the nvidia proprietary drivers.

Thanks

Last edited by Moosatronic (2021-03-06 21:08:01)

Offline

#4 2021-03-06 21:11:08

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 74,314

Re: Optimus Bumblebee screen tearing issue

Yes. If you run into issues w/ prime, please open a new thread, detailing what you did and which errors  you face.

Edit: some devices offer you to select between IGP and GPU in the BIOS.
If you're not interested in the optimus feature, you might side-step the problem this way.

Please mark this thread as resolved by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.

Last edited by seth (2021-03-06 21:12:32)

Offline

Board footer

Powered by FluxBB