WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Modern nvidia driver or recent nouveau?  (Read 9916 times)

Online Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11629
Re: Modern nvidia driver or recent nouveau?
« Reply #30 on: April 25, 2023, 10:28:26 PM »
Hi aus9
firmware-nvidia-turing.tcz.info  updated.

Online Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11629
Re: Modern nvidia driver or recent nouveau?
« Reply #31 on: April 25, 2023, 10:39:29 PM »
Hi CardealRusso
I would reorder your  onboot.lst  to look like this:
Code: [Select]
firmware-nvidia.tcz
graphics-6.1.2-tinycore64.tcz
nouveau-6.1.2-tinycore64.tcz
xf86-video-nouveau.tcz
xf86-video-nv.tcz
mesa-demos.tcz
Xorg-7.7-3d.tcz
inxi.tcz
nano.tcz

Xorg-7.7.tcz  does not need to be in the list.  Xorg-7.7-3d.tcz  includes
it as a dependency.

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14817
Re: Modern nvidia driver or recent nouveau?
« Reply #32 on: April 26, 2023, 02:27:58 AM »
Maybe the firmware is not being loaded - what does “dmesg | grep nouveau” give?

Offline CardealRusso

  • Full Member
  • ***
  • Posts: 179
Re: Modern nvidia driver or recent nouveau?
« Reply #33 on: April 26, 2023, 02:43:32 AM »
Hi CardealRusso
I would reorder your  onboot.lst  to look like this:
Thanks, i did this.

Maybe the firmware is not being loaded - what does “dmesg | grep nouveau” give?
Would installing the proprietary driver be too difficult?

Code: [Select]
nouveau 0000:03:00.0: vgaarb: deactivate vga console
nouveau 0000:03:00.0: NVIDIA TU117 (167000a1)
nouveau 0000:03:00.0: bios: version 90.17.4d.00.b4
nouveau 0000:03:00.0: pmu: firmware unavailable
nouveau 0000:03:00.0: gr: firmware unavailable
nouveau 0000:03:00.0: sec2: firmware unavailable
nouveau 0000:03:00.0: fb: 4096 MiB GDDR6
nouveau 0000:03:00.0: fb: VPR locked, but no scrubber binary!
nouveau 0000:03:00.0: DRM: VRAM: 4096 MiB
nouveau 0000:03:00.0: DRM: GART: 536870912 MiB
nouveau 0000:03:00.0: DRM: BIT table 'A' not found
nouveau 0000:03:00.0: DRM: BIT table 'L' not found
nouveau 0000:03:00.0: DRM: TMDS table version 2.0
nouveau 0000:03:00.0: DRM: DCB version 4.1
nouveau 0000:03:00.0: DRM: DCB outp 00: 01000f32 04620030
nouveau 0000:03:00.0: DRM: DCB outp 01: 02011f52 00020010
nouveau 0000:03:00.0: DRM: DCB outp 02: 02822f66 04600020
nouveau 0000:03:00.0: DRM: DCB outp 03: 02022f62 00020020
nouveau 0000:03:00.0: DRM: DCB conn 00: 00001031
nouveau 0000:03:00.0: DRM: DCB conn 01: 00010161
nouveau 0000:03:00.0: DRM: DCB conn 02: 00020246
nouveau 0000:03:00.0: DRM: failed to create kernel channel, -22
nouveau 0000:03:00.0: DRM: MM: using COPY for buffer copies
nouveau 0000:03:00.0: DRM: allocated 1440x900 fb: 0x200000, bo 000000004c8ac255
fbcon: nouveaudrmfb (fb0) is primary device
nouveau 0000:03:00.0: [drm] fb0: nouveaudrmfb frame buffer device
[drm] Initialized nouveau 1.3.1 20120801 for 0000:03:00.0 on minor 0

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14817
Re: Modern nvidia driver or recent nouveau?
« Reply #34 on: April 26, 2023, 04:14:30 AM »
Would installing the proprietary driver be too difficult?
It won’t be straightforward - if you search these forums, you’ll see that several users have done it.

