Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Solved] Unable to use Nvidia proprietary
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
Aranycsapat
n00b
n00b


Joined: 05 Apr 2020
Posts: 29

PostPosted: Wed Apr 24, 2024 8:40 pm    Post subject: [Solved] Unable to use Nvidia proprietary Reply with quote

Hi everyone!
I'm facing a strange problem with my gentoo installation. I installed gentoo on my MSI GF63 laptop, but the Nvidia video card doesn't work. I want to use proprietary nvidia drivers, so I completely disable nouveau compatibility in the kernel. However, regardless my efforts, Nvidia drivers don't work.
My specifications
Kernel 6.6.21-gentoo-x86_64
Video card Ge Force GTK 1050 Ti
Nvidia drivers 550.67
I would notice that I already had working Nvidia card on this device, but it was 3 years ago, and I forgot how I launched it.
Could anyone help?


Last edited by Aranycsapat on Mon May 13, 2024 9:57 am; edited 1 time in total
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 31255
Location: here

PostPosted: Thu Apr 25, 2024 5:31 am    Post subject: Reply with quote

What exactly isn't working? Do you have any logs to post?
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54572
Location: 56N 3W

PostPosted: Thu Apr 25, 2024 7:25 am    Post subject: Reply with quote

Aranycsapat,

Laptop ... nVidia ...
That usually means an Optimus Graphics system.

You can use the Intel GPU alone or the Intel GPU to refresh the display while the nVidia GPU does the drawing, which is the hard work.
Check your laptop description for "Optimus Graphics". If that is mentioned, see the Optimus page an the Gentoo Wiki.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Aranycsapat
n00b
n00b


Joined: 05 Apr 2020
Posts: 29

PostPosted: Fri Apr 26, 2024 6:00 pm    Post subject: Reply with quote

fedeliallalinea wrote:
What exactly isn't working? Do you have any logs to post?

When I try to launch sddm, I see only black screen.
I have command line shell only. Will try to get some logs
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54572
Location: 56N 3W

PostPosted: Fri Apr 26, 2024 6:43 pm    Post subject: Reply with quote

Aranycsapat,

The 'Black Screen' is the expected behaviour on an Optimus system if your try to use nte nVidia GPU on its own
It has no connection to the display.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Aranycsapat
n00b
n00b


Joined: 05 Apr 2020
Posts: 29

PostPosted: Sun May 12, 2024 6:41 am    Post subject: Reply with quote

Hi guys. I had no time to deal with that, but now I have.
I launched live gui gentoo, chrooted and what's what I see.
Code:
(chroot) livecd / #  lspci -k | grep -A 2 -E "(VGA|3D)"
00:02.0 VGA compatible controller: Intel Corporation CoffeeLake-H GT2 [UHD Graphics 630]
        DeviceName: Onboard - Video
        Subsystem: Micro-Star International Co., Ltd. [MSI] CoffeeLake-H GT2 [UHD Graphics 630]
--
01:00.0 3D controller: NVIDIA Corporation GP107M [GeForce GTX 1050 Ti Max-Q] (rev a1)
        Subsystem: Micro-Star International Co., Ltd. [MSI] GP107M [GeForce GTX 1050 Ti Max-Q]
        Kernel driver in use: nouveau

Code:
(chroot) livecd / #  lspci -nnk
01:00.0 3D(chroot) livecd / #  lspci -k  controller [0302]: NVIDIA Corporation GP107M [GeForce GTX 1050 Ti Max-Q] [10de:1c8f] (rev a1)
        Subsystem: Micro-Star International Co., Ltd. [MSI] GP107M [GeForce GTX 1050 Ti Max-Q] [1462:127e]
        Kernel driver in use: nouveau
        Kernel modules: nvidia_drm, nvidia

Code:

(chroot) livecd / # dmesg | grep nvidia
[    8.609135] Loading firmware: nvidia/gp107/acr/ucode_load.bin
[    8.654398] Loading firmware: nvidia/gp107/acr/bl.bin
[    8.675022] Loading firmware: nvidia/gp107/acr/ucode_unload.bin
[    8.682280] Loading firmware: nvidia/gp107/acr/unload_bl.bin
[    8.689222] Loading firmware: nvidia/gp107/gr/fecs_bl.bin
[    8.692348] Loading firmware: nvidia/gp107/gr/fecs_inst.bin
[    8.692469] Loading firmware: nvidia/gp107/gr/fecs_data.bin
[    8.692528] Loading firmware: nvidia/gp107/gr/fecs_sig.bin
[    8.693143] Loading firmware: nvidia/gp107/gr/gpccs_bl.bin
[    8.693865] Loading firmware: nvidia/gp107/gr/gpccs_inst.bin
[    8.693950] Loading firmware: nvidia/gp107/gr/gpccs_data.bin
[    8.694010] Loading firmware: nvidia/gp107/gr/gpccs_sig.bin
[    8.694070] Loading firmware: nvidia/gp107/gr/sw_nonctx.bin
[    8.694129] Loading firmware: nvidia/gp107/gr/sw_ctx.bin
[    8.694203] Loading firmware: nvidia/gp107/gr/sw_bundle_init.bin
[    8.696877] Loading firmware: nvidia/gp107/gr/sw_method_init.bin
[    8.705531] Loading firmware: nvidia/gp107/sec2/sig-1.bin
[    8.707751] Loading firmware: nvidia/gp107/sec2/image-1.bin
[    8.709282] Loading firmware: nvidia/gp107/sec2/desc-1.bin
[    8.767686] Loading firmware: nvidia/gp107/nvdec/scrubber.bin

Code:

(chroot) livecd / # modprobe nvidia -vv
modprobe: INFO: custom logging function 0x55a33c3d30a0 registered
insmod /lib/modules/6.6.21-gentoo-x86_64/kernel/drivers/i2c/i2c-core.ko
modprobe: INFO: Failed to insert module '/lib/modules/6.6.21-gentoo-x86_64/kernel/drivers/i2c/i2c-core.ko': Exec format error
modprobe: ERROR: could not insert 'nvidia': Exec format error
modprobe: INFO: context 0x55a33d626480 released

Code:

(chroot) livecd / # lsmod | grep nvidia
(Empty output)

How this could be fixed?
Back to top
View user's profile Send private message
Aranycsapat
n00b
n00b


Joined: 05 Apr 2020
Posts: 29

PostPosted: Mon May 13, 2024 9:56 am    Post subject: Reply with quote

I just rebuilt the system completely, included Intel video card support and voila! The system works perfectly.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum