no video after antiX 17 kernel upgrade to 4.13

Message
Author
User avatar
kmathern
Developer
Posts: 2402
Joined: Wed Jul 12, 2006 2:26 pm

Re: no video after antiX 17 kernel upgrade to 4.13

#11 Post by kmathern »

anticapitalista wrote:antiX-17 uses ddm-mx.
Okay, and ddm-mx uses dkms.

User avatar
entropyfoe
Posts: 590
Joined: Thu Apr 19, 2007 11:42 am

Re: no video after antiX 17 kernel upgrade to 4.13

#12 Post by entropyfoe »

OK, lots of things tried.

I decided to start over. I downloaded antix 17 rc1. I used MX tools to make a USB, which booted just fine (I used toram boot option)
All looked good, sound could be enabled with the control panel sound card picker, going with generic, internet, youtube plays, so I installed.

All went well, (from the usb to nvme it was fast, about 4 minutes).
But I still showed the 4.13 kernel in the advanced mode when booting. So, wanting a simple clean case, I went back to MX 16.1, deleted everything on the antix partition to get rid of the grub, and reformated nvme01P4 with gparted.

Reboot and reinstall antix17 rc1. again all is fast, and runs well. But no only the 4.10 kernel is listed in the advanced options. Correct !
So I CTL-ALT-F1, logged in as root, and ran sgfxi. I had to reboot and re-run to get it installed, with 384.90. VIdeo looks good, so now I think I am ready to try the sgfxi -! 40 trick.
Here is inxi -F

Code: Select all

 Host: Ryzen Kernel: 4.10.5-antix.3-amd64-smp x86_64 bits: 64
           Desktop: IceWM 1.4.2
           Distro: antiX-17.rc1_x64-full Heather Heyer 6 October 2017
Machine:   Device: desktop Mobo: ASUSTeK model: PRIME X370-PRO v: Rev X.0x serial: N/A
           UEFI [Legacy]: American Megatrends v: 0902 date: 09/08/2017
CPU:       Hexa core AMD Ryzen 5 1600X Six-Core (-HT-MCP-) cache: 3072 KB
           clock speeds: max: 3600 MHz 1: 2200 MHz 2: 2200 MHz 3: 2200 MHz 4: 2200 MHz
           5: 2200 MHz 6: 2200 MHz 7: 2200 MHz 8: 2200 MHz 9: 2200 MHz 10: 2200 MHz
           11: 2200 MHz 12: 2200 MHz
Graphics:  Card: NVIDIA GK208 [GeForce GT 710B]
           Display Server: X.Org 1.19.2 driver: nvidia Resolution: 1920x1080@60.00hz
           OpenGL: renderer: GeForce GT 710/PCIe/SSE2 version: 4.5.0 NVIDIA 384.90
Audio:     Card-1 Advanced Micro Devices [AMD] Device 1457 driver: snd_hda_intel
           Card-2 NVIDIA GK208 HDMI/DP Audio Controller driver: snd_hda_intel
           Sound: Advanced Linux Sound Architecture v: k4.10.5-antix.3-amd64-smp
Network:   Card: Intel I211 Gigabit Network Connection driver: igb
           IF: eth0 state: up speed: 100 Mbps duplex: 
Drives:    HDD Total Size: 2250.5GB (0.9% used)
           ID-1: /dev/sda model: WDC_WD2002FAEX size: 2000.4GB
           ID-2: /dev/nvme0n1 model: Samsung_SSD_960_EVO_250GB size: 250.1GB
Partition: ID-1: / size: 101G used: 3.9G (4%) fs: ext4 dev: /dev/nvme0n1p4
           ID-2: swap-1 size: 17.83GB used: 0.00GB (0%) fs: swap dev: /dev/nvme0n1p2
Sensors:   System Temperatures: cpu: N/A mobo: N/A gpu: 37C
           Fan Speeds (in rpm): cpu: 0
Info:      Processes: 279 Uptime: 14 min Memory: 521.3/16046.7MB
           Client: Shell (bash) inxi: 2.3.40 
music@Ryzen:~
You see I have _rc1, with with NVIDIA 384.90.

So I installed the linux-image-4.13.4-antix.1-amd64-smp,
then the appropriate headers.

