New rig
#11
(03-05-2021, 03:52 PM)ZerBea Wrote: Mint is a nice distribution and easy to handle and good for daily use.
While K A L I is a penetration testing distribution and nearly every penetration testing tool is installed by default.
K A L I is neither easy to configure nor easy to use.

AMD recommend the use of Ubuntu, CentOS RHEL or SLES 15 Service Pack 2.
So you should try on of them first.

BTW:
You mentioned NVIDA. Mostly NVIDIA drivers are working out of the box, but not in every case.
On my notebook, I'm running a RYZEN with integrated GPU and a GTX1650. It took me several hours, to let this combination work as expected (running Arch Linx).

I'll say,  you assembled a special rig. In that case you can't expect, that a distribution like K A L I is working out of the box.

I have a long time experience with K a l i so I know how to use it and how temperamental it can be at times. I had a similar issue to this when i attempted to install Pyrit with cuda support and it involved playing around with the kernel and then I ended up having a similar issue where it would lockup when cryptsetup come up. But that was on an Nvidia machine so I am guessing it was an issue with the GPU stuff also.

Having The-Distribution-Which-Does-Not-Handle-OpenCL-Well (Kali) would help me a lot for work purposes but Like I can get away with other distros but one of the main features I like about The-Distribution-Which-Does-Not-Handle-OpenCL-Well (Kali) is how well its full disk encryption works by default during installation. I am at a point with Linux also where I expect nothing to work easy or out of the box due to my experience of it rarely happening and when it does its like christmas morning lol

But yeah I am keen to try and get The-Distribution-Which-Does-Not-Handle-OpenCL-Well (Kali) working well with my 6900xt and posting some good benches from hashcat to show others of the potential so it might help others you know?

Again dude thanks for your help!
Reply
#12
Have you tried to add the following kernel boot parameter:
video=simplefb:off

BTW:
I'm booting from a NVMe, too and noticed that it is too fast and I have to wait for the driver to become ready.
I have to add an udev rule /etc/udev/rules.d/99-systemd-dri-devices.rules
Code:
ACTION=="add", KERNEL=="card*", SUBSYSTEM=="drm", TAG+="systemd"

and to tell systemd to wait for the card to become ready:
/etc/systemd/system/display-manager.service.d/10-wait-for-dri-devices.conf
Code:
[Unit]
Wants=dev-dri-card0.device
After=dev-dri-card0.device
Reply
#13
(03-05-2021, 04:27 PM)ZerBea Wrote: Have you tried to add the following kernel boot parameter:
video=simplefb:off

BTW:
I'm booting from an NVMe, too and noticed that it is too fast and I have to wait for the driver to become ready.
I have to add an udev rule  /etc/udev/rules.d/99-systemd-dri-devices.rules
Code:
ACTION=="add", KERNEL=="card*", SUBSYSTEM=="drm", TAG+="systemd"

and to tell systemd to wait for the card to become ready:
/etc/systemd/system/display-manager.service.d/10-wait-for-dri-devices.conf
Code:
[Unit]
Wants=dev-dri-card0.device
After=dev-dri-card0.device

Tried video=simplefb:off and it still locked up but I had to search for where to put it in the Kernel stuff and I found this:

https://apple.stackexchange.com/question...om-efi-vga

On the line 'Linux' after 'ro' I added nomodeset. I did this on the recovery mode kernel just to see if any new information come up when it had the hang up and it booted up the cryptsetup so i put in my password and it fully booted all the way into the login screen and allowed me into the GUI! So I got a desktop now! Keen to work now to get this beast up and running and make my changed permanent so i dont have to do that every time I boot. The other stuff you described I am a bit new to and just delving into. I am learning it but any help with explanations really help me learn quick so I can get moving on this. Also thanks heaps you helped me get rid of alot of frustration I have had all day! Willing to get this bad boy up and running and put in the work just need to know how to go about getting it ready!

Thanks again!
Reply
#14
(03-05-2021, 04:27 PM)ZerBea Wrote: Have you tried to add the following kernel boot parameter:
video=simplefb:off

BTW:
I'm booting from a NVMe, too and noticed that it is too fast and I have to wait for the driver to become ready.
I have to add an udev rule  /etc/udev/rules.d/99-systemd-dri-devices.rules
Code:
ACTION=="add", KERNEL=="card*", SUBSYSTEM=="drm", TAG+="systemd"

and to tell systemd to wait for the card to become ready:
/etc/systemd/system/display-manager.service.d/10-wait-for-dri-devices.conf
Code:
[Unit]
Wants=dev-dri-card0.device
After=dev-dri-card0.device