You might be better off searching the internet on some of the error messages from firmware loading via dmesg.

aus9

  • Guest
Re: Modern nvidia driver or recent nouveau?
« Reply #35 on: April 26, 2023, 10:20:51 AM »
Hi  Juanito and  CardealRusso

I think I have found a possible reason for quirky missing firmware message reported by OP post 33
Quote
nouveau 0000:03:00.0: NVIDIA TU117 (167000a1)
SNIP
nouveau 0000:03:00.0: gr: firmware unavailable
nouveau 0000:03:00.0: sec2: firmware unavailable

I load the module and modinfo
Code: [Select]
tce-load -i  nouveau-6.1.2-tinycore64
modinfo  nouveau | grep tu117
firmware:       nvidia/tu117/acr/ucode_ahesasc.bin
firmware:       nvidia/tu117/acr/bl.bin
firmware:       nvidia/tu117/acr/ucode_asb.bin
firmware:       nvidia/tu117/acr/ucode_unload.bin
firmware:       nvidia/tu117/acr/unload_bl.bin
firmware:       nvidia/tu117/nvdec/scrubber.bin
firmware:       nvidia/tu117/gr/sw_method_init.bin
firmware:       nvidia/tu117/gr/sw_bundle_init.bin
firmware:       nvidia/tu117/gr/sw_nonctx.bin
firmware:       nvidia/tu117/gr/sw_ctx.bin
firmware:       nvidia/tu117/gr/gpccs_sig.bin
firmware:       nvidia/tu117/gr/gpccs_data.bin
firmware:       nvidia/tu117/gr/gpccs_inst.bin
firmware:       nvidia/tu117/gr/gpccs_bl.bin
firmware:       nvidia/tu117/gr/fecs_sig.bin
firmware:       nvidia/tu117/gr/fecs_data.bin
firmware:       nvidia/tu117/gr/fecs_inst.bin
firmware:       nvidia/tu117/gr/fecs_bl.bin
firmware:       nvidia/tu117/sec2/sig.bin
firmware:       nvidia/tu117/sec2/image.bin
firmware:       nvidia/tu117/sec2/desc.bin

IMHO it should only hits for fw as per our fw file for 14X
gr/sw_veid_bundle_init.bin
gr/sw_nonctx.bin
gr/sw_method_init.bin
gr/sw_ctx.bin
gr/sw_bundle_init.bin
gr/gpccs_sig.bin
gr/gpccs_inst.bin
gr/gpccs_data.bin
gr/fecs_sig.bin
gr/fecs_inst.bin
gr/fecs_data.bin

and we have a match for the 13 series.

so IMHO all the  CardealRusso needs to try before compiling nvidia closed source is...
click on link to download the 13x firmware
as its ramdrive has fw already loaded he can delete existing fw and its md5.txt file

showing as code for copy and paste 
Code: [Select]
rm -rf /etc/sysconfig/tcedir/optional/firmware-nvidia.tcz*
cd  /etc/sysconfig/tcedir/optional
wget tinycorelinux.net/13.x/x86_64/tcz/firmware-nvidia.tcz

or click on link and move it to your tcedir and make it over write existing
tinycorelinux.net/13.x/x86_64/tcz/firmware-nvidia.tcz

then full reboot

recheck inxi -Gxxx.....nouveau IMHO should now stay loaded
« Last Edit: April 26, 2023, 10:25:53 AM by aus9 »

Offline CardealRusso

  • Full Member
  • ***
  • Posts: 179
Re: Modern nvidia driver or recent nouveau?
« Reply #36 on: April 26, 2023, 11:11:45 AM »
download the 13x firmware

I confess that I tried to follow your instructions without any hope that it would work...

Code: [Select]
tc@box:~$ glxinfo | grep Accel
    Accelerated: yes

BUT IT WORKED!  ;D ;D ;D

Dude, thank you so much, you'are sick

