djole Posted March 17, 2020 Share Posted March 17, 2020 Just now, urosg3 said: a ok, sad je jasnije. Vidim da si: da nisi možda neku ppa na temu ubacio? I to sam probao. Poslednje što sam uradio je bilo prema ovom uputstvu https://askubuntu.com/questions/935929/cant-switch-to-nvidia-graphics-card-on-ubuntu-16-04 Ali nije pomoglo. Čak sam probao i ovo ručno instaliranje drivera iz run fajla koji sam preuzeo sa sajta nvidie, ali tu sam naišao na problem. Prijavio mi je: Quote ERROR: Failed to run '/usr/sbin/dkms build -m nvidia -v 440.64 -k 5.3.0-42-generic : Error! Your kernel headers for kernel 5.3.0-42-generic cannot be found. Please install the linux-headers-5.3.0-42-generic package, or use the --kernelsourcedir option to tell DKMS where it's located Tu se dalje nisam petljao jer pojma nemam šta je ovo. Link to comment Share on other sites More sharing options...
urosg3 Posted March 17, 2020 Share Posted March 17, 2020 Quote Please install the linux-headers-5.3.0-42-generic package, daj jedan Quote sudo apt update posle Quote sudo apt install -f Link to comment Share on other sites More sharing options...
djole Posted March 17, 2020 Share Posted March 17, 2020 All packages are up to date. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Link to comment Share on other sites More sharing options...
urosg3 Posted March 17, 2020 Share Posted March 17, 2020 (edited) hajde probajapt:linux-headers-5.3.0-42-generic ili sudo apt install linux-headers-5.3.0-42-generic Edited March 17, 2020 by urosg3 Link to comment Share on other sites More sharing options...
djole Posted March 17, 2020 Share Posted March 17, 2020 1 minute ago, urosg3 said: hajde probajapt:linux-headers-5.3.0-42-generic Sa mnom moraš ko sa botom Šta tačno, msm koja je komanda u terminalu? Link to comment Share on other sites More sharing options...
urosg3 Posted March 17, 2020 Share Posted March 17, 2020 ovo iz Terminala Quote sudo apt install linux-headers-5.3.0-42-generic Link to comment Share on other sites More sharing options...
djole Posted March 17, 2020 Share Posted March 17, 2020 (edited) 6 minutes ago, urosg3 said: ovo iz Terminala Spoiler Reading package lists... Done Building dependency tree Reading state information... Done The following additional packages will be installed: linux-headers-5.3.0-42 The following NEW packages will be installed: linux-headers-5.3.0-42 linux-headers-5.3.0-42-generic 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded. Need to get 12,2 MB of archives. After this operation, 84,4 MB of additional disk space will be used. Do you want to continue? [Y/n] Y Get:1 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 linux-headers-5.3.0-42 all 5.3.0-42.34~18.04.1 [11,0 MB] Get:2 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 linux-headers-5.3.0-42-generic amd64 5.3.0-42.34~18.04.1 [1180 kB] Fetched 12,2 MB in 3s (4639 kB/s) Selecting previously unselected package linux-headers-5.3.0-42. (Reading database ... 149599 files and directories currently installed.) Preparing to unpack .../linux-headers-5.3.0-42_5.3.0-42.34~18.04.1_all.deb ... Unpacking linux-headers-5.3.0-42 (5.3.0-42.34~18.04.1) ... Selecting previously unselected package linux-headers-5.3.0-42-generic. Preparing to unpack .../linux-headers-5.3.0-42-generic_5.3.0-42.34~18.04.1_amd64.deb ... Unpacking linux-headers-5.3.0-42-generic (5.3.0-42.34~18.04.1) ... Setting up linux-headers-5.3.0-42 (5.3.0-42.34~18.04.1) ... Setting up linux-headers-5.3.0-42-generic (5.3.0-42.34~18.04.1) ... /etc/kernel/header_postinst.d/dkms: * dkms: running auto installation service for kernel 5.3.0-42-generic Kernel preparation unnecessary for this kernel. Skipping... applying patch disable_fstack-clash-protection_fcf-protection.patch...can't find file to patch at input line 17 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |From 2b16f2384372ff8039a38221c3eb7162dc9091d8 Mon Sep 17 00:00:00 2001 |From: Alberto Milone <alberto.milone@canonical.com> |Date: Mon, 7 Oct 2019 16:29:07 +0200 |Subject: [PATCH 1/1] Kbuild: disable stack-clash-protection fcf-protection | |This adds the extra flags only if gcc supports them. | |Fixes LP: #1830961 |--- | Kbuild | 3 +++ | 1 file changed, 3 insertions(+) | |diff --git a/Kbuild b/Kbuild |index 1e79d0b..a35f47a 100644 |--- a/Kbuild |+++ b/Kbuild -------------------------- File to patch: Skip this patch? [y] Skipping patch. 1 out of 1 hunk ignored (bad exit status: 1) Error! Application of patch disable_fstack-clash-protection_fcf-protection.patch failed. Check /var/lib/dkms/nvidia/440.64/build/ for more information. ...done. tu gde je rekao da se proveri se nalazi jedan fajl dkms.conf sa ovim sadržajem Spoiler Quote PACKAGE_NAME="nvidia" PACKAGE_VERSION="440.64" CLEAN="make clean" BUILT_MODULE_NAME[0]="nvidia" DEST_MODULE_LOCATION[0]="/kernel/drivers/char/drm" PROCS_NUM=`nproc` [ $PROCS_NUM -gt 16 ] && PROCS_NUM=16 MAKE[0]="unset ARCH; [ ! -h /usr/bin/cc ] && export CC=/usr/bin/gcc; env NV_VERBOSE=1 \ 'make' -j$PROCS_NUM NV_EXCLUDE_BUILD_MODULES='' KERNEL_UNAME=${kernelver} IGNORE_XEN_PRESENCE=1 IGNORE_CC_MISMATCH=1 SYSSRC=$kernel_source_dir LD=/usr/bin/ld.bfd modules" BUILT_MODULE_NAME[1]="nvidia-modeset" DEST_MODULE_LOCATION[1]="/kernel/drivers/char/drm" BUILT_MODULE_NAME[2]="nvidia-drm" DEST_MODULE_LOCATION[2]="/kernel/drivers/char/drm" AUTOINSTALL="yes" PATCH[0]="disable_fstack-clash-protection_fcf-protection.patch" PATCH[1]="buildfix_kernel_5.6.patch" #PATCH_MATCH[0]="^4.[6-7]" BUILT_MODULE_NAME[3]="nvidia-uvm" DEST_MODULE_LOCATION[3]="/kernel/drivers/char/drm" #PATCH[2]="buildfix_kernel_4.9_amd64_only.patch" </lib/dkms/nvidia/440.64/build/dkms.conf" Edited March 17, 2020 by djole Link to comment Share on other sites More sharing options...
urosg3 Posted March 17, 2020 Share Posted March 17, 2020 sudo dpkg --configure -a Uff, idemo u krug, a ja moram u krpe... daj samo na brzinu Quote sudo dpkg --configure -a Link to comment Share on other sites More sharing options...
djole Posted March 17, 2020 Share Posted March 17, 2020 2 minutes ago, urosg3 said: sudo dpkg --configure -a Uff, idemo u krug, a ja moram u krpe... daj samo na brzinu Ne dobijam nikakvu povratnu informaciju, ako uopšte treba Sada ako opet probam da instaliram ovo linux headers kaže da je already newest version. Odradio reboot, ali opet isto sa drajverima. Nema veze, vreme je i meni za spavanje, probaću još sutra da se drndam malo s ovim, pa ako nešto novo otkrijem postovaću. Hvala puno svakako! Link to comment Share on other sites More sharing options...
urosg3 Posted March 17, 2020 Share Posted March 17, 2020 mislim da rešimo sutra... 1 Link to comment Share on other sites More sharing options...
djole Posted March 18, 2020 Share Posted March 18, 2020 20 hours ago, urosg3 said: mislim da rešimo sutra... Da javim da je proradilo... donekle Ne znam šta da kažem, praktično ništa novo nisam uradio. Probao sam ponovo da instaliram nvidia-driver 390, dakle ne onaj koji je recommended već ovaj najstariji, s nekom logikom da ovi noviji možda stvaraju probleme. Ovaj put nisam to uradio iz terminala, već iz software&updates. Reboot, i proradilo... kako, zašto, ne znam E sad, i dalje imam neku poruku greške (nvidia-settings:2044): GLib-GObject-CRITICAL **: 20:40:54.993: g_object_unref: assertion 'G_IS_OBJECT (object)' failed GPU at BusId 0x1 doesn't have a supported video decoder ERROR: Local version of NVML doesn't implement this function ** Message: 20:40:55.171: PRIME: Requires offloading ** Message: 20:40:55.171: PRIME: is it supported? yes ** Message: 20:40:55.234: PRIME: Usage: /usr/bin/prime-select nvidia|intel|query ** Message: 20:40:55.234: PRIME: on-demand mode: "0" ** Message: 20:40:55.234: PRIME: is "on-demand" mode supported? no Ali mi sada konačno vidi driver i uredno u details stoji da koristi nvidia mx 110 kao grafičku kartu. Primetih sad da recimo nakon što kliknem da zatvorim prozor, treba mu par sekundi da to uradi, kursor ostane tu gde jeste, a ja dobijem još jedan kursor koji mogu da pomeram Ali bitno da se pomerilo s mrtve tačke, sad ću dalje da tražim šta bi moglo da bude ovo. Možda je i do starog drajvera ali sada se plašim da instaliram novi da opet ne ode u majčinu. Link to comment Share on other sites More sharing options...
urosg3 Posted March 18, 2020 Share Posted March 18, 2020 Sačekaj da stigne novi kernel, nije daleko dan dva... 1 Link to comment Share on other sites More sharing options...
djole Posted March 18, 2020 Share Posted March 18, 2020 Radi i ovaj 440, ali ostaje ova ista greška. Sačekaćemo kernel. 1 Link to comment Share on other sites More sharing options...
djole Posted April 5, 2020 Share Posted April 5, 2020 (edited) Update je stigao, ali izgleda da je upravo u tome i bio problem 😄 Posle novog apdejta kernela na 5.3.0-45 drajver ponovo nije hteo da radi. Malo sam gledao logove i ostala je ista greška kao i pre ovoga, odnosno Quote ERROR: Failed to run '/usr/sbin/dkms build -m nvidia -v 440.64 -k 5.3.0-42-generic : Error! Your kernel headers for kernel 5.3.0-42-generic cannot be found. Please install the linux-headers-5.3.0-42-generic package, or use the --kernelsourcedir option to tell DKMS where it's located Probao sam sa --kernelsourcedir da ga uputim gde se nalaze kernel headers ali nije pomoglo, verovatno zato što je dkms i dalje tražio 5.3.0-42 za build, iako je meni instalirana 5.3.0-45 verzija. Ne razumem se mnogo u to, pa mi nije jasno kako je tako nešto uopšte moguće. Uglavnom, za sad sam se vratio na 42 verziju kernela i sve radi kako treba, ali nisam siguran da li je to rešenje za dugi rok. edit: inače, uredno sam proverio odgovarajuće foldere, neophodni fajlovi se nalaze gde treba ali verovatno veze za source i build nedostaju ili nisu dobre. To je ipak malo zajebanije da se menja, pogotovo što ne znam kako tačno izgledaju ili gde se nalaze, a nisam siguran ni ima li poente svaki put to ručno menjati kada dođe do apdejta. Edited April 5, 2020 by djole Link to comment Share on other sites More sharing options...
djole Posted March 17, 2021 Share Posted March 17, 2021 Opet cu biti dosadan, @urosg3 pomagaj ako znas nesto :) Imam neki stari laptop koji ima amd A8-4500M sa integrisanom grafikom Radeon HD 7640G i sa diskretnom grafikom Radeon HD 8750M. E sad, nesto su ga windows apdejti pojebali pa je poceo da ima ozbiljne probleme s drajverima, a ni AMD verovatno nesto vise ne zanima da pruza podrsku za tako stari hardware. Uglavnom, poceo je ozbiljno da se pregreva zbog tih problema s drajverima pa sam resio da nabacim Ubuntu 20.04. Sad nema tih problema, medjutim javlja se problem kad hocu da ga povezem na eksterni monitor preko VGA. Iz nekog razloga kad se poveze eksterni monitor, ovaj na laptopu se ugasi. U settings je namesteno join displays i xrandr uredno izbacuje kao da su oba displeja povezana, a i ceo interfejs se ponasa kao da je sve ok. Ipak, ekran je skroz crn. Ne pomaze ni ukoliko promenim da displej laptopa bude primaran. Pada mi na pamet da je verovatno neki problem zato sto ima dve grafike i da tu treba nesto da se podesi. Link to comment Share on other sites More sharing options...
urosg3 Posted March 17, 2021 Share Posted March 17, 2021 Zvuči kao hardverski kvar, nemaš neki taster tip Fn + f6? Link to comment Share on other sites More sharing options...
djole Posted March 17, 2021 Share Posted March 17, 2021 11 minutes ago, urosg3 said: Zvuči kao hardverski kvar, nemaš neki taster tip Fn + f6? Fn+ F4 je to na šta misliš verovatno. Ne pomaže, ili samo built-in ili samo external. Kada stavim mirror, radi samo built-in, kada stavim join display, sad se desi ili da radi samo built-in ili da ne radi nijedan. Link to comment Share on other sites More sharing options...
urosg3 Posted March 17, 2021 Share Posted March 17, 2021 (edited) 2 minutes ago, djole said: Fn+ F4 je to na šta misliš verovatno. Ne pomaže, ili samo built-in ili samo external. Kada stavim mirror, radi samo built-in, kada stavim join display, sad se desi ili da radi samo built-in ili da ne radi nijedan. Radeon ti sigurno ne radi, prematoro je to čak i za Linuxe. Koja je integruša? Eh video sam sad, Radeon... Mislim da nema pomoći ali raspitaću se Edited March 17, 2021 by urosg3 1 Link to comment Share on other sites More sharing options...
djole Posted March 17, 2021 Share Posted March 17, 2021 Just now, urosg3 said: Radeon ti sigurno ne radi, prematoro je to čak i za Linuxe. Koja je integruša? Radeon HD 7640G Pa izgleda kao da malo radi, malo ne radi :D Verovatno je neki problem da oba rade u isto vreme s obzirom da VGA izlaz ide iz diskretne, a built in je povezan samo preko integruše vrv... tako mi je npr na drugom laptopu koji ima Vega integrisanu i Nvidia diskretnu. Link to comment Share on other sites More sharing options...
urosg3 Posted March 17, 2021 Share Posted March 17, 2021 3 minutes ago, djole said: Radeon HD 7640G Pa izgleda kao da malo radi, malo ne radi 😄 Verovatno je neki problem da oba rade u isto vreme s obzirom da VGA izlaz ide iz diskretne, a built in je povezan samo preko integruše vrv... tako mi je npr na drugom laptopu koji ima Vega integrisanu i Nvidia diskretnu. Za Nvidia ima onaj bumblebee Nvidia i on radi i na starijim karticama, ali Radeon nema 😞 Na mom laptopu isto ne radi Radeonka jer je starija, ali Alienware je pa još i nešto valja laptop Link to comment Share on other sites More sharing options...
djole Posted March 17, 2021 Share Posted March 17, 2021 Just now, urosg3 said: Za Nvidia ima onaj bumblebee Nvidia i on radi i na starijim karticama, ali Radeon nema 😞 Na mom laptopu isto ne radi Radeonka jer je starija, ali Alienware je pa još i nešto valja laptop Mada evo vidim imaju ljudi problema i sa novijim hardverom https://askubuntu.com/questions/896375/external-screen-recognized-but-black https://askubuntu.com/questions/1263637/second-display-detected-but-only-black-screen-visible-ryzen-5-4600h-gtx-1650 https://askubuntu.com/questions/1244376/cant-get-internal-and-external-monitor-working-simultaneously-with-20-04-on-lap Pogledaću malo sutra detaljnije ovo pa ćemo videti. 1 Link to comment Share on other sites More sharing options...
Jamesdin Posted March 18, 2021 Share Posted March 18, 2021 Otvoriš laptop, očistiš od prašine i zameniš pastu, instaliraš Win 8.1 ili neki stariji Win10, podesiš sve kako treba i ISKLJUČIŠ update. Koristiš lap u sreći i veselju dok ne crkne :) 1 Link to comment Share on other sites More sharing options...
Fat Zadd Posted March 18, 2021 Share Posted March 18, 2021 (edited) Da da...bas ima da se usreci sa win10 na starijem lap top-u Kako "funkcionise" ( da li radi OK bez zastoja, seckanja itd ) zoom na Ubuntu-u?? Da ne objasnjavam sada 😄 Edited March 18, 2021 by John Dies at the End Link to comment Share on other sites More sharing options...
urosg3 Posted March 18, 2021 Share Posted March 18, 2021 1 hour ago, John Dies at the End said: Da da...bas ima da se usreci sa win10 na starijem lap top-u Kako "funkcionise" ( da li radi OK bez zastoja, seckanja itd ) zoom na Ubuntu-u?? Da ne objasnjavam sada 😄 da, i kao app i kroz browser. Bez problema 1 Link to comment Share on other sites More sharing options...
Jamesdin Posted March 19, 2021 Share Posted March 19, 2021 Napisao sam ono gore iz iskustva. Imao sam sličan problem sa Mint-om, na laptopu skoro iste konfiguracije. Inače, stariji Win10, na 4Gb RAMa, radi pristojno kada se iskluči po neka stvar i update. O&O ShutUp10 i WUB, pomažu u tome. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now