I can't get my GPUs to workHow do I get Bumblebee working with a GTX 660M?“No screens found” after apt-get upgrade with Intel video card“Screens not found” error when editing xorg.conf upon reboot15.10 displays black screen on boot. Is it an Nvidia driver issue?Black screen after boot with Nvida drivers and bios screen corruption

What is "okinta"?

Why does the single dot entry exist in file systems?

How to avoid answering "what were you sick with"?

How can I negotiate remote work due to my phobia

Pi to the power y, for small y's

How did my photos get transferred to my new iPhone even though they weren't in iCloud?

What would a life-form be like if it's antimatter-based

What is the difference between turbojet and turbofan engines?

Why was Wouter Basson never charged with crimes against humanity for Project Coast?

How would an unethical corporation go about extracting resources from a nation unwilling to co-operate?

Stream of Thought/Creeping Chill Interaction?

Everybody knows how to make magical items. What about magical "places"?

How to write the given block matrix

Open problems from antiquity solved with analytic geometry

Why is it “Cat in the Hat”?

Swap M-x and M-q

How to get out of the Ice Palace in Zelda A link to the Past?

What is a good way to challenge an Agonizing Blast Warlock?

If the wavefunction of a quantum system is not an eigenfunction of some operator, how do we measure that property?

Draw circle using characters

Is it acceptable to mark off or comment on someone's presentation based on their non-standard English accent?

Should plywood be missing on my roof?

Is there a website about artificial intelligence that is constantly updated?

Can "marriage" be used as a verb?



I can't get my GPUs to work


How do I get Bumblebee working with a GTX 660M?“No screens found” after apt-get upgrade with Intel video card“Screens not found” error when editing xorg.conf upon reboot15.10 displays black screen on boot. Is it an Nvidia driver issue?Black screen after boot with Nvida drivers and bios screen corruption






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty
margin-bottom:0;









0

















I recently got a new laptop with an integrated AMD gpu and a dedicated Nvidia GTX gpu, I decided to make it a Windows/Ubuntu dual boot. I'm doing a bit of GPU programming so I would like to get at least one of the cards working with OpenCL/OpenGL, if possible the Nvidia card, and it would be even better if I could have both working.



When I installed Ubuntu, I had a few problems with the Nvidia driver causing freezes and login loops, but I fixed it with prime-select intel (I don't understand what "intel" means in the command since I don't have an intel gpu).
At this moment, I think my amd gpu was detected, since I could login into gnome without a problem, but it wasn't detected by OpenCl, so I decided to install the amdgpu-pro driver.



After reboot, I would get stuck on a blank screen just after the grub menu. I fiddled around a bit in recovery mode (since I hadn't touched kernel modules before it's possible I broke a few things at that point, though I'm 99% sure I didn't affect things other then the gpu drivers) and after a bit a added nomodeset to the kernel command line, this allowed me to continue boot up to the login screen. I'm now stuck on a login loop for my Ubuntu desktop environment, ecen when I uninstall amdgpu-pro, but I can login into i3wm just fine.



From what I understand I have an error in my drivers, creating the blank screen when booting with mode settings, and crashing Xorg, which is why I get a login loop when trying to login into Ubuntu. I also get an error when trying to launch failsafeX in recovery mode.



My GPUs :



$ sudo lshw -c video 
*-display UNCLAIMED
description: 3D controller
product: GP107M [GeForce GTX 1050 Mobile]
vendor: NVIDIA Corporation
physical id: 0
bus info: pci@0000:01:00.0
version: a1
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list
configuration: latency=0
resources: memory:f6000000-f6ffffff memory:c0000000-cfffffff memory:d0000000-d1ffffff ioport:f000(size=128) memory:f7000000-f707ffff
*-display UNCLAIMED
description: VGA compatible controller
product: Raven Ridge [Radeon Vega Series / Radeon Vega Mobile Series]
vendor: Advanced Micro Devices, Inc. [AMD/ATI]
physical id: 0
bus info: pci@0000:04:00.0
version: c4
width: 64 bits
clock: 33MHz
capabilities: pm pciexpress msi msix vga_controller bus_master cap_list
configuration: latency=0
resources: memory:e0000000-efffffff memory:f0000000-f01fffff ioport:d000(size=256) memory:f7700000-f777ffff


Errors in Xorg.0.log after I try to login into Ubuntu :