Code: [Select]
tc@box:~$ vblank_mode=0 glxgears
ATTENTION: default value of option vblank_mode overridden by environment.
9274 frames in 5.0 seconds = 1854.556 FPS
9430 frames in 5.0 seconds = 1885.883 FPS
9569 frames in 5.0 seconds = 1913.663 FPS
Compared to no drivers:
Code: [Select]
tc@box:~$ glxgears
1895 frames in 5.0 seconds = 378.986 FPS
1878 frames in 5.0 seconds = 375.515 FPS
2035 frames in 5.0 seconds = 406.945 FPS

Code: [Select]
Graphics:
  Device-1: NVIDIA vendor: ASUSTeK driver: nouveau v: kernel arch: Turing
    pcie: speed: 2.5 GT/s lanes: 4 ports: active: HDMI-A-1 empty: DP-1,DVI-D-1
    bus-ID: 03:00.0 chip-ID: 10de:1f82 class-ID: 0300 temp: 37.0 C
  Display: server: X.Org v: 1.21.1.6 driver: X: loaded: modesetting,nouveau
    unloaded: fbdev,vesa alternate: nv dri: nouveau gpu: nouveau
    display-ID: :0.0 screens: 1
  Screen-1: 0 s-res: 1440x900 s-dpi: 96 s-size: 381x238mm (15.00x9.37")
    s-diag: 449mm (17.69")
  Monitor-1: HDMI-A-1 mapped: HDMI-1 model: HDMI res: 1440x900 hz: 60
    dpi: 64 size: 575x323mm (22.64x12.72") modes: max: 1440x900 min: 720x400
  API: OpenGL v: 4.3 Mesa 22.3.7 renderer: NV167 direct-render: Yes

So, someone has just broken the firmware-nvidia file on 14x?

VSYNC IS KILLING ME
For some reason, the whole system, not just glxgear, even the browsers, everything, is kind of buggy, like it's running at just under 30 fps. is it possible to disable vsync? or increase the framerate as my monitor supports 75Hz

Thanks aswell to Juanito, Rich patrikg for the help. We would certainly not have reached this result without everyone's help.
« Last Edit: April 26, 2023, 11:44:02 AM by CardealRusso »

Offline CardealRusso

  • Full Member
  • ***
  • Posts: 179
Re: Modern nvidia driver or recent nouveau?
« Reply #37 on: April 26, 2023, 11:47:26 AM »
I presume this is the best while the proprietary driver is not released. Although it improved the results a lot, glxgears should be able to play more than 30,000 fps with this video card.

Code: [Select]
nouveau 0000:03:00.0: vgaarb: deactivate vga console
nouveau 0000:03:00.0: NVIDIA TU117 (167000a1)
nouveau 0000:03:00.0: bios: version 90.17.4d.00.b4
nouveau 0000:03:00.0: pmu: firmware unavailable
nouveau 0000:03:00.0: fb: 4096 MiB GDDR6
nouveau 0000:03:00.0: DRM: VRAM: 4096 MiB
nouveau 0000:03:00.0: DRM: GART: 536870912 MiB
nouveau 0000:03:00.0: DRM: BIT table 'A' not found
nouveau 0000:03:00.0: DRM: BIT table 'L' not found
nouveau 0000:03:00.0: DRM: TMDS table version 2.0
nouveau 0000:03:00.0: DRM: DCB version 4.1
nouveau 0000:03:00.0: DRM: DCB outp 00: 01000f32 04620030
nouveau 0000:03:00.0: DRM: DCB outp 01: 02011f52 00020010
nouveau 0000:03:00.0: DRM: DCB outp 02: 02822f66 04600020
nouveau 0000:03:00.0: DRM: DCB outp 03: 02022f62 00020020
nouveau 0000:03:00.0: DRM: DCB conn 00: 00001031
nouveau 0000:03:00.0: DRM: DCB conn 01: 00010161
nouveau 0000:03:00.0: DRM: DCB conn 02: 00020246
nouveau 0000:03:00.0: DRM: MM: using COPY for buffer copies
nouveau 0000:03:00.0: DRM: allocated 1440x900 fb: 0x200000, bo 00000000fed6768e
fbcon: nouveaudrmfb (fb0) is primary device
nouveau 0000:03:00.0: [drm] fb0: nouveaudrmfb frame buffer device
[drm] Initialized nouveau 1.3.1 20120801 for 0000:03:00.0 on minor 0

Code: [Select]
firmware-nvidia.tcz
nouveau-6.1.2-tinycore64.tcz
xf86-video-nouveau.tcz
Xorg-7.7-3d.tcz

By the way, I gave up playing games in order to become more productive. I decided to abandon Windows because Windows 11 is just undigestable and TinyCore x64 is just enough for me, I don't need more than that. I just need the drivers, browser (I'm already satisfied with bravo, although I wanted ungoggled-chromium) and I'm already used to nano, I don't need anything else.
« Last Edit: April 26, 2023, 11:54:59 AM by CardealRusso »

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11044
Re: Modern nvidia driver or recent nouveau?
« Reply #38 on: April 26, 2023, 12:28:55 PM »
Nouveau cannot upclock most of the new Nvidia cards, so they run at a very low power & low performance. You'd need the proprietary drivers to get the card's full performance.
The only barriers that can stop you are the ones you create yourself.

aus9

  • Guest
Re: Modern nvidia driver or recent nouveau?
« Reply #39 on: April 26, 2023, 10:34:06 PM »
hi
Quote
or increase the framerate as my monitor supports 75Hz
Xorg 3d has a command xrandr so run it
Code: [Select]
xrandrLook at your results. I will use mine as an example
Quote
1920x1080     60.00*+  74.97    59.96    50.00    59.94    59.93
# and lets pretend I wanted to use
1024x768      75.05    60.04    75.03    70.07    60.00

use Apps to download arandr and run it. (there are some errors in my info file for arandr I will fix later)
Code: [Select]
arandr &GUI appears and I am on hdmi output. I pull down Outputs -> hdmi* -> Resolution -> click the radio button against 1024x768
click apply...screen will blank....and reset to new resolution, for this session only at this stage

Leave arandr open
repeat xrandr command to check you are happy with new results

If happy, save the setting for later sessions. In arandr GUI click the download icon (below outputs).
Choose a file name eg 1024.sh and press enter or click the save button
(if you are going from large to smaller, you may not see the save button)

For next login or next startx we automate it by
Code: [Select]
echo '$HOME/.screenlayout/1024.sh &' > $HOME/.X.d/monitorNote there are periods in this command for hidden directories.

To test it now, run exittc and exit to prompt and then run startx

If unhappy with results....delete $HOME/.X.d/monitor
exit to prompt and startx to get back to your original settings

Good luck

aus9

  • Guest
Re: Modern nvidia driver or recent nouveau?
« Reply #40 on: April 26, 2023, 10:44:50 PM »
Quote
So, someone has just broken the firmware-nvidia file on 14x?
Nope

the info says
Quote
Comments:       for GPU video chipsets
               
                (update) lots deleted so use old TCE if needed
 
SNIP
                2018/12/24 updated (coreplayer2)
                2020/06/20 updated (aus9)
Current:        2023/02/04 updated (aus9) has deletions

The build script is difficult enough for me as it is, bearing in mind I am not as good at coding as coreplayer2, Rich Juanito etc etc

http://tinycorelinux.net/14.x/x86_64/tcz/src/firmware/build-firmware.txt

So the info alerts members that there are deletions for this TCE
members might then click on Files in Apps to see if they lose any firmware.
If so, they keep the existing package.

I am aware, that if you never used 13x, you probably did not read
http://forum.tinycorelinux.net/index.php/topic,26139.0.html

Offline patrikg

  • Wiki Author
  • Hero Member
  • *****
  • Posts: 713
Re: Modern nvidia driver or recent nouveau?
« Reply #41 on: May 01, 2023, 12:44:44 PM »
Thanks aswell to Juanito, Rich patrikg for the help. We would certainly not have reached this result without everyone's help.
Thank you also for acknowledge the great community like Tiny Core Linux are.