Having problems now with getting the card to be recognized in The-Distribution-Which-Does-Not-Handle-OpenCL-Well (Kali) at all. Tried to update and upgrade all the amd firmware and stuff i could find in the apt-cache search i installed. Still no luck. Any ideas on what I should start doin? Was thinking of just switching to Mint cause it is ubuntu based and can get the drivers from AMD and install them because UBuntu is supported.
Reply
#15
First step is to take a look at
/var/log/Xorg.0.log
to figure out what possible went wrong.

It is not enough, to trust in K A L I to choose the best or a working configuration for your system by automatic.
Please notice, that you are running a "special" rig and it may be possible that you need manual intervention.
For me, on all of my systems, it is mandatory to configure x11 by hand.

BTW:
What exactly do you mean by "card is not recognized at all"?
Not recognized by x11.
Not recognized by hashcat.
Reply
#16
(03-09-2021, 10:42 AM)ZerBea Wrote: First step is to take a look at
/var/log/Xorg.0.log
to figure out what possible went wrong.

It is not enough, to trust in K A L I  to choose the best or a working configuration for your system by automatic.
Please notice, that you are running a "special" rig and it may be possible that you need manual intervention.
For me, on all of my systems, it is mandatory to configure x11 by hand.

BTW:
What exactly do you mean by "card is not recognized at all"?
Not recognized by x11.
Not recognized by hashcat.
Hey dude sorry for late reply. This is the output I got and tbh this part is a little bit above what I am used to but I am willing to learn and put in the effort to fix this issue even if I have to do it manually.

