I have asus notebook (fx705dt, amd ryzen 7 + amd radeon rx vega 10 + nvidia geforce gtx 1650)
I tries these things (secure boot is disabled):
1- stock open source drivers
2- ubuntu-drivers devices (nvidia-driver-430)
then sudo ubuntu-drivers autoinstall
and then sudo apt install nvidia-430
and reboot, and then select into drivers configuration screen.
3- download driver from
select open source driver,
remove and purge nvidia driver
reboot
sudo bash NVIDIA-Linux-x86_64-430.09.run
and it stucks in 5% in>
Installing DKMS kernel module:
Building module (This may take a moment)
PS: In the same laptop I have partition with win10 and all works fine.
-> An incomplete installation of libglvnd was found. All of the essential libglvnd libraries are present, but one or more optional components are missing. Do you want to install a full copy of libglvnd? This will overwrite any existing libglvnd libraries. (Answer: Install and overwrite existing files)
Will install libglvnd libraries.
Will install libEGL vendor library config file to /usr/share/glvnd/egl_vendor.d
-> Searching for conflicting files:
-> done.
-> Installing 'NVIDIA Accelerated Graphics Driver for Linux-x86_64' (430.09):
executing: '/sbin/ldconfig'...
-> done.
-> Driver file installation is complete.
-> Installing DKMS kernel module:
with the first part hdmi output works, but my primary screen (laptop screen) stucks in black.
I read the topic you link. But I have this response when I tried xrandr --auto… :
xrandr: Configure crtc 4 failed
X Error of failed request: BadValue (integer parameter out of range for operation)
Major opcode of failed request: 140 (RANDR)
Minor opcode of failed request: 21 (RRSetCrtcConfig)
Value in failed request: 0x0
Serial number of failed request: 56
Current serial number in output stream: 56
another thing … in login screen, if I select GNOME WAYLAND the laptop screen works but not hdmi, and if i select only gnome (as it is by default) only works hdmi.
And I tried unplug hdmi and laptop screen continues in black
Wayland uses only the amd gpu so the external monitor which is connected to the nvidia gpu is unavailable. The gdm login seems to be running under wayland, ignore this for now.
Please add inside the OutputClass section of /usr/share/X11/xorg.conf.d/nvidia-drm-outputclass.conf
Option "AllowEmptyInitialConfiguration" "true"
When logged in, can you simply start gnome control center and enable the internal monitor under devices->displays?
I made this changes. the reboot.
then after login only works hdmi.
I enter to configuration, devices, displays.
I appears as “Mirror”… I change to extended displays, and when I click on apply it changes (as i see in background) to mirrored screens again… and when I accept it continues as the same.
IDK, but your setup looks kind of broken, you’re always running into
[ 5.408] (EE) modeset(G0): failed to set mode: No space left on device
Which driver are you currently running, the one from .run installer? If so, please uninstall it using the --uninstall option, then reinstall the driver from repo.