Thinstation / thinstation

A framework for making thin and light Linux based images for x86 based machines and thinclients.
https://www.thinstation.net/
793 stars 187 forks source link

Visual artifacts #687

Open maa7 opened 2 years ago

maa7 commented 2 years ago

Hello,

With these HDMI graphics cards Asus EN210 Silent Zotac 8400GS and VMware Horizon client i see visual artifacts like this: IMG_

Doncuppjr commented 2 years ago

Looks like a mesa or acceleration issue. Are you on the latest commit? Anything about firmware in the journal?

maa7 commented 2 years ago

>>Are you on the latest commit? Yes

>>Anything about firmware in the journal? where should i watch it?

Doncuppjr commented 2 years ago

go to a root shell, and run journalctl -xe |grep -ie firmware

maa7 commented 2 years ago

How to go to a root shell? IMG_2

maa7 commented 2 years ago

IMG_20220110_

Thinstation commented 2 years ago

Send the file /var/log/Xorg.0.log

maa7 commented 2 years ago

Xorg.0.log

Thinstation commented 2 years ago

Try a build without package xorg7-nouveau

maa7 commented 2 years ago

IMG_20220110_

Thinstation commented 2 years ago

That’s a different issue, or you have bad ram.

On Mon, Jan 10, 2022 at 4:55 AM maa7 @.***> wrote:

[image: IMG20220110] https://user-images.githubusercontent.com/45234995/148769339-aaaf4364-d949-460d-901c-2dcfe282c09e.jpg

— Reply to this email directly, view it on GitHub https://github.com/Thinstation/thinstation/issues/687#issuecomment-1008847658, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAVW47XIFWTFWALBNY2XCSLUVLJN5ANCNFSM5K4QDK5A . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you commented.Message ID: @.***>

maa7 commented 2 years ago

are you talking about video ram, or system ram?

maa7 commented 2 years ago

I tested system memory and found no errors IMG_20220111_

Thinstation commented 2 years ago

I can't image any link between xorg7-nouveau and a kernel panic on boot. The two are just not related in any way.

maa7 commented 2 years ago

kernel panic not because of the xorg7-nouveau, but because of the xorg7_nvidia

Thinstation commented 2 years ago

I'm sure that package needs some attention. I would avoid it as well. If you had that package in, that would explain your artifacts. Nvidia replaces some of the systems 3d components.

maa7 commented 2 years ago

Issue cannot be fixed and should I replace these video cards as incompatible?

Thinstation commented 2 years ago

Do you get the artifacts when using kms framebuffer instead of nouveau or nvidia.

maa7 commented 2 years ago

how to use kms framebuffer?

Thinstation commented 2 years ago

Make sure neither Xorg7-nouveau or nvidia packages are in the build. Xorg should fallback to framebuffer.

On Wed, Jan 12, 2022 at 7:05 AM maa7 @.***> wrote:

how to use kms framebuffer?

— Reply to this email directly, view it on GitHub https://github.com/Thinstation/thinstation/issues/687#issuecomment-1011138174, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAVW47WL3U5B7JSS2VFWGHDUVWKELANCNFSM5K4QDK5A . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you commented.Message ID: @.***>

maa7 commented 2 years ago

I already tried this IMG_20220111_13

Doncuppjr commented 2 years ago

Send that Xorg.0.log

maa7 commented 2 years ago

Xorg.0.log

Doncuppjr commented 2 years ago

Here is the clue Failed to load /usr/lib/xorg/modules/extensions/libglx.so: libGL.so.1: cannot open shared object file: No such file or directory

For some reason, libGL.so.1 is missing. Might be the nvidia package. Try removing that.

Thinstation commented 2 years ago

If you ever tried using the xorg7_nvidia package, it may have broken your chroot environment and all builds you make with it. I would save your configs, nuke your unwind, and then unwind again.

maa7 commented 2 years ago

I tried to reinstall, but build with latest version Thinstation hangs after installing Horizon Client:

thinst_horizon

maa7 commented 2 years ago

Can you fix this issue in the next release?

Thinstation commented 2 years ago

I can not reproduce the issue.

maa7 commented 2 years ago

copy thinstation-6.2-Stable.tar.gz to linux machine unpack rename folder to "thinstation" cd thinstation sudo ./setup-chroot cd /build ./build --allmodules --savedir

I tried three times, and all three times the build hung after Horizon Client 8.4 installation (the previous release with Horizon Client 8.3.1 builds without problems)

Thinstation commented 2 years ago

The Horizon Client is installed while a full strace is being made. All of the logs for the install can be found at build/packages/vmview/build/vmware-log/ It does take a while to install, and it does appear to hang, but it will eventually finish. Maybe add more CPU and Memory. build.log

maa7 commented 2 years ago

When xorg7-nouveau and xorg7_nvidia disabled, the picture looks normal and without artifacts. But i have some questions: 1) what are the disadvantages of this mode? 2) why xorg7-nouveau have visual artifacts? and can it be fixed in the future? 3) why xorg7_nvidia do not work? and can it be fixed in the future?

Thinstation commented 2 years ago

Nouveau should not have artifacts if you never install _nvidia.

The disadvantage of the modeset driver is that it is generic and unaccelerated

The Nvidia is very rude and steps all over the system. It could be fixed, but it’s not a priority.

On Fri, Jan 28, 2022 at 6:43 AM maa7 @.***> wrote:

When xorg7-nouveau and xorg7_nvidia disabled, the picture looks normal and without artifacts. But i have some questions:

  1. what are the disadvantages of this mode?
  2. why xorg7-nouveau have visual artifacts? and can it be fixed in the future?
  3. why xorg7_nvidia do not work? and can it be fixed in the future?

— Reply to this email directly, view it on GitHub https://github.com/Thinstation/thinstation/issues/687#issuecomment-1024288468, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAVW47QFBPWSZ5DYWZ3NZJLUYKTPPANCNFSM5K4QDK5A . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you commented.Message ID: @.***>

maa7 commented 2 years ago

>>Nouveau should not have artifacts if you never install nvidia I didn't install xorg7_nvidia, but Nouveau have artifacts

>>The disadvantage of the modeset driver is that it is unaccelerated Do you mean only 3d or even 2d acceleration?

Thinstation commented 2 years ago

It has basic scroll buffer. Swrast for 3d

On Fri, Jan 28, 2022 at 10:08 AM maa7 @.***> wrote:

_>>Nouveau should not have artifacts if you never install nvidia I didn't install xorg7_nvidia, but Nouveau have artifacts

>>The disadvantage of the modeset driver is that it is unaccelerated Do you mean 3d or even 2d acceleration?

— Reply to this email directly, view it on GitHub https://github.com/Thinstation/thinstation/issues/687#issuecomment-1024481710, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAVW47XWU6AHH2S35NQLK3DUYLLSVANCNFSM5K4QDK5A . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you commented.Message ID: @.***>

Thinstation commented 2 years ago

I found a patch for nouveau that might help you. Try the latest commit.

maa7 commented 2 years ago

Latest version also has some visual artifacts IMG_20220201_ (question - how to take screenshots in Thinstation?)

Xorg.0.log

Thinstation commented 2 years ago

You can use the scapy package.