Some Radeon & Nvidia drivers cannot display .lua code

Add functionality to your desktop
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Post Reply
User avatar
Logansfury
Level 6
Level 6
Posts: 1237
Joined: Fri Oct 27, 2023 4:08 pm
Location: Las Vegas NV, USA

Some Radeon & Nvidia drivers cannot display .lua code

Post by Logansfury »

Some weeks ago I saw a beautiful conky weather widget created by Bleys and followed the links to the files for it so I could run it on my own Linux box.

The box featured a Radeon 2xhdmi port graphic card to power my dual monitors. I found all I could display by enabling the conky files was the background semi-transparent rectangle. This remained the case until I upgraded my Radeon 6570 to a Radeon 7750 video card with amdgpu rather than radeon drivers. Then I got full display of text and graphic art.

I have just transferred over all the working files from my Dell Linux box with amdgpu drivers to my HP Linux Box with Nvidia drivers. The HP box is displaying the same blank background boarder as the Dell did before video card upgrade. I have no text and no .png display of either my weather conditions, my compass face or the arrow that revolves in the compass art.

Has anyone else experienced such failures with similar drivers?
Image <-- Cick for sudo inxi --usb -Fxxxnmprz output, updated hourly!
User avatar
SMG
Level 25
Level 25
Posts: 32007
Joined: Sun Jul 26, 2020 6:15 pm
Location: USA

Re: Some Radeon & Nvidia drivers cannot display .lua code

Post by SMG »

Logansfury wrote: Wed Feb 14, 2024 12:34 amHas anyone else experienced such failures with similar drivers?
What drivers? You have not provided any information about what drivers you are using.

Please open the System Reports app and click the System Information tab on the left. Your computer's information should come up in the right pane. Then click the Copy button in the lower right and paste the results into a reply window here so we can see how Linux Mint views your HP Linux Box with Nvidia drivers.
Image
A woman typing on a laptop with LM20.3 Cinnamon.
User avatar
Logansfury
Level 6
Level 6
Posts: 1237
Joined: Fri Oct 27, 2023 4:08 pm
Location: Las Vegas NV, USA

Re: Some Radeon & Nvidia drivers cannot display .lua code

Post by Logansfury »

System report:

Code: Select all

System:
  Kernel: 6.5.0-17-generic x86_64 bits: 64 compiler: N/A Desktop: Cinnamon 6.0.4 tk: GTK 3.24.33
    wm: muffin vt: 7 dm: LightDM 1.30.0 Distro: Linux Mint 21.3 Virginia base: Ubuntu 22.04 jammy
Machine:
  Type: Desktop System: Hewlett-Packard product: HP Z220 SFF Workstation v: N/A
    serial: <superuser required> Chassis: type: 4 serial: <superuser required>
  Mobo: Hewlett-Packard model: 1791 serial: <superuser required> UEFI: Hewlett-Packard
    v: K51 v01.83 date: 10/21/2016
