WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Video driver problem  (Read 21046 times)

Offline Hampelmann91

  • Newbie
  • *
  • Posts: 25
Re: Video driver problem
« Reply #15 on: June 21, 2016, 05:57:40 AM »
Hello,
I set up a new system 7.1 and installed Xorg-7.7 and xf86-video-open-chrome.
But on startx I get a black screen.

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14819
Re: Video driver problem
« Reply #16 on: June 21, 2016, 06:52:01 AM »
Use ctrl-alt-backspace or alt-f1 to exit X and look at /var/log/Xorg.0.log for error messages

Offline Hampelmann91

  • Newbie
  • *
  • Posts: 25
Re: Video driver problem
« Reply #17 on: June 21, 2016, 07:46:55 AM »
Hello,
I got 6 errors.
Is there a way to prevent errors?

[    24.060] (EE) Failed to load module "fbdev" (module does not exist, 0)
...
[    24.070] (EE) open /dev/dri/card0: No such file or directory
...
[    24.217] (EE) CHROME(0): [drm] Failed to open DRM device for pci:0000:00:01.0: No such file or directory
...
[    24.501] (EE) AIGLX: reverting to software rendering
[    24.502] (EE) AIGLX error: dlopen of /usr/local/lib/dri/swrast_dri.so failed (/usr/local/lib/dri/swrast_dri.so: cannot open shared object file: No such file or directory)
[    24.502] (EE) GLX: could not load software renderer

( I put Xorg.0.log in attatchment)

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14819
Re: Video driver problem
« Reply #18 on: June 21, 2016, 08:16:42 AM »
It looks like you might be missing some dependency extensions.

I believe you originally started with tc-6.x - when you updated to tc-7.x, did you update Xorg-7.7 and all of it's deps using the apps gui?

The reason I ask is that many of the libX* extensions, libdrm, etc were updated from tc-6.x -> tc-7.x

Edit: Note that perhaps your driver requires Xorg-7.7-3d?
« Last Edit: June 21, 2016, 08:18:26 AM by Juanito »

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11044
Re: Video driver problem
« Reply #19 on: June 21, 2016, 09:44:44 AM »
The log says there's nothing connected on VGA, but no mention of DVI. Perhaps the driver does not support DVI, or needs a config option.
The only barriers that can stop you are the ones you create yourself.

Offline pq5190362

  • Sr. Member
  • ****
  • Posts: 286
Re: Video driver problem
« Reply #20 on: June 21, 2016, 10:58:49 AM »
I updated xf86-video-openchrome for tc-7.x

You have updated to an old version. According to the info file, you have updated to version 0.4.0:

http://tinycorelinux.net/7.x/x86/tcz/xf86-video-openchrome.tcz.info

0.4.0 is old. The latest version (at the time of writing this) is 0.4.901, see:

https://cgit.freedesktop.org/openchrome/xf86-video-openchrome/log/?showmsg=1

The log says there's nothing connected on VGA, but no mention of DVI. Perhaps the driver does not support DVI, or needs a config option.

In post #7, I've already pointed you to a bug report which is about DVI issues on HP thin clients when using xf86-video-openchrome, see:

https://bugs.freedesktop.org/show_bug.cgi?id=95059

As you can see from the latest post over there from Kevin Brace, who is the xf86-video-openchrome maintainer, the DVI issues were fixed for some HP thin clients with xf86-video-openchrome 0.4.181 and later.

So, I don't know why Juanito posted the old version 0.4.0 to the Tiny Core Linux 7.x repo.

Maybe if Juanito would update to the latest version 0.4.901, the DVI issues would be solved.

As you can see from the git log and the comments on the bug report mentioned above, Kevin Brace is currently busy at improving xf86-video-openchrome, with almost daily commits, so it would probably be best if Juanito would update to the latest version.

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14819
Re: Video driver problem
« Reply #21 on: June 21, 2016, 11:18:02 AM »
You have updated to an old version. According to the info file, you have updated to version 0.4.0:
I updated to the latest version in the Xorg repo

Quote
Maybe if Juanito would update to the latest version 0.4.901, the DVI issues would be solved.

..or you could submit an update 😉

Offline pq5190362

  • Sr. Member
  • ****
  • Posts: 286
Re: Video driver problem
« Reply #22 on: June 21, 2016, 11:39:17 AM »
I updated to the latest version in the Xorg repo

You mean this one:

https://cgit.freedesktop.org/xorg/driver/

?

I do not even see xf86-video-openchrome being listed there...

Anyway, yes, 0.4.0 is the latest "release" version.

But there have been a lot of fixes since then and the latest version as of writing this is 0.4.901:

https://cgit.freedesktop.org/openchrome/xf86-video-openchrome/log/?showmsg=1

And, I mean, for xf86-video-intel, you had also updated to a fresh git snapshot, see:

http://tinycorelinux.net/7.x/x86/tcz/xf86-video-intel.tcz.info

So, I don't see why you couldn't do this for xf86-video-openchrome as well...

or you could submit an update

No, at this point in time, I do not know how to do this and I do not even have a VIA GPU.

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14819
Re: Video driver problem
« Reply #23 on: June 22, 2016, 02:55:11 AM »
As per:
Quote
Version bumped to 0.4.901
This version is Version 0.5 RC2 (Release Candidate 2). If there
are no major regressions from Version 0.3.3 or 0.4.0, this version
will be released as Version 0.5 shortly.

..maybe it's better to wait a day or two for 0.5?

Offline Hampelmann91

  • Newbie
  • *
  • Posts: 25
Re: Video driver problem
« Reply #24 on: June 22, 2016, 04:51:44 AM »
Hello,
interesting discussion and important news for me.
Quote
The log says there's nothing connected on VGA, but no mention of DVI
Yes, I had DVI connected on my last test, that was it, it works now. :) :) :) THANK YOU!!!
In this case I got another question.
I use  "opt/bootlocal.sh" for loading keymap:
Code: [Select]
loadkmap < /usr/share/kmap/qwertz/de-latin1-nodeadkeys.kmapBut if I install Xorg-7.7 and xf86-video-open-chrome it seems that opt/bootlocal.sh will be disabled.
Is there a way to enable it again?


Offline Misalf

  • Hero Member
  • *****
  • Posts: 1702
Re: Video driver problem
« Reply #25 on: June 22, 2016, 04:55:38 AM »
You need to create a .conf file for your keyboard layout.

F.e. /usr/local/share/X11/xorg.conf.d/keyboard.conf:
Code: [Select]
Section "InputClass"
Identifier       "Keyboard Defaults"
MatchIsKeyboard  "on"
        Option           "xkb_model" "pc105"
Option           "XkbLayout"   "de"
Option           "XkbOptions"  "terminate:ctrl_alt_bksp"
EndSection

Download a copy and keep it handy: Core book ;)

Online patrikg

  • Wiki Author
  • Hero Member
  • *****
  • Posts: 713
Re: Video driver problem
« Reply #26 on: June 22, 2016, 05:07:26 AM »
I use this to enable swidish keyboard.

Code: (bash) [Select]
sudo su
mkdir -p /etc/X11/xorg.conf.d/
echo -e "Section \"InputClass\"" > /etc/X11/xorg.conf.d/se_keyboard.conf
echo -e "\tIdentifier \"keyboard defaults\"" >> /etc/X11/xorg.conf.d/se_keyboard.conf
echo -e "\tMatchIsKeyboard \"on\"" >> /etc/X11/xorg.conf.d/se_keyboard.conf
echo -e "\tOption \"XkbModel\" \"pc105\"" >> /etc/X11/xorg.conf.d/se_keyboard.conf
echo -e "\tOption \"XkbLayout\" \"se\"" >> /etc/X11/xorg.conf.d/se_keyboard.conf
echo -e "\tOption \"XkbVariant\" \"nodeadkeys\"" >> /etc/X11/xorg.conf.d/se_keyboard.conf
echo -e "\tOption \"XkbOptions\" \"terminate:ctrl_alt_bksp\"" >> /etc/X11/xorg.conf.d/se_keyboard.conf
echo -e "EndSection" >> /etc/X11/xorg.conf.d/se_keyboard.conf
echo -e "etc/X11/xorg.conf.d/se_keyboard.conf" >> /opt/.filetool.lst
filetool.sh -b -v

Offline Hampelmann91

  • Newbie
  • *
  • Posts: 25
Re: Video driver problem
« Reply #27 on: June 22, 2016, 06:33:51 AM »
Thank you, it works :)

Is there an other way for startup scripts too?
My startup script in /home/tc/.X.d/ won't work after installing Xorg.

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14819
Re: Video driver problem
« Reply #28 on: June 22, 2016, 06:51:09 AM »
startup scripts belong in bootlocal.sh or bootsync.sh

scripts in ~/X.d are for things that require X to be started, for example flit or conky

Offline Hampelmann91

  • Newbie
  • *
  • Posts: 25
Re: Video driver problem
« Reply #29 on: June 22, 2016, 07:11:38 AM »
Hello,
yes it starts rdesktop.
I installed system again an every thing works well now.
It must have been my mistake.

So my problem is solved and I have to say THANK YOU! :D