[ 364.970] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[ 364.970] (II) FBDEV: driver for framebuffer: fbdev
[ 364.970] (II) VESA: driver for VESA chipsets: vesa
[ 364.970] xf86EnableIOPorts: failed to set IOPL for I/O (Operation not permitted)
[ 364.970] (EE) open /dev/dri/card0: No such file or directory
[ 364.970] (WW) Falling back to old probe method for modesetting
[ 364.970] (EE) open /dev/dri/card0: No such file or directory
[ 364.970] (II) Loading sub module "fbdevhw"
[ 364.970] (II) LoadModule: "fbdevhw"
[ 364.970] (II) Loading /usr/lib/xorg/modules/libfbdevhw.so
[ 364.970] (II) Module fbdevhw: vendor="X.Org Foundation"
[ 364.970] compiled for 1.19.6, module version = 0.0.2
[ 364.970] ABI class: X.Org Video Driver, version 23.0
[ 364.970] (**) FBDEV(1): claimed PCI slot 4@0:0:0
[ 364.970] (II) FBDEV(1): using default device
[ 364.970] (WW) Falling back to old probe method for vesa
[ 364.970] (EE) Screen 0 deleted because of no matching config section.
[ 364.970] (II) UnloadModule: "modesetting"
[ 364.970] (II) FBDEV(0): Creating default Display subsection in Screen section
"Default Screen Section" for depth/fbbpp 24/32
[ 364.970] (==) FBDEV(0): Depth 24, (==) framebuffer bpp 32
[ 364.970] (==) FBDEV(0): RGB weight 888
--
[ 364.971] (==) FBDEV(0): Backing store enabled
[ 364.971] (==) FBDEV(0): DPMS enabled
[ 364.972] (==) RandR enabled
[ 364.976] (II) SELinux: Disabled on system
[ 364.976] (II) AIGLX: Screen 0 is not DRI2 capable
[ 364.976] (EE) AIGLX: reverting to software rendering
[ 364.988] (EE) AIGLX error: amdgpu does not export required DRI extension
[ 364.988] (EE) GLX: could not load software renderer
[ 364.988] (II) GLX: no usable GL providers found for screen 0
[ 365.030] (II) config/udev: Adding input device Power Button (/dev/input/event3)
[ 365.030] (**) Power Button: Applying InputClass "libinput keyboard catchall"
[ 365.030] (II) LoadModule: "libinput"
[ 365.030] (II) Loading /usr/lib/xorg/modules/input/libinput_drv.so


Errors in Xorg.failsafe.log:



[ 18.074] (II) Loading /usr/lib/xorg/modules/libint10.so
[ 18.074] (II) Module int10: vendor="X.Org Foundation"
[ 18.074] compiled for 1.19.6, module version = 1.0.0
[ 18.074] ABI class: X.Org Video Driver, version 23.0
[ 18.074] (II) VESA(0): initializing int10
[ 18.075] (EE) VESA(0): Cannot read int vect
[ 18.075] (II) UnloadModule: "vesa"
[ 18.075] (II) UnloadSubModule: "int10"
[ 18.075] (II) Unloading int10
[ 18.075] (II) UnloadSubModule: "vbe"
[ 18.075] (II) Unloading vbe
[ 18.075] (EE) Screen(s) found, but none have a usable configuration.
[ 18.075] (EE)
Fatal server error:
[ 18.075] (EE) no screens found(EE)
[ 18.075] (EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[ 18.075] (EE) Please also check the log file at "/var/log/Xorg.failsafe.log" for additional information.
[ 18.075] (EE)
[ 18.086] (EE) Server terminated with error (1). Closing log file.


I also found a few errors related to gpu in syslog and dmesg, but I'm not sure which ones are relevant and which ones aren't.



Anyone has an idea what I should do next? I'm a little bit stuck.



Thanks in advance.










share|improve this question





















  • 1





    The "unclaimed" means the Nvidia drivers aren't installed and/or not being used. Install them and disable Secure Boot. But what you want to do isn't possible with hybrid graphics anyway because only one will work, not simultaneously.

    – GabrielaGarcia
    Jul 16 at 16:32











  • Thank you for your answer! I think the Nvidia drivers are already installed because when I do lspci -k I get ``` 01:00.0 3D controller: NVIDIA Corporation GP107M [GeForce GTX 1050 Mobile] (rev a1) Subsystem: ASUSTeK Computer Inc. GP107M [GeForce GTX 1050 Mobile] Kernel modules: nvidiafb, nouveau ``` I don't know about disabling Secure boot, it seems like an unsafe thing to do, how do I check that it is indeed Secure Boot that prevents the drivers from loading? Also like I said I have the nomodeset kernel parameter, isn't this what is preventing the drivers from loading?

    – Xenos
    Jul 16 at 16:56






  • 1





    No, lspci lists all devices by their vendor ID and product ID and list what their firmware replies, it doesn't tell you whether the drivers are installed or not and they aren't if you didn't install them. Just open Additional Drivers and you should see a list of additional proprietary Nvidia drivers. No, disabling Secure Boot is no problem and it does prevent loading any unsigned drivers. You can be certain of that if you Google, just a bit. It's unusual for someone attempting to use such advanced features/settings - irrespective of feasibility - and knowing so little to start with. >>>

    – GabrielaGarcia
    Jul 16 at 17:03






  • 1





    >>> I suggest you take some time to learn about Nvidia graphics and its drivers, how they work and should be installed in Ubuntu, UEFI and its Secure Boot feature, etc.

    – GabrielaGarcia
    Jul 16 at 17:04







  • 1





    No, you can't do that in Windows either. The default state is using the iGPU and any app set to use high performance will trigger a switch to use the dGPU. Only one works at any given time. On certain desktops yes, you can use more than one graphics card simultaneously because they're independent and one or more may be tasked with computational task only and not output to any monitor.

    – GabrielaGarcia
    Jul 16 at 17:08

















0

















I recently got a new laptop with an integrated AMD gpu and a dedicated Nvidia GTX gpu, I decided to make it a Windows/Ubuntu dual boot. I'm doing a bit of GPU programming so I would like to get at least one of the cards working with OpenCL/OpenGL, if possible the Nvidia card, and it would be even better if I could have both working.



When I installed Ubuntu, I had a few problems with the Nvidia driver causing freezes and login loops, but I fixed it with prime-select intel (I don't understand what "intel" means in the command since I don't have an intel gpu).
At this moment, I think my amd gpu was detected, since I could login into gnome without a problem, but it wasn't detected by OpenCl, so I decided to install the amdgpu-pro driver.



After reboot, I would get stuck on a blank screen just after the grub menu. I fiddled around a bit in recovery mode (since I hadn't touched kernel modules before it's possible I broke a few things at that point, though I'm 99% sure I didn't affect things other then the gpu drivers) and after a bit a added nomodeset to the kernel command line, this allowed me to continue boot up to the login screen. I'm now stuck on a login loop for my Ubuntu desktop environment, ecen when I uninstall amdgpu-pro, but I can login into i3wm just fine.



From what I understand I have an error in my drivers, creating the blank screen when booting with mode settings, and crashing Xorg, which is why I get a login loop when trying to login into Ubuntu. I also get an error when trying to launch failsafeX in recovery mode.



My GPUs :



$ sudo lshw -c video 
*-display UNCLAIMED
description: 3D controller
product: GP107M [GeForce GTX 1050 Mobile]
vendor: NVIDIA Corporation
physical id: 0
bus info: pci@0000:01:00.0
version: a1
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list
configuration: latency=0
resources: memory:f6000000-f6ffffff memory:c0000000-cfffffff memory:d0000000-d1ffffff ioport:f000(size=128) memory:f7000000-f707ffff
*-display UNCLAIMED
description: VGA compatible controller
product: Raven Ridge [Radeon Vega Series / Radeon Vega Mobile Series]
vendor: Advanced Micro Devices, Inc. [AMD/ATI]
physical id: 0
bus info: pci@0000:04:00.0
version: c4
width: 64 bits
clock: 33MHz
capabilities: pm pciexpress msi msix vga_controller bus_master cap_list
configuration: latency=0
resources: memory:e0000000-efffffff memory:f0000000-f01fffff ioport:d000(size=256) memory:f7700000-f777ffff


Errors in Xorg.0.log after I try to login into Ubuntu :



[ 364.970] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[ 364.970] (II) FBDEV: driver for framebuffer: fbdev
[ 364.970] (II) VESA: driver for VESA chipsets: vesa
[ 364.970] xf86EnableIOPorts: failed to set IOPL for I/O (Operation not permitted)
[ 364.970] (EE) open /dev/dri/card0: No such file or directory
[ 364.970] (WW) Falling back to old probe method for modesetting
[ 364.970] (EE) open /dev/dri/card0: No such file or directory
[ 364.970] (II) Loading sub module "fbdevhw"
[ 364.970] (II) LoadModule: "fbdevhw"
[ 364.970] (II) Loading /usr/lib/xorg/modules/libfbdevhw.so
[ 364.970] (II) Module fbdevhw: vendor="X.Org Foundation"
[ 364.970] compiled for 1.19.6, module version = 0.0.2
[ 364.970] ABI class: X.Org Video Driver, version 23.0
[ 364.970] (**) FBDEV(1): claimed PCI slot 4@0:0:0
[ 364.970] (II) FBDEV(1): using default device
[ 364.970] (WW) Falling back to old probe method for vesa
[ 364.970] (EE) Screen 0 deleted because of no matching config section.
[ 364.970] (II) UnloadModule: "modesetting"
[ 364.970] (II) FBDEV(0): Creating default Display subsection in Screen section
"Default Screen Section" for depth/fbbpp 24/32
[ 364.970] (==) FBDEV(0): Depth 24, (==) framebuffer bpp 32
[ 364.970] (==) FBDEV(0): RGB weight 888
--
[ 364.971] (==) FBDEV(0): Backing store enabled
[ 364.971] (==) FBDEV(0): DPMS enabled
[ 364.972] (==) RandR enabled
[ 364.976] (II) SELinux: Disabled on system
[ 364.976] (II) AIGLX: Screen 0 is not DRI2 capable
[ 364.976] (EE) AIGLX: reverting to software rendering
[ 364.988] (EE) AIGLX error: amdgpu does not export required DRI extension
[ 364.988] (EE) GLX: could not load software renderer
[ 364.988] (II) GLX: no usable GL providers found for screen 0
[ 365.030] (II) config/udev: Adding input device Power Button (/dev/input/event3)
[ 365.030] (**) Power Button: Applying InputClass "libinput keyboard catchall"
[ 365.030] (II) LoadModule: "libinput"
[ 365.030] (II) Loading /usr/lib/xorg/modules/input/libinput_drv.so


Errors in Xorg.failsafe.log:



[ 18.074] (II) Loading /usr/lib/xorg/modules/libint10.so
[ 18.074] (II) Module int10: vendor="X.Org Foundation"
[ 18.074] compiled for 1.19.6, module version = 1.0.0
[ 18.074] ABI class: X.Org Video Driver, version 23.0
[ 18.074] (II) VESA(0): initializing int10
[ 18.075] (EE) VESA(0): Cannot read int vect
[ 18.075] (II) UnloadModule: "vesa"
[ 18.075] (II) UnloadSubModule: "int10"
[ 18.075] (II) Unloading int10
[ 18.075] (II) UnloadSubModule: "vbe"
[ 18.075] (II) Unloading vbe
[ 18.075] (EE) Screen(s) found, but none have a usable configuration.
[ 18.075] (EE)
Fatal server error:
[ 18.075] (EE) no screens found(EE)
[ 18.075] (EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[ 18.075] (EE) Please also check the log file at "/var/log/Xorg.failsafe.log" for additional information.
[ 18.075] (EE)
[ 18.086] (EE) Server terminated with error (1). Closing log file.


I also found a few errors related to gpu in syslog and dmesg, but I'm not sure which ones are relevant and which ones aren't.



Anyone has an idea what I should do next? I'm a little bit stuck.



Thanks in advance.










share|improve this question





















  • 1





    The "unclaimed" means the Nvidia drivers aren't installed and/or not being used. Install them and disable Secure Boot. But what you want to do isn't possible with hybrid graphics anyway because only one will work, not simultaneously.

    – GabrielaGarcia
    Jul 16 at 16:32











  • Thank you for your answer! I think the Nvidia drivers are already installed because when I do lspci -k I get ``` 01:00.0 3D controller: NVIDIA Corporation GP107M [GeForce GTX 1050 Mobile] (rev a1) Subsystem: ASUSTeK Computer Inc. GP107M [GeForce GTX 1050 Mobile] Kernel modules: nvidiafb, nouveau ``` I don't know about disabling Secure boot, it seems like an unsafe thing to do, how do I check that it is indeed Secure Boot that prevents the drivers from loading? Also like I said I have the nomodeset kernel parameter, isn't this what is preventing the drivers from loading?

    – Xenos
    Jul 16 at 16:56






  • 1





    No, lspci lists all devices by their vendor ID and product ID and list what their firmware replies, it doesn't tell you whether the drivers are installed or not and they aren't if you didn't install them. Just open Additional Drivers and you should see a list of additional proprietary Nvidia drivers. No, disabling Secure Boot is no problem and it does prevent loading any unsigned drivers. You can be certain of that if you Google, just a bit. It's unusual for someone attempting to use such advanced features/settings - irrespective of feasibility - and knowing so little to start with. >>>

    – GabrielaGarcia
    Jul 16 at 17:03






  • 1





    >>> I suggest you take some time to learn about Nvidia graphics and its drivers, how they work and should be installed in Ubuntu, UEFI and its Secure Boot feature, etc.

    – GabrielaGarcia
    Jul 16 at 17:04







  • 1





    No, you can't do that in Windows either. The default state is using the iGPU and any app set to use high performance will trigger a switch to use the dGPU. Only one works at any given time. On certain desktops yes, you can use more than one graphics card simultaneously because they're independent and one or more may be tasked with computational task only and not output to any monitor.

    – GabrielaGarcia
    Jul 16 at 17:08













0












0








0








I recently got a new laptop with an integrated AMD gpu and a dedicated Nvidia GTX gpu, I decided to make it a Windows/Ubuntu dual boot. I'm doing a bit of GPU programming so I would like to get at least one of the cards working with OpenCL/OpenGL, if possible the Nvidia card, and it would be even better if I could have both working.



When I installed Ubuntu, I had a few problems with the Nvidia driver causing freezes and login loops, but I fixed it with prime-select intel (I don't understand what "intel" means in the command since I don't have an intel gpu).
At this moment, I think my amd gpu was detected, since I could login into gnome without a problem, but it wasn't detected by OpenCl, so I decided to install the amdgpu-pro driver.



After reboot, I would get stuck on a blank screen just after the grub menu. I fiddled around a bit in recovery mode (since I hadn't touched kernel modules before it's possible I broke a few things at that point, though I'm 99% sure I didn't affect things other then the gpu drivers) and after a bit a added nomodeset to the kernel command line, this allowed me to continue boot up to the login screen. I'm now stuck on a login loop for my Ubuntu desktop environment, ecen when I uninstall amdgpu-pro, but I can login into i3wm just fine.



From what I understand I have an error in my drivers, creating the blank screen when booting with mode settings, and crashing Xorg, which is why I get a login loop when trying to login into Ubuntu. I also get an error when trying to launch failsafeX in recovery mode.



My GPUs :



$ sudo lshw -c video 
*-display UNCLAIMED
description: 3D controller
product: GP107M [GeForce GTX 1050 Mobile]
vendor: NVIDIA Corporation
physical id: 0
bus info: pci@0000:01:00.0
version: a1
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list
configuration: latency=0
resources: memory:f6000000-f6ffffff memory:c0000000-cfffffff memory:d0000000-d1ffffff ioport:f000(size=128) memory:f7000000-f707ffff
*-display UNCLAIMED
description: VGA compatible controller
product: Raven Ridge [Radeon Vega Series / Radeon Vega Mobile Series]
vendor: Advanced Micro Devices, Inc. [AMD/ATI]
physical id: 0
bus info: pci@0000:04:00.0
version: c4
width: 64 bits
clock: 33MHz
capabilities: pm pciexpress msi msix vga_controller bus_master cap_list
configuration: latency=0
resources: memory:e0000000-efffffff memory:f0000000-f01fffff ioport:d000(size=256) memory:f7700000-f777ffff


Errors in Xorg.0.log after I try to login into Ubuntu :



[ 364.970] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[ 364.970] (II) FBDEV: driver for framebuffer: fbdev
[ 364.970] (II) VESA: driver for VESA chipsets: vesa
[ 364.970] xf86EnableIOPorts: failed to set IOPL for I/O (Operation not permitted)
[ 364.970] (EE) open /dev/dri/card0: No such file or directory
[ 364.970] (WW) Falling back to old probe method for modesetting
[ 364.970] (EE) open /dev/dri/card0: No such file or directory
[ 364.970] (II) Loading sub module "fbdevhw"
[ 364.970] (II) LoadModule: "fbdevhw"
[ 364.970] (II) Loading /usr/lib/xorg/modules/libfbdevhw.so
[ 364.970] (II) Module fbdevhw: vendor="X.Org Foundation"
[ 364.970] compiled for 1.19.6, module version = 0.0.2
[ 364.970] ABI class: X.Org Video Driver, version 23.0
[ 364.970] (**) FBDEV(1): claimed PCI slot 4@0:0:0
[ 364.970] (II) FBDEV(1): using default device
[ 364.970] (WW) Falling back to old probe method for vesa
[ 364.970] (EE) Screen 0 deleted because of no matching config section.
[ 364.970] (II) UnloadModule: "modesetting"
[ 364.970] (II) FBDEV(0): Creating default Display subsection in Screen section
"Default Screen Section" for depth/fbbpp 24/32
[ 364.970] (==) FBDEV(0): Depth 24, (==) framebuffer bpp 32
[ 364.970] (==) FBDEV(0): RGB weight 888
--
[ 364.971] (==) FBDEV(0): Backing store enabled
[ 364.971] (==) FBDEV(0): DPMS enabled
[ 364.972] (==) RandR enabled
[ 364.976] (II) SELinux: Disabled on system
[ 364.976] (II) AIGLX: Screen 0 is not DRI2 capable
[ 364.976] (EE) AIGLX: reverting to software rendering
[ 364.988] (EE) AIGLX error: amdgpu does not export required DRI extension
[ 364.988] (EE) GLX: could not load software renderer
[ 364.988] (II) GLX: no usable GL providers found for screen 0
[ 365.030] (II) config/udev: Adding input device Power Button (/dev/input/event3)
[ 365.030] (**) Power Button: Applying InputClass "libinput keyboard catchall"
[ 365.030] (II) LoadModule: "libinput"
[ 365.030] (II) Loading /usr/lib/xorg/modules/input/libinput_drv.so


Errors in Xorg.failsafe.log:



[ 18.074] (II) Loading /usr/lib/xorg/modules/libint10.so
[ 18.074] (II) Module int10: vendor="X.Org Foundation"
[ 18.074] compiled for 1.19.6, module version = 1.0.0
[ 18.074] ABI class: X.Org Video Driver, version 23.0
[ 18.074] (II) VESA(0): initializing int10
[ 18.075] (EE) VESA(0): Cannot read int vect
[ 18.075] (II) UnloadModule: "vesa"
[ 18.075] (II) UnloadSubModule: "int10"
[ 18.075] (II) Unloading int10
[ 18.075] (II) UnloadSubModule: "vbe"
[ 18.075] (II) Unloading vbe
[ 18.075] (EE) Screen(s) found, but none have a usable configuration.
[ 18.075] (EE)
Fatal server error:
[ 18.075] (EE) no screens found(EE)
[ 18.075] (EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[ 18.075] (EE) Please also check the log file at "/var/log/Xorg.failsafe.log" for additional information.
[ 18.075] (EE)
[ 18.086] (EE) Server terminated with error (1). Closing log file.


I also found a few errors related to gpu in syslog and dmesg, but I'm not sure which ones are relevant and which ones aren't.



Anyone has an idea what I should do next? I'm a little bit stuck.



Thanks in advance.










share|improve this question















I recently got a new laptop with an integrated AMD gpu and a dedicated Nvidia GTX gpu, I decided to make it a Windows/Ubuntu dual boot. I'm doing a bit of GPU programming so I would like to get at least one of the cards working with OpenCL/OpenGL, if possible the Nvidia card, and it would be even better if I could have both working.



When I installed Ubuntu, I had a few problems with the Nvidia driver causing freezes and login loops, but I fixed it with prime-select intel (I don't understand what "intel" means in the command since I don't have an intel gpu).
At this moment, I think my amd gpu was detected, since I could login into gnome without a problem, but it wasn't detected by OpenCl, so I decided to install the amdgpu-pro driver.



After reboot, I would get stuck on a blank screen just after the grub menu. I fiddled around a bit in recovery mode (since I hadn't touched kernel modules before it's possible I broke a few things at that point, though I'm 99% sure I didn't affect things other then the gpu drivers) and after a bit a added nomodeset to the kernel command line, this allowed me to continue boot up to the login screen. I'm now stuck on a login loop for my Ubuntu desktop environment, ecen when I uninstall amdgpu-pro, but I can login into i3wm just fine.



From what I understand I have an error in my drivers, creating the blank screen when booting with mode settings, and crashing Xorg, which is why I get a login loop when trying to login into Ubuntu. I also get an error when trying to launch failsafeX in recovery mode.



My GPUs :



$ sudo lshw -c video 
*-display UNCLAIMED
description: 3D controller
product: GP107M [GeForce GTX 1050 Mobile]
vendor: NVIDIA Corporation
physical id: 0
bus info: pci@0000:01:00.0
version: a1
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list
configuration: latency=0
resources: memory:f6000000-f6ffffff memory:c0000000-cfffffff memory:d0000000-d1ffffff ioport:f000(size=128) memory:f7000000-f707ffff
*-display UNCLAIMED
description: VGA compatible controller
product: Raven Ridge [Radeon Vega Series / Radeon Vega Mobile Series]
vendor: Advanced Micro Devices, Inc. [AMD/ATI]
physical id: 0
bus info: pci@0000:04:00.0
version: c4
width: 64 bits
clock: 33MHz
capabilities: pm pciexpress msi msix vga_controller bus_master cap_list
configuration: latency=0
resources: memory:e0000000-efffffff memory:f0000000-f01fffff ioport:d000(size=256) memory:f7700000-f777ffff


Errors in Xorg.0.log after I try to login into Ubuntu :



[ 364.970] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[ 364.970] (II) FBDEV: driver for framebuffer: fbdev
[ 364.970] (II) VESA: driver for VESA chipsets: vesa
[ 364.970] xf86EnableIOPorts: failed to set IOPL for I/O (Operation not permitted)
[ 364.970] (EE) open /dev/dri/card0: No such file or directory
[ 364.970] (WW) Falling back to old probe method for modesetting
[ 364.970] (EE) open /dev/dri/card0: No such file or directory
[ 364.970] (II) Loading sub module "fbdevhw"
[ 364.970] (II) LoadModule: "fbdevhw"
[ 364.970] (II) Loading /usr/lib/xorg/modules/libfbdevhw.so
[ 364.970] (II) Module fbdevhw: vendor="X.Org Foundation"
[ 364.970] compiled for 1.19.6, module version = 0.0.2
[ 364.970] ABI class: X.Org Video Driver, version 23.0
[ 364.970] (**) FBDEV(1): claimed PCI slot 4@0:0:0
[ 364.970] (II) FBDEV(1): using default device
[ 364.970] (WW) Falling back to old probe method for vesa
[ 364.970] (EE) Screen 0 deleted because of no matching config section.
[ 364.970] (II) UnloadModule: "modesetting"
[ 364.970] (II) FBDEV(0): Creating default Display subsection in Screen section
"Default Screen Section" for depth/fbbpp 24/32
[ 364.970] (==) FBDEV(0): Depth 24, (==) framebuffer bpp 32
[ 364.970] (==) FBDEV(0): RGB weight 888
--
[ 364.971] (==) FBDEV(0): Backing store enabled
[ 364.971] (==) FBDEV(0): DPMS enabled
[ 364.972] (==) RandR enabled
[ 364.976] (II) SELinux: Disabled on system
[ 364.976] (II) AIGLX: Screen 0 is not DRI2 capable
[ 364.976] (EE) AIGLX: reverting to software rendering
[ 364.988] (EE) AIGLX error: amdgpu does not export required DRI extension
[ 364.988] (EE) GLX: could not load software renderer
[ 364.988] (II) GLX: no usable GL providers found for screen 0
[ 365.030] (II) config/udev: Adding input device Power Button (/dev/input/event3)
[ 365.030] (**) Power Button: Applying InputClass "libinput keyboard catchall"
[ 365.030] (II) LoadModule: "libinput"
[ 365.030] (II) Loading /usr/lib/xorg/modules/input/libinput_drv.so


Errors in Xorg.failsafe.log:



[ 18.074] (II) Loading /usr/lib/xorg/modules/libint10.so
[ 18.074] (II) Module int10: vendor="X.Org Foundation"
[ 18.074] compiled for 1.19.6, module version = 1.0.0
[ 18.074] ABI class: X.Org Video Driver, version 23.0
[ 18.074] (II) VESA(0): initializing int10
[ 18.075] (EE) VESA(0): Cannot read int vect
[ 18.075] (II) UnloadModule: "vesa"
[ 18.075] (II) UnloadSubModule: "int10"
[ 18.075] (II) Unloading int10
[ 18.075] (II) UnloadSubModule: "vbe"
[ 18.075] (II) Unloading vbe
[ 18.075] (EE) Screen(s) found, but none have a usable configuration.
[ 18.075] (EE)
Fatal server error:
[ 18.075] (EE) no screens found(EE)
[ 18.075] (EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[ 18.075] (EE) Please also check the log file at "/var/log/Xorg.failsafe.log" for additional information.
[ 18.075] (EE)
[ 18.086] (EE) Server terminated with error (1). Closing log file.


I also found a few errors related to gpu in syslog and dmesg, but I'm not sure which ones are relevant and which ones aren't.



Anyone has an idea what I should do next? I'm a little bit stuck.



Thanks in advance.







drivers nvidia xorg amdgpu amdgpu-pro






share|improve this question














share|improve this question











share|improve this question




share|improve this question










asked Jul 16 at 16:13









XenosXenos

1




1










  • 1





    The "unclaimed" means the Nvidia drivers aren't installed and/or not being used. Install them and disable Secure Boot. But what you want to do isn't possible with hybrid graphics anyway because only one will work, not simultaneously.

    – GabrielaGarcia
    Jul 16 at 16:32











  • Thank you for your answer! I think the Nvidia drivers are already installed because when I do lspci -k I get ``` 01:00.0 3D controller: NVIDIA Corporation GP107M [GeForce GTX 1050 Mobile] (rev a1) Subsystem: ASUSTeK Computer Inc. GP107M [GeForce GTX 1050 Mobile] Kernel modules: nvidiafb, nouveau ``` I don't know about disabling Secure boot, it seems like an unsafe thing to do, how do I check that it is indeed Secure Boot that prevents the drivers from loading? Also like I said I have the nomodeset kernel parameter, isn't this what is preventing the drivers from loading?

    – Xenos
    Jul 16 at 16:56






  • 1





    No, lspci lists all devices by their vendor ID and product ID and list what their firmware replies, it doesn't tell you whether the drivers are installed or not and they aren't if you didn't install them. Just open Additional Drivers and you should see a list of additional proprietary Nvidia drivers. No, disabling Secure Boot is no problem and it does prevent loading any unsigned drivers. You can be certain of that if you Google, just a bit. It's unusual for someone attempting to use such advanced features/settings - irrespective of feasibility - and knowing so little to start with. >>>

    – GabrielaGarcia
    Jul 16 at 17:03






  • 1





    >>> I suggest you take some time to learn about Nvidia graphics and its drivers, how they work and should be installed in Ubuntu, UEFI and its Secure Boot feature, etc.

    – GabrielaGarcia
    Jul 16 at 17:04







  • 1





    No, you can't do that in Windows either. The default state is using the iGPU and any app set to use high performance will trigger a switch to use the dGPU. Only one works at any given time. On certain desktops yes, you can use more than one graphics card simultaneously because they're independent and one or more may be tasked with computational task only and not output to any monitor.

    – GabrielaGarcia
    Jul 16 at 17:08












  • 1





    The "unclaimed" means the Nvidia drivers aren't installed and/or not being used. Install them and disable Secure Boot. But what you want to do isn't possible with hybrid graphics anyway because only one will work, not simultaneously.

    – GabrielaGarcia
    Jul 16 at 16:32











  • Thank you for your answer! I think the Nvidia drivers are already installed because when I do lspci -k I get ``` 01:00.0 3D controller: NVIDIA Corporation GP107M [GeForce GTX 1050 Mobile] (rev a1) Subsystem: ASUSTeK Computer Inc. GP107M [GeForce GTX 1050 Mobile] Kernel modules: nvidiafb, nouveau ``` I don't know about disabling Secure boot, it seems like an unsafe thing to do, how do I check that it is indeed Secure Boot that prevents the drivers from loading? Also like I said I have the nomodeset kernel parameter, isn't this what is preventing the drivers from loading?

    – Xenos
    Jul 16 at 16:56






  • 1





    No, lspci lists all devices by their vendor ID and product ID and list what their firmware replies, it doesn't tell you whether the drivers are installed or not and they aren't if you didn't install them. Just open Additional Drivers and you should see a list of additional proprietary Nvidia drivers. No, disabling Secure Boot is no problem and it does prevent loading any unsigned drivers. You can be certain of that if you Google, just a bit. It's unusual for someone attempting to use such advanced features/settings - irrespective of feasibility - and knowing so little to start with. >>>

    – GabrielaGarcia
    Jul 16 at 17:03






  • 1





    >>> I suggest you take some time to learn about Nvidia graphics and its drivers, how they work and should be installed in Ubuntu, UEFI and its Secure Boot feature, etc.

    – GabrielaGarcia
    Jul 16 at 17:04







  • 1





    No, you can't do that in Windows either. The default state is using the iGPU and any app set to use high performance will trigger a switch to use the dGPU. Only one works at any given time. On certain desktops yes, you can use more than one graphics card simultaneously because they're independent and one or more may be tasked with computational task only and not output to any monitor.

    – GabrielaGarcia
    Jul 16 at 17:08







1




1





The "unclaimed" means the Nvidia drivers aren't installed and/or not being used. Install them and disable Secure Boot. But what you want to do isn't possible with hybrid graphics anyway because only one will work, not simultaneously.

– GabrielaGarcia
Jul 16 at 16:32





The "unclaimed" means the Nvidia drivers aren't installed and/or not being used. Install them and disable Secure Boot. But what you want to do isn't possible with hybrid graphics anyway because only one will work, not simultaneously.

– GabrielaGarcia
Jul 16 at 16:32













Thank you for your answer! I think the Nvidia drivers are already installed because when I do lspci -k I get ``` 01:00.0 3D controller: NVIDIA Corporation GP107M [GeForce GTX 1050 Mobile] (rev a1) Subsystem: ASUSTeK Computer Inc. GP107M [GeForce GTX 1050 Mobile] Kernel modules: nvidiafb, nouveau ``` I don't know about disabling Secure boot, it seems like an unsafe thing to do, how do I check that it is indeed Secure Boot that prevents the drivers from loading? Also like I said I have the nomodeset kernel parameter, isn't this what is preventing the drivers from loading?

– Xenos
Jul 16 at 16:56





Thank you for your answer! I think the Nvidia drivers are already installed because when I do lspci -k I get ``` 01:00.0 3D controller: NVIDIA Corporation GP107M [GeForce GTX 1050 Mobile] (rev a1) Subsystem: ASUSTeK Computer Inc. GP107M [GeForce GTX 1050 Mobile] Kernel modules: nvidiafb, nouveau ``` I don't know about disabling Secure boot, it seems like an unsafe thing to do, how do I check that it is indeed Secure Boot that prevents the drivers from loading? Also like I said I have the nomodeset kernel parameter, isn't this what is preventing the drivers from loading?

– Xenos
Jul 16 at 16:56




1




1





No, lspci lists all devices by their vendor ID and product ID and list what their firmware replies, it doesn't tell you whether the drivers are installed or not and they aren't if you didn't install them. Just open Additional Drivers and you should see a list of additional proprietary Nvidia drivers. No, disabling Secure Boot is no problem and it does prevent loading any unsigned drivers. You can be certain of that if you Google, just a bit. It's unusual for someone attempting to use such advanced features/settings - irrespective of feasibility - and knowing so little to start with. >>>

– GabrielaGarcia
Jul 16 at 17:03





No, lspci lists all devices by their vendor ID and product ID and list what their firmware replies, it doesn't tell you whether the drivers are installed or not and they aren't if you didn't install them. Just open Additional Drivers and you should see a list of additional proprietary Nvidia drivers. No, disabling Secure Boot is no problem and it does prevent loading any unsigned drivers. You can be certain of that if you Google, just a bit. It's unusual for someone attempting to use such advanced features/settings - irrespective of feasibility - and knowing so little to start with. >>>

– GabrielaGarcia
Jul 16 at 17:03




1




1





>>> I suggest you take some time to learn about Nvidia graphics and its drivers, how they work and should be installed in Ubuntu, UEFI and its Secure Boot feature, etc.

– GabrielaGarcia
Jul 16 at 17:04






>>> I suggest you take some time to learn about Nvidia graphics and its drivers, how they work and should be installed in Ubuntu, UEFI and its Secure Boot feature, etc.

– GabrielaGarcia
Jul 16 at 17:04





1




1





No, you can't do that in Windows either. The default state is using the iGPU and any app set to use high performance will trigger a switch to use the dGPU. Only one works at any given time. On certain desktops yes, you can use more than one graphics card simultaneously because they're independent and one or more may be tasked with computational task only and not output to any monitor.

– GabrielaGarcia
Jul 16 at 17:08





No, you can't do that in Windows either. The default state is using the iGPU and any app set to use high performance will trigger a switch to use the dGPU. Only one works at any given time. On certain desktops yes, you can use more than one graphics card simultaneously because they're independent and one or more may be tasked with computational task only and not output to any monitor.

– GabrielaGarcia
Jul 16 at 17:08










0






active

oldest

votes













Your Answer








StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "89"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/4.0/"u003ecc by-sa 4.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);














draft saved

draft discarded
















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1158705%2fi-cant-get-my-gpus-to-work%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown


























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes
















draft saved

draft discarded















































Thanks for contributing an answer to Ask Ubuntu!


  • Please be sure to answer the question. Provide details and share your research!

But avoid


  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1158705%2fi-cant-get-my-gpus-to-work%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown









Popular posts from this blog

Tamil (spriik) Luke uk diar | Nawigatjuun

Align equal signs while including text over equalitiesAMS align: left aligned text/math plus multicolumn alignmentMultiple alignmentsAligning equations in multiple placesNumbering and aligning an equation with multiple columnsHow to align one equation with another multline equationUsing \ in environments inside the begintabularxNumber equations and preserving alignment of equal signsHow can I align equations to the left and to the right?Double equation alignment problem within align enviromentAligned within align: Why are they right-aligned?

Where does the image of a data connector as a sharp metal spike originate from?Where does the concept of infected people turning into zombies only after death originate from?Where does the motif of a reanimated human head originate?Where did the notion that Dragons could speak originate?Where does the archetypal image of the 'Grey' alien come from?Where did the suffix '-Man' originate?Where does the notion of being injured or killed by an illusion originate?Where did the term “sophont” originate?Where does the trope of magic spells being driven by advanced technology originate from?Where did the term “the living impaired” originate?