CPU:
  Info: quad core model: Intel Core i5-3470 bits: 64 type: MCP smt: <unsupported> arch: Ivy Bridge
    rev: 9 cache: L1: 256 KiB L2: 1024 KiB L3: 6 MiB
  Speed (MHz): avg: 3449 high: 3488 min/max: 1600/3600 cores: 1: 3392 2: 3488 3: 3488 4: 3431
    bogomips: 25541
  Flags: avx ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Graphics:
  Device-1: NVIDIA GK208B [GeForce GT 730] vendor: PNY driver: nvidia v: 470.223.02 pcie:
    speed: 5 GT/s lanes: 4 bus-ID: 01:00.0 chip-ID: 10de:1287 class-ID: 0300
  Display: x11 server: X.Org v: 1.21.1.4 driver: X: loaded: nvidia
    unloaded: fbdev,modesetting,nouveau,vesa gpu: nvidia display-ID: :0 screens: 1
  Screen-1: 0 s-res: 8704x2160 s-dpi: 96 s-size: 2303x572mm (90.7x22.5") s-diag: 2373mm (93.4")
  Monitor-1: DVI-D-0 pos: primary,center res: 3840x2160 dpi: 61 size: 1600x900mm (63.0x35.4")
    diag: 1836mm (72.3")
  Monitor-2: HDMI-0 pos: primary,left res: 3840x2160 dpi: 61 size: 1600x900mm (63.0x35.4")
    diag: 1836mm (72.3")
  Monitor-3: VGA-0 pos: right res: 1024x768 dpi: 37 size: 700x290mm (27.6x11.4")
    diag: 758mm (29.8")
  OpenGL: renderer: NVIDIA GeForce GT 730/PCIe/SSE2 v: 4.6.0 NVIDIA 470.223.02
    direct render: Yes
Audio:
  Device-1: Intel 7 Series/C216 Family High Definition Audio vendor: Hewlett-Packard
    driver: snd_hda_intel v: kernel bus-ID: 00:1b.0 chip-ID: 8086:1e20 class-ID: 0403
  Device-2: NVIDIA GK208 HDMI/DP Audio vendor: PNY driver: snd_hda_intel v: kernel pcie:
    speed: 5 GT/s lanes: 4 bus-ID: 01:00.1 chip-ID: 10de:0e0f class-ID: 0403
  Sound Server-1: ALSA v: k6.5.0-17-generic running: yes
  Sound Server-2: PulseAudio v: 15.99.1 running: yes
  Sound Server-3: PipeWire v: 0.3.48 running: yes
Network:
  Device-1: Intel 82579LM Gigabit Network vendor: Hewlett-Packard driver: e1000e v: kernel
    port: f040 bus-ID: 00:19.0 chip-ID: 8086:1502 class-ID: 0200
  IF: eno1 state: down mac: <filter>
  Device-2: Realtek 802.11ac NIC type: USB driver: rtl8821cu bus-ID: 3-1:7 chip-ID: 0bda:c811
    class-ID: 0000 serial: <filter>
  IF: wlxa0d768221f52 state: up mac: <filter>
RAID:
  Hardware-1: Intel SATA Controller [RAID mode] driver: ahci v: 3.0 port: f020 bus-ID: 00:1f.2
    chip-ID: 8086:2822 rev: N/A class-ID: 0104
Drives:
  Local Storage: total: 232.89 GiB used: 133.33 GiB (57.3%)
  ID-1: /dev/sda vendor: Western Digital model: WD2500AAKX-22ERMA0 size: 232.89 GiB
    speed: 6.0 Gb/s type: N/A serial: <filter> rev: 1H17 scheme: GPT
Partition:
  ID-1: / size: 227.68 GiB used: 133.32 GiB (58.6%) fs: ext4 dev: /dev/sda3
  ID-2: /boot/efi size: 512 MiB used: 6.1 MiB (1.2%) fs: vfat dev: /dev/sda2
Swap:
  ID-1: swap-1 type: file size: 2 GiB used: 0 KiB (0.0%) priority: -2 file: /swapfile
USB:
  Hub-1: 1-0:1 info: Full speed or root hub ports: 3 rev: 2.0 speed: 480 Mb/s chip-ID: 1d6b:0002
    class-ID: 0900
  Hub-2: 1-1:2 info: Intel Integrated Rate Matching Hub ports: 6 rev: 2.0 speed: 480 Mb/s
    chip-ID: 8087:0024 class-ID: 0900
  Hub-3: 2-0:1 info: Full speed or root hub ports: 3 rev: 2.0 speed: 480 Mb/s chip-ID: 1d6b:0002
    class-ID: 0900
  Hub-4: 2-1:2 info: Intel Integrated Rate Matching Hub ports: 8 rev: 2.0 speed: 480 Mb/s
    chip-ID: 8087:0024 class-ID: 0900
  Hub-5: 3-0:1 info: Hi-speed hub with single TT ports: 4 rev: 2.0 speed: 480 Mb/s
    chip-ID: 1d6b:0002 class-ID: 0900
  Device-1: 3-1:7 info: Realtek 802.11ac NIC type: Network driver: rtl8821cu interfaces: 1
    rev: 2.0 speed: 480 Mb/s power: 500mA chip-ID: 0bda:c811 class-ID: 0000 serial: <filter>
  Device-2: 3-2:3 info: Toshiba Digital Media Equipment [hex] IT-CEO USB Device
    type: Mass Storage driver: usb-storage interfaces: 1 rev: 2.0 speed: 480 Mb/s power: 2mA
    chip-ID: 1132:4511 class-ID: 0802 serial: <filter>
  Hub-6: 3-3:4 info: Genesys Logic Hub ports: 4 rev: 2.1 speed: 480 Mb/s power: 100mA
    chip-ID: 05e3:0610 class-ID: 0900
  Device-1: 3-3.4:6 info: HP HP Wireless Keyboard and Mouse type: Keyboard,Mouse
    driver: hid-generic,usbhid interfaces: 2 rev: 2.0 speed: 12 Mb/s power: 100mA chip-ID: 03f0:5341
    class-ID: 0301
  Hub-7: 3-4:5 info: Terminus Hub ports: 4 rev: 2.0 speed: 480 Mb/s power: 100mA
    chip-ID: 1a40:0101 class-ID: 0900
  Hub-8: 4-0:1 info: Super-speed hub ports: 4 rev: 3.0 speed: 5 Gb/s chip-ID: 1d6b:0003
    class-ID: 0900
  Hub-9: 4-3:2 info: Genesys Logic USB3.1 Hub ports: 4 rev: 3.2 speed: 5 Gb/s chip-ID: 05e3:0626
    class-ID: 0900
Sensors:
  System Temperatures: cpu: 29.8 C mobo: 27.8 C gpu: nvidia temp: 50 C
  Fan Speeds (RPM): N/A gpu: nvidia fan: 40%
Repos:
  Packages: 3036 apt: 3009 flatpak: 27
  No active apt repos in: /etc/apt/sources.list
  Active apt repos in: /etc/apt/sources.list.d/brostrend.list
    1: deb https: //linux.brostrend.com stable main previous
  Active apt repos in: /etc/apt/sources.list.d/kelebek333-kablosuz-jammy.list
    1: deb [signed-by=/etc/apt/keyrings/kelebek333-kablosuz-jammy.gpg] https: //ppa.launchpadcontent.net/kelebek333/kablosuz/ubuntu jammy main
  Active apt repos in: /etc/apt/sources.list.d/official-package-repositories.list
    1: deb http: //packages.linuxmint.com virginia main upstream import backport
    2: deb http: //archive.ubuntu.com/ubuntu jammy main restricted universe multiverse
    3: deb http: //archive.ubuntu.com/ubuntu jammy-updates main restricted universe multiverse
    4: deb http: //archive.ubuntu.com/ubuntu jammy-backports main restricted universe multiverse
    5: deb http: //security.ubuntu.com/ubuntu/ jammy-security main restricted universe multiverse
  Active apt repos in: /etc/apt/sources.list.d/slgobinath-gcalendar-jammy.list
    1: deb [signed-by=/etc/apt/keyrings/slgobinath-gcalendar-jammy.gpg] https: //ppa.launchpadcontent.net/slgobinath/gcalendar/ubuntu jammy main
  Active apt repos in: /etc/apt/sources.list.d/teamviewer.list
    1: deb [signed-by=/usr/share/keyrings/teamviewer-keyring.gpg] https: //linux.teamviewer.com/deb stable main
  Active apt repos in: /etc/apt/sources.list.d/teejee2008-foss-jammy.list
    1: deb [signed-by=/etc/apt/keyrings/teejee2008-foss-jammy.gpg] https: //ppa.launchpadcontent.net/teejee2008/foss/ubuntu jammy main
Info:
  Processes: 286 Uptime: 4d 1h 21m wakeups: 0 Memory: 31.28 GiB used: 3.48 GiB (11.1%)
  Init: systemd v: 249 runlevel: 5 Compilers: gcc: 11.4.0 alt: 11/12
  Client: Unknown python3.10 client inxi: 3.3.13
Image <-- Cick for sudo inxi --usb -Fxxxnmprz output, updated hourly!
User avatar
SMG
Level 25
Level 25
Posts: 32007
Joined: Sun Jul 26, 2020 6:15 pm
Location: USA

Re: Some Radeon & Nvidia drivers cannot display .lua code

Post by SMG »

Logansfury wrote: Wed Feb 14, 2024 12:34 am Some weeks ago I saw a beautiful conky weather widget created by Bleys and followed the links to the files for it so I could run it on my own Linux box.

The box featured a Radeon 2xhdmi port graphic card to power my dual monitors. I found all I could display by enabling the conky files was the background semi-transparent rectangle. This remained the case until I upgraded my Radeon 6570 to a Radeon 7750 video card with amdgpu rather than radeon drivers. Then I got full display of text and graphic art.
Do you have a link to the post with the code? Or the discussion where you noticed the change?
Image
A woman typing on a laptop with LM20.3 Cinnamon.
User avatar
Logansfury
Level 6
Level 6
Posts: 1237
Joined: Fri Oct 27, 2023 4:08 pm
Location: Las Vegas NV, USA

Re: Some Radeon & Nvidia drivers cannot display .lua code

Post by Logansfury »

SMG wrote: Wed Feb 14, 2024 10:27 pm Do you have a link to the post with the code? Or the discussion where you noticed the change?
It started when I saw Bleys' weather widget in the conky showoff thread: viewtopic.php?t=413228

During that time I had the older card and radeon drivers. Early in the thread it was moved to, viewtopic.php?t=412336 I switched card and drivers and all the .lua text and images suddenly appeared over the background.
Image <-- Cick for sudo inxi --usb -Fxxxnmprz output, updated hourly!
User avatar
Logansfury
Level 6
Level 6
Posts: 1237
Joined: Fri Oct 27, 2023 4:08 pm
Location: Las Vegas NV, USA

Re: Some Radeon & Nvidia drivers cannot display .lua code

Post by Logansfury »

Both the Dell and HP Linux boxes had radeon 6570's of different make but both using radeon drivers when both boxes failed to display text and graphics called by .lua.

Tomorrow I will have the hardware to test if this new 7750 in the Dell can support a 3rd monitor. If so I will get a 2nd 7750 card for the HP Linux box and I'm betting on that and enabling experimental support and amdgpu drivers making the .lua conkys appear.
Image <-- Cick for sudo inxi --usb -Fxxxnmprz output, updated hourly!
User avatar
SMG
Level 25
Level 25
Posts: 32007
Joined: Sun Jul 26, 2020 6:15 pm
Location: USA

Re: Some Radeon & Nvidia drivers cannot display .lua code

Post by SMG »

Logansfury wrote: Thu Feb 15, 2024 12:05 pm Both the Dell and HP Linux boxes had radeon 6570's of different make but both using radeon drivers when both boxes failed to display text and graphics called by .lua.
I'm still taking a look at the code, but my initial pass is that it is specific functionality being used in the apps themselves (not .lua in general) that is requiring advanced graphics functionality. If you look at this for instance, the Radeon GPU has more shaders and compute units and that is likely a factor, but I don't know if there is a way of knowing specifically what the code in the conky apps might need to know what GPUs will work for the specific apps you are using.

I do not game, but I know many games require certain types of functionality in order to work properly. Your conky "games" ( ;) ) appear to require advanced graphics functionality.
Image
A woman typing on a laptop with LM20.3 Cinnamon.
User avatar
Logansfury
Level 6
Level 6
Posts: 1237
Joined: Fri Oct 27, 2023 4:08 pm
Location: Las Vegas NV, USA

Re: Some Radeon & Nvidia drivers cannot display .lua code

Post by Logansfury »

SMG wrote: Thu Feb 15, 2024 1:08 pm Your conky "games" ( ;) ) appear to require advanced graphics functionality.
I see the truth of it.
Image <-- Cick for sudo inxi --usb -Fxxxnmprz output, updated hourly!
User avatar
SMG
Level 25
Level 25
Posts: 32007
Joined: Sun Jul 26, 2020 6:15 pm
Location: USA

Re: Some Radeon & Nvidia drivers cannot display .lua code

Post by SMG »

SMG wrote: Thu Feb 15, 2024 1:08 pm I don't know if there is a way of knowing specifically what the code in the conky apps might need to know what GPUs will work for the specific apps you are using.
I cannot tell from the code what the issue might be other than possibly the ability of the app to refresh as quickly as needed? Cairo is a 2D library which I would not think is the problem. All of the libraries have been around for a while although some functionality needs newer Python versions, but I am not aware of a reason that might be an issue.

If there is something different in how Nvidia is rendering this compared to AMDGPU, I do not know what it might be.
Image
A woman typing on a laptop with LM20.3 Cinnamon.
Post Reply

Return to “Compiz, Conky, Docks & Widgets”