Reboot twice, I updated grub, rebooted, and the new kernel does not show up in the advanced options.

Anyway, I ran sgfxi again with the -! 40 option, and it goes all the way through, with the error at the end

Code: Select all

error 169 no previous nvidia sgfxi run package install detected for -k option module build
It did try building for the 4.13 kernel, but couldn't. So it thinks I have the 4.13 installed, I checked, 4.13 shows installed along with the stock 4.10 in synaptic, headers to.

So finally I tried

Code: Select all

apt policy nvidia-driver
Installed: (none)
candidate 375.82-1-deb901
So different than what sgfxi installed, earlier version.

So how can I see the 4.13 to try booting it?
ANd what video can I run for it since the -! 40 does not work, and I don't have the devbian version?

Where next, to boot the new kernel with video?

Thanks
BTW, the antix 17 rc1 looks good so far. Live and installed to this recent hardware. The network, sound, video (the above issues aside) all work.
I updated with synaptic, and will soon try other installs.
Last edited by entropyfoe on Sun Oct 22, 2017 2:11 pm, edited 1 time in total.
Asus PRIME X470-PRO
AMD Ryzen 3600X (12 threads @ 3.8 GHz)
32 Gig DDR4 3600 (Crucial CL 16)
Nvidia GeForce GT 710
Samsung 970 NVMe nvme0n1 P1-3=MX-23, P4=testing
Samsung 980 NVMe =1TB Data, plus 2TB WD =backups
on-board ethernet & sound

User avatar
anticapitalista
Developer
Posts: 4160
Joined: Sat Jul 15, 2006 10:40 am

Re: no video after antiX 17 kernel upgrade to 4.13

#13 Post by anticapitalista »

384.90 with smxi

375.82 with debian

maybe that's the issue.
anticapitalista
Reg. linux user #395339.

Philosophers have interpreted the world in many ways; the point is to change it.

antiX with runit - lean and mean.
https://antixlinux.com

User avatar
kmathern
Developer
Posts: 2402
Joined: Wed Jul 12, 2006 2:26 pm

Re: no video after antiX 17 kernel upgrade to 4.13

#14 Post by kmathern »

Since Stevo said the 4.13 kernel works with the 375.82 version nvidia driver installed the Debian way, I would of stuck with using the antix control center/ddm-mx/dkms to install the nvidia driver instead of using sgfxi.

Sgfxi might have failed installing the 384.90 nvidia driver on the 4.13 kernel because it might not be patched to support it, where it looks the the Debian 375.82 nvidia driver has been patched to support 4.13 kernels.

User avatar
entropyfoe
Posts: 590
Joined: Thu Apr 19, 2007 11:42 am

Re: no video after antiX 17 kernel upgrade to 4.13

#15 Post by entropyfoe »

384.90 with smxi
375.82 with debian
maybe that's the issue
The issue, but what does it mean, and how to fix it?
If sgfxi gave me 384.90, why does it not detect that previous install and give the same to kernel 4.13?

Or, can I use sgfxi to downgrade to 375.82? Would that be compatible with the 4.13 kernel?


With the noveau driver, the mouse and KB lock up frequently, with an nvidia driver, I get reboots every 2-8 days. So I am looking for stability. I updated the BIOS to latest 0902 and haven't really let it run to see if stability is improved yet.
But many places on the net (reddit and amd boards ) say newer kernels are better for Ryzen stability. I would like to get a 4.13 or maybe 4.12 running on this machine. Even 4.14 will have new drivers and improvements.
Asus PRIME X470-PRO
AMD Ryzen 3600X (12 threads @ 3.8 GHz)
32 Gig DDR4 3600 (Crucial CL 16)
Nvidia GeForce GT 710
Samsung 970 NVMe nvme0n1 P1-3=MX-23, P4=testing
Samsung 980 NVMe =1TB Data, plus 2TB WD =backups
on-board ethernet & sound

User avatar
entropyfoe
Posts: 590
Joined: Thu Apr 19, 2007 11:42 am

Re: no video after antiX 17 kernel upgrade to 4.13

#16 Post by entropyfoe »

kmathern,

But how do I get the 4.13 to show up in the advanced options, even though synaptic shows it is installed with headers, and I ran update-grub?

And last time I got it to show in the boot options I booted to no X, and couldn't start X due to no screens.
I am missing something here, it is different than last time I tried it.

I could still run the nvidia installer from the antix control panel, right?
But then how to get that to a booting 4.13.

I have little effort into this rc1 install yet, so I can easily reinstall or do just about anything to learn and fix.
Asus PRIME X470-PRO
AMD Ryzen 3600X (12 threads @ 3.8 GHz)
32 Gig DDR4 3600 (Crucial CL 16)
Nvidia GeForce GT 710
Samsung 970 NVMe nvme0n1 P1-3=MX-23, P4=testing
Samsung 980 NVMe =1TB Data, plus 2TB WD =backups
on-board ethernet & sound

User avatar
kmathern
Developer
Posts: 2402
Joined: Wed Jul 12, 2006 2:26 pm

Re: no video after antiX 17 kernel upgrade to 4.13

#17 Post by kmathern »

entropyfoe wrote:kmathern,

But how do I get the 4.13 to show up in the advanced options, even though synaptic shows it is installed with headers, and I ran update-grub?

And last time I got it to show in the boot options I booted to no X, and couldn't start X due to no screens.
I am missing something here, it is different than last time I tried it.

I could still run the nvidia installer from the antix control panel, right?
But then how to get that to a booting 4.13.

I have little effort into this rc1 install yet, so I can easily reinstall or do just about anything to learn and fix.
I don't know why the 4.13 kernel doesn't show up in grub's advanced options menu.

As long as the 4.13 kernel is installed correctly, you can install the nvidia driver for 4.13 while running in the 4.10 kernel using the dkms command I posted earlier: viewtopic.php?p=424273#p424273.

User avatar
anticapitalista
Developer
Posts: 4160
Joined: Sat Jul 15, 2006 10:40 am

Re: no video after antiX 17 kernel upgrade to 4.13

#18 Post by anticapitalista »

Open a root terminal and type

Code: Select all

update-grub
anticapitalista
Reg. linux user #395339.

Philosophers have interpreted the world in many ways; the point is to change it.

antiX with runit - lean and mean.
https://antixlinux.com

User avatar
Stevo
Developer
Posts: 12774
Joined: Fri Dec 15, 2006 8:07 pm

Re: no video after antiX 17 kernel upgrade to 4.13

#19 Post by Stevo »

I am also building the 4.13 Liquorix kernels for MX 17 test and in a separate OBS repo, since the official builds switched to requiring gcc-7 for the headers. I know installing those automatically added the 4.13 kernel to GRUB in MX 16.

http://techpatterns.com/forums/about2615.html

Also built gcc-5 versions for some Ubuntus and gcc-4.8 for Trusty. Like I need more packaging work, but the Liquorix devs asked.

User avatar
entropyfoe
Posts: 590
Joined: Thu Apr 19, 2007 11:42 am

Re: no video after antiX 17 kernel upgrade to 4.13

#20 Post by entropyfoe »

Stevo and anti, you guys are the real kernel experts, I am out of my depth.

Of course, I did figure out the grub, I had updated the grub at the antix root, not the one on MX 16.1, the master grub that controls the boot. So I fixed that.

Now both kernels show. So I got bolder, and booted with the 4.13, got the terminal, logged in as root, startx, error, server connection refused, so I tried sgfxi at that point, and was able to boot into a bare desktop, no antix, no wallpaper, no applications...not sure what that was.

So I rebooted back with 4.10, and it also was messed up, so out of desperation I ran sgfxi again, and now 4.10 boots normally, and 4.13 goes to a terminal only, with an error after startx. [server terminated with error (1)..unable to connect to the x server...]

I guess I really don't understand how the kernel and video are configured together.

What happens if I run the control center Nvidia driver installer? What would I get? Back to 375.82? A functioning system?
And how to propagate that to the 4.13 kernel and still have antix working?
Asus PRIME X470-PRO
AMD Ryzen 3600X (12 threads @ 3.8 GHz)
32 Gig DDR4 3600 (Crucial CL 16)
Nvidia GeForce GT 710
Samsung 970 NVMe nvme0n1 P1-3=MX-23, P4=testing
Samsung 980 NVMe =1TB Data, plus 2TB WD =backups
on-board ethernet & sound

Post Reply

Return to “antiX”