cat /var/log/Xorg.0.log
[    18.186]
X.Org X Server 1.20.10
X Protocol Version 11, Revision 0
[    18.186] Build Operating System: linux Debian
[    18.186] Current Operating System: Linux Kracken 5.9.0-kali1-amd64 #1 SMP Debian 5.9.1-1kali2 (2020-10-29) x86_64
[    18.186] Kernel command line: BOOT_IMAGE=/vmlinuz-5.9.0-kali1-amd64 root=/dev/mapper/The-Distribution-Which-Does-Not-Handle-OpenCL-Well (Kali)--vg-root ro nomodeset quiet splash
[    18.186] Build Date: 17 February 2021  09:17:43AM
[    18.186] xorg-server 2:1.20.10-3 (https://www.debian.org/support)
[    18.186] Current version of pixman: 0.40.0
[    18.186]    Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
[    18.186] Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[    18.186] (==) Log file: "/var/log/Xorg.0.log", Time: Fri Mar 12 10:53:13 2021
[    18.188] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[    18.188] (==) No Layout section.  Using the first Screen section.
[    18.188] (==) No screen section available. Using defaults.
[    18.188] (**) |-->Screen "Default Screen Section" (0)
[    18.188] (**) |  |-->Monitor "<default monitor>"
[    18.189] (==) No monitor specified for screen "Default Screen Section".
        Using a default monitor configuration.
[    18.189] (==) Automatically adding devices
[    18.189] (==) Automatically enabling devices
[    18.189] (==) Automatically adding GPU devices
[    18.189] (==) Max clients allowed: 256, resource mask: 0x1fffff
[    18.190] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[    18.190]    Entry deleted from font path.
[    18.190] (==) FontPath set to:
        /usr/share/fonts/X11/misc,
        /usr/share/fonts/X11/100dpi/:unscaled,
        /usr/share/fonts/X11/75dpi/:unscaled,
        /usr/share/fonts/X11/Type1,
        /usr/share/fonts/X11/100dpi,
        /usr/share/fonts/X11/75dpi,
        built-ins
[    18.190] (==) ModulePath set to "/usr/lib/xorg/modules"
[    18.190] (II) The server relies on udev to provide the list of input devices.
        If no devices become available, reconfigure udev or disable AutoAddDevices.
[    18.190] (II) Loader magic: 0x55aba43dce40
[    18.190] (II) Module ABI versions:
[    18.190]    X.Org ANSI C Emulation: 0.4
[    18.190]    X.Org Video Driver: 24.1
[    18.190]    X.Org XInput driver : 24.1
[    18.190]    X.Org Server Extension : 10.0
[    18.191] (++) using VT number 7

[    18.191] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration
[    18.194] (--) PCI:*edited out can post if u need
[    18.194] (II) LoadModule: "glx"
[    18.195] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[    18.202] (II) Module glx: vendor="X.Org Foundation"
[    18.202]    compiled for 1.20.10, module version = 1.0.0
[    18.202]    ABI class: X.Org Server Extension, version 10.0
[    18.202] (==) Matched ati as autoconfigured driver 0
[    18.202] (==) Matched modesetting as autoconfigured driver 1
[    18.202] (==) Matched fbdev as autoconfigured driver 2
[    18.202] (==) Matched vesa as autoconfigured driver 3
[    18.202] (==) Assigned the driver to the xf86ConfigLayout
[    18.202] (II) LoadModule: "ati"
[    18.202] (II) Loading /usr/lib/xorg/modules/drivers/ati_drv.so
[    18.202] (II) Module ati: vendor="X.Org Foundation"
[    18.202]    compiled for 1.20.9, module version = 19.1.0
[    18.202]    Module class: X.Org Video Driver
[    18.202]    ABI class: X.Org Video Driver, version 24.1
[    18.264] (II) LoadModule: "radeon"
[    18.264] (II) Loading /usr/lib/xorg/modules/drivers/radeon_drv.so
[    18.316] (II) Module radeon: vendor="X.Org Foundation"
[    18.316]    compiled for 1.20.9, module version = 19.1.0
[    18.316]    Module class: X.Org Video Driver
[    18.316]    ABI class: X.Org Video Driver, version 24.1
[    18.316] (II) LoadModule: "modesetting"
[    18.316] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[    18.317] (II) Module modesetting: vendor="X.Org Foundation"
[    18.317]    compiled for 1.20.10, module version = 1.20.10
[    18.317]    Module class: X.Org Video Driver
[    18.317]    ABI class: X.Org Video Driver, version 24.1
[    18.317] (II) LoadModule: "fbdev"
[    18.317] (II) Loading /usr/lib/xorg/modules/drivers/fbdev_drv.so
[    18.317] (II) Module fbdev: vendor="X.Org Foundation"
[    18.317]    compiled for 1.20.0, module version = 0.5.0
[    18.317]    Module class: X.Org Video Driver
[    18.317]    ABI class: X.Org Video Driver, version 24.0
[    18.317] (II) LoadModule: "vesa"
[    18.317] (II) Loading /usr/lib/xorg/modules/drivers/vesa_drv.so
[    18.318] (II) Module vesa: vendor="X.Org Foundation"
[    18.318]    compiled for 1.20.9, module version = 2.5.0
[    18.318]    Module class: X.Org Video Driver
[    18.318]    ABI class: X.Org Video Driver, version 24.1
[    18.318] (II) RADEON: Driver for ATI/AMD Radeon chipsets:
        ATI Radeon Mobility X600 (M24), ATI FireMV 2400,
        ATI Radeon Mobility X300 (M24), ATI FireGL M24 GL,
        ATI Radeon X600 (RV380), ATI FireGL V3200 (RV380),
        ATI Radeon IGP320 (A3), ATI Radeon IGP330/340/350 (A4),
        ATI Radeon 9500, ATI Radeon 9600TX, ATI FireGL Z1, ATI Radeon 9800SE,
        ATI Radeon 9800, ATI FireGL X2, ATI Radeon 9600, ATI Radeon 9600SE,
        ATI Radeon 9600XT, ATI FireGL T2, ATI Radeon 9650, ATI FireGL RV360,
        ATI Radeon 7000 IGP (A4+), ATI Radeon 8500 AIW,
        ATI Radeon IGP320M (U1), ATI Radeon IGP330M/340M/350M (U2),
        ATI Radeon Mobility 7000 IGP, ATI Radeon 9000/PRO, ATI Radeon 9000,
        ATI Radeon X800 (R420), ATI Radeon X800PRO (R420),
        ATI Radeon X800SE (R420), ATI FireGL X3 (R420),
        ATI Radeon Mobility 9800 (M18), ATI Radeon X800 SE (R420),
        ATI Radeon X800XT (R420), ATI Radeon X800 VE (R420),
        ATI Radeon X850 (R480), ATI Radeon X850 XT (R480),
        ATI Radeon X850 SE (R480), ATI Radeon X850 PRO (R480),
        ATI Radeon X850 XT PE (R480), ATI Radeon Mobility M7,
        ATI Mobility FireGL 7800 M7, ATI Radeon Mobility M6,
        ATI FireGL Mobility 9000 (M9), ATI Radeon Mobility 9000 (M9),
        ATI Radeon 9700 Pro, ATI Radeon 9700/9500Pro, ATI FireGL X1,
        ATI Radeon 9800PRO, ATI Radeon 9800XT,
        ATI Radeon Mobility 9600/9700 (M10/M11),
        ATI Radeon Mobility 9600 (M10), ATI Radeon Mobility 9600 (M11),
        ATI FireGL Mobility T2 (M10), ATI FireGL Mobility T2e (M11),
        ATI Radeon, ATI FireGL 8700/8800, ATI Radeon 8500, ATI Radeon 9100,
        ATI Radeon 7500, ATI Radeon VE/7000, ATI ES1000,
        ATI Radeon Mobility X300 (M22), ATI Radeon Mobility X600 SE (M24C),
        ATI FireGL M22 GL, ATI Radeon X800 (R423), ATI Radeon X800PRO (R423),
        ATI Radeon X800LE (R423), ATI Radeon X800SE (R423),
        ATI Radeon X800 XTP (R430), ATI Radeon X800 XL (R430),
        ATI Radeon X800 SE (R430), ATI Radeon X800 (R430),
        ATI FireGL V7100 (R423), ATI FireGL V5100 (R423),
        ATI FireGL unknown (R423), ATI Mobility FireGL V5000 (M26),
        ATI Mobility Radeon X700 XL (M26), ATI Mobility Radeon X700 (M26),
        ATI Radeon X550XTX, ATI Radeon 9100 IGP (A5),
        ATI Radeon Mobility 9100 IGP (U3), ATI Radeon XPRESS 200,
        ATI Radeon XPRESS 200M, ATI Radeon 9250, ATI Radeon 9200,
        ATI Radeon 9200SE, ATI FireMV 2200, ATI Radeon X300 (RV370),
        ATI Radeon X600 (RV370), ATI Radeon X550 (RV370),
        ATI FireGL V3100 (RV370), ATI FireMV 2200 PCIE (RV370),
        ATI Radeon Mobility 9200 (M9+), ATI Mobility Radeon X800 XT (M28),
        ATI Mobility FireGL V5100 (M28), ATI Mobility Radeon X800 (M28),
        ATI Radeon X850, ATI unknown Radeon / FireGL (R480),
        ATI Radeon X800XT (R423), ATI FireGL V5000 (RV410),
        ATI Radeon X700 XT (RV410), ATI Radeon X700 PRO (RV410),
        ATI Radeon X700 SE (RV410), ATI Radeon X700 (RV410),
        ATI Radeon X1800, ATI Mobility Radeon X1800 XT,
        ATI Mobility Radeon X1800, ATI Mobility FireGL V7200,
        ATI FireGL V7200, ATI FireGL V5300, ATI Mobility FireGL V7100,
        ATI FireGL V7300, ATI FireGL V7350, ATI Radeon X1600, ATI RV505,
        ATI Radeon X1300/X1550, ATI Radeon X1550, ATI M54-GL,
        ATI Mobility Radeon X1400, ATI Radeon X1550 64-bit,
        ATI Mobility Radeon X1300, ATI Radeon X1300, ATI FireGL V3300,
        ATI FireGL V3350, ATI Mobility Radeon X1450,
        ATI Mobility Radeon X2300, ATI Mobility Radeon X1350,
        ATI FireMV 2250, ATI Radeon X1650, ATI Mobility FireGL V5200,
        ATI Mobility Radeon X1600, ATI Radeon X1300 XT/X1600 Pro,
        ATI FireGL V3400, ATI Mobility FireGL V5250,
        ATI Mobility Radeon X1700, ATI Mobility Radeon X1700 XT,
        ATI FireGL V5200, ATI Radeon X2300HD, ATI Mobility Radeon HD 2300,
        ATI Radeon X1950, ATI Radeon X1900, ATI AMD Stream Processor,
        ATI RV560, ATI Mobility Radeon X1900, ATI Radeon X1950 GT, ATI RV570,
        ATI FireGL V7400, ATI Radeon 9100 PRO IGP,
        ATI Radeon Mobility 9200 IGP, ATI Radeon X1200, ATI RS740,
        ATI RS740M, ATI Radeon HD 2900 XT, ATI Radeon HD 2900 Pro,
        ATI Radeon HD 2900 GT, ATI FireGL V8650, ATI FireGL V8600,
        ATI FireGL V7600, ATI Radeon 4800 Series, ATI Radeon HD 4870 x2,
        ATI Radeon HD 4850 x2, ATI FirePro V8750 (FireGL),
        ATI FirePro V7760 (FireGL), ATI Mobility RADEON HD 4850,
        ATI Mobility RADEON HD 4850 X2, ATI FirePro RV770,
        AMD FireStream 9270, AMD FireStream 9250, ATI FirePro V8700 (FireGL),
        ATI Mobility RADEON HD 4870, ATI Mobility RADEON M98,
        ATI FirePro M7750, ATI M98, ATI Mobility Radeon HD 4650,
        ATI Radeon RV730 (AGP), ATI Mobility Radeon HD 4670,
        ATI FirePro M5750, ATI RV730XT [Radeon HD 4670], ATI RADEON E4600,
        ATI Radeon HD 4600 Series, ATI RV730 PRO [Radeon HD 4650],
        ATI FirePro V7750 (FireGL), ATI FirePro V5700 (FireGL),
        ATI FirePro V3750 (FireGL), ATI Mobility Radeon HD 4830,
        ATI Mobility Radeon HD 4850, ATI FirePro M7740, ATI RV740,
        ATI Radeon HD 4770, ATI Radeon HD 4700 Series, ATI RV610,
        ATI Radeon HD 2400 XT, ATI Radeon HD 2400 Pro,
        ATI Radeon HD 2400 PRO AGP, ATI FireGL V4000, ATI Radeon HD 2350,
        ATI Mobility Radeon HD 2400 XT, ATI Mobility Radeon HD 2400,
        ATI RADEON E2400, ATI FireMV 2260, ATI RV670, ATI Radeon HD3870,
        ATI Mobility Radeon HD 3850, ATI Radeon HD3850,
        ATI Mobility Radeon HD 3850 X2, ATI Mobility Radeon HD 3870,
        ATI Mobility Radeon HD 3870 X2, ATI Radeon HD3870 X2,
        ATI FireGL V7700, ATI Radeon HD3690, AMD Firestream 9170,
        ATI Radeon HD 4550, ATI Radeon RV710, ATI Radeon HD 4350,
        ATI Mobility Radeon 4300 Series, ATI Mobility Radeon 4500 Series,
        ATI FirePro RG220, ATI Mobility Radeon 4330, ATI RV630,
        ATI Mobility Radeon HD 2600, ATI Mobility Radeon HD 2600 XT,
        ATI Radeon HD 2600 XT AGP, ATI Radeon HD 2600 Pro AGP,
        ATI Radeon HD 2600 XT, ATI Radeon HD 2600 Pro, ATI Gemini RV630,
        ATI Gemini Mobility Radeon HD 2600 XT, ATI FireGL V5600,
        ATI FireGL V3600, ATI Radeon HD 2600 LE,
        ATI Mobility FireGL Graphics Processor, ATI Radeon HD 3470,
        ATI Mobility Radeon HD 3430, ATI Mobility Radeon HD 3400 Series,
        ATI Radeon HD 3450, ATI Radeon HD 3430, ATI FirePro V3700,
        ATI FireMV 2450, ATI Radeon HD 3600 Series, ATI Radeon HD 3650 AGP,
        ATI Radeon HD 3600 PRO, ATI Radeon HD 3600 XT,
        ATI Mobility Radeon HD 3650, ATI Mobility Radeon HD 3670,
        ATI Mobility FireGL V5700, ATI Mobility FireGL V5725,
        ATI Radeon HD 3200 Graphics, ATI Radeon 3100 Graphics,
        ATI Radeon HD 3300 Graphics, ATI Radeon 3000 Graphics, SUMO, SUMO2,
        ATI Radeon HD 4200, ATI Radeon 4100, ATI Mobility Radeon HD 4200,
        ATI Mobility Radeon 4100, ATI Radeon HD 4290, ATI Radeon HD 4250,
        AMD Radeon HD 6310 Graphics, AMD Radeon HD 6250 Graphics,
        AMD Radeon HD 6300 Series Graphics,
        AMD Radeon HD 6200 Series Graphics, PALM, CYPRESS,
        ATI FirePro (FireGL) Graphics Adapter, AMD Firestream 9370,
        AMD Firestream 9350, ATI Radeon HD 5800 Series,
        ATI Radeon HD 5900 Series, ATI Mobility Radeon HD 5800 Series,
        ATI Radeon HD 5700 Series, ATI Radeon HD 6700 Series,
        ATI Mobility Radeon HD 5000 Series, ATI Mobility Radeon HD 5570,
        ATI Radeon HD 5670, ATI Radeon HD 5570, ATI Radeon HD 5500 Series,
        REDWOOD, ATI Mobility Radeon Graphics, CEDAR, ATI FirePro 2270,
        ATI Radeon HD 5450, CAYMAN, AMD Radeon HD 6900 Series,
        AMD Radeon HD 6900M Series, Mobility Radeon HD 6000 Series, BARTS,
        AMD Radeon HD 6800 Series, AMD Radeon HD 6700 Series, TURKS, CAICOS,
        ARUBA, TAHITI, PITCAIRN, VERDE, OLAND, HAINAN, BONAIRE, KABINI,
        MULLINS, KAVERI, HAWAII
[    18.319] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[    18.319] (II) FBDEV: driver for framebuffer: fbdev
[    18.319] (II) VESA: driver for VESA chipsets: vesa
[    18.321] (EE) open /dev/dri/card0: No such file or directory
[    18.321] (WW) Falling back to old probe method for modesetting
[    18.321] (EE) open /dev/dri/card0: No such file or directory
[    18.321] (II) Loading sub module "fbdevhw"
[    18.321] (II) LoadModule: "fbdevhw"
[    18.321] (II) Loading /usr/lib/xorg/modules/libfbdevhw.so
[    18.322] (II) Module fbdevhw: vendor="X.Org Foundation"
[    18.322]    compiled for 1.20.10, module version = 0.0.2
[    18.322]    ABI class: X.Org Video Driver, version 24.1
[    18.322] (EE) Unable to find a valid framebuffer device
[    18.322] (WW) Falling back to old probe method for fbdev
[    18.322] (II) Loading sub module "fbdevhw"
[    18.322] (II) LoadModule: "fbdevhw"
[    18.322] (II) Loading /usr/lib/xorg/modules/libfbdevhw.so
[    18.322] (II) Module fbdevhw: vendor="X.Org Foundation"
[    18.322]    compiled for 1.20.10, module version = 0.0.2
[    18.322]    ABI class: X.Org Video Driver, version 24.1
[    18.322] (II) FBDEV(2): using default device
[    18.322] vesa: Refusing to run on UEFI
[    18.322] (EE) Screen 0 deleted because of no matching config section.
[    18.322] (II) UnloadModule: "modesetting"
[    18.322] (EE) Screen 0 deleted because of no matching config section.
[    18.322] (II) UnloadModule: "fbdev"
[    18.322] (II) UnloadSubModule: "fbdevhw"
[    18.322] (II) FBDEV(0): Creating default Display subsection in Screen section
        "Default Screen Section" for depth/fbbpp 24/32
[    18.322] (==) FBDEV(0): Depth 24, (==) framebuffer bpp 32
[    18.322] (==) FBDEV(0): RGB weight 888
[    18.322] (==) FBDEV(0): Default visual is TrueColor
[    18.322] (==) FBDEV(0): Using gamma correction (1.0, 1.0, 1.0)
[    18.322] (II) FBDEV(0): hardware: EFI VGA (video memory: 3072kB)
[    18.322] (DB) xf86MergeOutputClassOptions unsupported bus type 0
[    18.322] (II) FBDEV(0): checking modes against framebuffer device...
[    18.322] (II) FBDEV(0): checking modes against monitor...
[    18.322] (II) FBDEV(0): Virtual size is 1024x768 (pitch 1024)
[    18.322] (**) FBDEV(0):  Built-in mode "current": 78.7 MHz, 59.9 kHz, 75.7 Hz
[    18.322] (II) FBDEV(0): Modeline "current"x0.0  78.65  1024 1056 1184 1312  768 772 776 792 -hsync -vsync -csync (59.9 kHz b)
[    18.322] (==) FBDEV(0): DPI set to (96, 96)
[    18.322] (II) Loading sub module "fb"
[    18.322] (II) LoadModule: "fb"
[    18.322] (II) Loading /usr/lib/xorg/modules/libfb.so
[    18.323] (II) Module fb: vendor="X.Org Foundation"
[    18.323]    compiled for 1.20.10, module version = 1.0.0
[    18.323]    ABI class: X.Org ANSI C Emulation, version 0.4
[    18.323] (**) FBDEV(0): using shadow framebuffer
[    18.323] (II) Loading sub module "shadow"
[    18.323] (II) LoadModule: "shadow"
[    18.323] (II) Loading /usr/lib/xorg/modules/libshadow.so
[    18.324] (II) Module shadow: vendor="X.Org Foundation"
[    18.324]    compiled for 1.20.10, module version = 1.1.0
[    18.324]    ABI class: X.Org ANSI C Emulation, version 0.4
[    18.324] (II) UnloadModule: "radeon"
[    18.324] (II) Unloading radeon
[    18.324] (II) FBDEV(0): FBIOBLANK: Invalid argument (Screen blanking not supported by kernel - disabling)
[    18.326] (==) FBDEV(0): Backing store enabled
[    18.326] (==) FBDEV(0): DPMS enabled
[    18.328] (II) Initializing extension Generic Event Extension
[    18.328] (II) Initializing extension SHAPE
[    18.328] (II) Initializing extension MIT-SHM
[    18.328] (II) Initializing extension XInputExtension
[    18.329] (II) Initializing extension XTEST
[    18.329] (II) Initializing extension BIG-REQUESTS
[    18.329] (II) Initializing extension SYNC
[    18.329] (II) Initializing extension XKEYBOARD
[    18.329] (II) Initializing extension XC-MISC
[    18.329] (II) Initializing extension SECURITY
[    18.329] (II) Initializing extension XFIXES
[    18.329] (II) Initializing extension RENDER
[    18.329] (II) Initializing extension RANDR
[    18.329] (II) Initializing extension COMPOSITE
[    18.330] (II) Initializing extension DAMAGE
[    18.330] (II) Initializing extension MIT-SCREEN-SAVER
[    18.330] (II) Initializing extension DOUBLE-BUFFER
[    18.330] (II) Initializing extension RECORD
[    18.330] (II) Initializing extension DPMS
[    18.330] (II) Initializing extension Present
[    18.330] (II) Initializing extension DRI3
[    18.330] (II) Initializing extension X-Resource
[    18.330] (II) Initializing extension XVideo
[    18.330] (II) Initializing extension XVideo-MotionCompensation
[    18.331] (II) Initializing extension SELinux
[    18.331] (II) SELinux: Disabled on system
[    18.331] (II) Initializing extension GLX
[    18.331] (II) AIGLX: Screen 0 is not DRI2 capable
[    18.522] (II) IGLX: Loaded and initialized swrast
[    18.522] (II) GLX: Initialized DRISWRAST GL provider for screen 0
[    18.522] (II) Initializing extension XFree86-VidModeExtension
[    18.522] (II) Initializing extension XFree86-DGA
[    18.522] (II) Initializing extension XFree86-DRI
[    18.522] (II) Initializing extension DRI2
[    18.566] (II) config/udev: Adding input device Power Button (/dev/input/event1)
[    18.566] (**) Power Button: Applying InputClass "libinput keyboard catchall"
[    18.566] (II) LoadModule: "libinput"
[    18.566] (II) Loading /usr/lib/xorg/modules/input/libinput_drv.so
[    18.569] (II) Module libinput: vendor="X.Org Foundation"
[    18.569]    compiled for 1.20.8, module version = 0.30.0
[    18.569]    Module class: X.Org XInput Driver
[    18.569]    ABI class: X.Org XInput driver, version 24.1
[    18.569] (II) Using input driver 'libinput' for 'Power Button'
[    18.569] (**) Power Button: always reports core events


Then it just goes on to report my keyboard and mouse many times for rest of log.

Not sure what to do but cant change screen resolution at all in display and everything lags and flickers when i scroll.

Willing to fix just unsure how. I also am unsure how to make the nomodset thing standard for boot never had to do something like that before.

Thanks again for helping me with this man cause I would literally have no idea if it wasn't for u!
Reply
#17
Looks like K A L I not doing "a good configruation":
Code:
[    18.322] (EE) Screen 0 deleted because of no matching config section.
...
[    18.322] (EE) Screen 0 deleted because of no matching config section.

You should check your xorg config.
On Arch, my config file is located here:
Code:
/etc/X11/xorg.conf.d/

Inside 2 configuration files (one for the keyboard and one for the GPUs).
Code:
$ ls -All
-rw-r--r-- 1 root root 345 30. Jul 2017  00-keyboard.conf
-rw-r--r-- 1 root root 371 29. Nov 2016  20-nvidia.conf

Please notice that you are running a pre-configured (by K A L I developers) K A L I system.
I don't use K A L I (or UBUNTU) because I don't like a pre-configured system, running tons of services that I don't need and doing tons of configurations that are (in the best case) "somewhat less than perfect".
I'm running a self-configured Arch Linux system. Every configuration was done by me and every mandatory service was enabled by me.
I'll say that you can't take my advices 1 : 1, because that will not work for you. You have to adapt them, e.g.:
kernel boot options
xorg configuration
rocm (mandatory for latest AMD GPU cards - not working on RYZEN integrated GPUs)
Reply
#18
(03-12-2021, 09:04 AM)ZerBea Wrote: Looks like  K A L I not doing "a good configruation":
Code:
[    18.322] (EE) Screen 0 deleted because of no matching config section.
...
[    18.322] (EE) Screen 0 deleted because of no matching config section.

You should check your xorg config.
On Arch, my config file is located here:
Code:
/etc/X11/xorg.conf.d/

Inside 2 configuration files (one for the keyboard and one for the GPUs).
Code:
$ ls -All
-rw-r--r-- 1 root root 345 30. Jul 2017  00-keyboard.conf
-rw-r--r-- 1 root root 371 29. Nov 2016  20-nvidia.conf

Please notice that you are running a pre-configured (by K A L I developers) K A L I system.
I don't use K A L I (or UBUNTU) because I don't like a pre-configured system, running tons of services that I don't need and doing tons of configurations that are (in the best case) "somewhat less than perfect".
I'm running a self-configured Arch Linux system.  Every configuration was done by me and every mandatory service was enabled by me.
I'll say that you can't take my advices 1 : 1, because that will not work for you. You have to adapt them, e.g.:
kernel boot options
xorg configuration
rocm (mandatory for latest AMD GPU cards - not working on RYZEN integrated GPUs)

Learnt something new from this thanks heaps.

I found the folder you requested and did ls -all and the following was returned:

total 8
drwxr-xr-x  2 root root 4096 Oct  9 19:21 .
drwxr-xr-x 11 root root 4096 Mar  8 00:46 ..


During the nomodeset boot it comes up with a bunch of stuff to do with amd and vga errors i will try to get a shot of it if its relevant.

Where should I go from here? How do I change the boot so nomodeset is default so i dont have to rewrite it each time? Really not sure how to go about it tbh will research what is necessary.

Thanks again this is helping me solve this issue so i can use K A L I. would be great to use it.
Reply
#19
As I mentioned before, K A L I is doing it's own configuration and "/etc/X11/xorg.conf.d/" is empty on your system.
I assume K A L I let Xorg autoconfigure and/or the config file is this: "/etc/X11/xorg.conf"
Also you should figure out, what driver is installed/used by K A L I.

Setting kernel parameters is explained here:
https://wiki.archlinux.org/index.php/Kernel_parameters
It highly depend on your system. I assume, K A L I is running GRUB.
BTW:
Most tips and tricks from the Arch wiki will work on every Linux system. It is one of the best wiki's I have ever seen.

"During the nomodeset boot it comes up with a bunch of stuff to do with amd and vga errors..."
For sure it will do, because K A L I is not configured for your hardware! The pre-configuration is standard and not useful for you.
Please notice: K A L I is designed to run within a virtual box or on an USB device on most of the hardware.

I also recommend to take a look at the services
Code:
$ sudo systemctl list-units --type=service
Later on, you should disable every service that you don't need.
That will speed up your system.
Reply
#20
(03-14-2021, 09:50 AM)ZerBea Wrote: As I mentioned before, K A L I is doing it's own configuration and "/etc/X11/xorg.conf.d/" is empty on your system.
I assume K A L I let Xorg autoconfigure and/or the config file is this: "/etc/X11/xorg.conf"
Also you should figure out, what driver is installed/used by K A L I.

Setting kernel parameters is explained here:
https://wiki.archlinux.org/index.php/Kernel_parameters
It highly depend on your system. I assume, K A L I is running GRUB.
BTW:
Most tips and tricks from the Arch wiki will work on every Linux system. It is one of the best wiki's I have ever seen.

"During the nomodeset boot it comes up with a bunch of stuff to do with amd and vga errors..."
For sure it will do, because K A L I is not configured for your hardware! The pre-configuration is standard and not useful for you.
Please notice: K A L I is designed to run within a virtual box or on an USB device on most of the hardware.

I also recommend to take a look at the services
Code:
$ sudo systemctl list-units --type=service
Later on, you should disable every service that you don't need.
That will speed up your system.
Ok so I figured out using nano for the grub file like you said and it just said ''quiet'' and not ''quiet splash'' so I just added in ''nomodeset'' after quiet pressed ctrl+o to save then ctrl +x to exit then sudo updtate-grub and then rebooted and it worked and now The-Distribution-Which-Does-Not-Handle-OpenCL-Well (Kali) boots without me having to manually put in nomodeset each time so that is that problem solved for now.

I checked in the repository and the AMD drivers for K A L I are installed. But for some reason i can not find how to use them or check if they are used. When I typed in those commands from before it APPEARS that the system is running off the default AMD display adaptor built into the mobo. The 6900xt showed as there but had no drivers listed. Really not sure where to go at this stage or what to do. AMD does not appear to have Debian supported drivers from what I can see?

Oh and the errors in start up say :

[drm:amdgpu_init [amdgpu]] *ERROR* VGACOM disables amdgpu kernal modesetting.

[sda] No Caching mode page found

[sda] Assuming drive cache: write though

Maybe I set up the disk wrong on the firecuda? Running full disk encryption from The-Distribution-Which-Does-Not-Handle-OpenCL-Well (Kali).

Again any help you provide is appreciated man I feel we are making progress and getting to the bottom of the problem and getting the puppy up and running to get some good benches and good real world cracks going.
Reply